Routing

2007-01-01 Thread Office of the CIO-rithy4u.NET
I try to do dual routing on my freebsd box but its was not  
sucecssfull. any one can help?



rithy4uSpamAppliance delivered the standard messaging system
http://www.rithy4u.net



--
This message has been scanned for viruses and
dangerous content by rithy4uSpamAppliance, and is
believed to be clean.

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


Re: Routing

2007-01-01 Thread Odhiambo Washington
* On 01/01/07 17:17 +0700, Office of the CIO-rithy4u.NET wrote:
| I try to do dual routing on my freebsd box but its was not  
| sucecssfull. any one can help?

Explain what is dual routing. What exactly are you trying to achieve?


-Wash

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

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

Everything is controlled by a small evil group to which, unfortunately,
no one we know belongs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Nightmares installing kde-3.5.5

2007-01-01 Thread Odhiambo Washington
Bon Anee!

I have been trying to install kde-3.5.5 onto my box for 4 days now 
without success. I have even wiped out 3.5.3 (which is what I was 
running before) but still 3.5.5 wouldn't install. The problem is 
somewhere around kdelibs3 and cups but I cannot figure out how to go 
around it.
I'd appreciate some help on what I need to do. I'd like to start the new 
year with brand new kde!

Here is where it fails:


gmake[4]: Leaving directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.5.5/kdeprint/cups/cupsdconf2'
gmake[4]: Entering directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.5.5/kdeprint/cups'
if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ 
-DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/
kssl -I../../kjs -I../.. -I../../kio -I../../kfile -I../../kdeprint 
-I../../kdeprint/management -I../../kdecore/network -I../../dcop -I../../libl
tdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdecore/network 
-I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../..  -I
/usr/X11R6/include -I/usr/local/include -I/usr/local/include 
-D_KDEPRINT_COMPILE -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT   
-I/usr/local/inclu
de -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE   
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O
2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_N
O_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT ipprequest.lo -MD -MP -MF 
.deps/ipprequest.Tpo -c -o ipprequest.lo ipprequest.cpp; \
then mv -f .deps/ipprequest.Tpo .deps/ipprequest.Plo; else rm -f 
.deps/ipprequest.Tpo; exit 1; fi
ipprequest.cpp: In static member function `static QString 
IppRequest::assembleURI(const QString, int, const QString)':
ipprequest.cpp:573: error: incomplete type `KURL' used in nested name specifier
ipprequest.cpp:577: error: incomplete type `KURL' used in nested name specifier
gmake[4]: *** [ipprequest.lo] Error 1
gmake[4]: Leaving directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.5.5/kdeprint/cups'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.5.5/kdeprint/cups'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.5.5/kdeprint'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.5'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/kdelibs3.
*** Error code 1

Stop in /usr/ports/x11/kdebase3.
*** Error code 1







-Wash


DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

No violence, gentlemen -- no violence, I beg of you! Consider
the furniture!
-- Sherlock Holmes
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mozilla - bind conflict _

2007-01-01 Thread Vizion
Hi

I am having problems upgrading mozilla-1.7.13,2 ro mozilla-1.7.13_1,2 
(www/mozilla)

Build fails
mozilla-1.7..13_1,2: bind installed with PORT_REPLACES_BASE_BIND causes 
problems.

I first recompiled bind9 without this option but got the same failure. 

Then I deinstalled bind9 entirely and retried the portupgrade after portsclean 
-C only to get the same failure.

Suggestions please

Thanks
david

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


Re: Unable to connect to remote X server using X -query

2007-01-01 Thread Lowell Gilbert
Christian Walther [EMAIL PROTECTED] writes:

 I'm on

 $ uname -a
 FreeBSD pixie.alashan.dyndns.org 6.1-RELEASE-p10 FreeBSD
 6.1-RELEASE-p10 #1: Thu Nov 16 17:15:03 CET 2006
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PIXIE  i386

 running

 $ pkg_info|grep ^xorg-server
 xorg-server-6.9.0_5 X.Org X server and related programs

 I set up two of my machines in my network to allow remote logins  via
 xdm and gdm. Both are Linux machines, one is a current Ubuntu release
 running gdm, the other one a decent Debian/testing running xdm. I'd
 like to connect to both machines using the command

 $ X -query ip -fp tcp/ip:7100

 The X-Server starts, but it justs sits there, displaying the default
 background. After a certain period of time the server is restarted,
 without any error message on the console or in /var/log/Xorg.0.log
 I checked the xdm/gdm configuration a couple of times, but I can use
 any other none FreeBSD-host in my network to successfully connect to
 the Display Manager on both machines. I even checked this with a
 NetBSD machine.
 I browsed through the manual and the FAQs, but I didn't find any
 section that gave me a clue of what is going on. There is no Firewall
 configured on my FreeBSD machine, and there is no security level set:

 # sysctl -h kern.securelevel
 kern.securelevel: -1

 X runs just fine when being executed locally, either via startx or via
 /etc/ttys using xdm.

 Did I miss something?

Hmm.  It looks okay so far, but I haven't used this kind of
environment in years (so take that with a grain of salt).  I would try
debugging through the init file (.xinitrc, if the user has one) --
perhaps putting some checkpoints in that script which will write out
to local files.

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


Re: problem with samsung flash

2007-01-01 Thread Lowell Gilbert
Ivan Frosty [EMAIL PROTECTED] writes:

 hello there, i have freebsd 6.1 pentiumII 355mhz processor and 128mb
 of ram. everytime i put my samsung 512mb in tha usb the machine doesnt
 boot it halts where the error be at if i pull it out it
 boots.then if i put it back in i get an error...whats with
 umass? i basically installed everybit and software of the unix i have
 so i dont know why i get the error anyhelp will be highly appreciated!

 this is the error:

 da0 at umass-sim0 bus0 target0wn0
 da0:SAMSUNG flash Disk 1.06 Removable Direct Access SCSI-0 device
 da0:1.000MB/s transfers
 da0:511mb(1046720 512 byte sectors:64H 32s/T s11c)
 umass0:phase Error, residue = 0
 (da0:umass-sim0:0:0:0):synchronize cache failed, status == 0x4,scsi
 status == 0x0 opened disk da0-5!

 thank you for your time

Those message make me think it is a very old USB device.  Is that
true?  Do other machines have troubles if the device is plugged in?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mergemaster and vimdiff

2007-01-01 Thread Lowell Gilbert
Dan Casey [EMAIL PROTECTED] writes:

 Is there anyway to use vimdiff with mergemaster.

Not easily; the diff(1) command is hard-wired into the mergemaster
script.  However, you could do your own comparison with
MM_EXIT_SCRIPT.  Also, remember that mergemaster is just a shell
script itself, and you can use it as a base for your own version.

 Or is it safe to just see what files are different in etc, and vimdiff
 them manually?

It's safe, but not necessarily easy.  mergemaster is a lot easier than
doing it by hand.  Before mergemaster was added to the system, I used
this script:  http://Be-Well.Ilk.Org/~lowell/systuff/scripts/update-etc
and then diff'd by hand.

Are you aware of the '-a' option for mergemaster?  That will leave you
with a tree that contains only the files that mergemaster thinks need
a human to look at...

 I see /var/tmp/temproot has a lot more in it that I was
 expecting.  I thought it would be just etc.

Most of that is directories without files, though; *almost* everything
that can actually be changed is in /etc.

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


Re: SATA disk problem

2007-01-01 Thread Lowell Gilbert
Wojciech Puchar [EMAIL PROTECTED] writes:

 i have 2 identical drives in my machine.

[snip]

 HOW to enable write cache on second drive?

According to man 4 ata, there is a loader tunable hw.ata.wc which
does this.  However, it supposedly defaults to enabled, and applies to
all drives.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: glchess port does not work

2007-01-01 Thread Lowell Gilbert
B. Hansmann [EMAIL PROTECTED] writes:

 Has anyone tried the glchess port in 6.2-RC2-amd64?

 When I try to start it, it just prints these error messages and quits:

 Traceback (most recent call last):
   File /usr/local/bin/glchess, line 7, in ?
 app = glchess.main.Application()
   File /usr/local/lib/python2.4/site-packages/glchess/main.py, line 739, in 
 __init__
 self.ui = UI(self)
   File /usr/local/lib/python2.4/site-packages/glchess/main.py, line 629, in 
 __init__
 gtkui.GtkUI.__init__(self)
   File /usr/local/lib/python2.4/site-packages/glchess/gtkui/gtkui.py, line 
 491, in __init__
 icon = iconTheme.load_icon('stock_people', 24, 
 gtk.ICON_LOOKUP_USE_BUILTIN)
 gobject.GError: Icon 'stock_people' not present in theme

 glx and dri are enabled.

 Anynone tried to run this app and it worked?

I tested it on i386 (ports and base system updated to RELENG_6 within
the last week), and it worked for me.  I see the port is officially
unmaintained; the last update was done on 21/Dec by miwi@, 
following a PR (ports/106984) submitted by KATO Tsuguru.

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


Re: ghostscript - port - titles

2007-01-01 Thread Lowell Gilbert
Vizion [EMAIL PROTECTED] writes:

 I am curious about the retitling of current versions of ghostscript released 
 under gnu public license.

 In /print/ghostscript version 8.15.x is ghostscript-gpl whereas version 7.07x 
 is ghostscript-gnu.

 Am I missing something here?

 Does portupgrade handle the upgrade or do we need to deinstall 7.07x to 
 install 8.x?

portupgrade can handle it, but you will need to tell it which origin
to use. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfw counters

2007-01-01 Thread Grant Peel
Hi all,

If I have rules like:

102150   0 count ip from any to 1.2.3.4 via em0
102150   0 count ip from 1.2.3.4 to any via em0

in my ipfw rules, will the rules also count what is sent from those IPs to the 
localhost (127.0.0.1).?

((I am guessing NO, but wanted a second opinion).


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


How to kill dead ssh login

2007-01-01 Thread Grant Peel
Hi all,

The odd time, my ISP will disconnect me which leaves me with dead remote 
sesssions:

57696  p0- IEs0:00.01 tcsh -c su
57697  p0- IE+0:00.03 _su (csh)
59069  p1  IWs0:00.00 tcsh -c su
59070  p1  S  0:00.04 _su (csh)

constellation# w
 9:05AM  up 3 days, 18:06, 2 users, load averages: 0.05, 0.07, 0.02
USER TTY  FROM  LOGIN@  IDLE WHAT
mefromremotep0   .ca  8:33AM30 _su (csh)
mefromremotep1   .ca  8:50AM - w

p0 is no longer connected do to a reset. How do I properly kill that session?

I have already tried killing and TERMing 57696 and 57697 to no avail.

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


Re: ipfw counters

2007-01-01 Thread Andrew Pantyukhin

On 1/1/07, Grant Peel [EMAIL PROTECTED] wrote:

Hi all,

If I have rules like:

102150   0 count ip from any to 1.2.3.4 via em0
102150   0 count ip from 1.2.3.4 to any via em0

in my ipfw rules, will the rules also count what is sent
from those IPs to the localhost (127.0.0.1).?

((I am guessing NO, but wanted a second opinion).


127.0.0.1 should only be reachable via lo0, but I can
imagine a packet coming from em0 if you omit the usual
protection rules (see stock rc.firewall).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mozilla - bind conflict _

2007-01-01 Thread Beech Rintoul
On Monday 01 January 2007 03:00, Vizion wrote:
 Hi

 I am having problems upgrading mozilla-1.7.13,2 ro mozilla-1.7.13_1,2
 (www/mozilla)

 Build fails
 mozilla-1.7..13_1,2: bind installed with PORT_REPLACES_BASE_BIND causes
 problems.

 I first recompiled bind9 without this option but got the same failure.

 Then I deinstalled bind9 entirely and retried the portupgrade after
 portsclean -C only to get the same failure.

 Suggestions please

 Thanks
 david

If you have a bind line in your /etc/make.config (PORT_REPLACES_BASE_BIND9) 
remove it. Alternately, you can do a make -k to override the error, but if 
you do that keep a close eye on your build to make sure you don't have an 
error somewhere else that gets ignored.

Beech

-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpV1k0cpVthL.pgp
Description: PGP signature


Re: Routing

2007-01-01 Thread Michael P. Soulier

On 1/1/07, Office of the CIO-rithy4u.NET [EMAIL PROTECTED] wrote:

I try to do dual routing on my freebsd box but its was not
sucecssfull. any one can help?


Not with the information that you've provided. Perhaps you could
explain what you tried, and what you mean by not successful? Details
are important.

Cheers,
Mike
--
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mozilla - bind conflict _

2007-01-01 Thread Vizion

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Beech Rintoul
 Sent: Monday, January 01, 2007 7:08 AM
 To: freebsd-questions@freebsd.org
 Cc: Vizion
 Subject: Re: mozilla - bind conflict _
 
 
 On Monday 01 January 2007 03:00, Vizion wrote:
  Hi
 
  I am having problems upgrading mozilla-1.7.13,2 ro 
 mozilla-1.7.13_1,2
  (www/mozilla)
 
  Build fails
  mozilla-1.7..13_1,2: bind installed with 
 PORT_REPLACES_BASE_BIND causes
  problems.
 
  I first recompiled bind9 without this option but got the 
 same failure.
 
  Then I deinstalled bind9 entirely and retried the portupgrade after
  portsclean -C only to get the same failure.
 
  Suggestions please
 
  Thanks
  david
 
 If you have a bind line in your /etc/make.config 
 (PORT_REPLACES_BASE_BIND9) 
 remove it. Alternately, you can do a make -k to override 
 the error, but if 
 you do that keep a close eye on your build to make sure you 
 don't have an 
 error somewhere else that gets ignored.
 
 Beech

Thanks -- I should have mentioned that I had checked make.config as I had the 
same idea..I am now wondering where the *^% the system is getting the idea 
that PORT_REPLACES_BASE_BIND is valid for bind... puzzled ignorance reins 
supreme here.

David 

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


Re: mozilla - bind conflict _

2007-01-01 Thread Beech Rintoul
On Monday 01 January 2007 07:39, Vizion wrote:
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  Beech Rintoul
  Sent: Monday, January 01, 2007 7:08 AM
  To: freebsd-questions@freebsd.org
  Cc: Vizion
  Subject: Re: mozilla - bind conflict _
 
  On Monday 01 January 2007 03:00, Vizion wrote:
   Hi
  
   I am having problems upgrading mozilla-1.7.13,2 ro
 
  mozilla-1.7.13_1,2
 
   (www/mozilla)
  
   Build fails
   mozilla-1.7..13_1,2: bind installed with
 
  PORT_REPLACES_BASE_BIND causes
 
   problems.
  
   I first recompiled bind9 without this option but got the
 
  same failure.
 
   Then I deinstalled bind9 entirely and retried the portupgrade after
   portsclean -C only to get the same failure.
  
   Suggestions please
  
   Thanks
   david
 
  If you have a bind line in your /etc/make.config
  (PORT_REPLACES_BASE_BIND9)
  remove it. Alternately, you can do a make -k to override
  the error, but if
  you do that keep a close eye on your build to make sure you
  don't have an
  error somewhere else that gets ignored.
 
  Beech

 Thanks -- I should have mentioned that I had checked make.config as I had
 the same idea..I am now wondering where the *^% the system is getting the
 idea that PORT_REPLACES_BASE_BIND is valid for bind... puzzled ignorance
 reins supreme here.

CD to the bind9 directory and do a make config. That is also an option that 
you need to uncheck. I had the same problem with several ports and finally 
went back to the dist version.

Beech
-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpOsaVc9so66.pgp
Description: PGP signature


Re: mozilla - bind conflict _

2007-01-01 Thread Vizion


 -Original Message-
 From: Beech Rintoul [mailto:[EMAIL PROTECTED] 
 Sent: Monday, January 01, 2007 8:49 AM
 To: Vizion
 Cc: freebsd-questions@freebsd.org
 Subject: Re: mozilla - bind conflict _
 
 
 On Monday 01 January 2007 07:39, Vizion wrote:
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of
   Beech Rintoul
   Sent: Monday, January 01, 2007 7:08 AM
   To: freebsd-questions@freebsd.org
   Cc: Vizion
   Subject: Re: mozilla - bind conflict _
  
   On Monday 01 January 2007 03:00, Vizion wrote:
Hi
   
I am having problems upgrading mozilla-1.7.13,2 ro
  
   mozilla-1.7.13_1,2
  
(www/mozilla)
   
Build fails
mozilla-1.7..13_1,2: bind installed with
  
   PORT_REPLACES_BASE_BIND causes
  
problems.
   
I first recompiled bind9 without this option but got the
  
   same failure.
  
Then I deinstalled bind9 entirely and retried the 
 portupgrade after
portsclean -C only to get the same failure.
   
Suggestions please
   
Thanks
david
  
   If you have a bind line in your /etc/make.config
   (PORT_REPLACES_BASE_BIND9)
   remove it. Alternately, you can do a make -k to override
   the error, but if
   you do that keep a close eye on your build to make sure you
   don't have an
   error somewhere else that gets ignored.
  
   Beech
 
  Thanks -- I should have mentioned that I had checked 
 make.config as I had
  the same idea..I am now wondering where the *^% the system 
 is getting the
  idea that PORT_REPLACES_BASE_BIND is valid for bind... 
 puzzled ignorance
  reins supreme here.
 
 CD to the bind9 directory and do a make config. That is 
 also an option that 
 you need to uncheck. I had the same problem with several 
 ports and finally 
 went back to the dist version.
 
 Beech

Thanks for sticking with me on this - but, assuming you mean 
/usr/ports/dns/bind9 I tried that one too.. ensuring the line
REPLACE_BASE was unchecked and did the same for all other bind versions in 
ports/dns. 

I have now tried a system shutdown in case the PORT_REPLACES_BASE_BIND option 
is stored dynamically but to no avail. I still get the error message:
mozilla-1.7..13_1,2: bind installed with PORT_REPLACES_BASE_BIND causes 
problems.

This is becoming a witch hunt to locate the broomstick!! chuckles

David


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


Ipsec to Sonicwall, what does this message mean?

2007-01-01 Thread Norberto Meijome
Hi all,
I'm trying to connect to a Sonicwall TZ170 (I believe), from my FBSD
6.2-Prerelease. I have a username, password and PSK (ie, Xauth PSK) from the
SonicW's admin (who refuses to provide any help for non MS OS :-) ). 

I've installed ipsec-tools-0.6.6  because I believe (wrongly?) that ipsec in
the base system doesn't support xauth ... is this correct? 

Anyway, I configured racoon.cfg and psk.txt to the best of my current
abilities. I then get:

# racoonctl vpn-connect SONICW_IP_ADDRESS
Error: Peer not responding

It seems my side is receiving a packet with DOI type 0 (as per wireshark, 
whatever that means...)... and racoon complains with;

Jan  2 03:28:18 ayiin racoon: ERROR: reject the packet, received unexpecting 
payload type 0.

(complete log after my signature at end of this mail) 

I'd love any help that will help me understand what am I doing wrong. I can't 
see *WHY* I wouldn't be able to connect to this Sonic, other than a problem 
between the chair and the keyboard :) Alternative ways of doing this same thing 
with other packages / base tools are greatly appreciated.

thanks in advance!!!
B



Configuration gory details:

192.168.13.3 is my laptop's IP. hostname is ayiin. I have UDP/500 port 
forwarded to this machine, and my local firewall is open for this traffic 
(udp/500 from SOCNIW_IP_ADDRESS)

my racoon.conf is:
---
path include @sysconfdir_x@/racoon;
path pre_shared_key @sysconfdir_x@/racoon/psk.txt;
log debug;

# Specify various default timers.
timer
{
# These value can be changed per remote node.
counter 5;  # maximum trying count to send.
interval 20 sec;# maximum interval to resend.
persend 1;  # the number of packets per send.

# maximum time to wait for completing each phase.
phase1 30 sec;
phase2 15 sec;
}

remote SONICW_IP_ADDRESS
{
   
lifetime time 1 hour;
exchange_mode main, aggressive;
#ca_type x509 ca.crt;
proposal_check obey;
mode_cfg on;# accept config through ISAKMP mode config
dpd_delay 20;
   # nat_traversal force;
ike_frag on;
   # esp_frag 552;
#script /etc/racoon/phase1-up.sh phase1_up;
#script /etc/racoon/phase1-down.sh phase1_down;
passive off;

xauth_login beto;

proposal {
encryption_algorithm aes;
hash_algorithm sha1;
authentication_method hybrid_rsa_client;
dh_group 2;
   }
}

sainfo anonymous {
lifetime time 1 hour;
encryption_algorithm aes;
authentication_algorithm hmac_sha1;
compression_algorithm deflate ;
}
---

my psk.txt has:
-
## Host to connect , PSK to use

SONICW_IP_ADDRESS  PSK_TO_SONIC
## XAuth bit
beto  My_MagicPassword


My kern conf includes: 
## IPSEC VPNs
options IPSEC
options IPSEC_ESP

ipsec-tools options are : 
_OPTIONS_READ=ipsec-tools-0.6.6
WITH_DEBUG=true
WITH_IPV6=true
WITH_ADMINPORT=true
WITH_STATS=true
WITH_DPD=true
WITH_NATT=true
WITHOUT_NATTF=true
WITH_FRAG=true
WITH_HYBRID=true
WITH_PAM=true
WITH_GSSAPI=true
WITH_RADIUS=true
WITH_SAUNSPEC=true
WITHOUT_RC5=true
WITHOUT_IDEA=true

but I didn't apply the NAT-T kernel patch (yet).

_
{Beto|Norberto|Numard} Meijome

What you are afraid to do is a clear indicator of the next thing you need to do.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.

In the log file, I get : (apologies for wrapping)..
---
Jan  2 03:28:18 ayiin racoon: DEBUG: configuration found for SONICW_IP_ADDRESS.
Jan  2 03:28:18 ayiin racoon: INFO: accept a request to establish IKE-SA: 
SONICW_IP_ADDRESS
Jan  2 03:28:18 ayiin racoon: DEBUG: ===
Jan  2 03:28:18 ayiin racoon: INFO: initiate new phase 1 negotiation: 
192.168.13.3[500]=SONICW_IP_ADDRESS[500]
Jan  2 03:28:18 ayiin racoon: INFO: begin Identity Protection mode.
Jan  2 03:28:18 ayiin racoon: DEBUG: new cookie: 6b685b8598c46c46 
Jan  2 03:28:18 ayiin racoon: DEBUG: add payload of len 52, next type 13
Jan  2 03:28:18 ayiin racoon: DEBUG: add payload of len 16, next type 0
Jan  2 03:28:18 ayiin racoon: DEBUG: 104 bytes from 192.168.13.3[500] to 
SONICW_IP_ADDRESS[500]
Jan  2 03:28:18 ayiin racoon: DEBUG: sockname 192.168.13.3[500]
Jan  2 03:28:18 ayiin racoon: DEBUG: send packet from 192.168.13.3[500]
Jan  2 03:28:18 ayiin racoon: DEBUG: send packet to SONICW_IP_ADDRESS[500]
Jan  2 03:28:18 ayiin racoon: DEBUG: 1 times of 104 bytes message will be sent 
to SONICW_IP_ADDRESS[500]
Jan  2 03:28:18 ayiin racoon: DEBUG:  6b685b85 98c46c46   
01100200  0068 0d38 0001 0001 002c 01010001 
0024 0101 800b0001 800c7080 80010007 800e0080 8003fadd 80020002 
80040002 0014 afcad713 68a1f1c9 6b8696fc 77570100
Jan  2 

Re: what is operator group for?

2007-01-01 Thread Chris Whitehouse

[EMAIL PROTECTED] wrote:


I want a regular user to be able to mount removeable media and shutdown 
the computer. If I make them a member of operator group what else am I

allowing them to do?


With the usual permission settings, you are also allowing them to read
disks directly (e.g. with dump(8)), and thus to read any file on the
system -- including the system's and other users' private key files.


Good point, thanks



One alternative is sudo.


There are some notes somewhere about setting up a group and setting 
permissions in devfs.conf and devfs.rules which I have been using. I 
thought maybe using operator would be more convenient. Doing my own 
setup is fiddly but I know what they are allowed. And sudo for shutting 
down works fine.


Thanks for the reply.

Chris



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





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


Re: file system for FreeBSD, OS X and WinXP?

2007-01-01 Thread Chris Whitehouse

Eric Kjeldergaard wrote:

On 12/31/06, Keith Beattie [EMAIL PROTECTED] wrote:


Hello all,

I recently picked up a big 700G external USB/Firewire Seagate drive with
the
hopes of using it to store my growing collection of music, photos, etc.
currently spread across several different machines (all with nearly full
discs).  My hope is that I could use a single file system on this drive
which could then be plugged into any of these machines which run FreeBSD,
OS
X, or WinXP.



My usual recommendation for this very problem is the ext2 filesystem.  As
far as I know, the drivers exist and work reasonably well for win32, 
MacOSX,

linux, BSD, and several others.  If taking it to machines that may not have
network to get FS drivers is an issue, you could consider several small
partitions each with an FS driver for a specific OS on it.



I chose ext2fs for the same reason. It worked fine until a power cut 
crashed the FreeBSD machine it was attached to and left the ext2fs 
partition in a big mess. I couldn't mount it until I had fsck'd it 
which needs sysutils/e2fsprogs. I think in the end I didn't lose data 
but now I don't trust it for holding data I don't want to lose.


Chris

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


Re: mozilla - bind conflict _

2007-01-01 Thread Vizion


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Vizion
 Sent: Monday, January 01, 2007 9:08 AM
 To: freebsd-questions@freebsd.org
 Cc: [EMAIL PROTECTED]
 Subject: Re: mozilla - bind conflict _
 
 
 
 
  -Original Message-
  From: Beech Rintoul [mailto:[EMAIL PROTECTED] 
  Sent: Monday, January 01, 2007 8:49 AM
  To: Vizion
  Cc: freebsd-questions@freebsd.org
  Subject: Re: mozilla - bind conflict _
  
  
  On Monday 01 January 2007 07:39, Vizion wrote:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Beech Rintoul
Sent: Monday, January 01, 2007 7:08 AM
To: freebsd-questions@freebsd.org
Cc: Vizion
Subject: Re: mozilla - bind conflict _
   
On Monday 01 January 2007 03:00, Vizion wrote:
 Hi

 I am having problems upgrading mozilla-1.7.13,2 ro
   
mozilla-1.7.13_1,2
   
 (www/mozilla)

 Build fails
 mozilla-1.7..13_1,2: bind installed with
   
PORT_REPLACES_BASE_BIND causes
   
 problems.

 I first recompiled bind9 without this option but got the
   
same failure.
   
 Then I deinstalled bind9 entirely and retried the 
  portupgrade after
 portsclean -C only to get the same failure.

 Suggestions please

 Thanks
 david
   
If you have a bind line in your /etc/make.config
(PORT_REPLACES_BASE_BIND9)
remove it. Alternately, you can do a make -k to override
the error, but if
you do that keep a close eye on your build to make sure you
don't have an
error somewhere else that gets ignored.
   
Beech
  
   Thanks -- I should have mentioned that I had checked 
  make.config as I had
   the same idea..I am now wondering where the *^% the system 
  is getting the
   idea that PORT_REPLACES_BASE_BIND is valid for bind... 
  puzzled ignorance
   reins supreme here.
  
  CD to the bind9 directory and do a make config. That is 
  also an option that 
  you need to uncheck. I had the same problem with several 
  ports and finally 
  went back to the dist version.
  
  Beech
 
 Thanks for sticking with me on this - but, assuming you mean 
 /usr/ports/dns/bind9 I tried that one too.. ensuring the line
 REPLACE_BASE was unchecked and did the same for all other 
 bind versions in ports/dns. 
 
 I have now tried a system shutdown in case the 
 PORT_REPLACES_BASE_BIND option is stored dynamically but to 
 no avail. I still get the error message:
 mozilla-1.7..13_1,2: bind installed with 
 PORT_REPLACES_BASE_BIND causes problems.
 
 This is becoming a witch hunt to locate the broomstick!! chuckles
 
 David

Just to add latest info -- here are the error messages.. one can also  see that 
an attempt to deinstall the current version fails...

I do not know whether this makes any sense to anyone else but I am getting 
nowehere with it resigned smiley
= MD5 Checksum OK for mozilla-1.7.13-source.tar.bz2.
= SHA256 Checksum OK for mozilla-1.7.13-source.tar.bz2.
= MD5 Checksum OK for libart_lgpl-1.tar.bz2.
= SHA256 Checksum OK for libart_lgpl-1.tar.bz2.
===   mozilla-1.7.13_1,2 depends on file: /usr/local/bin/perl5.8.8 - found
===  Patching for mozilla-1.7.13_1,2
===   mozilla-1.7.13_1,2 depends on file: /usr/local/bin/perl5.8.8 - found
===  Applying extra 
patch /usr/ports/www/mozilla/files/extra-patch2-nsSVGLibartGlyphMetricsFT.cpp
===  Applying FreeBSD patches for mozilla-1.7.13_1,2
mozilla-1.7.13_1,2: bind installed with PORT_REPLACES_BASE_BIND causes build 
problems.
*** Error code 1

Stop in /usr/ports/www/mozilla.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.3595.0 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mozilla-1.7.13,2 
UPGRADE_PORT_VER=1.7.13,2 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! www/mozilla (mozilla-1.7.13,2)(unknown build error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
[EMAIL PROTECTED] /usr/ports/www/mozilla]# make deinstall
===  Deinstalling for www/mozilla
===   mozilla-1.7.13,2 has a different PREFIX: /usr/X11R6, skipping

david


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


Re: what is operator group for?

2007-01-01 Thread [EMAIL PROTECTED]
 can anyone tell me what the operator group is for, or docs where I can
 read about it? I see that /sbin/shutdown and /sbin/mk_snap_ffs are 
 both executable by members and various things in /dev/ are mountable
 by them.

 My understanding is that group operator is intended for those who
 deal with devices, e.g. running backups and monitoring printers.

(snip)


The answer above is correct.  I found the operator group described
in Essential System Administration by AEleen Frisch which is
published by O'Reilly  Associates, Inc.

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


freebsd ban

2007-01-01 Thread petko

Hello,

I have problem with downloading portaudit database file. Is it possible 
that I have ban?


portaudit -F
fetch: http://www.FreeBSD.org/ports/auditfile.tbz: Connection refused
Couldn't fetch database.
Old database restored.
portaudit: Download failed.


Thanks for answer.

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


Re: How to kill dead ssh login

2007-01-01 Thread Pieter de Goeje
On Monday 01 January 2007 15:08, Grant Peel wrote:
 Hi all,

 The odd time, my ISP will disconnect me which leaves me with dead remote
 sesssions:

 57696  p0- IEs0:00.01 tcsh -c su
 57697  p0- IE+0:00.03 _su (csh)
 59069  p1  IWs0:00.00 tcsh -c su
 59070  p1  S  0:00.04 _su (csh)

 constellation# w
  9:05AM  up 3 days, 18:06, 2 users, load averages: 0.05, 0.07, 0.02
 USER TTY  FROM  LOGIN@  IDLE WHAT
 mefromremotep0   .ca  8:33AM30 _su (csh)
 mefromremotep1   .ca  8:50AM - w

 p0 is no longer connected do to a reset. How do I properly kill that
 session?

 I have already tried killing and TERMing 57696 and 57697 to no avail.

 -Grant
Try killing the responsible sshd process:

[EMAIL PROTECTED]:~ w
 9:35PM  up 19 days, 13:31, 2 users, load averages: 0.60, 0.44, 0.43
USER TTY  FROM  LOGIN@  IDLE WHAT
pyotrp2   nox   9:33PM 1 -tcsh (tcsh)
pyotrp3   nox   9:33PM - w
[EMAIL PROTECTED]:~ ps x | grep sshd
33240  ??  I  0:00.00 sshd: [EMAIL PROTECTED] (sshd)
33246  ??  S  0:00.01 sshd: [EMAIL PROTECTED] (sshd)
33264  p3  R+ 0:00.00 grep sshd
[EMAIL PROTECTED]:~ kill 33240

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


How to stop automatic creation of /var/mail/$USER

2007-01-01 Thread Sahil Tandon
When I 'adduser' a new account, a /var/mail/$USER file is created.  This is
unnecessary as our MTA is configured to deliver mail directly to a user's
~/Maildir/, where the IMAP server looks by default.

There is nothing in the adduser or adduser.conf man pages that explains how
to manipulate (or, in my case, simply stop) the creation of this file.

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


Re: How to stop automatic creation of /var/mail/$USER

2007-01-01 Thread Michael P. Soulier

On 1/1/07, Sahil Tandon [EMAIL PROTECTED] wrote:

When I 'adduser' a new account, a /var/mail/$USER file is created.  This is
unnecessary as our MTA is configured to deliver mail directly to a user's
~/Maildir/, where the IMAP server looks by default.

There is nothing in the adduser or adduser.conf man pages that explains how
to manipulate (or, in my case, simply stop) the creation of this file.


I do the same. I don't really care about the file, as it's not hurting
anything.

Mike
--
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


vpnc problem

2007-01-01 Thread Vishal Patil

I am trying to use vpnc 0.3.3 on FreeBSD 6.1 but I get the following errors

route: bad address:
delete net default

Also this completely screws up the network on my machine :(
Has anyone being successfully in using vpnc 0.3.3 on FreeBSD 6.1?
Thanks.

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


Indexing a largish collection of mail and usenet messages?

2007-01-01 Thread John L
I have a collection of archives of mailing list and news messages. The 
largest collection is pretty big, about 150,000 messages which means about 
200 megabytes of text, shortly to be migrated to a FreeBSD server.  The 
lists are all active so archives typically add a few messages each day. 
I want to provide a full text search of each archive.  What software 
should I use?  I have been using the sturdy but ancient lqtext package. 
It's OK, but it has a few bugs I have yet to pick and I'm wondering if 
something better is available.


First, I am NOT, repeat NOT, asking about web spiders.  The messages are 
directly available to indexing software as files on my server, so there's 
no advantage to running them through Apache on the way to the indexer. 
Also, the messages in the archive never change and I know what files are 
new each day, so it would be pointless for a package to re-spider the 
whole archive to look for the new messages.  I am not unalterably opposed 
to something that spiders if it is otherwise wonderful, but that approach 
hasn't been fruitful in the past.


What I want ideally is something that knows enough about the structure of 
mail messages to deal intelligently with headers vs. body, that can do 
something reasonable with MIME and HTML bodies (not urgent, I can always 
run them through demime on the way to the index), and most importantly 
that actually works with 150,000 messages.  I've seen lots of packages 
that look promising but that fall over dead once they get past 10,000 
messages or so.


User interface isn't particularly important, I can plug it into my 
existing stuff so long as it has the basic functions of taking search 
terms and giving back the locations of the matches.  To see the current 
version, bugs and all, see http://compilers.iecc.com/compsearch.phtml


The comp.compilers archive is also indexed in Google and other public 
search engines, which works splendidly, but most of the other lists are 
private so Google is out.


Any suggestions?  Tnx.

R's,
John







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


Problem with built-in USB memory card reader

2007-01-01 Thread Alexander Pohoyda
Everything works perfect if the system is started with a memory card
inserted into the reader.

The problem arises when the system is started without the memory card
inserted.  Since the reader is built-in (permanently attached to the
motherboard), it is detected by the system at startup and no umass
device is created.  Inserting a memory card at some later time has no
visible effect whatsoever.

I'm using the 5.4 release.  Is there a solution for this?


-- 
Alexander Pohoyda [EMAIL PROTECTED]
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72  15 54 5F 62 20 23 C6 44
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vpnc problem

2007-01-01 Thread Jonathan Horne


On Monday 01 January 2007 14:41, Vishal Patil wrote:
 I am trying to use vpnc 0.3.3 on FreeBSD 6.1 but I get the following errors

 route: bad address:
 delete net default

 Also this completely screws up the network on my machine :(
 Has anyone being successfully in using vpnc 0.3.3 on FreeBSD 6.1?
 Thanks.

 - Vishal


works fine for me without a problem, connecting to a VPN3000 at my office.  
what is your existing network config of your system, and what does your 
command line look like?

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


portupgrade - skipping -held by user- meaning?

2007-01-01 Thread Vizion

I do not understand this:

What does it mean when the message
--- skipping [portname] because it is held by user (specify -f to force)

and when  why should -f be specify?

David

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


Re: portupgrade - skipping -held by user- meaning?

2007-01-01 Thread Sahil Tandon

Vizion wrote:


What does it mean when the message
--- skipping [portname] because it is held by user (specify -f to force)


Does said port appear in the HOLD_PKGS array within pkgtools.conf?  From
that file:

  # HOLD_PKGS: array
  #
  # This is a list of ports you don't want portupgrade(1) to upgrade,
  # portversion(1) to suggest upgrading, or pkgdb(1) to fix.
  # You can use wildcards (ports glob and pkgname glob).
  # -f/--force with each command will override the held status.


and when  why should -f be specify?


When you want to force the upgrade of a package even though you've 
held it in pkgtools.conf.


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


Re: How to stop automatic creation of /var/mail/$USER

2007-01-01 Thread Sahil Tandon

Michael P. Soulier wrote:

When I 'adduser' a new account, a /var/mail/$USER file is created.  
This is unnecessary as our MTA is configured to deliver mail directly 
to a user's ~/Maildir/, where the IMAP server looks by default.


There is nothing in the adduser or adduser.conf man pages that 
explains how to manipulate (or, in my case, simply stop) the creation 

 of this file.


I do the same. I don't really care about the file, as it's not hurting
anything.


It doesn't hurt anyone but is it possible to disable its creation?

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


Re: How to stop automatic creation of /var/mail/$USER

2007-01-01 Thread Michael P. Soulier

On 1/1/07, Sahil Tandon [EMAIL PROTECTED] wrote:

It doesn't hurt anyone but is it possible to disable its creation?


Not sure if there's an easier way, but you could always patch it and
rebuild it.

Or, you could just put a wrapper around it that removes the file after
creating it.

Mike
--
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


lang/gcc41 woes

2007-01-01 Thread Anthony Michael Agelastos

Hello,

The updated lang/gcc41 port is having difficulties compiling for my  
setup. Below is the error along with some useful machine information.  
Does anyone have any ideas? Thank you for your assistance.


ERROR
(cd .libs  rm -f libgij.so  ln -s libgij.so.7 libgij.so)
(cd .libs  rm -f libgij.so  ln -s libgij.so.7 libgij.so)
ar rc .libs/libgij.a  gij.o
ranlib .libs/libgij.a
creating libgij.la
(cd .libs  rm -f libgij.la  ln -s ../libgij.la libgij.la)
/bin/sh ./libtool --tag=GCJ --mode=link /usr/ports/lang/gcc41/work/ 
build/gcc/gcj
-B/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/libjava/ - 
B/usr/port
s/lang/gcc41/work/build/gcc/ -L/usr/ports/lang/gcc41/work/build/i386- 
portbld-fre
ebsd6.1/libjava -ffloat-store -fomit-frame-pointer -g -O2  -o jv- 
convert --main=
gnu.gcj.convert.Convert -rpath /usr/local/lib/gcc-4.1.2 -shared- 
libgcc -pthread
-L/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd6.1/ 
libjava/.libs libgcj

.la
/usr/ports/lang/gcc41/work/build/gcc/gcj -B/usr/ports/lang/gcc41/work/ 
build/i386
-portbld-freebsd6.1/libjava/ -B/usr/ports/lang/gcc41/work/build/gcc/ - 
ffloat-sto
re -fomit-frame-pointer -g -O2 -o .libs/jv-convert -- 
main=gnu.gcj.convert.Conver
t -shared-libgcc -pthread  -L/usr/ports/lang/gcc41/work/build/i386- 
portbld-freeb
sd6.1/libjava -L/usr/ports/lang/gcc41/work/build/i386-portbld- 
freebsd6.1/libjava
/.libs ./.libs/libgcj.so -L/usr/ports/lang/gcc41/work/build/i386- 
portbld-freebsd
6.1/libstdc++-v3/src -L/usr/ports/lang/gcc41/work/build/i386-portbld- 
freebsd6.1/
libstdc++-v3/src/.libs -lz -L/usr/ports/lang/gcc41/work/build/./gcc - 
L/usr/local
/lib/gcc-4.1.2/gcc/i386-portbld-freebsd6.1/4.1.2 -L/usr/local/lib/ 
gcc-4.1.2/gcc/
i386-portbld-freebsd6.1/4.1.2/../../.. -lgcc_s -lgcc_s -Wl,--rpath - 
Wl,/usr/loca

l/lib/gcc-4.1.2
/usr/bin/ld: .libs/jv-convert: hidden symbol `__eprintf' in /usr/ 
ports/lang/gcc4

