RE: How to troubleshoot slow network performance with Realtek 8169s?

2005-07-04 Thread Ted Mittelstaedt


-Original Message-
From: Juha Saarinen [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 03, 2005 4:03 AM
To: Ted Mittelstaedt
Cc: FreeBSD questions
Subject: Re: How to troubleshoot slow network performance with Realtek
8169s?


On 7/3/05, Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 
 The Realtek is a cheap adapter.  You can try hard-coding the
 media type to see what happens, but the fact remains this is
 nowhere near as good a card as the 82801B.  As a result of this
 there hasn't been that much attention to driver optimizations,
 you can review the work here:
 
 http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c
 
 If playing around with the media type doesen't fix it you can
 try a send-pr but your best off just pulling the card and
 replacing it with another Intel, then mailing the card to one
 of the driver developers.  Maybe in 6 months to a year you
 might see a faster driver in FreeBSD - or maybe not.

Yeah, I know the 8169s isn't the flashest card in the universe and I
don't mind donating a card or two to the developers, but with further
testing -- assuming iperf isn't lying -- it seems the driver is OK and
there's something happening further up the chain that I don't
understand yet.

What's weird is that with both 100 and 1000Mbit/s connections, the max
speed is a quarter of the link speed when using applications such as
ftp for transferring files. With iperf, I see 92Mbit/s on 100Mbit/s
and 400-640Mbit/s on 1000mbit/s connections depending on the
direction.



This isn't weird at all.  It is a driver issue.  Remember I said the
driver hasn't been optimized.  The driver could be letting the card
seize the PCI bus for an inordinate amount of time or some such.  This
could also be an interaction with the card, the driver, and some bios
setting of your motherboard.  This could be, for example, not allowing
enough cpu time for a higher-overhead program like FTP to run at full
speed, while allowing a lower overhead program like iperf, enough time
to run at full blast.  I have seen issues like this before and they
have almost always been solved by swapping hardware.

I have in fact swapped hardware that acted up in one machine to
a different machine that had a different motherboard, same FreeBSD
versions on both systems, and that hardware became rock-solid in
the new motherboard.

Frankly it all depends on what you want to do.  If this is a production
system you are going to need it online and you can't waste the time
to screw around with it - in that case you know the Intel chipset works
well in that motherboard, so replace the Realtek.  If however this is
a fun-n-games system then keep the Realtek in there and file a send-pr
and work it that way.

Ted

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


RE: Whom to report a panic to?

2005-07-04 Thread Ted Mittelstaedt

man send-pr

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Vittorio De
Martino
Sent: Sunday, July 03, 2005 1:58 PM
To: freebsd-questions@freebsd.org
Subject: Whom to report a panic to?


My (daughter's) new mp3 usb device made  my laptop with the 
latest freebsd 5.4 
freeze and show a page of panic explaining (not to me) what 
went wrong.
The same mp3 reader is smoothly seen as a usb mass memory from 
linux on the 
same laptop.
My question is:

1)Whom should I report the freebsd panic to? To what list? 
2)What should I report? 
3) is there a way to record in a file the console panic report?

Ciao
Vittorio 
___
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: FreeBSD locks up when X-windows running (LONG)

2005-07-04 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ron
Sent: Sunday, July 03, 2005 5:29 AM
To: freebsd-questions@freebsd.org
Subject: Re: FreeBSD locks up when X-windows running (LONG)


On 7/3/05, Ted Mittelstaedt [EMAIL PROTECTED] wrote:

 No, I am saying your going to have to rebuild with the
 June drivers and _see_if_it_works_.

 If that locks up, well then as Nvidia wrote those drivers,
 you can call them on their support line.  Please report
 back here and let us know how this works out - a lot of
 people are avoiding purchasing that chipset or boards with
 that chipset because Nvidia don't supply programming info,
 and nobody really knows how well Nvidia is going to support
 us.
Is there any 3d hardware company that does supply enough programming
info? I looked a year ago, but I haven't seen any *product* yet,
although there are initiatives.


Yes, here's 2:

http://www.xgitech.com/about/about_press1.asp?CTID=%7BC3FD7D03-6BE1-4BB9-
9F34-1221E723B87F%7D

http://www.via.com.tw/en/resources/pressroom/2005_archive/pr050412_driver
source.jsp

Ted

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


Fuser equivalent

2005-07-04 Thread Crucis
Hi,
Is there a BSD equivalent of the Linux fuser command?
fuser is used to identify processes using files/sockets.
Thanks in advance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Using unix mail with maildir format

2005-07-04 Thread bsd

Hello,


Does anyone know if there is a way to read mail with unix mail  
program?


I've been using this program since couple of years and I am quite  
happy with It…

I can't seem to find a shortcut to have It read maildir format…



Thanks.






«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§





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


List all make targets?

2005-07-04 Thread Michael Dexter


Hello all,

I am sure I saw this somewhere and even added it to my notes but 
neither I nor Google can find it for the life of us... or I dreamt 
it...


Is there a 'make' flag to list all make targets for any given 
directory containing Makefile* ?


Appreciated!

On the same topic, can anyone recommend an IDE or utility that can 
help me navigate the make hierarchy used by 'build/installworld' and 
'release?'


It's a brilliant mechanism but I get lost chasing variables that may 
span /usr/src/Makefile.inc1 and /usr/share/mk/ and...


Thanks!

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


Re: Fuser equivalent

2005-07-04 Thread David Landgren

Crucis wrote:

Hi,
Is there a BSD equivalent of the Linux fuser command?
fuser is used to identify processes using files/sockets.
Thanks in advance


lsof?

Available in ports

David

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


file-4.09 compilation error

2005-07-04 Thread Paolo Supino
Hi 

If this is the wrong place to ask the following question please direct
me in the right direction...

I'm trying to compile and install 'file-4.09' on FreeBSD 4.10 (someone
else needs it) and the compilation fails with the following error:
gcc -g -O2 -o .libs/file file.o  ./.libs/libmagic.so -lz -Wl,--rpath
-Wl,/finjan//lib
file.o: In function `file_mbswidth':
/home/paolo/src/file-4.09/src/file.c:465: undefined reference to `mbrtowc'
/home/paolo/src/file-4.09/src/file.c:479: undefined reference to `wcwidth'
gmake[1]: *** [file] Error 1
gmake[1]: Leaving directory `/home/paolo/src/file-4.09/src'
gmake: *** [install-recursive] Error 1

The ports tree has version 4.07 (too old) and compiline version 4.12
completes successfully. I cannot force a version change so installing
4.12 out of the question.
Any help in causing file version 4.09 to compile successfully will be
greatly appriciated.



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


FreeBSD 4.11 IPv6-over-IPv4 tunnel problem

2005-07-04 Thread Leon Messner
Hi List,