1/work/build/./gcc/libgcc.a(_eprintf.o) is referenced by DSO
collect2: ld returned 1 exit status
gmake[4]: *** [jv-convert] Error 1
gmake[4]: Leaving directory `/usr/ports/lang/gcc41/work/build/i386- 
portbld-freeb

sd6.1/libjava'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/lang/gcc41/work/build/i386- 
portbld-freeb

sd6.1/libjava'
gmake[2]: *** [all-target-libjava] Error 2
gmake[2]: Leaving directory `/usr/ports/lang/gcc41/work/build'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc41/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 2

Stop in /usr/ports/lang/gcc41.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade. 
17633.0 en
v UPGRADE_TOOL=portupgrade UPGRADE_PORT=gcc-4.1.2_20061208  
UPGRADE_PORT_VER=4.1.

2_20061208 make WITH_FORTRAN=yes
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! lang/gcc41 (gcc-4.1.2_20061208)   (new compiler error)
---  Packages processed: 0 done, 1 ignored, 0 skipped and 1 failed
/ERROR

UNAME
[EMAIL PROTECTED]:/usr/ports/lang/gcc41 uname -a
FreeBSD dell.home.iq 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat  
Jul 29 07:53:36 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ 
IQKERNEL  i386

/UNAME

PKGTOOLS.CONF Excerpt
  MAKE_ARGS = {
'lang/gcc41' = [
  'WITH_FORTRAN=yes',
],
'lang/gcc42' = [
  'WITH_FORTRAN=yes',
],
  }
/PKGTOOLS.CONF Excerpt

MAKE.CONF
CPUTYPE?=pentium3
CFLAGS= -O -pipe
CXXFLAGS+= -fconserve-space
NO_LPR=
NO_PROFILE=true
CUPS_OVERWRITE_BASE=yes
WITH_MOZILLA=firefox

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


Re: How to stop automatic creation of /var/mail/$USER

2007-01-01 Thread Matt Emmerton
 On 1/1/07, Sahil Tandon [EMAIL PROTECTED] wrote:
  When I 'adduser' a new account, a /var/mail/$USER file is created.  This
is
  unnecessary as our MTA is configured to deliver mail directly to a
user's
  ~/Maildir/, where the IMAP server looks by default.
 
  There is nothing in the adduser or adduser.conf man pages that explains
how
  to manipulate (or, in my case, simply stop) the creation of this file.

 I do the same. I don't really care about the file, as it's not hurting
 anything.

I looked at the adduser sources and couldn't find anything that explicitly
creates the /var/mail/$USER directory.

Further debugging shows that the pw useradd command (see the adduser
subroutine) is what is creating the mail file.

There doesn't seem to be a way from the command-line to have pw *not* create
the mail spool file, although code will skip this is PWALTDIR() is set -- 
although our version of pw doesn't set this at all.  There also appears to
be a shortage of command line options that could be used to enable this
behaviour.