I want to establish an IPv6-over-IPv4 tunnel to my ISP. After some
hours trying i got myself acounts at HE and XS26 for testing and they
work. My Setup is FreeBSD 4.11-STABLE with ip(6)fw (stateful) and natd running.
My ISP gave the appended setup information which is for Debian Linux
(which i've never used). The IPv4 endpoints are 217.197.85.214(me) and
192.109.42.23(ISP) the IPv6 endpoints are 2001:bf0:c00c::c00c:0002:2(me)
and 2001:bf0:c00c::c00c:0002:1(ISP). I asked my ISP for support but
they don't know the way for FreeBSD and they tell me the tunnel is
definitely working. 

I tried doing the following but this and several other approaches did
not yield anything :

zwelf:~# ifconfig gif0 create tunnel 217.197.85.214 192.109.42.23 up 
zwelf:~# ifconfig gif0 inet6 alias 2001:bf0:c00c::c00c:0002:2
zwelf:~# ping6 ff02::1%gif0
PING6(56=40+8+8 bytes) fe80::250:bfff:fe58:6c75%gif0 -- ff02::1%gif0
16 bytes from fe80::250:bfff:fe58:6c75%gif0, icmp_seq=0 hlim=64 time=0.746 ms
16 bytes from fe80::250:bfff:fe58:6c75%gif0, icmp_seq=1 hlim=64 time=0.422 ms
16 bytes from fe80::250:bfff:fe58:6c75%gif0, icmp_seq=2 hlim=64 time=0.427 ms
^C
--- ff02::1%gif0 ping6 statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/std-dev = 0.422/0.532/0.746/0.152 ms

Thanks for reading, any comments appreciated

Leon 


/* /etc/network/interfaces for a Debian system */

auto zwelf6
iface zwelf6 inet6 v4tunnel
  address   2001:bf0:c00c::c00c:0002:2
  netmask   112
  local 217.197.85.214
  endpoint  192.109.42.23
  ttl   64
  up ip tunnel change zwelf6 ttl 64
  up echo 1  /proc/sys/net/ipv6/conf/all/forwarding
  up   ip -6 route add2001::/3 dev zwelf6
  down ip -6 route delete 2001::/3 dev zwelf6

/* full ifconfig */

rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=40POLLING
inet 192.168.10.1 netmask 0xff00 broadcast 192.168.10.255
inet6 fe80::250:bfff:fe58:6c75%rl0 prefixlen 64 scopeid 0x1 
ether 00:50:bf:58:6c:75
media: Ethernet autoselect (100baseTX full-duplex)
status: active
rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=40POLLING
inet6 fe80::230:84ff:fe0b:15d4%rl1 prefixlen 64 scopeid 0x2 
ether 00:30:84:0b:15:d4
media: Ethernet 10baseT/UTP
status: active
lp0: flags=8851UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
inet 127.0.0.1 netmask 0xff00 
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
inet 217.197.85.214 -- 192.109.42.172 netmask 0x 
inet6 fe80::250:bfff:fe58:6c75%tun0 prefixlen 64 scopeid 0x7 
Opened by PID 70
gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
tunnel inet 217.197.85.214 -- 192.109.42.23
inet6 fe80::250:bfff:fe58:6c75%gif0 prefixlen 64 scopeid 0x8 
inet6 2001:bf0:c00c::c00c:2:2 prefixlen 64 

-- 

gnupg key ID: 9B820836  Fingerprint:

6081 8F41 8FEC 0D69 DB98  F014 0FD4 B47D 9B82 0836
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN Tunnel

2005-07-04 Thread Fabian Keil
[EMAIL PROTECTED] wrote:

 I'm having some problems getting a VPN tunnel working between two sites.  
 Currently I am just trying to establish a tunnel and worry about the 
 encryption after the tunnel is up and functional, however I cannot even get 
 the tunnel established.  I have followed the directions from the FreeBSD 
 handbook but had no luck.  Here is my scenario:
 
 Network 1:
 
 FreeBSD Internal IP: 192.168.20.13
 FreeBSD External IP: 12.34.56.78
 
 Network 2:
 
 FreeBSD Internal IP: 192.168.15.2
 FreeBSD External IP: 87.65.43.21
 
 On the Network 1 Box, I configured the gif0 interface as follows:
 
 [EMAIL PROTECTED] ifconfig gif0 create
 [EMAIL PROTECTED] ifconfig gif0 tunnel 12.34.56.78 87.65.43.21
 [EMAIL PROTECTED] ifconfig gif0 inet 192.168.20.13 192.168.15.2 netmask 
 255.255.255.255
 
 For IPFilter, I have the following rules at the TOP of the script:
 pass in quick from 87.65.43.21 to any on xl0
 pass in quick on gif0 all
 pass out quick on gif0 all
 
 On the Network 2 Box, I configured the gif0 interface as follows:
 
 [EMAIL PROTECTED] ifconfig gif0 create
 [EMAIL PROTECTED] ifconfig gif0 tunnel 87.65.43.21 12.34.56.78
 [EMAIL PROTECTED] ifconfig gif0 inet 192.168.15.2 192.168.20.13 netmask 
 255.255.255.255
 
 For IPFilter, I have the following rules at the TOP of the script:
 pass in quick from 12.34.56.78 to any on xl0
 pass in quick on gif0 all
 pass out quick on gif0 all
 
 After I have created both gif0 interfaces on each of the boxes, the FreeBSD 
 handbook says I should be able to ping the private IP of the other BSD 
 machine.  When I ping from Network 1, I don't get any type of response and 
 just 100% failed sent packets.  When I ping from Network 2, I get a 'No route 
 to host' message as well as 100% failed sent packets.
 
 I have been at this for 2 days now and I'm really starting to get frustrated. 
  
 Am I missing something here?  Any help would be appreciated.

Looks like the routing table in network 2 doesn't work.
netstat -rn should give you a clue what's wrong.

Fabian
-- 
http://www.fabiankeil.de/


pgp3YPQP8sO6A.pgp
Description: PGP signature


unexpected RCODE (SERVFAIL) resolving

2005-07-04 Thread knecht
Dear all,

we are running FreeBSD 5.4 and Bind 9.3.0
When i try to access www.citrx.com i get the following error:
named[443]: unexpected RCODE (SERVFAIL) resolving
'www.gslb.citrix.com//IN': 12.8.192.28#53

I starting a lot of test and think Citrix is useing MS DNS
server. From my point of view there is a bug in MS DNS server.
Because i setup a test MS DNS server and make some test and
see the same error. When i use BIND as DNS everythink work fine.

Is one of you know this error or can help ?


Kind regards
Thorsten

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mutiple X's with a twist.

2005-07-04 Thread TvZ
Ok...I'm running multiple Xsessions on multiple screens.
But as always...their is a problem.
When going from one session to the other, the screens with former sessions
goes black and other turns on. Same happens when shitching back.
So...How can I switch and keep the display up?
Any help would be apreciated.

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


SendMail Error Message

2005-07-04 Thread Gerard Seibert
For no apparent reason, the following error message is suddenly appearing 
on my computer monitor.


# Jul  4 07:48:31 beerstud sm-mta[5876]: j64BIV2C005802: SYSERR(root): 
hash map Alias0: unsafe map file /etc/mail/aliases.db: World writable 
directory


I checked, and the directory is set at 0755. I never altered it or 
anything, so why is it suddenly giving me this message? In addition, what 
do I have to do to correct the situation?


--
Thanks

Gerard Seibert
[EMAIL PROTECTED]


Madam, you have between your legs an instrument capable of giving
pleasure to thousands and all you can do is scratch it.


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


Re: help with sh script

2005-07-04 Thread Roland Smith
On Sun, Jul 03, 2005 at 01:03:40PM -0400, fbsd_user wrote:
 
 I get this error printf missing format character
 
 Does sed need different syntax or have I got it all wrong?

Issue the following command and be enlightend:

man 1 printf

Or just use 'echo' instead.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgp6WWWemkY7Y.pgp
Description: PGP signature


Re: help with sh script

2005-07-04 Thread FreeBSD questions mailing list


On 03 jul 2005, at 19:03, fbsd_user wrote:


On Sun, 3 Jul 2005 12:14:05 -0400
fbsd_user [EMAIL PROTECTED] wrote:



Thanks but I need a little more help.

num_ip=(printf $raw_ip | sed 's/\.//g')

gives me a error.

What would the correct syntax be?

I am trying to write script to insert rules into PF firewall
on 5.4. using pf anchors.




Hello,

The problem here is that

num_ip=(printf $raw_ip | sed 's/\.//g')

makes num_ip equal to

(printf $raw_ip | sed 's/\.//g')

instead of its output.

To assign the output of a command use `:

num_ip=`(printf $raw_ip | sed 's/\.//g')`

Also the subshell (the ()) is not needed:

num_ip=`printf $raw_ip | sed 's/\.//g'`

Hope that helps.

Best Regards,
Ale




Thanks that was just what I needed. Now building on that I tried
this

std_text='No ALTQ support in kernel ALTQ related functions disabled'

ret_ob=`(echo $outrule) | pfctl -a doorman_ob:$session_name_ob -f -
21`
ret_ob=`printf $ret_ob | sed 's/\$std_text//g'`

The goal here is to remove the std_text from the output of the
pftctl command.

I get this error printf missing format character

Does sed need different syntax or have I got it all wrong?



printf needs  surrounding the arguments:

printf $ret_ob

is the right syntax...

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


Re: NVIDIA TNT2 woes

2005-07-04 Thread markzero
 (WW) The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in
 (WW)  this system is supported through the NVIDIA Legacy
 (WW)  drivers. Please visit
 (WW)  http://www.nvidia.com/object/unix.html for more
 (WW)  information.  The 1.0-7667 NVIDIA driver will ignore this
 (WW)  GPU.  Continuing probe... (EE) No devices detected.
 
 The NVIDIA Legacy drivers magically fail to exist on the NVIDIA
 site and there appears no be no port for them either.
  
 
 I was exploring the latest nvidia driver and came across this page.  
 http://www.nvidia.com/object/freebsd_archive.html
 Isn't 7174 or 6113 the legacy driver you are after?
 
 --Alex
 

Well, yes they are the older drivers that would work, but the above
message gave me the impression that NVIDIA were going to be maintaining
a seperate set of legacy drivers.

Not that it really matters now, the nv driver seems to be more solid
and allows me to run my monitor at the resolution I'm actually supposed
to be able to run it at (the proprietary drivers had a long unfixed bug
that limited my maximum resolution). I get no apparent performance
decrease on glxgears either (which is about the limit of my GL usage
nowadays!).

Cheers,
M

-- 
pgp: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9dD1


pgpYT0lP8T8fv.pgp
Description: PGP signature


RE: Linux move to FreeBSD

2005-07-04 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dmitry Mityugov
Sent: Sunday, July 03, 2005 2:03 PM
To: Lane
Cc: freebsd-questions@freebsd.org
Subject: Re: Linux move to FreeBSD


On 7/3/05, Lane [EMAIL PROTECTED] wrote:
...
 It truly boggles the mind at how frequently people protest
the on-going
 decision to use beastie on the public face of FreeBSD.  It's
almost like a
 guest who comes into your home and then starts redecorating!
...

I believe there was nothing in the original question that would
resemble redecorating. It was a polite question about why FreeBSD
had this feature.


No, it wasn't.  Not if you read the entire message context.  It was
a question along the lines of how dare you do this or what idiot
used this  He may not have used those exact words but the meaning
was clear.

The poster praises the OS on a technical merit and then goes on to
raise this issue.  What possible basis of selection for a computer
operating system IS there OTHER than technical merits?

I am, personally, currently helping my friend to buy and configure a
computer for him and his family. Although I know FreeBSD better than
Linux (and this does not mean I am a FreeBSD guru), I'll be installing
something like Ubuntu on that machine, not FreeBSD, because my friend
and his family are religious men.


Then you sir are doing your friend a disservice.  Once this system is
setup they will be going to you for help, and your deliberately setting
them up with a system you don't know as well - thus you will be less
able to help them.

My church, First Presbyterian Church of Portland, OR uses several FreeBSD
servers for their web/mail/fileserving needs.  They also use Macs running
MacOS X almost exclusively, and MacOS X was based partly on FreeBSD.  And
they also have a Win2K server in the mix which comes from Microsoft, who
cheated their way into the market, and is a far less honorable
organization
than any organization which has helped to create FreeBSD.

I suppose that in your view, my church (http://www.fpcpdx.org) is less
religious than you are.  I feel that you have completely missed
the entire thrust of Jesus's message.

Ted

PS  And I don't suppose you have a problem with Ubuntu even though many
networking utilities that are in it and in Linux came from BSD code, and
BSD used the daemon image long before Linux was even a thought in
someone's
mind.

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


RE: Linux move to FreeBSD

2005-07-04 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dmitry Mityugov
Sent: Sunday, July 03, 2005 3:27 PM
To: Bob Hall; freebsd-questions@freebsd.org
Subject: Re: Linux move to FreeBSD


The problem is, my friend lives closer to Europe than to anything
else, and I don't want to dispute with him about what's right and
wrong in his believings. In addition, both demon and daemon are
translated to the same word in our language,

Oh dear you will have to find another operating system then, Ubuntu
also has daemon processes.

Ted

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


Re: Fuser equivalent

2005-07-04 Thread Robert Eckardt
On Mon, 4 Jul 2005 18:03:43 +0800, Crucis wrote
 Hi,
 Is there a BSD equivalent of the Linux fuser command?
 fuser is used to identify processes using files/sockets.
 Thanks in advance

try `lsof' (list open files) from the ports.

Robert


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


RE: Linux move to FreeBSD

2005-07-04 Thread Ted Mittelstaedt


-Original Message-
From: Dmitry Mityugov [mailto:[EMAIL PROTECTED]
Sent: Monday, July 04, 2005 2:17 AM
To: Ted Mittelstaedt
Cc: Lane; freebsd-questions@freebsd.org
Subject: Re: Linux move to FreeBSD


On 7/4/05, Ted Mittelstaedt [EMAIL PROTECTED] wrote:
...
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
Dmitry Mityugov
...
 I am, personally, currently helping my friend to buy and configure a
 computer for him and his family. Although I know FreeBSD better than
 Linux (and this does not mean I am a FreeBSD guru), I'll be
installing
 something like Ubuntu on that machine, not FreeBSD, because my friend
 and his family are religious men.

 Then you sir are doing your friend a disservice.  Once this system is
 setup they will be going to you for help, and your
deliberately setting
 them up with a system you don't know as well - thus you will be less
 able to help them.

This may also mean that over time, I'll know Ubuntu better than
FreeBSD - we all can study and gather experience, can't we.


Yes, but your original post wasn't to tell the poster to give
up on FreeBSD and go back to Linux so he can study and gain
experience.  It was, in fact, a post giving an example in support of
the anti-Beastie feeling of the original poster.  In other words you
were trying to say the original poster actually has a point about
Beastie frightening away some people.

In short, you were lending credibility to the absolutely rediculous
proposition that the FreeBSD community should pay one whit of
attention to the anti-Beastie arguments.

And now, when I brought up how this is a bad thing for a perfectly
legitimate technical reason that you cannot argue against - you
are now trying to twist around your original post so that instead
of it being about supporting the O.P.s rediculous point, now it's
all about cross-training on a different OS.

I don't think so.

 My church, First Presbyterian Church of Portland, OR uses
several FreeBSD
 servers for their web/mail/fileserving needs.  They also use
Macs running
 MacOS X almost exclusively, and MacOS X was based partly on
FreeBSD.  And
 they also have a Win2K server in the mix which comes from
Microsoft, who
 cheated their way into the market, and is a far less honorable
 organization
 than any organization which has helped to create FreeBSD.

 I suppose that in your view, my church (http://www.fpcpdx.org) is less
 religious than you are.  I feel that you have completely missed
 the entire thrust of Jesus's message.

No, no, not at all. I am an atheist trying to help a group of
religious men.

Why do you keep saying religious men?  If they have a religion that
they are identifying that strongly with, you are disrespecting them
by not referring to them by the proper name of the religion.  Why
can't you say Fundamentalist Christians or Moslems or some such?
Do they refer to themselves as religious men when people ask them
what faith they are?

Hmm, haa - maybe I should refer to you as an 'unreligious man' instead
of an Atheist? ;-)  It is capitalized, by the way.

I don't want to discuss with them how exactly their
devil should look, does it have red skin, horns, pointy tails etc or
not (perhaps for the same reason why I don't discuss with them or
anybody else, including readers of this thread, that there is actually
no God or ethernal soul at all).

No one is asking you to do so here.

I just want to help them find an
inexpensive configuration for their first computer.

you already have one.  FreeBSD.

They (a) don't
know English enough to understand the difference between demon and
daemon and (b) do feel that the picture of FreeBSD mascot is related
to their religion. This makes it impossible to install FreeBSD on
their machine.


Well, I think your dancing around the issue.  Why don't you simply
tell them I know FreeBSD and I don't know Linux, and FreeBSD
is what I install - take it or leave it.  Certainly you couldn't
possibly care what their religious opinion of you is - your an Atheist,
remember.

Well, you can install what you want, but in addressing the point you
were originally supporting with your first post (rather than this
clumsy attempt at remaking this thread into a cross-training on Ubuntu
is gaining experience, which was never the original point from you
or the O.P.)  I will leave you with this to think about.

I attend the Presbyterian church most Sundays, and
contribute a good deal of money and time to it - yet I don't particularly
consider myself a Christian, at least not the way that most people
in that church would probably define one.  There's large chunks of
the doctorine I frankly consider to be total bunk.  For example, the
concept of the virgin birth is rediculous - based on the time and
social mores of when it allegedly happened, an unmarried woman
would be murdered if found pregnant - quite obviously unmarried
woman would do and say anything to explain away a pregnancy.

However, I do feel that my own 

Re: NVIDIA TNT2 woes

2005-07-04 Thread Anthony M. Agelastos


On Jul 3, 2005, at 2:22 PM, markzero wrote:


(WW) The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in
(WW)  this system is supported through the NVIDIA Legacy
(WW)  drivers. Please visit
(WW)  http://www.nvidia.com/object/unix.html for more
(WW)  information.  The 1.0-7667 NVIDIA driver will ignore this
(WW)  GPU.  Continuing probe... (EE) No devices detected.

The NVIDIA Legacy drivers magically fail to exist on the NVIDIA
site and there appears no be no port for them either.




I was exploring the latest nvidia driver and came across this page.
http://www.nvidia.com/object/freebsd_archive.html
Isn't 7174 or 6113 the legacy driver you are after?

--Alex




Well, yes they are the older drivers that would work, but the above
message gave me the impression that NVIDIA were going to be  
maintaining

a seperate set of legacy drivers.

Not that it really matters now, the nv driver seems to be more solid
and allows me to run my monitor at the resolution I'm actually  
supposed
to be able to run it at (the proprietary drivers had a long unfixed  
bug

that limited my maximum resolution). I get no apparent performance
decrease on glxgears either (which is about the limit of my GL usage
nowadays!).
glxgears works for you with the nv driver? I cannot get it to work  
for me (I have a RIVA TNT as opposed to your RIVA TNT 2). Could you  
post your xorg.conf? I have the line Load glx in the Module  
Section. Perhaps the nv driver works much better than for the TNT 2  
as opposed to the TNT? Thank you for your help and thank you to the  
whole list for the support and replies.


Cheers,
M

--
pgp: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9dD1



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


Re: Fuser equivalent

2005-07-04 Thread Crucis
Thanks :D

On 7/4/05, Crucis [EMAIL PROTECTED] wrote:
 
 Thanks :D
 
 On 7/4/05, David Landgren [EMAIL PROTECTED] wrote:
  
  Crucis wrote:
   Hi,
   Is there a BSD equivalent of the Linux fuser command?
   fuser is used to identify processes using files/sockets.
   Thanks in advance
  
  lsof?
  
  Available in ports 
  
  David
  
  

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


Re: Fuser equivalent

2005-07-04 Thread Csaba Henk
On Mon, Jul 04, 2005 at 06:03:43PM +0800, Crucis wrote:
 Is there a BSD equivalent of the Linux fuser command?
 fuser is used to identify processes using files/sockets.i

There is fstat in the base system.

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


Re: Linux move to FreeBSD

2005-07-04 Thread Al Johnson
On Sun, Jul 03, 2005 at 04:36:49PM -0700, Ted Mittelstaedt wrote:
Blah...

Ted, you're among the easiest troll bait I've seen, and I've seen the
whole spectrum of trollees.

-- 
If the ends don't justify the means, what does?
  -- Robert Moses
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


News Article: FreeBSD Security

2005-07-04 Thread Remington L
We might want to update the FreeBSD Press section. This is a recent 
article from SecurityFocus which discusses FreeBSD security vs Linux
http://www.securityfocus.com/news/11230
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dhclient.conf for wireless interface

2005-07-04 Thread Erik Nørgaard

Hi,

I am trying to configure dhclient to associate with the correct 
accesspoint, I use FreeBSD Current with the new dhclient ported from 
OpenBSD.


The examples I can find mentions that I should create an entry in my 
dhclient.conf like this:


interface ath0 {
media ssid AP1 mode 11g, ssid AP2 mode 11g;
}

and dhclient will then first try to associate with AP1 and then AP2.

The problem is that with that setup dhclient enters into an aparently 
infinite loop bringing up and down the interface, until I break it. I 
have to manually run 'ifconfig ssid AP1 mode 11g' first.


Can anyone point me to the correct manpage for configuring dhclient?
This is not covered in the dhclient.conf(5) dhclient(8) ifconfig(8) or 
ath(4) man-pages.


I have a 3Com wireless NIC, broadcom AP, my dhcp server is isc-dhcp v.3 
running on FBSD 5.4. I usually get associated with my neighbours 3Com AP 
running with a default setup.


Thanks, Erik

--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NVIDIA TNT2 woes

2005-07-04 Thread Anthony M. Agelastos

On Jul 3, 2005, at 11:24 PM, markzero wrote:


On Sun, Jul 03, 2005 at 10:53:43PM -0400, Anthony M. Agelastos wrote:



glxgears works for you with the nv driver? I cannot get it to work
for me (I have a RIVA TNT as opposed to your RIVA TNT 2). Could you
post your xorg.conf? I have the line Load glx in the Module
Section. Perhaps the nv driver works much better than for the TNT 2
as opposed to the TNT? Thank you for your help and thank you to the
whole list for the support and replies.




$ uname -smr
FreeBSD 5.4-RELEASE-p2 i386

$ X -version
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: FreeBSD 5.4 i386 [ELF]
Current Operating System: FreeBSD xxx.xxx.xxx 5.4-RELEASE-p2
FreeBSD 5.4-RELEASE-p2 #1: Sun Jun 12 16:17:58 BST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LOGIK006 i386
Build Date: 30 June 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present

$ glxgears -info
GL_MAX_VIEWPORT_DIMS=4096/4096
GL_RENDERER   = Mesa GLX Indirect
GL_VERSION= 1.2 (1.5 Mesa 6.1)
GL_VENDOR = Mesa project: www.mesa3d.org
much data snipped
858 frames in 5.0 seconds = 171.600 FPS

Xorg.conf follows...

---
Section ServerLayout
Identifier x1
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section Module
Load  extmod
Load  glx
Load  dri
Load  dbe
Load  record
Load  xtrap
Load  type1
Load  freetype
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol Auto
Option  Device /dev/sysmouse
  Option  Buttons 5
  Option  ZAxisMapping 4 5
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  keyboard
Option  XkbRules xorg
Option  XkbModel pc101
Option  XkbLayout gb
EndSection

Section Monitor

#DisplaySize  320   240 # mm
Identifier   Monitor0
VendorName   MAX
ModelNamebe0
Option  DPMS
EndSection

Section Device

### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option SWcursor  # [bool]
#Option HWcursor  # [bool]
#Option NoAccel   # [bool]
#Option ShadowFB  # [bool]
#Option UseFBDev  # [bool]
#Option Rotate# [str]
#Option VideoKey  # i
#Option FlatPanel # [bool]
#Option FPDither  # [bool]
#Option CrtcNumber# i
#Option FPScale   # [bool]
#Option FPTweak   # i
Identifier  Card0
Driver  nv
VendorName  nVidia Corporation
BoardName   NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]
BusID   PCI:2:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
EndSubSection
EndSection

As my xorg.conf looks just about identical, does anyone on the list  
have a nvidia RIVA TNT where their OpenGL works through the nv  
driver? If so, I would like to figure out what makes it work for you  
and not for me.

---

M

--
pgp: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9dD1



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


Re: FreeBSD 5.4 ndis support

2005-07-04 Thread Josh Ockert
On 7/3/05, Bryan Maynard [EMAIL PROTECTED] wrote:
 I've been having issues with ndis myself. However, I got some help and things
 are going good for me, except that i haven't gotten DHCP to work for the
 card. . .
 
 Anyway, there is a utility in 5.4 (I think that's that's where it showed up)
 called ndisgen. Running ndisgen steps you through a wonderful little script
 that asks for for the location of your INF and SYS files, generates you .h
 file and kernel module.
 
 I was getting the same No such file or directory error until I ran ndisgen.
 
 Give it a try. :-D
 
 Bryan
 
 On Sunday 03 July 2005 10:10 am, Tobias Tom wrote:
  Hello everyone,
 
  I'm using FreeBSD for some years now. I've read the german Mailinglist
  for nearly the same time. But I've got a Problem which no one can
  reproduce, or no one know any solution.
 
  I want to use my Level One wnc 0301 WLAN PCI Card in my FreeBSD box
  with acts as a Router in my small Home Network.
  I've found no drivers or buildin support for that Card. Google, and
  the Manufactor told me that it is using the raltech rt2500 chip. I
  found a page where someone builds a driver for FreeBSD CURRENT, but it
  is not portable for the 5.x branch.
 
  Someone told me that I could use the ndis Feature which occured in
  FreeBSD 5.3. I'm not sure how happy I am with Windows Drivers on my
  FreeBSD Box, but for now i don't see any alternative.
 
  So I tried to get ndis Support up like it is described inside the
  Manual, and inside the first commit Message of the Files. Building
  seems to work really fine. I've created the ndis_driver_data.h from my
  driver INF and Driver SYS. Ran make  make install and everything was
  finished without any error.
 
  Then I tried to load the ndis support with kldload ndis. It results
  into the following Error Message: kldload: can't load ndis: No such
  file or directory So I looked it the file is really not existing. But
  it exists, ls output is:
  -rwxr-xr-x  1 root  wheel  91686 Jul  3 15:37
  /usr/src/sys/modules/ndis/ndis.ko
  So I looked into dmesg and saw the following Error:
 
  link_elf: symbol VOP_GETATTR_APV undefined
  KLD if_ndis.ko: depends on ndisapi - not available
 
  After I could not get something usefull out for me (others might be
  more successfull ;o) I looked again into the man page of ndis. Under
  Synopsis the following lines are written down:
  options NDISAPI
  device ndis
  device wlan
 
  So I though when i cannot build ndis as module, or maybe the ndisapi
  come directly from the kernel, i could build my custom kernel with
  these options. It stoped with these Lines:
 
  cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
  -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
  -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I.
  -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
  -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
  -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
  -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
  -I/usr/src/sys/dev/twa -D_KERNEL -include opt_global.h -fno-common
  -finline-limit=8000 --param inline-unit-growth=100 --param
  large-function-growth=1000  -mno-align-long-strings
  -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
  -ffreestanding -Werror  /usr/src/sys/compat/ndis/subr_ntoskrnl.c
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c: In function `KeRemoveQueueDpc':
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3115: warning: dereferencing
  `void *' pointer
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3115: error: request for
  member `mtx_lock' in something not a structure or union
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3115: warning: dereferencing
  `void *' pointer
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3115: error: request for
  member `mtx_recurse' in something not a structure or union
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3115: warning: dereferencing
  `void *' pointer
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3115: error: request for
  member `mtx_lock' in something not a structure or union
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3117: warning: dereferencing
  `void *' pointer
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3117: error: request for
  member `mtx_recurse' in something not a structure or union
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3117: warning: dereferencing
  `void *' pointer
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3117: error: request for
  member `mtx_recurse' in something not a structure or union
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3117: warning: dereferencing
  `void *' pointer
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3117: error: request for
  member `mtx_lock' in something not a structure or union
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3123: warning: dereferencing
  `void *' pointer
  /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3123: error: request for
  member `mtx_recurse' in something not a structure or union
  

PF firewall using anchors

2005-07-04 Thread fbsd_user
I am running 5.4 using the run time loadable module for PF firewall. 
The PF rules load and work fine.
The main rule set contains 2 anchor rules.
I can add rules to the in core anchor name and then list the anchor 
and see the rules are really there.

Problem is the anchor rules are never being executed by the main rule set.

Is there anybody on this questions list who has PF working with anchors?

Have read all the PF man pages 6-8 times and my config seems ok.
Knowing that PF is new to FreeBSD base in 5.4 thinking this may be a bug.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: List all make targets?

2005-07-04 Thread Remington L
On 7/4/05, Michael Dexter [EMAIL PROTECTED] wrote:
 
 
 Hello all,
 
 I am sure I saw this somewhere and even added it to my notes but
 neither I nor Google can find it for the life of us... or I dreamt
 it...
 
 Is there a 'make' flag to list all make targets for any given
 directory containing Makefile* ?
 
 Appreciated!
 
 On the same topic, can anyone recommend an IDE or utility that can
 help me navigate the make hierarchy used by 'build/installworld' and
 'release?'
 
 It's a brilliant mechanism but I get lost chasing variables that may
 span /usr/src/Makefile.inc1 and /usr/share/mk/ and...
 
 Thanks!
 
 Michael
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


I assume your talking about make in /usr/src. cat the Makefile and it'll 
tell you
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: List all make targets?

2005-07-04 Thread Chuck Swiger

Michael Dexter wrote:
Is there a 'make' flag to list all make targets for any given directory 
containing Makefile* ?


grep ':' Makefile  ...comes pretty close.


Appreciated!

On the same topic, can anyone recommend an IDE or utility that can help 
me navigate the make hierarchy used by 'build/installworld' and 'release?'


An IDE would simply provide a graphic front end that invokes the make commands 
underneath.  It wouldn't make the process less complex.


It's a brilliant mechanism but I get lost chasing variables that may 
span /usr/src/Makefile.inc1 and /usr/share/mk/ and...


What problem are you trying to solve?  You don't need to read all of that to 
use it, any more than a developer needs to understand each and every header 
file in order to use #include stdlib.h.


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


ca.freebsd.org

2005-07-04 Thread Lucas
Hi all,

I thought I would go to a local mirror and see what's new with the
logo contest, so I punched in 'ca.freebsd.org' and I got a real ugly
website. (As a note I should have punched in www.ca.freebsd.org) I
suggest  you try it as well. It ended up pointing me to
'http://www.doctordomain.net/unconfigured.html?'

I don't think the freebsd team is meaning to pimp out bad urls to a
domain company. I tried some others like 'pootie.freebsd.org',
'us.freebsd.org', etc. None of these pushed me to the domain register,
they just failed.

Here is my dig output:

$ dig ca.freebsd.org ANY

;  DiG 9.2.3  ca.freebsd.org ANY
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 19000
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ca.freebsd.org.IN  ANY

;; ANSWER SECTION:
ca.freebsd.org. 86400   IN  NS  ns1.9trackmind.com.
ca.freebsd.org. 86400   IN  NS  ns2.9trackmind.com.
ca.freebsd.org. 86400   IN  MX  20 mx2.9trackmind.com.
ca.freebsd.org. 86400   IN  MX  10 mail.ca.freebsd.org.
ca.freebsd.org. 86400   IN  A   206.223.168.22
ca.freebsd.org. 86400   IN  SOA ns1.9trackmind.com.
domains.doctordomain.net. 2005062200 3600 1800 604800 3600

;; Query time: 368 msec
;; SERVER: 64.59.144.18#53(64.59.144.18)
;; WHEN: Mon Jul  4 09:53:55 2005
;; MSG SIZE  rcvd: 199

So is this normal or is this some kind hijacking by internet
terrorists? Should our American peers contact Homeland Security about
the porous Canadian border? Ha, ha - Happy July 4th!

Lucas

Sign up today for your Free E-mail at: http://www.canoe.ca/CanoeMail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ca.freebsd.org

2005-07-04 Thread Thomas T. Veldhouse
Lucas wrote:

Hi all,

I thought I would go to a local mirror and see what's new with the
logo contest, so I punched in 'ca.freebsd.org' and I got a real ugly
website. (As a note I should have punched in www.ca.freebsd.org) I
suggest  you try it as well. It ended up pointing me to
'http://www.doctordomain.net/unconfigured.html?'
  

I just clicked the www.ca.freebsd.org link directly from your email and
it worked fine; it took me to the FreeBSD Canada site.  I did NOT click
the doctordomain link [why bother].

Tom Veldhouse


signature.asc
Description: OpenPGP digital signature


rebuild of a jail uses old DESTDIR

2005-07-04 Thread jdyke
i had built a jail a few weeks ago as a learning expierence, specifying a 
DESTDIR of /usr/jail/ssh for make world, i don't really want it to reside there 
long term and want to build it with less features enabled in make.conf. So now 
I'm trying to build another jail in another location and `make world 
DESTDIR=/path/to/new/dir` fails with

--
 Building an up-to-date make(1)
--
make: don't know how to make /usr/jail/ssh/usr/lib/libc.a. Stop


I've run a make clean and make cleandir and tried to re run without success. 
i'm currently running a grep to look for the old path in any file on the whole 
system, /etc/ and /usr similar greps came up empty.


How can i make the system forget about the old DESTDIR?  Should i just delete 
all of /usr/src and cvsup?


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


Re: ca.freebsd.org

2005-07-04 Thread Thomas T. Veldhouse
Thomas T. Veldhouse wrote:


Lucas wrote:
  

I just clicked the www.ca.freebsd.org link directly from your email and
it worked fine; it took me to the FreeBSD Canada site.  I did NOT click
the doctordomain link [why bother].

Tom Veldhouse
  

  

Nevermind, I misread your email.  Sounds like ca.freebsd.org is only
used for web services.

Tom Veldhouse

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


Re: News Article: FreeBSD Security

2005-07-04 Thread Kris Kennaway
On Mon, Jul 04, 2005 at 07:37:02AM -0700, Remington L wrote:
 We might want to update the FreeBSD Press section. This is a recent 
 article from SecurityFocus which discusses FreeBSD security vs Linux
 http://www.securityfocus.com/news/11230

Talk to [EMAIL PROTECTED] or submit a PR.

Kris


pgpnRtvUvdgS3.pgp
Description: PGP signature


Re: ca.freebsd.org

2005-07-04 Thread Kris Kennaway
On Mon, Jul 04, 2005 at 10:18:45AM -0700, Lucas wrote:
 Hi all,
 
 I thought I would go to a local mirror and see what's new with the
 logo contest, so I punched in 'ca.freebsd.org' and I got a real ugly
 website. (As a note I should have punched in www.ca.freebsd.org) I
 suggest  you try it as well. It ended up pointing me to
 'http://www.doctordomain.net/unconfigured.html?'
 
 I don't think the freebsd team is meaning to pimp out bad urls to a
 domain company. I tried some others like 'pootie.freebsd.org',
 'us.freebsd.org', etc. None of these pushed me to the domain register,
 they just failed.

ca.freebsd.org is the responsibility of whoever runs the
ca.freebsd.org machine, it's not maintained by the freebsd team.
Try asking on hubs@

Kris


pgpY07r0ABINt.pgp
Description: PGP signature


Re: Linux move to FreeBSD

2005-07-04 Thread Lane
On Monday 04 July 2005 11:51, you wrote:
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Dmitry Mityugov
  Sent: Sunday, July 03, 2005 2:03 PM
  To: Lane
  Cc: freebsd-questions@freebsd.org
  Subject: Re: Linux move to FreeBSD
  
  
  On 7/3/05, Lane [EMAIL PROTECTED] wrote:
  ...
  
   It truly boggles the mind at how frequently people protest
  
  the on-going
  
   decision to use beastie on the public face of FreeBSD.  It's
  
  almost like a
  
   guest who comes into your home and then starts redecorating!
  
  ...
  
  I believe there was nothing in the original question that would
  resemble redecorating. It was a polite question about why FreeBSD
  had this feature.
 
  No, it wasn't.  Not if you read the entire message context.  It was
  a question along the lines of how dare you do this or what idiot
  used this  He may not have used those exact words but the meaning
  was clear.

 Disclaimer: I love the Beastie image and do not want to see him (it)
 changed.

 Sorry if this repeats something someone else has said (I admit I did
 not read every message in this thread), but it strikes me that folks
 are trying to have it both ways with Beastie: Yes, he's a daemon, not
 a demon, but he also has devil horns and a tail. Tennis shoes
 notwithstanding, he *does* look devilish.  And that fork in his hand
 (yes, we all know what the fork is), sure looks devilish, too. The
 point is that it's not surprising that those who are offended, or
 choose to be offended for whatever reason, are not persuaded by the
 daemon versus demon language.

 Don Tyson
Don, I agree.  It is not surprising that people choose to be offended by the 
image.  People choose to be offended by whatever they choose.

We make software choices based upon popularity, esthetics, availability, and 
even religious conviction - that is a personal choice, and I'm pleased to 
support such personal choice.  

But those who evangalize for or against a software (or other individual 
choice) based upon personal religious conviction are worthy of contempt - not 
education, not understanding, not even forgiveness, just contempt.  

I disagree with the earlier claim that this was ever a polite question.  
This has always been an insidious attempt by outsiders and newcomers to 
influence the direction and even the history of some of the most important 
players in the open-source community, since the question easily applies to 
all *nix systems.  I grudginly accept that those who ask the question may not 
even realize what they are doing, but I'd wager that most evangelicals don't 
realize the impact of what they do, either - that still doesn't make it 
polite, innocent, or in any way acceptable.

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


Re: Linux move to FreeBSD

2005-07-04 Thread Chuck Robey

TvZ wrote:

Hi

I am a user of SUSE Linux, and I was thinking of
trying out BSD. After reading as much information
as I could about the three variants of BSD vs.
Linux. On technical merit, I was very impressed.

FreeBSD looks like a good stating place for me,
but one think about FreeBSD makes me uncomfortable
is the symbol/emblem that the OS uses. That is a devil !

I would like to know if possible how this came about,
and what thinking was behind it. From experience, I consider
symbols to be very significant, Historically, psychologically
and even spiritually.

Best regards

Mark

PS. Please can u e-mail me on this e-mail [EMAIL PROTECTED]
when an answer becomes available.



As I stated earlier...I'm rather new to BSD...but one of the reasons I
changed fromn Linux - bsd was merly the fact that I thought the penguin was
more evil than Beasty. Then again...that is just me. ;)


I cannot really believe that the above response, with it's obvious 
self-inconsistencies, was done seriously.  On the off chance that 
perhaps it was, ask yourself, would you really WANT a person who 
believes that a Penguin logo in and of itself constitutes a good reason 
to switch, along with us in FreeBSD?  I would be embarrassed to admit 
that such a person is an associate of mine, wouldn't you?.



Tertius van Zyl
___
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: Serial console capable BIOSes?

2005-07-04 Thread Nikolas Britton
On 7/3/05, Steve Brown [EMAIL PROTECTED] wrote:
 Does anyone have recommendations for motherboards (P3 or P4) with good
 BIOS serial console support that plays nicely with FreeBSD running a
 serial console on the same port?  Basically, I'd like to monitor the
 pre-BSD boot process and the BSD boot process from a terminal window on
 another machine.
 


http://www.intel.com/design/servers/boards/SE7210TP1-E/index.htm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: List all make targets?

2005-07-04 Thread Michael Dexter

Michael Dexter wrote:
Is there a 'make' flag to list all make targets for any given 
directory containing Makefile* ?


grep ':' Makefile  ...comes pretty close.


Another reader suggested I cat the file... I take it the answer is 
no. Specifically I am looking for a quick way to see the make 
targets as 'make' would accept them while hunting for 'uninstall' and 
other surprises. I see that it gets complicated as i.e. _legacy is 
a legitimate target along with buildworld. More to investigate!


It's a brilliant mechanism but I get lost chasing variables that 
may span /usr/src/Makefile.inc1 and /usr/share/mk/ and...


What problem are you trying to solve?


My understanding of the system for the purposes of world reduction 
and custom release engineering. My work is 1/2 way to being an 
informal howto on the subject.


Thanks to all who responded.

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


Re: Linux move to FreeBSD

2005-07-04 Thread Graham Bentley

The devil made me do it !

besastie.4th

\   46 4 print-beastie

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


Re: Linux move to FreeBSD

2005-07-04 Thread Dmitry Mityugov
On 7/4/05, Graham Bentley [EMAIL PROTECTED] wrote:
 
 The devil made me do it !
 
 besastie.4th
 
 \   46 4 print-beastie
 
 The power of .. choice !

Okay, okay. What about the Gnome startup screen?

-- 
Dmitry

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SendMail Error Message

2005-07-04 Thread Jonathan Chen
On Mon, Jul 04, 2005 at 09:03:08AM -0400, Gerard Seibert wrote:
 For no apparent reason, the following error message is suddenly appearing 
 on my computer monitor.
 
 # Jul  4 07:48:31 beerstud sm-mta[5876]: j64BIV2C005802: SYSERR(root): 
 hash map Alias0: unsafe map file /etc/mail/aliases.db: World writable 
 directory
 
 I checked, and the directory is set at 0755. I never altered it or 
 anything, so why is it suddenly giving me this message? In addition, what 
 do I have to do to correct the situation?

You have to check /etc/mail AND /etc AND /. All the way to the top.

Cheers.
-- 
Jonathan Chen  |  To do is to be  -- Nietzsche
[EMAIL PROTECTED] |  To be is to do  -- Sartre 
   |  Scooby do be do -- Scooby
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linux move to FreeBSD (Beastie vs Penguin)

2005-07-04 Thread TvZ
Old Chucky replied to the following I posted:
 As I stated earlier...I'm rather new to BSD...but one of the reasons I
 changed fromn Linux - bsd was merly the fact that I thought the
penguin was
 more evil than Beasty. Then again...that is just me. ;)

This was his reply...
I cannot really believe that the above response, with it's obvious
self-inconsistencies, was done seriously.  On the off chance that
perhaps it was, ask yourself, would you really WANT a person who
believes that a Penguin logo in and of itself constitutes a good reason
to switch, along with us in FreeBSD?  I would be embarrassed to admit
that such a person is an associate of mine, wouldn't you?.

Let me think about it...mmm...done.
Any Free OS is there for anyone to use. Agreed. Thus you don;t have to
be associated with anyone else. Neither do I have to be associated with
you...etc...pun intended.

For me to post a serious replie about the fact that the penguin is more evil
than beastie...I'm sure I got the right (as it is my oppinion). Eventhough
I replied in the same manner as I read the question to be. Silly!
For any one to waste their time on replying to this fight over a demon,
daemon or demonic penguin would be ... Silly...so that is why I posted.

I would rather see this thread die out and see one as yourself (Chucky old
pal) to reply to a previous question I posted about Multiple Simultaneous
Users on One PC. Think before you replie again. plz.

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


Re: List all make targets?

2005-07-04 Thread Chuck Swiger

Michael Dexter wrote:

Michael Dexter wrote:
Is there a 'make' flag to list all make targets for any given 
directory containing Makefile* ?


grep ':' Makefile  ...comes pretty close.


Another reader suggested I cat the file... I take it the answer is no.


The answer is it's probably not useful.

Make uses implied rules for suffix transformations, so for example there is an 
implied target for foo.o which depends on foo.c, which looks something like:


.c.o:
${CC} ${CFLAGS} -c ${.IMPSRC}

These rules represent a few hundred lines worth of build rules which could be 
applied to any file as needed in order to build things without having these 
rules actually specified in the Makefile itself.


Specifically I am looking for a quick way to see the make targets as 
'make' would accept them while hunting for 'uninstall' and other 
surprises. I see that it gets complicated as i.e. _legacy is a 
legitimate target along with buildworld. More to investigate!


make -n -d g1 | less...?  Take a look at the main target and at the parents 
target at the top.


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


Re: Azureus Update Problem

2005-07-04 Thread Eric Ekong
Has anyone successfully accomplished this with the latest release of 
Azureus and is it possible to switch the jdk15 for this release? 

Eric
* Andreas Rudisch cyb.@gmx.net [050609 09:57]:
 On Wed, 2005-06-08 at 13:12 +1000, Warren wrote:
  I have been trying to update Azureus but each time i d/l the file to update 
  with and click restart form the updater section/window it never restarts 
  and 
  then when i re-load the program it sais to check update.log which 
  ironically 
  dosent exist so i have no way to see whats going on.
  
  im running FreeBSD 5.4-STABLE and Azureus 2.2.0.2
 
 All you have to do is download the latest jar-version from here:
 http://prdownloads.sourceforge.net/azureus/Azureus2.3.0.2.jar?download
 
 Then replace /usr/local/share/java/classes/azureus.jar with the new
 file.
 
 Since version 2.2.0.3_B60 Azureus does NOT work with Java 1.5 correctly
 anymore, so you will have to edit the azureus start
 script /usr/local/bin/azureus:
 find and change the following variable: JAVA_VERSION=1.4+
 
 That's it. Start 'azureus' and enjoy version 2.3.0.2
 
 Andreas
 (running FreeBSD 5.4-stable with Azureus 2.3.0.3_B6)
 -- 
 GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
 Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81
 
 
 



-- 
===
Eric I. Ekong[EMAIL PROTECTED]
FreeBSD - The Power to Serve http://www.freebsd.org   
K Desktop Environment on FreeBSD http://freebsd.kde.org   
===

Laws of Serendipity:

(1) In order to discover anything, you must be looking for
something.
(2) If you wish to make an improved product, you must already
be engaged in making an inferior one.

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


installing crypto distribution without cd

2005-07-04 Thread Didier Wiroth
Hi,

I reinstalled my laptop (via ftp).

During the install it was not able to locate the crypto distribution and thus 
didn't install it.

How can I install the crypto distribution  now  without having the 
5.4-release cd?

Many thanks
Didier


___
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 troubleshoot slow network performance with Realtek 8169s?

2005-07-04 Thread Juha Saarinen
On 7/4/05, Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 This isn't weird at all.  It is a driver issue.  Remember I said the
 driver hasn't been optimized.  The driver could be letting the card
 seize the PCI bus for an inordinate amount of time or some such.  This
 could also be an interaction with the card, the driver, and some bios
 setting of your motherboard.  This could be, for example, not allowing
 enough cpu time for a higher-overhead program like FTP to run at full
 speed, while allowing a lower overhead program like iperf, enough time
 to run at full blast.  I have seen issues like this before and they
 have almost always been solved by swapping hardware.
 
 I have in fact swapped hardware that acted up in one machine to
 a different machine that had a different motherboard, same FreeBSD
 versions on both systems, and that hardware became rock-solid in
 the new motherboard.
 
 Frankly it all depends on what you want to do.  If this is a production
 system you are going to need it online and you can't waste the time
 to screw around with it - in that case you know the Intel chipset works
 well in that motherboard, so replace the Realtek.  If however this is
 a fun-n-games system then keep the Realtek in there and file a send-pr
 and work it that way.

Righto, that, too, makes sense.

Will engage in some further investigation (read: hardware swapping and
head scratching) to narrow things down.




-- 

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


Re: Azureus Update Problem

2005-07-04 Thread Andreas Rudisch
On Mon, 2005-07-04 at 16:29 -0400, Eric Ekong wrote:
 Has anyone successfully accomplished this with the latest release of 
 Azureus and is it possible to switch the jdk15 for this release? 

Azureus 2.3.0.4 and 2.3.0.5_B4 work fine here with Java 1.4. But Azureus
still does not work with Java 1.5. Even Windows user had to update their
Java to get Az 2.3.0.0 to run properly, but I think this patch has not
found its way to the FreeBSD port yet. (Keep in mind, jdk15 is still
considered 'alpha' quality)

Andreas

-- 
GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81





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


Where is the memory

2005-07-04 Thread scuba
Hi,

How can I track where/who is using the system memory?

I have a 2GB (RAM) system running Freebsd 5.4, basically as a mail
gateway.

After a few hours up, TOP shows me about 300MB of free memory. No
swap yet.

But the sum of RSS column of ps axum, gives me about 600MB used.
I know that kernel allocated memory doesn´t show in ps, but I
think it´s not using 1.4GB.

The head of top is like this:

last pid:  7323;  load averages:  1.49,  1.11,  1.30  up 4+05:57:30  19:01:05
184 processes: 1 running, 183 sleeping
CPU states: 16.7% user,  0.0% nice,  3.5% system,  0.6% interrupt, 79.3% idle
Mem: 333M Active, 1218M Inact, 157M Wired, 42M Cache, 112M Buf, 256M Free
Swap: 8192M Total, 8192M Free

Also, why there is a difference between free memory reported by
top and vmstat?

Could it have some memory leak? Is there any report of it in
freebsd 5.x?

Thank you,

- Marcelo


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


RE: Using unix mail with maildir format

2005-07-04 Thread Vince

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of bsd
 Sent: 04 July 2005 11:13
 To: Liste FreeBSD
 Subject: Using unix mail with maildir format
 
 Hello,
 
 
 Does anyone know if there is a way to read mail with unix mail  
 program?
 
 I've been using this program since couple of years and I am 
 quite happy with It… I can't seem to find a shortcut to have 
 It read maildir format…
 
Unix mail wont as maildir is not the original unix format.
Mave a look at the nail port mail/nail
It can/does have a mail type interface and reads maildir. 

Vince

 
 
 Thanks.
 
 
 
 
 
 
 «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
 
 Gregober --- PGP ID -- 0x1BA3C2FD
 bsd @at@ todoo.biz
 
 «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
 
 
 
 
 
 ___
 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: Linux move to FreeBSD

2005-07-04 Thread Giorgos Keramidas
On 2005-07-04 20:03, Graham Bentley [EMAIL PROTECTED] wrote:

 The devil made me do it !

 besastie.4th

 \ 46 4 print-beastie

 The power of .. choice !

Easier than that:

# echo 'beastie_disable=YES'  /boot/loader.conf

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


accidental overwrite

2005-07-04 Thread steve lasiter
First let me say that I've been sucessful in finding
all my answer either online, at the BSD website, or in
my Absolute BSD book until now. I recently installed
FreeBSD version 5.4 along with Apache 1.3, PHP5, and
MySQL 5.02. I had everything working together great
until today when I tried to copy over a .sql file so
MySQL could see it and run it. I accidentally copied
it over to /usr/local/bin/mysql thinking mysql was a
directory. You can see the problem. Now I cannot start
mysql at the command prompt from the /usr/local/bin
since I overwrote the the required mysql file.

My question(s) are: Is there any way to revert back to
the original file if this type of mistake is made? If
not is there anyway to get just that one file without
having to do a complete removal and installation? And
finally, is the only way to NOT do this again is to
use the appropriate flags with cp?

Thanks for you help,

Dean Lasiter





 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: accidental overwrite

2005-07-04 Thread Michael Beattie
On 7/4/05, steve lasiter [EMAIL PROTECTED] wrote:
 First let me say that I've been sucessful in finding
 all my answer either online, at the BSD website, or in
 my Absolute BSD book until now. I recently installed
 FreeBSD version 5.4 along with Apache 1.3, PHP5, and
 MySQL 5.02. I had everything working together great
 until today when I tried to copy over a .sql file so
 MySQL could see it and run it. I accidentally copied
 it over to /usr/local/bin/mysql thinking mysql was a
 directory. You can see the problem. Now I cannot start
 mysql at the command prompt from the /usr/local/bin
 since I overwrote the the required mysql file.
 
 My question(s) are: Is there any way to revert back to
 the original file if this type of mistake is made? If
 not is there anyway to get just that one file without
 having to do a complete removal and installation? And
 finally, is the only way to NOT do this again is to
 use the appropriate flags with cp?
 
 Thanks for you help,

Well, first of all, you dont need to put queries in any special
location to use them... you can always run mysql with  query.sql to
do that.  As far as getting the executable back, you can try
pkg_add'ing it back and see if that helps or wait for someone with
more familiarity with the ports system to chime in.

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


Re: accidental overwrite

2005-07-04 Thread Norberto Meijome

steve lasiter wrote:

My question(s) are: Is there any way to revert back to
the original file if this type of mistake is made? If
not is there anyway to get just that one file without
having to do a complete removal and installation? And
finally, is the only way to NOT do this again is to
use the appropriate flags with cp?


Hi Steve,
first of all, as a rule of thumb, u wouldn't want to write your own 
files into /usr/local/bin/ unless they are your own scripts. data (other 
from executables) from ports / base system are hardly ever (never?) 
found in a 'bin' directory (/usr/local/bin/ , /usr/bin/, /sbin/, etc)


If I were in this pickle, i'd just do reinstall the port and move on :)

If for whatever reason ur current mysql-client port folder is a version 
you dont' want to upgrade to,you can cvsup the port to the version you 
are after (not sure about the details of this...). Once you have 
cvsuped to that version, do a make ; make deinstall; make reinstall and 
u should be fine.


You could also just do a make on the ports and copy the file by hand (to 
 be absolutely certain only /usr/local/bin/mysql is updated).



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


How to clear tun0 interface?

2005-07-04 Thread David LeCount
I've been trying to get IPv6 to work using the tsp
client. It only works once per boot because I can't
get tun0 to clear. I've tried ifconfig tun0 destroy
and ifconfig tun0 deletetunnel, both of which give
errors. The only way I can clear it is to run ppp,
which is very annoying. I appreciate any help.




__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where is the memory

2005-07-04 Thread Hornet
In top, if you type in u it will prompt you for an account which you
can monitor the processes and mem. Of course, this will not work for
apps that are opened under different credentials.

On 7/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi,
 
 How can I track where/who is using the system memory?
 
 I have a 2GB (RAM) system running Freebsd 5.4, basically as a mail
 gateway.
 
 After a few hours up, TOP shows me about 300MB of free memory. No
 swap yet.
 
 But the sum of RSS column of ps axum, gives me about 600MB used.
 I know that kernel allocated memory doesn´t show in ps, but I
 think it´s not using 1.4GB.
 
 The head of top is like this:
 
 last pid:  7323;  load averages:  1.49,  1.11,  1.30  up 4+05:57:30  19:01:05
 184 processes: 1 running, 183 sleeping
 CPU states: 16.7% user,  0.0% nice,  3.5% system,  0.6% interrupt, 79.3% idle
 Mem: 333M Active, 1218M Inact, 157M Wired, 42M Cache, 112M Buf, 256M Free
 Swap: 8192M Total, 8192M Free
 
 Also, why there is a difference between free memory reported by
 top and vmstat?
 
 Could it have some memory leak? Is there any report of it in
 freebsd 5.x?
 
 Thank you,
 
 - Marcelo
 
 
 ___
 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: How to clear tun0 interface?

2005-07-04 Thread wizlayer
On Monday 04 July 2005 09:29 pm, David LeCount wrote:
 I've been trying to get IPv6 to work using the tsp
 client. It only works once per boot because I can't
 get tun0 to clear. I've tried ifconfig tun0 destroy
 and ifconfig tun0 deletetunnel, both of which give
 errors. The only way I can clear it is to run ppp,
 which is very annoying. I appreciate any help.

What errors?

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


Programs and lib's disappearing, FreeBSD 5.4

2005-07-04 Thread Nick Larsen
Hi,

I love FreeBSD, but lately I've found in version 5.4-RELEASE every so
often I won't be able to run a program as it depends on a library
(which used to be there).

Eg: today i tried to access my webserver...Failed... So I SSH'd into
the box and ran
# apachectl start

It complained that it couldn't find libsasl2.so.2 which was needed by
modules/libphp4.so, but my web server had been working fine other
days, with absolutely no changes.
I fixed this problem, and then it couldnt find some *expat*.so.5 file,
which i then created sym links in /lib and /usr/lib (as it resides in
/usr/local/lib)

Later on today, I tried to sudo a command, and got...
bash: sudo: command not found

I had to reinstall sudo.

I'm extremely cofused, and have checked auth.log (My passwords are
quite difficult to crack as they have no meaning).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CUPS test-page prints fine, nothing else.. (freebsd-5.4)

2005-07-04 Thread Bill Schoolcraft
Hello Family,

I was wondering if this is a bug somewhere in FreeBSD-5.4 or I've just
been getting lucky with CUPS all the time... :)

I have a HP 840c and it's connected remotely on my network with a fixed
ipaddress and every box on my network can print to it and so can
FreeBSD as long as it's from the CUPS interface/setup GUI and it's a
test page, other than that -- zilch.

I can't find anything anywhere that will give me a clue as to why this
happens.

TIA for any pointers on this.



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


Re: Programs and lib's disappearing, FreeBSD 5.4

2005-07-04 Thread Kris Kennaway
On Tue, Jul 05, 2005 at 03:44:19PM +1200, Nick Larsen wrote:
 Hi,
 
 I love FreeBSD, but lately I've found in version 5.4-RELEASE every so
 often I won't be able to run a program as it depends on a library
 (which used to be there).
 
 Eg: today i tried to access my webserver...Failed... So I SSH'd into
 the box and ran
 # apachectl start
 
 It complained that it couldn't find libsasl2.so.2 which was needed by
 modules/libphp4.so, but my web server had been working fine other
 days, with absolutely no changes.
 I fixed this problem, and then it couldnt find some *expat*.so.5 file,
 which i then created sym links in /lib and /usr/lib (as it resides in
 /usr/local/lib)

This was the wrong solution.

 Later on today, I tried to sudo a command, and got...
 bash: sudo: command not found
 
 I had to reinstall sudo.
 
 I'm extremely cofused, and have checked auth.log (My passwords are
 quite difficult to crack as they have no meaning).

Either you had/still have some serious disk corruption (drop to
single-user mode and run fsck -f), or someone (e.g. another admin, or
you in a moment of forgetfulness) did some deleting or a misdirected
portupgrade session.

Kris


pgpkLZ8TkiSIC.pgp
Description: PGP signature


Re: CUPS test-page prints fine, nothing else.. (freebsd-5.4)

2005-07-04 Thread P.U.Kruppa

On Mon, 4 Jul 2005, Bill Schoolcraft wrote:


Hello Family,

I was wondering if this is a bug somewhere in FreeBSD-5.4 or I've just
been getting lucky with CUPS all the time... :)

I have a HP 840c and it's connected remotely on my network with a fixed
ipaddress and every box on my network can print to it and so can
FreeBSD as long as it's from the CUPS interface/setup GUI and it's a
test page, other than that -- zilch.
This is just a quickshot - since I have no such setup available 
at the moment:
check if the native FreeBSD lpr in /usr/bin/lpr is still active - 
cups' lpr lives in /usr/local/bin/lpr and won't be executed then. 
If this is the case you should be able to print with

# /usr/local/bin/lpr your_file
and in Google you can find descriptions how to fix this properly.

Regards,

Uli. 


I can't find anything anywhere that will give me a clue as to why this
happens.

TIA for any pointers on this.



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





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