Regards,
--
Matt Emmerton

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


Re: FreeBSD process STATES and their meanings

2007-01-01 Thread Fr0zen
Anyone?
  - Original Message - 
  From: Fr0zen 
  To: freebsd-questions@freebsd.org 
  Sent: Sunday, December 31, 2006 1:25 AM
  Subject: FreeBSD process STATES and their meanings


  Does anyone have a small list with biref descriptions of what each value in 
the STATE column in top represent. e.g sbwait, kserel, nanslap, select, piperd, 
etc... I once saw one in the achieves, but I am unable to find it again. 

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


Re: FreeBSD process STATES and their meanings

2007-01-01 Thread Dan Nelson
In the last episode (Jan 01), Fr0zen said:
 Anyone?
   - Original Message - 
   From: Fr0zen 
   To: freebsd-questions@freebsd.org 
   Sent: Sunday, December 31, 2006 1:25 AM
   Subject: FreeBSD process STATES and their meanings
 
 
   Does anyone have a small list with biref descriptions of what each
   value in the STATE column in top represent. e.g sbwait, kserel,
   nanslap, select, piperd, etc... I once saw one in the achieves, but
   I am unable to find it again.

Did the replies to your original post on Dec 18 not help?

http://lists.freebsd.org/pipermail/freebsd-questions/2006-December/138028.html
http://lists.freebsd.org/pipermail/freebsd-questions/2006-December/138062.html

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


Re: FreeBSD process STATES and their meanings

2007-01-01 Thread Giorgos Keramidas
On 2007-01-01 18:54, Fr0zen [EMAIL PROTECTED] wrote:
Fr0zen wrote on Sunday, December 31, 2006 1:25 AM:
 Does anyone have a small list with biref descriptions of what each
 value in the STATE column in top represent. e.g sbwait, kserel,
 nanslap, select, piperd, etc... I once saw one in the achieves, but I
 am unable to find it again.

 Any feedback would be greatly appreciated.

 Anyone?

Please *don't* top-post.  I've fixed it this time, but it gets
old pretty fast in large, complex threads.

Have you tried looking at the manpage of top(1)?  It contains a
small description of what the values of the STATE column are
supposed to represent.

- Giorgos

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


Re: freebsd ban

2007-01-01 Thread Andrew Pantyukhin

On 1/1/07, petko [EMAIL PROTECTED] wrote:

Hello,

I have problem with downloading portaudit database file. Is it possible
that I have ban?


It actually depends on your race, political and religious
affiliation, and a bunch of other subtler characteristics.
We are quite picky, you know :-)


portaudit -F
fetch: http://www.FreeBSD.org/ports/auditfile.tbz: Connection refused
Couldn't fetch database.
Old database restored.
portaudit: Download failed.


Looks like a network connectivity issue. You can try to
download the file with your browser and put it at
/var/db/portaudit/auditfile.tbz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Routing

2007-01-01 Thread Michael K. Smith - Adhost


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Office of the CIO-rithy4u.NET
 Sent: Monday, January 01, 2007 2:17 AM
 To: freebsd-questions@freebsd.org
 Subject: Routing
 
 I try to do dual routing on my freebsd box but its was not
 sucecssfull. any one can help?
 

Hello:

With very little information, I'm guessing you mean, how do I route
through a FreeBSD box from one NIC to another?

First, as root, 'sysctl net.inet.ip.forwarding=1' and then update
/etc/sysctl.conf with 'net.inet.ip.forwarding=1' so it is available
after reboot.

Second, in /etc/rc.conf, put 'gateway_enable=YES'

After that, you'll have to provide more information about your
configuration to receive more specific information about configuration
guidelines.

Regards,

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


is it possible to log in over ssh on a VERY SLOW link ?

2007-01-01 Thread Ensel Sharon

Long story short:

I have set a dummynet rate limit on a remote system to be 10 bits/s.

This is, of course, ridiculously slow, and when I ssh to the system ssh
times out before it can negotiate a connection.

The question I have is, is there any way I can set the ssh and/or tcp
connection settings on my local FreeBSD system so that I _could_
successfully log in over ssh and run the 'ipfw del' command ?

In pseudocode:  I don't care how slow it is, log in over ssh

Any ideas ?

Thanks.

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


Re: is it possible to log in over ssh on a VERY SLOW link ?

2007-01-01 Thread Andrew Pantyukhin

On 1/2/07, Ensel Sharon [EMAIL PROTECTED] wrote:


Long story short:

I have set a dummynet rate limit on a remote system to be 10 bits/s.

This is, of course, ridiculously slow, and when I ssh to the system ssh
times out before it can negotiate a connection.

The question I have is, is there any way I can set the ssh and/or tcp
connection settings on my local FreeBSD system so that I _could_
successfully log in over ssh and run the 'ipfw del' command ?

In pseudocode:  I don't care how slow it is, log in over ssh

Any ideas ?


I'm afraid you'll have to consider that dummynet limit
as just a deny rule. BTW, the pipe is already full,
which is 50 packets by default, which probably is over
20Kb, which will take over 4 hours to get through. Can
you even guarantee complete silence on the interface
for 4 hours?

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


question

2007-01-01 Thread Juan Ortega

Hi, I installed freeBSD 6.1-RELEASE on my Compaq ADM4, and when I
input the command, Xorg -configure, theres some errors:

dlopen: /usr/X11R6/lib/modules/drivers/newport_drv.so: Undefined symbol 
XAAFall back0ps

(EE) Failed to load /usr/X11R6/lib/modules/drivers/newport_drv.so
(EE) Failed to load module newport (loader failed, 7)
(++) Using config file: /root/xorg.conf.new


I dont know whats wrong with it, I installed Xorg and its libraries
but for some reason it cant find the modules, any help?


[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Making world doesn't change all ownerships?

2007-01-01 Thread Francisco Reyes
I have a test machine where some users changed a number of 
directories to be owned by www:www by mistake. The machine was unusable. 

After rebuilding from sources the machine was usable, but I noticed that 
a number of files still were owned by www. In particular I saw files in 
/usr/sbin, /usr/bin.. and likely other places.


Shouldn't rebuilding from source fix the ownership?
I followed the steps in  Common items from /usr/src/UPDATING, like have 
done many times before...


   make buildworld
   make kernel KERNCONF=YOUR_KERNEL_HERE
   [1]
   reboot in single user [3]
   mergemaster -p  [5]
   make installworld
   make delete-old
   mergemaster [4]
   reboot

Since it is a test machine, if there are still odd issues I may just re-do 
the whole machine.. and newfs.. but was puzzled that rebulding world would 
leave binarines with the wrong ownership.

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


how to fetch again a port from port distribution (ftp site)?

2007-01-01 Thread VeeJay

Hi

I was trying to install mysql from port collection. But during downloading
port from port distribution, my internet connection got broken for few
minuts...

now when I run make again... it tries to compile uncomplete downloaded src

how can I get rid of this pre-fetched src, remove it and

how to fetch again a port from port distribution (ftp site) when src is
already downloaded once?
--
Thanks!

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


how to fetch again a port from port distribution (ftp site)?

2007-01-01 Thread Robert Huff

VeeJay writes:

  I was trying to install mysql from port collection. But during
  downloading port from port distribution, my internet connection
  got broken for few minuts...
  
  how can I get rid of this pre-fetched src, remove it and

Remove the incomplete file from /usr/ports/distfiles.

  how to fetch again a port from port distribution (ftp site) when
  src is already downloaded once?

If you've removed the distfile, running make from the port
directory will handle everything.
If not, try make fetch.


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


Re: how to fetch again a port from port distribution (ftp site)?

2007-01-01 Thread Sahil Tandon

VeeJay wrote:


I was trying to install mysql from port collection. But during downloading
port from port distribution, my internet connection got broken for few
minuts...

now when I run make again... it tries to compile uncomplete downloaded src

how can I get rid of this pre-fetched src, remove it and

how to fetch again a port from port distribution (ftp site) when src is
already downloaded once?


Go into the port's directory and 'make distclean'; this will remove the 
sources you downloaded in /usr/ports/distfiles.  Then just 'make 
install' to build again.


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


Re: problem with samsung flash

2007-01-01 Thread Ivan Frosty

Thanks yuri, will look into it.i have electric power shortages
lately.

lowell, i havent tried it with any other machines even though on
windows it works finehowever my friend has a 1gb
..forgotten the brand, is it scan? somethin similar and it works
fine.

On 1/1/07, Lowell Gilbert [EMAIL PROTECTED] wrote:

Ivan Frosty [EMAIL PROTECTED] writes:

 hello there, i have freebsd 6.1 pentiumII 355mhz processor and 128mb
 of ram. everytime i put my samsung 512mb in tha usb the machine doesnt
 boot it halts where the error be at if i pull it out it
 boots.then if i put it back in i get an error...whats with
 umass? i basically installed everybit and software of the unix i have
 so i dont know why i get the error anyhelp will be highly appreciated!

 this is the error:

 da0 at umass-sim0 bus0 target0wn0
 da0:SAMSUNG flash Disk 1.06 Removable Direct Access SCSI-0 device
 da0:1.000MB/s transfers
 da0:511mb(1046720 512 byte sectors:64H 32s/T s11c)
 umass0:phase Error, residue = 0
 (da0:umass-sim0:0:0:0):synchronize cache failed, status == 0x4,scsi
 status == 0x0 opened disk da0-5!

 thank you for your time

Those message make me think it is a very old USB device.  Is that
true?  Do other machines have troubles if the device is plugged in?




--
Frosty-456
http://www.geocities.com/ivanfrosty/ivanfrosty.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron not running

2007-01-01 Thread Annelise Anderson

On Thu, 28 Dec 2006, steve wrote:

It has been a long time since I've had to post for help, so forgive me if 
this question is misplaced or stupid. 
I have a freebsd server running at home now for years with no problems.  Over 
the  years it has been rebooted a few times either on purpose or do to things 
like power failures.  It has always started up without problems.  On the 
12/27 I shut down the server so I could physically clean the server (was 
getting kinda gross with dust balls and stuff).  It started up no problems 
but rather curiously the cron service does not seem to be processing any jobs 
now. 
I am not sure where to go about figuring out what the problem is or how to 
fix it.  I would greatly appreciate any help or guidance from people here on 
this issue. 
Steve

www.digitalbluesky.net ___


You can use the ps command to find out if cron is running:

ps aux | grep cron

It should show you /usr/sbin/cron

cron is started with defaults in /etc/defaults/rc.conf as modified by
/etc/rc.conf.

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


Re: PMAP_SHPGPERPROC

2007-01-01 Thread Kris Kennaway
On Sat, Dec 30, 2006 at 08:43:14PM +1030, Ian Moore wrote:
 Hi,
 Since I upgraded to KDE 3.5.5 the other day, I've been getting the following 
 messages after KDE starts:
 kernel: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
 I've noticed the system seems a bit unstable, it often locks up when KDE 
 starts and I guess that is the reason for the instability.

I doubt it.

 I did a bit of hunting on the mailing list archives, but could only come up 
 with one question that didn't shed much light on the matter. Does anyone know 
 what I should do to increase PMAP_SHPGPERPROC?

Change the value in your kernel configuration file.

 I'm running 5.5-RELEASEp9 on i386.

Try updating to 6.2 if you are having instability problems, and then
proceed from there.

Kris


pgpHphZOXErll.pgp
Description: PGP signature