nVidia drivers w/ 4.7-RELEASE

2002-11-20 Thread Gautham Ganapathy
Hi

Will the nvidia drivers work with 4.7-RELEASE? 4.7-STABLE won't have
ISOs, right?

Regards
Gautham


BEGIN:VCARD
VERSION:2.1
N:Ganapathy;Gautham
FN:Gautham Ganapathy
ORG:Wipro Technologies;TI PIC (DSP)
TITLE:Technical Support Engg
TEL;WORK;VOICE:+91-80-8520408x4277
TEL;HOME;VOICE:+91-80-6542292
TEL;CELL;VOICE:+91-9844263180
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;Plot No 76,=0D=0AElectronics City,=0D=0AHosur Road;Bangalore;Karnataka;;In=
dia
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Plot No 76,=0D=0AElectronics City,=0D=0AHosur Road=0D=0ABangalore, Karnataka=
=0D=0AIndia
ADR;HOME;ENCODING=QUOTED-PRINTABLE:;;B010, Spartacus Apartments,=0D=0AJayanagar 4T Block, 30th Cross,;Bangalore=
;Karnataka;561041;India
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:B010, Spartacus Apartments,=0D=0AJayanagar 4T Block, 30th Cross,=0D=0ABangal=
ore, Karnataka 561041=0D=0AIndia
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:20020920T053748Z
END:VCARD



mrtg problem after portupgrade

2002-11-20 Thread budsz
Hi,

I've problem in my box, Yesterday I was try to upgrade port and packages
with this step :

1. Update port tree without X system.
   $ cvsup -g -L 2 port-file
2. Backup packages database.
   $ cd /var/db
   $ cp -rf pkg pkg.old
3. Check all dependecy application.
   $pkgdb -F 
4. Process updating. 
   $portupgrade -a -O -l /root/UpdateLog

   I was add -O because Amavis-Perl-11 require qmail-1.03_1 but in my
   system installed qmail-1.03.
   
5. Check again dependecy.   
   $ pkgdb -F

After that my mrtg graphic was broken, Look like full traffic but scale
does't increase (Only 1 bps/s - 10 bps/s), I tried to reinstall mrtg but
no change.

TIA
 
-- 
budsz

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: shutdown with power button

2002-11-20 Thread David Siebörger
At 11:12 PM on Monday 18 November 2002, [EMAIL PROTECTED] wrote:
 I want to learn if there is a way to make the system shutdown with the key 
 on the case. 

Provided your system supports ACPI, that feature will be available in
FreeBSD 5.


-- 
David Siebörger
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Shared object libmysqlclient.so.10 not found

2002-11-20 Thread Mike Loiterman
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


 -Original Message-
 From: Mike Loiterman [mailto:[EMAIL PROTECTED]]
 Sent: Monday, November 18, 2002 7:51 PM
 To: 'twig les'; '[EMAIL PROTECTED]'
 Subject: RE: Shared object libmysqlclient.so.10 not found
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 No...it works fine.  I can use mySQL without any problems.  Would
 reinstalling mysqlclient help fix this?
 
 ...
 Randomly Generated Quote:
 MILLENNIUM, n. The period of a
 thousand years when the lid is to be
 screwed down, with all reformers on
 the under side. -- Ambrose Bierce
 
 Mike Loiterman
 PGP Key 0xD1B9D18E
 http://www.ascendency.net
 
  -Original Message-
  From: twig les [mailto:[EMAIL PROTECTED]]
  Sent: Monday, November 18, 2002 7:49 PM
  To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Subject: RE: Shared object libmysqlclient.so.10 not found
 
  # dmesg -a
  snip
  sendmail
  /usr/libexec/ld-elf.so.1:
  Shared object libmysqlclient.so.10 not found
 
  Sendmail works fine (the fact that you're reading this
  is proof)
  after I:
 
  ==
  I don't know why Sendmail would fail from this but
  I'll bet that if you try to use your mysql client
  you'll get a nasty surprise.
  ==
 
  #cd /etc/mail
  #make start
 
  I think...hrm...missing library.  So I do:
 
  #ldconfig -r
  snip
  84:-lmysqlclient.10 =
  /usr/local/lib/mysql/libmysqlclient.so.10
 
  so the library is there, but it seems it's not seeing
  it at startup.
 
  ==
  I've had this happen a few times.  Basically my lib
  wasn't in my PATH.  Try doing a echo $PATH and see
  if BSD will find it by default.  The quickest remedy
  for this was to copy the lib to a place that BSD
  *will* see it.
  ==
 
  I've done a pretty extensive google search and I've
  found a few
  occurances of this.  There are only two types of
  replies: nothing, or
  the poster is told to check /etc/ld.so.conf and add
  the location of
  the lib to that file.
 
  Unfortunately, I don't have a /etd/ld.so.conf and
  creating it does
  nothing.  I only have /var/run/ld.so.hints and that
  appears to be a
  binary.
 
  Can anyone help me fix this?
 
  ==
  We try and leave that funny ld.so.conf stuff to the
  Linux kids. ;-)
  ==
 
  =
  ---
  If you give a man a fish, he can eat for a day
  If you bludgeon him to death, you can eat the fish yourself
  ---
 
  __
  Do you Yahoo!?
  Yahoo! Web Hosting - Let the expert host your site
  http://webhosting.yahoo.com
 
 -BEGIN PGP SIGNATURE-
 Version: PGP 7.0.4
 Comment: Message digitally signed by Mike Loiterman
 
 iQA/AwUBPdmZGGjZbUnRudGOEQIcMQCgw79pJGkC5nI4z9sRCoT9k0u1ZdQAnRo
 w
 mSKwMbKTZLakLegR89u09Gt2
 =rxLD
 -END PGP SIGNATURE-



For anyone interested, the solution was to put:
ldconfig_paths=$ldconfig_paths /usr/local/lib/mysql

into /etc/rc.conf.

The key part is the $ldconfog_paths.  Without that, all the other lib
directories get ignored.  I was just putting ldconfig_paths=
/usr/local/lib/mysql which solved my initial problem but prevented
the system from seeing the other lib directories.


...
Randomly Generated Quote:
Reality is a crutch for people who 
can't handle buttons   

Mike Loiterman
PGP Key 0xD1B9D18E
http://www.ascendency.net

-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4
Comment: Message digitally signed by Mike Loiterman

iQA/AwUBPdtUUGjZbUnRudGOEQLghACgmPnV1SEeQyBnACamNagaeTIcb6AAniAb
Ly8hm03fWsbQTPQw/V86zDO+
=kdyd
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: nVidia drivers w/ 4.7-RELEASE

2002-11-20 Thread Matthew Seaman
On Wed, Nov 20, 2002 at 01:38:56PM +0530, Gautham Ganapathy wrote:

 Will the nvidia drivers work with 4.7-RELEASE?

The release notes say:

 - FreeBSD -STABLE, version 4.7 or later

which should include 4.7-RELEASE.  There have been various reports
around the mailing lists of people getting the nvidia drivers working
on other versions, including 5-CURRENT, but NVIDIA won't support that.

 4.7-STABLE won't have ISOs, right?

Probably not, but see http://www.freebsdmirrors.org/FBSDsites.php3 for
sites where you can do a network install of a more recent snapshot.
Or read Chapter 21 of the Handbook about how to track -STABLE:

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

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



NATD...

2002-11-20 Thread Douglas A. Maske
Hello,

   How can I do a NAT hide so I can get the real IP address of incoming 
traffic to my webserver instead of the NAT internal IP?

Thanks,
--
Douglas A. Maske
Senior Consultant
Maske Tech
+1 (224) 558-9586
http://www.maske-tech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


VPN and roaming Windows 2K users

2002-11-20 Thread Marcin M. Jessa
Hi guys.

   
 Do you know how to 
make a FreeBSD firewall a VPN server for roaming Win2K boxes (Win2k users without 
static IP's)? 
I've been playing with racoon for a few days but it seems that the only way it can 
authenticate roaming Windows VLAN users
is with preshared certificates.
This again excludes usage of manual keying (pre_shared_keys) which is nessesary for 
accepting connections from dynamic IP's.The preshared keys 
method can be configured to accept connections from specified hostnames and that could 
work with windows
boxes that run a dyndns client.  Again Windows and racoon can only communicate using 
certificates and not manual keyingan evil circle.
Windows can speak with racoon if one makes racoon to automatically exchange keys but 
this works
only if Windows clients have static IP's... 
Have any of you guys an idea about what to do to combine these methods?
 Or maybe there is a 
workaround? 
Please squeeze your brains and let me know about whatever you think may be of interest 
in this metter. 


Thanks in advance

YazzY

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Anjuta borken?

2002-11-20 Thread dslb
On 2002.11.20 00:20 Joe Marcus Clarke wrote:

  When I try to build anjuta on my FreeBSD 4.7, I get:

 Update to the latest version of scintilla.

Thanks, that helped :-)

br
socketd


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: configure the printer (II) and apsfilter

2002-11-20 Thread Lin Jianfong
Looking at the date the source file was last modified, which is in year 
2000, I don't think you should worry about this if you're using FreeBSD 
4.7-STABLE which is the latest version at the moment. But if the advanced 
features don't work while you suspect it should, then this is worth doing, 
otherwise, I would say if it's not broken, don't fix it :).

Fong

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: configure the printer (II) and apsfilter
Date: Tue, 19 Nov 2002 21:19:58 +0100 (CET)


Good, in this web page:

http://apsfilter.org/docs/apsfilter-handbook-stable.html#install_notes_freebsd

they say that it must alter this of a file of FreeBSD:

Index: lpr.c
===
RCS file: /home/ncvs/src/usr.sbin/lpr/lpr/lpr.c,v
retrieving revision 1.32
diff -u -r1.32 lpr.c
--- lpr.c   2000/01/19 14:25:08 1.32
+++ lpr.c   2000/04/05 09:36:01
@@ -320,7 +320,7 @@
seteuid(uid);
card('H', host);
card('P', person);
-   if (hdr  !pp-no_header) {
+   if (hdr) {
if (jobname == NULL) {
if (argc == 0)
jobname = stdin;


if I have FreeBSD 4.7 STABLE, even this in actually this modification that 
must
do?

Come, until another one.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: question on IP alias/broadcast

2002-11-20 Thread Rob O'Donnell
At 08:16 17/11/2002 +, Matthew Seaman wrote:

On Sun, Nov 17, 2002 at 02:04:57PM +0700, budsz wrote:
 On Sat, Nov 16, 2002 at 04:21:34PM +, Matthew Seaman wrote:
 expressed as a hexadecimal or even decimal integer.  thus:
 
 192.168.100.1 is the same as 0xc0a86401 or 3232261121
^^
 and
 
 0xff00 is the same as 255.255.255.0 or 4294967040
 ^^

 Sorry sir, How we calculate that number (Decimal Interger)?, I hope
 explaination step by step?

Simple enough:

This perl snippet will convert a dotted quad address into an integer:


[snip]

isn't it basically: 192 * 2^24 + 168 * 2^16 + 100 * 2^8 + 1


--
APH Computers Ltd.
Tel: 0161-442 2603
Fax: 0161-443 1162


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: NATD...

2002-11-20 Thread Matthew Seaman
On Wed, Nov 20, 2002 at 03:02:17AM -0600, Douglas A. Maske wrote:

How can I do a NAT hide so I can get the real IP address of incoming 
 traffic to my webserver instead of the NAT internal IP?

NAT, when configured in the usual way, shouldn't affect the source
address of an incoming packet -- just the destination.  Similarly it
should rewrite just the source (internal) address on outgoing packets.
For a webserver behind a NAT gateway, the nat'ing process should be
essentially invisible: the internal network appears to be directly
connected to the internet.

I don't see quite what you are trying to achieve here.  Could you tell
us some more detail about the layout of your network, what you're
seeing at the moment and what you'ld like to see?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: NATD...

2002-11-20 Thread Kjell
 On Wed, Nov 20, 2002 at 03:02:17AM -0600, Douglas A. Maske wrote:
 
 How can I do a NAT hide so I can get the real IP address of incoming 
  traffic to my webserver instead of the NAT internal IP?

If you are using PHP you may set up a small web page calling phpinfo() 
which will show which variables you have to use to get your 
internal/local and external IP addresses
gl de Kjell
 
 NAT, when configured in the usual way, shouldn't affect the source
 address of an incoming packet -- just the destination.  Similarly it
 should rewrite just the source (internal) address on outgoing packets.
 For a webserver behind a NAT gateway, the nat'ing process should be
 essentially invisible: the internal network appears to be directly
 connected to the internet.
 
 I don't see quite what you are trying to achieve here.  Could you tell
 us some more detail about the layout of your network, what you're
 seeing at the moment and what you'ld like to see?
 
   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
   Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH UK
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



duplicate packets in ping?

2002-11-20 Thread shubha mr

Ping on my device driver (for my NIC )gives duplicate
packets.does anyone know why they occur and how to
eliminate them?
thanks
shubha

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: duplicate packets in ping?

2002-11-20 Thread Randall Stewart
shubha mr wrote:

Ping on my device driver (for my NIC )gives duplicate
packets.does anyone know why they occur and how to
eliminate them?
thanks
shubha

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-net in the body of the message




I have noticed a similar occurance in some of my SCTP testing with
all of the BSD's. In particular the linksys pcmcia cards seem to
do this. In my testing and analysis this always seems to occur
when the card is busy and what happens is you lose some packet
and another appears to be duplicated... I traced this out
with ethereal a while ago and then just stopped using that
card when I figured out it was some sort of circular buffer
issue.. I did not dig in and find out if it was the card
or driver... I rather suspect it is the card (since it is
a low end one).. but one never knows...

R

--
Randall R. Stewart
[EMAIL PROTECTED] 815-342-5222 (cell phone)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Dual monitor console

2002-11-20 Thread Richard Jones
Hi,

Can anyone help me with documentation on how to set up a dual headed
console?

I've got two nVidia cards playing quite nicely with X, but what I'd
really like is to have them run two consoles e.g. ttyv1 maps
to monitor0 and ttyv2 maps to monitor1.

For those wondering, I often find console text the most comfortable to
read, and would love, when for example troubleshooting, to have logs
scrolling on one monitor whilst tinkering on the other. (Plus it would
look very 80's hacker film ;)

TIA,

Richard
-- 
Richard Jones
http://www.jonze.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



PLS GET BACK TO ME.

2002-11-20 Thread sandra savimbi
 
 DEAR FRIEND,
 THIS LETTER MAY COME TO YOU AS A SURPRISE DUE TO THE FACT THAT WE
 HAVE NOT YET MET. THE MESSAGE COULD BE STRANGE BUT REAL IF YOU PAY
 SOME ATTENTION TO IT. I COULD HAVE NOTIFIED YOU ABOUT IT AT LEAST
 FOR THE SAKE OF YOUR INTEGRITY. PLEASE ACCEPT MY SINCERE APOLOGIES.
 IN BRINGING THIS MESSAGE OF GOODWILL TO YOU, I HAVE TO SAY THAT
 I HAVE NO INTENTIONS OF CAUSING YOU ANY PAINS.
 I AM MRS. SANDRA SAVIMBI, DAUGHTER OF THE LATE REBEL LEADER JONAS
 SAVIMBI OF ANGOLA WHO WAS KILLED ON THE 22ND OF FEBUARY 2002 .
 MY LATE FATHER, JONAS SAVIMBI WAS ABLE TO DEPOSIT A LARGE SUM OF
 MONEY IN DIFFERENT BANKS IN EUROPE AND THE MOVEMENT OF HIS FAMILY MEMBERS
 (INCLUDING ME) IS RESTRICTED. WE ARE FORBIDDEN TO EITHER TRAVEL
 ABROAD OR OUT OF OUR LOCALITIES. PRESENTLY, THE US$8,500,000.00 EIGHT
 MILLION, FIVE
 HUNDRED THOUSAND DOLLARS MY FATHER TRANSFERRED TO NETHERLANDS IS
 SAFE AND IS WITH A SECURITY FIRM. I AM THEREFORE SOLICITING YOUR
 HELP TO HAVE THIS MONEY TRANSFERRED INTO YOUR ACCOUNT BEFORE MY
 GOVERNMENT GET WIND OF THIS FUND. YOU MAY KNOW THAT MY FATHER WAS
 A REBEL LEADER IN ANGOLA BEFORE HIS DEATH AND MY REASON FOR DOING
 THIS IS BECAUSE IT WILL BE DIFFICULT FOR THE ANGOLAN GOVERNMENT
 TO TRACE MY FATHER'S MONEY TO AN INDIVIDUAL'S ACCOUNT, ESPECIALLY
 WHEN SUCH AN INDIVIDUAL HAS NO RELATIONSHIP WITH MY FATHER THEREBY
 KEEPING THAT MONEY FOR MY FAMILY USE. AT PRESENT THE MONEY AS I
 SAID IS KEPT IN A SECURITY COMPANY IN THE NETHERLAND.
 I AM CURRENTLY AND TEMPORARILY LIVING IN ANGOLA WITH MY HUSBAND. MY
 BROTHER HAS A REFUGEE STATUS IN THE NETHERLANDS. MOREOVER, THE POLITICAL
 CLIMATE IN ANGOLA AT THE MOMENT IS SO SENSITIVE AND UNSTABLE SO
 IT WILL BE BETTER WE DO THIS TRANSACTION NOW.
 WITH THIS PASSWORD AND INFORMATION I WILL SEND YOU, AND THE CHANGE OF
 OWNERSHIP THAT I WILL SEND TO THE SECURITY FIRM, YOU WILL BE ABLE TO
 REPRESENT US IN THE NETHERLANDS TO CLAIM THIS CONSIGNMENT FROM THE
 SECURITY FIRM. WHEN YOU ARE READY, I WILL GIVE YOU THE INFORMATION
 NEEDED BEFORE YOU CAN GET ACCESS TO THE FUND, YOU WILL THEN PROCEED
 TO NETHERLANDS WHERE YOU WILL SIGN THE FINAL RELEASE DOCUMENTS OF
 THE US$8,500,000.00 EIGHT, MILLION, FIVE HUNDRED THOUSAND DOLLARS.
 I WILL GIVE YOU FURTHER DETAILS WHEN I GET YOUR RESPONSE TO THIS LETTER
 ASSURING US THAT YOU WILL BE ABLE TO REPRESENT US IN THE NETHERLANDS
 AND THAT YOU WILL MAKE THIS TRANSACTION CONFIDENTIAL. IT IS VERY
 IMPORTANT THAT YOU GIVE ME YOUR PHONE AND FAX NUMBERS WHILE THIS IS KEPT
 CONFIDENTIAL.
 YOU CAN CONTACT ME WITH MY E-MAIL ADDRESS, [EMAIL PROTECTED]
 YOU CAN ALSO SEND A COPY TO MY BROTHER WHO IS SEEKING ASSYLUM IN
 THE NETHERLANDS ON;[EMAIL PROTECTED]
 
 YOURS SINCERELY,
 SANDRA SAVIMBI.
 
 
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: nVidia drivers w/ 4.7-RELEASE

2002-11-20 Thread John Bleichert
On Wed, 20 Nov 2002, Kenneth Culver wrote:

 Date: Wed, 20 Nov 2002 07:43:39 -0500 (EST)
 From: Kenneth Culver [EMAIL PROTECTED]
 To: Gautham Ganapathy [EMAIL PROTECTED]
 Cc: Questions @ FreeBSD [EMAIL PROTECTED]
 Subject: Re: nVidia drivers w/ 4.7-RELEASE
 
 It works fine with -RELEASE.
 
 Ken
 
 On Wed, 20 Nov 2002, Gautham Ganapathy wrote:
 
  Hi
 
  Will the nvidia drivers work with 4.7-RELEASE? 4.7-STABLE won't have
  ISOs, right?
 
  Regards
  Gautham
 
 
 
 

Yep - I'm using them on 4.7-RELEASE right now. Myth II runs great :)

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



2002-11-20 Thread Ruslan Ivachnenko
ðÒÉ×ÅÔ ×ÓÅÍ.

õ ÍÅÎÑ ÎÅÔ ÐÒÑÍÏÇÏ ÄÏÓÔÕÐÁ × ÉÎÅÔ, Á ÏÂÎÏ×ÉÔØ ÉÓÈÏÄÎÉËÉ ÈÏÔÅÌÏÓØ ÂÙ.
ðÒÏÞÉÔÁÌ Ï ÐÒÏÇÒÁÍÍÅ ctm_rmail É ÅÓÌÉ Ñ ÐÒÁ×ÉÌØÎÏ ÐÏÎÑÌ ÔÏ ÏÎÁ ÒÁÂÏÔÁÅÔ
ÞÅÒÅÚ ÜÌ. ÐÏÞÔÕ. ëÁË ÍÎÅ ÅÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÞÔÏÂÙ ×ÙÔÑÎÕÔØ ÉÓÈÏÄÎÉËÉ.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



NIS/YP

2002-11-20 Thread Kasper
Hello, when i add a new user to my nis master i copy out the userline from
/etc/master.passwd and
copy it to

/var/yp/master.passwd.

How do i update the userlist so i can log in with the new created user on my
nis clients?

/k



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Low profile PCI NIC

2002-11-20 Thread Tony Russell
Hi

Is anyone using a low profile PCI 10/100 NIC that is happy with it?

_
Antony Russell
Technical Director
Clarotech Consulting (Pty) Ltd
EMail: [EMAIL PROTECTED]
Phone: 021.671.5350

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Low profile PCI NIC

2002-11-20 Thread Kliment Andreev


 Hi
 Is anyone using a low profile PCI 10/100 NIC that is happy with it?

I am using dual NIC with Intel 21143 (no name card) and D-Link 530TX+.
Because, my FreeBSD serves as a gateway I have over 3Gb daily transfer
(SoulSeek, Kazaa etc...). Except some increasing TX threshold messages in
/var/log/messages everything works without hickups.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD 4.x and Apache+mod_ssl

2002-11-20 Thread Ronnie Clark
Marcel, 

Thanks for the help, but I am either too sleepy or too slow to make 
this work right. I did these steps from the /usr/ports/www/apache13-
modssl/ directory:
make
make certificate TYPE=custom
make install

When I do the make install, it automatically writes in the snake oil CA 
and server cert, which are old and expired. How do I get it to 
recognize and use my new custom CA and server cert?

Thanks again for the help. I am also sending this to freebsd-questions.
Ron Clark


 from /usr/ports/www/apache13-modssl/ run:
 make certificate TYPE=custom
 
 and follow the prompts..  remember to copy them to wherever you're 
storing the 
 certs apache uses and run make from that dir to update the links... 
 
 That should do it :)
 Hope this helps!
 Marcel
 
 
 
 On Tuesday 19 November 2002 21:54, Ronnie Clark wrote:
  Hello all,
 
  I am running FreeBSD 4.7 STABLE and just loaded mysql,
  Apache13+mod_ssl, and mod_php4 from the ports collection. I got php 
and
  SSL playing nice together, but I now have a website that is showing 
an
  invalid cert. How do I generate my own CA and new server cert 
signed by
  that CA in this format?
 
  Thanks in advance,
  Ron Clark
 
 
  
__
  Apache Interface to OpenSSL (mod_ssl)   
www.modssl.org
  User Support Mailing List  modssl-
[EMAIL PROTECTED]
  Automated List Manager
[EMAIL PROTECTED]
 
 -- 
 They that give up essential liberty to obtain a little temporary 
safety... 
 deserve neither safety nor liberty. - Benjamin Franklin(1759)
 __
 Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
 User Support Mailing List  [EMAIL PROTECTED]
 Automated List Manager[EMAIL PROTECTED]
 
 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



help!!!

2002-11-20 Thread Oleg V. Venger
Hi
During FreeBSD4.2 installation process my network card
was not detected. My network card is AT-2500TX on RTL8139 chipset.
hardware.txt file says that this card is supported.
I know that MII bus support is required for this card.
In GENERIC file next lines exist:
devicemiibus
devicerl
miibus0 and rl0 files do not exist in /dev.
And MAKEDEV command does not create device nodes.
I tried to rebuild kernel even, but without result.
The network card is not detected.
What to do? Help, please.

-- 
Best regards,
 Oleg  mailto:[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: NIS/YP

2002-11-20 Thread Matthew Seaman
On Wed, Nov 20, 2002 at 02:45:32PM +0100, Kasper wrote:
 Hello, when i add a new user to my nis master i copy out the userline from
 /etc/master.passwd and
 copy it to

That's what pw(8)'s -V flag is for --- you can edit your
/var/yp/master.password directly.
 
 /var/yp/master.passwd.
 
 How do i update the userlist so i can log in with the new created user on my
 nis clients?

cd /var/yp
make

(The ypinit(8) program should have set up everything in /var/yp so
that will work.)

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re:

2002-11-20 Thread Ivachnenko R.N.
÷ ÓÏÏÂÝÅÎÉÉ ÏÔ óÒÅÄÁ 20 îÏÑÂÒØ 2002 16:28 ×Ù ÎÁÐÉÓÁÌÉ:
 On Wednesday 20 November 2002 16:14, Ruslan Ivachnenko wrote:
  ðÒÉ×ÅÔ ×ÓÅÍ.
 
  õ ÍÅÎÑ ÎÅÔ ÐÒÑÍÏÇÏ ÄÏÓÔÕÐÁ × ÉÎÅÔ, Á ÏÂÎÏ×ÉÔØ ÉÓÈÏÄÎÉËÉ ÈÏÔÅÌÏÓØ ÂÙ.
  ðÒÏÞÉÔÁÌ Ï ÐÒÏÇÒÁÍÍÅ ctm_rmail É ÅÓÌÉ Ñ ÐÒÁ×ÉÌØÎÏ ÐÏÎÑÌ ÔÏ ÏÎÁ ÒÁÂÏÔÁÅÔ
  ÞÅÒÅÚ ÜÌ. ÐÏÞÔÕ. ëÁË ÍÎÅ ÅÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÞÔÏÂÙ ×ÙÔÑÎÕÔØ ÉÓÈÏÄÎÉËÉ.

 ïÂÚÁ×ÏÄÉÔÅÓØ ÄÏÓÔÕÐÏÍ.
 þÔÏÂÙ ÞÔÏ-ÔÏ ×ÙÔÑÇÉ×ÁÔØ, ÐÒÏÇÒÁÍÍÁ ÄÏÌÖÎÁ ÂÙÔØ ÇÄÅ-ÔÏ ÕÓÔÁÎÏ×ÌÅÎÁ.

ëÁËÁÑ ÐÒÏÇÒÁÍÍÁ É ÇÄÅ ÄÏÌÖÎÁ ÂÙÔØ ÕÓÔÁÎÏ×ÌÅÎÁ? ñ ÞÔÏ-ÔÏ ÎÅ ÐÏÎÑÌ.


 ÷ ËÁÞÅÓÔ×Å ÏÄÎÏËÒÁÔÎÏÊ ÁËÃÉÉ ÍÏÇÕ ×ÙÓÌÁÔØ diff ÐÏ ÐÏÞÔÅ.

åÓÌÉ ÎÅ ÔÒÕÄÎÏ É ÞÔÏ ÜÔÏ ÚÁ ÆÁÊÌ ( ÄÌÑ ÞÅÇÏ ÏÎ).


 ôÏÌØËÏ ÓËÁÖÉÔÅ ÷ÁÛ ÒÅÌÉÚ É ÏÂÎÏ×ÌÅÎÉÅ ÄÏ ËÁËÏÇÏ ÒÅÌÉÚÁ ÎÕÖÎÏ ÐÏÌÕÞÉÔØ.

íÏÊ ÒÅÌÉÚ 4.7 Á ÈÏÔÅÌÏÓØ ÂÙ ÄÏ RELENG_4. íÎÅ ÐÏÓÏ×ÅÔÏ×ÁÌÉ ÐÒÏÁÂÇÒÅÊÄÉÔØÓÑ × 
Ó×ÑÚÉ Ó ÐÏÄÄÅÒÖËÏÊ × 4-STABLE ATAPICAM(4). õ ÍÅÎÑ ÐÒÏÂÌÅÍÁ, ÎÅ ÍÏÇÕ 
ÉÓÐÏÌØÚÏ×ÁÔØ IDE ÏÐÔÉÞÅÓËÏÅ ÕÓÔÒÏÊÓÔ×Ï Fujutsu. ðÒÉ ÚÁÇÒÕÚËÅ ÐÉÛÅÔ, ÞÔÏ ÎÅÔ 
ÄÒÁÊ×ÅÒÁ ÄÌÑ ÕÓÔÒÏÊÓÔ×Á. æÁÊÌ dmesg ÐÒÉÌÁÇÁÀ.

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE #18: Wed Nov 20 13:54:34 EET 2002
root@ruslanc:/usr/src/sys/compile/MYKERNEL
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium 4 (1600.03-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf12  Stepping = 2
  
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,b28,ACC
real memory  = 268369920 (262080K bytes)
config q
avail memory = 257880064 (251836K bytes)
Preloaded elf kernel kernel at 0xc033a000.
Preloaded userconfig_script /boot/kernel.conf at 0xc033a09c.
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fded0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82845 Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: Intel 82845 PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: NVidia Riva Ultra Vanta TNT2 graphics accelerator at 0.0 irq 5
pcib2: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0
pci2: PCI bus on pcib2
fxp0: Intel Pro/100 Ethernet port 0xc000-0xc03f mem 0xe800-0xe8000fff irq 11 at 
device 8.0 on pci2
fxp0: Ethernet address 00:00:e2:65:5a:f2
inphy0: i82562ET 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: Intel 82801BA/BAM (ICH2) PCI to LPC bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH2 ATA100 controller port 0xf000-0xf00f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0xd000-0xd01f irq 5 at 
device 31.2 on pci0
usb0: Intel 82801BA/BAM (ICH2) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ukbd0: NOVATEK USB MULTIMEDIA KEYBOARD, rev 1.10/1.10, addr 2, iclass 3/1
kbd0 at ukbd0
uhid0: NOVATEK USB MULTIMEDIA KEYBOARD, rev 1.10/1.10, addr 2, iclass 3/0
ums0: Logitech N48 mouse, rev 1.00/11.01, addr 3, iclass 3/1
ums0: 3 buttons and Z dir.
pci0: unknown card (vendor=0x8086, dev=0x2443) at 31.3 irq 9
uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 0xd800-0xd81f irq 11 at 
device 31.4 on pci0
usb1: Intel 82801BA/BAM (ICH2) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcm0: Intel 82801BA (ICH2) port 0xe000-0xe03f,0xdc00-0xdcff irq 9 at device 31.5 on 
pci0
orm0: Option ROM at iomem 0xcc000-0xc on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
ad0: 19470MB Maxtor 2B020H1 [39560/16/63] at ata0-master UDMA100
acd0: CDROM CD-ROM 48X/AKH at ata1-master PIO4
ata1-slave: FUJITSU MCE3130AP/0020 optical device - NO DRIVER!
Mounting root from ufs:/dev/ad0s3a
fxp0: promiscuous mode enabled
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
fxp0: promiscuous mode disabled
cd9660: RockRidge Extension
pid 1755 (gzip), uid 0 on /: file system full
acd0: READ_BIG command timeout - resetting
ata1: 

Re: VPN and roaming Windows 2K users

2002-11-20 Thread Jim Durham
On Wednesday 20 November 2002 05:07 am, Marcin M. Jessa wrote:
 Do you know how to make a FreeBSD firewall a VPN server for roaming Win2K
 boxes (Win2k users without static IP's)? I've been playing with racoon for
 a few days but it seems that the only way it can authenticate roaming
 Windows VLAN users is with preshared certificates.
 This again excludes usage of manual keying (pre_shared_keys) which is
 nessesary for accepting connections from dynamic IP's. 
   The preshared keys method can be configured to accept connections
 from specified hostnames and that could work with windows boxes that run a
 dyndns client.  Again Windows and racoon can only communicate using
 certificates and not manual keyingan evil circle. Windows can speak
 with racoon if one makes racoon to automatically exchange keys but this
 works only if Windows clients have static IP's...
 Have any of you guys an idea about what to do to combine these methods?

 Or maybe there is a workaround? Please squeeze your brains and let me know
 about whatever you think may be of interest in this metter.

I use mpd to serve 95,98, 2000 and XP boxes using their VPN' connection.
This seems to work well and  you can coach a remote user through the
Windows setup over the phone with minimal trouble.

I use racoon and IPSEC between offices with FreeBSD boxes on each end.

-Jim




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



XFree86-4 Built From Ports Dumps Core

2002-11-20 Thread Drew Tomlinson
I have built XFree86-4 from a freshly updated ports tree on an Digital
Personal Workstation 500au (Alpha).  However when attempting to start
the X server, it dumps core.  I have tried 'XFree86 -configure'.  When
that didn't work, I used the 'xf86config' program to create a config
file choosing card 284 (Matrox Millennium 4MB) from the card database.
Now, when running 'startx', the system reboots.  I have searched Google
but could not find any entries that relate to my problem.  Any ideas on
how I can get this working?

Thanks,

Drew

Here's the contents of the log file:

zombie# cat XFree86.0.log

XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: FreeBSD 4.7-RELEASE-p1 alpha [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/XFree86.0.log, Time: Wed Nov 20 07:16:39 2002
(--) Using syscons driver with X support (version 16777218.0)
(--) using VT number 9

(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.5
XFree86 XInput driver : 0.3
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.3
(II) Loader running on freebsd
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
Not loading .debug_line
Not loading .debug_line
Not loading .debug_line
Not loading .debug_line
Not loading .debug_line
Not loading .debug_line
Not loading .debug_line
Not loading .debug_line
Not loading .debug_line
Not loading .debug_line
Not loading .debug_line
(II) Module bitmap: vendor=The XFree86 Project
compiled for 4.2.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
Not loading .debug_line
(II) Module pcidata: vendor=The XFree86 Project
compiled for 4.2.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:03:0: chip 1011,0019 card , rev 30 class 02,00,00
hdr 00
(II) PCI: 00:04:0: chip 1095,0646 card , rev 01 class 01,01,80
hdr 00
(II) PCI: 00:07:0: chip 8086,0484 card , rev 43 class 00,00,00
hdr 00
(II) PCI: 00:0b:0: chip 102b,0519 card , rev 01 class 03,00,00
hdr 00
(II) PCI: 00:14:0: chip 1011,0021 card , rev 02 class 06,04,00
hdr 01
(II) PCI: 01:09:0: chip 1077,1020 card , rev 05 class 01,00,00
hdr 00
(II) PCI: 01:0a:0: chip 1011,000f card , rev 01 class 02,02,00
hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: scanpci
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
Not loading .debug_line
(II) Module scanpci: vendor=The XFree86 Project
compiled for 4.2.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: scanpci
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) PCI-to-ISA bridge:
(II) Host-to-PCI bridge:
(II) PCI-to-PCI bridge:
(II) Bus -1: bridge is at (0:7:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(II) Bus 1: bridge is at (0:20:0), (0,1,0), BCTRL: 0x20 (VGA_EN is
cleared)
(II) Bus 1 I/O range:
[0] -1  0x8000 - 0x8fff (0x1000) IX[B]
(II) Bus 1 non-prefetchable memory range:
[0] -1  0x8000 - 0x800f (0x10) MX[B]
(II) Bus 1 prefetchable memory range:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x00 (VGA_EN is
cleared)
(II) Bus 0 I/O range:
[0] -1  0x - 0x (0x0) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0x8000 - 0x (0x8000) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1  0x8000 - 0x (0x8000) MX[B]
(--) PCI:*(0:11:0) Matrox MGA 2064W rev 1, Mem @ 0x8015/14,
0x9000/23, BIOS @ 0x8014/16
List of video drivers:
atimisc
r128
radeon
ati
glint
mga
nv
rendition
s3
s3virge
savage
siliconmotion
tdfx
tga
vga
(II) LoadModule: atimisc
(II) Loading /usr/X11R6/lib/modules/drivers/atimisc_drv.o
Not loading .debug_line
(II) Module atimisc: vendor=The XFree86 Project
compiled for 4.2.1, module version = 6.4.8
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: r128
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
Not loading .debug_line
(II) 

Re: help!!!

2002-11-20 Thread Kliment Andreev
 I tried to rebuild kernel even, but without result.
 The network card is not detected.
 What to do? Help, please.

Are you sure that your NIC is working fine? Try another PCI slot and remove
all PCI cards except video card. Reboot and check dmesg to see if your card
is there.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



BIND 9 problem

2002-11-20 Thread Brett Glass
I am working with a BIND 9 server which, for some reason, isn't
setting the authoritative bit on zones for which it is the
master (as clearly stated in named.conf). Has anyone seen this
behavior?

--Brett Glass

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Portsupgrade -uU

2002-11-20 Thread Andreas Ntaflos
On Wed, Nov 20, 2002 at 10:21:07AM -0600, Scott Gerhardt wrote:
 
 When running portsupgrade -uU I get the output below.  How can I fix these
 malformed entries, non-existent entries and incomplete dependencies?
 Running pkgdb -F shows everything to be fine.
 

Shouldn't this be `portsdb -uU`? portupgrade has no -U option and -u means Do
not preserve old shared libraries. What is it you are trying to do anyway?

HTH
regards
-- 
Andreas ant Ntaflos | A cynic is a man who knows the price of
[EMAIL PROTECTED]   | everything, and the value of nothing.
Vienna, AUSTRIA   |  Oscar Wilde


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Portsupgrade -uU

2002-11-20 Thread Scott Gerhardt
On 11/20/02 11:08 AM, Andreas Ntaflos [EMAIL PROTECTED] wrote:

 On Wed, Nov 20, 2002 at 10:21:07AM -0600, Scott Gerhardt wrote:
 
 When running portsupgrade -uU I get the output below.  How can I fix these
 malformed entries, non-existent entries and incomplete dependencies?
 Running pkgdb -F shows everything to be fine.
 
 
 Shouldn't this be `portsdb -uU`? portupgrade has no -U option and -u means Do
 not preserve old shared libraries. What is it you are trying to do anyway?
 
 HTH
 regards


Correction:  I meant portsdb -uU



-- 
Scott Gerhardt, P.Geo.
Gerhardt Information Technologies [G-IT]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



identification of my SO from the navigator

2002-11-20 Thread xxavi

Good, in the navigator It Opera web browser if I put the window of about of
Opera in the section Browser Identification, is to the name and number the
version of my SO as this identification can be changed? that is to say, to put
what I want and that the navigator takes it.

Come, until another one. 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Portsupgrade -uU

2002-11-20 Thread Stacey Roberts
Hi Scott,
   Usually warinings and errors of this nature are the result of some
changes being made throughout various bits of the ports tree.

For those of us in userland (mostly with ports-all installed), it often
appears quite daunting and (rightly?) would need reassureance that all
is still well on our systems (I myself am [repeatedly] guilty of this).

At the moment, there *are* some changes happening, an example of which
is the creation a new /usr/ports/finance ports dir into which there are
plans to move other ports currently existing under /usr/ports/misc 
/usr/ports/deskutils. For a few days, this leaves the ports tree in less
than spectacular states, but should come right sooner or later.,

Hope this helps.

Stacey

On Wed, 2002-11-20 at 16:21, Scott Gerhardt wrote:
 When running portsupgrade -uU I get the output below.  How can I fix these
 malformed entries, non-existent entries and incomplete dependencies?
 Running pkgdb -F shows everything to be fine.
 
 
 
 Updating the ports index ... gdrdao-0.4.1:/usr/ports/audio/cdrdao
 non-existent -- dependency list incomplete
 make: don't know how to make .portinfo(continuing): malformed entry: make:
 don't know how to make .portinfo(continuing)
 balsa-1.4.1_1: non-existent -- dependency list incomplete
 balsa-1.4.1_1:/usr/ports/devel/bbalsa2-2.0.3 non-existent -- dependency
 list incomplete
 onobo gda-client.0:/usr/ports/databases/libgda
 gnomedb.0:/usr/ports/databases/gnomedb glade.4:/usr/ports/devel/libglade
 gal.21:/usr/ports/x11-toolkits/gal glibwww.1:/usr/ports/www/glibwww
 gtkhtml-1.1.3:/usr/ports/www/gtkhtml: malformed entry: onobo
 gda-client.0:/usr/ports/databases/libgda
 gnomedb.0:/usr/ports/databases/gnomedb glade.4:/usr/ports/devel/libglade
 gal.21:/usr/ports/x11-toolkits/gal glibwww.1:/usr/ports/www/glibwww
 gtkhtml-1.1.3:/usr/ports/www/gtkhtml|/usr/local/bin/ispell:/usr/ports/textpr
 oc/ispell   /usr/X11R6/share/gnome/.keep_me:/usr/ports/misc/gnomehier
 /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc:/usr/ports/misc/gnomemim
 edata   |
 make: don't know how to make .portinfo(continuing): malformed entry: make:
 don't know how to make .portinfo(continuing)
 gnomepilot-conduits-0.9: non-existent -- dependency list incomplete
 gnomepilot-conduits-0.9:/usr/ports/databases/gnomehdconv-2.01f
 non-existent -- dependency list incomplete
 db glade.4:/usr/ports/devel/libglade: malformed entry: db
 glade.4:/usr/ports/devel/libglade|
 /usr/X11R6/share/gnome/.keep_me:/usr/ports/misc/gnomehier
 /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc:/usr/ports/misc/gnomemim
 edata   |
 make: don't know how to make .portinfo(continuing): malformed entry: make:
 don't know how to make .portinfo(continuing)
 gnome-1.4.1b2_2: non-existent -- dependency list incomplete
 mmConf.sh:/usr/ports/x11-toolkits/panel--
 nautilus:/usr/ports/x11-fm/nautilus
 screensaver-properties-capplet:/usr/ports/x11/xscreensaver-gnome
 /usr/local/bin/python2.2:/usr/ports/lang/python: malformed entry:
 mmConf.sh:/usr/ports/x11-toolkits/panel--
 nautilus:/usr/ports/x11-fm/nautilus
 screensaver-properties-capplet:/usr/ports/x11/xscreensaver-gnome
 /usr/local/bin/python2.2:/usr/ports/lang/python|
 make_index: no entry for: /usr/X11R6
 make_index: no entry for: /usr/X11R6
 make_index: no entry for: /usr/ports/mail/balsa2
 make_index: no entry for: /usr/ports/x11/gnome-fifth-toe
 make_index: no entry for: /usr/ports/x11/gnome-fifth-toe
 make_index: no entry for: /usr/local
 make_index: no entry for: /usr/local
 Warning: Duplicate INDEX entry: nethack-nox11-3.3.1_1
 Warning: Duplicate INDEX entry: nethack-nox11-3.4.0
 Warning: Duplicate INDEX entry: cvsup-without-gui-16.1f
 Warning: Duplicate INDEX entry: ghostscript-afpl-nox11-7.04_7
 Warning: Duplicate INDEX entry: ghostscript-gnu-nox11-7.05_3
 done
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Basic mail and Sendmail problem

2002-11-20 Thread James Earl
On Wed, Nov 20, 2002 at 04:25:49AM +0100, Mark wrote:
 - Original Message -
 From: James Earl [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, November 19, 2002 10:29 PM
 Subject: Re: Basic mail and Sendmail problem
 
 
When I know try to send a mail to 'userone' with 'mail -v
userone' I get the following error (same error in
/var/spool/clientmqueue): userone... Connecting to
localhost.mydomain. via relay... userone... Deferred:
Connection refused by localhost.mydomain.
  
   One more thing to add: This works fine, when I am connected
   to my ISP. So this might be a problem with DNS configuration?
 
  I just had a similar problem with a couple of my machines.
 
  Try changing the 'search' line in resolv.conf to a local domain name.
 
  For instance, my /etc/resolv.conf file is like this:
 
  search localdomain.net
  nameserver ?.?.?.? (real dns servers)
  nameserver ?.?.?.?
 
  And my /etc/hosts file:
 
  127.0.0.1 localhost localhost.localdomain.net
  192.168.19.1 gateway gateway.localdomain.net
  ...
 
  sendmail_enable=NO in /etc/rc.conf
 
 Why disable sendmail?

That's a good question!  I just needed local mail delivery.


 
  My big problem was my isp's DHCP server was assigning me a
  domain-name which would change my resolv.conf file. To solve that
  I had to add a supersede line in dhclient.conf.
 
 Yeah. Had a similar problem on a local box. I also added a prepend
 domain-name and prepend domain-name-servers line to dhclient.conf; like
 so:
 
 prepend domain-name ns-cache-0.ns.nl.demon.net ;
 prepend domain-name-servers 194.159.73.135;
 supersede domain-name ns-cache-0.ns.nl.demon.net 
 
 The trailing spaces ARE intentional. That worked like a charm. Substitute
 your own ISP, of course.
 
 - Mark
 

Thanks, I think I may try that too.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



connecting to SCSI drive

2002-11-20 Thread Bob Hall
I use a DVD burner for backups, and I usually forget to turn it on 
when I boot my FBSD box. Turning it on and rebooting isn't a big 
deal, but is there a way to get FBSD to see the drive without 
rebooting? Is there a process that can be reset or a command that 
tells FBSD that the drive exists?

FreeBSD 4.4, external DVD-RAM drive.

Bob Hall

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



No default realm defined for Kerberos!

2002-11-20 Thread Mike Hogsett

How do I get rid of the annoying Kerberos message?

Thanks,

 - Mike
 
[beast] [hogsett] [~]
 -- telnet switch-a
Trying 130.107.2.200...
Connected to switch-a.csl.sri.com.
Escape character is '^]'.


User Access Verification

Password: Kerberos: No default realm defined for Kerberos!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: connecting to SCSI drive

2002-11-20 Thread paul beard
Bob Hall wrote:


I use a DVD burner for backups, and I usually forget to turn it on
when I boot my FBSD box. Turning it on and rebooting isn't a big
deal, but is there a way to get FBSD to see the drive without
rebooting? Is there a process that can be reset or a command that
tells FBSD that the drive exists?



man camcontrol(8)

I think you need camcontrol rescan all | bus[:target:lun]: use 
dmesg or camcontrol devlist -v to get the target names.

--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

I do not know myself, and God forbid that I should.
		-- Johann Wolfgang von Goethe


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


[oetiker@ee.ethz.ch: Re: MRTG problem]

2002-11-20 Thread budsz
- Forwarded message from Tobias Oetiker [EMAIL PROTECTED] -

Delivered-To: [EMAIL PROTECTED]
Date: Wed, 20 Nov 2002 16:28:55 +0100 (MET)
From: Tobias Oetiker [EMAIL PROTECTED]
To: budsz [EMAIL PROTECTED]
Subject: Re: MRTG problem
In-Reply-To: [EMAIL PROTECTED]
X-Virus-Scanned: by AMaViS perl-11

Today budsz wrote:

 Hi sir,

 Sorry if I send private this message, I use FreeBSD in my system, So far
 so good but yesterday I tried to upgrade mrtg 2.9.22 to mrtg 2.9.26
 (Via porting), After that I get some error in mrtg, I have bandwidth only
 64 kbps but in mrtg look like:

 Max  In: 34.4 Gb/s (343597.8%)Average  In: 34.3 Gb/s (343062.0%) 
  Current  In: 12.9 Gb/s (129421.8%)
 Max  Out: 9223372036.9 Gb/s (92233720368547.8%)   Average  Out:110364024184.7 Gb/s 
(1103640241846862.6%)   Current  Out: 41635330833.4 Gb/s (416353308334472.8%)

 No error in log or stout so I'am very difficult to trace the problem, And I
 tried to search in web but I can't find anything. Would you help me sir.

it seems 2.9.26 is broken on freebsd ... I don't know why ...

sorry ... hoping for a patch from some user of this system

tobi

 Thanks You very much.



-- 
 ____   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, CH-8092 Zurich, Switzerland
 / // _ \/ _ \/ /  System Manager Coach Time Lord Developer Designer
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/~oetiker +41(0)1-632-5286



- End forwarded message -

-- 
budsz

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



VPN

2002-11-20 Thread Scott Pilz


There are an increasing number of ISP's that are now offering VPN
services to their customers. I've looked into this very little - to the
point where I did setup a VPN server on FreeBSD however according to what
I have read on the internet, the latest/newest/best release of PPP is not
compatible with BSD (yet). This latest version of PPP offers support for
Windows machines to use their method of encryption, and is not supported
in earlier releases of PPP. While I was able to connect to the VPN server
without encryption, I was not able to do so with encryption.

I'm wondering what you others have run into, and what packages
work best for your customers. I realize that many ISP's are now buying
these awfully expensive pieces of equipment designed to run VPN and only
VPN ... to save the company some money, any alternatives to these
appliances?

Thanks.

Scott


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [oetiker@ee.ethz.ch: Re: MRTG problem]

2002-11-20 Thread paul beard
budsz wrote:



it seems 2.9.26 is broken on freebsd ... I don't know why ...

sorry ... hoping for a patch from some user of this system

tobi


I guess the next question is, how to downgrade a port?

--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

Today is the first day of the rest of your lossage.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: VPN and roaming Windows 2K users

2002-11-20 Thread Jim Durham
On Wednesday 20 November 2002 10:37 am, Bill Moran wrote:
 Jim Durham wrote:
  On Wednesday 20 November 2002 05:07 am, Marcin M. Jessa wrote:
 Do you know how to make a FreeBSD firewall a VPN server for roaming Win2K
 boxes (Win2k users without static IP's)? I've been playing with racoon
  for a few days but it seems that the only way it can authenticate
  roaming Windows VLAN users is with preshared certificates.
 This again excludes usage of manual keying (pre_shared_keys) which is
 nessesary for accepting connections from dynamic IP's.
   The preshared keys method can be configured to accept connections
 from specified hostnames and that could work with windows boxes that run
  a dyndns client.  Again Windows and racoon can only communicate using
  certificates and not manual keyingan evil circle. Windows can speak
  with racoon if one makes racoon to automatically exchange keys but this
  works only if Windows clients have static IP's...
 Have any of you guys an idea about what to do to combine these methods?
 
 Or maybe there is a workaround? Please squeeze your brains and let me
  know about whatever you think may be of interest in this metter.
 
  I use mpd to serve 95,98, 2000 and XP boxes using their VPN' connection.
  This seems to work well and  you can coach a remote user through the
  Windows setup over the phone with minimal trouble.
 
  I use racoon and IPSEC between offices with FreeBSD boxes on each end.

 Have you ever tried using vtun between the FreeBSD machines?  I've never
 used racoon/IPsec between FreeBSD machines, but I was overjoyed at the
 simplicity and workability of vtun.
 Just curious if anyone has used both that could compare them.

Yes, I used vtun for about a year. It worked fine as long as the network
stayed up between here and the West Coast, but, when it went down for
any length of time, which happens quite regularly in the middle of the night,
it wouldn't reestablish. I find that IPSEC is more robust and you don't need
to run PPP over it (although technically, you don't have to with vtun).
IPSEC stays up and reestablishes itself.

I've also tunnelled with SSH and found that maintaining the connection
was a little troublesome.

-Jim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [oetiker@ee.ethz.ch: Re: MRTG problem]

2002-11-20 Thread budsz
paul beard writes: 

budsz wrote: 


it seems 2.9.26 is broken on freebsd ... I don't know why ... 

sorry ... hoping for a patch from some user of this system 

tobi 

I guess the next question is, how to downgrade a port?


Maybe, But however downgrade is tempolary answer 

--
budsz 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Portsupgrade -uU

2002-11-20 Thread Jonathan Chen
On Wed, Nov 20, 2002 at 10:21:07AM -0600, Scott Gerhardt wrote:
 
 When running portsupgrade -uU I get the output below.  How can I fix these
 malformed entries, non-existent entries and incomplete dependencies?
 Running pkgdb -F shows everything to be fine.

If you're running portsdb -Uu, you *don't*. It's up to port
maintainers to fix the problem with the port entries. Most of the
output are just warnings (intended for maintainers).
-- 
Jonathan Chen [EMAIL PROTECTED]
--
With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead. -- RFC 1925

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



NAT Help

2002-11-20 Thread Ben Craig
Hi,

I'm trying to get NAT up and running on my FreeBSD
4.7R gateway machine and have hit a bit of a wall. 
Have looked around online for FAQs and other help and
haven't really been able to isolate the problem this
way.  If anyone can offer advice, I would be most
appreciative.

I have a FreeBSD machine configured as a gateway for a
LAN.  The BSD machine has two NICs (fxp0 and vr0). 
fxp0 is connected to a router via ethernet, which in
turn is connected to the Net via ADSL.  The router is
very basic and doesn't have all of the functions we
require, hence the BSD box being the gateway.

vr0 is connected to a hub for the LAN, which all uses
internal 10.0.0.x IP addressing.  The FreeBSD box
provides DHCP for this range.  All of this is working
correctly.  We also have a couple of external IPs
which I would like to map onto a couple of servers on
the private LAN, and herein lies the problem.  I just
can't seem to get NAT working to redirect these IPs
from the BSD machine to the relevant internal IP.

On the BSD machine, I've compiled a kernel with the
following options:

options IPFIREWALL
options IPDIVERT
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE

The following options exist in rc.conf:

gateway_enable=YES 
firewall_enable=YES 
firewall_type=OPEN 
natd_enable=YES 
natd_interface=fxp0 
natd_flags=-redirect_address 10.0.0.2 x.x.x.x
-redirect_address 10.0.0.3 x.x.x.x 

(where x.x.x.x is of course the external IP).

rc.conf also contains the following ipconfig settings
for the external IP addresses (of which there are 5).

ifconfig_fxp0_alias0=inet x.x.x.x netmask
255.255.255.248
ifconfig_fxp0_alias1=inet x.x.x.x netmask
255.255.255.248
ifconfig_fxp0_alias2=inet x.x.x.x netmask
255.255.255.248
ifconfig_fxp0_alias3=inet x.x.x.x netmask
255.255.255.248
ifconfig_fxp0_alias4=inet x.x.x.x netmask
255.255.255.248

alias0 is used as the IP address for the gateway
machine and my intention is to redirect traffic on the
remaining four addresses to other machines on the LAN.
 This is where it falls down and I'm stumped.

Regards,

Ben Craig.

=
--
Benjamin Craig
Executive Producer
Cinemagine Limited


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: VPN and roaming Windows 2K users

2002-11-20 Thread Philip Hallstrom
[snip]

   I use racoon and IPSEC between offices with FreeBSD boxes on each end.
 
  Have you ever tried using vtun between the FreeBSD machines?  I've never
  used racoon/IPsec between FreeBSD machines, but I was overjoyed at the
  simplicity and workability of vtun.
  Just curious if anyone has used both that could compare them.

 Yes, I used vtun for about a year. It worked fine as long as the network
 stayed up between here and the West Coast, but, when it went down for
 any length of time, which happens quite regularly in the middle of the night,
 it wouldn't reestablish. I find that IPSEC is more robust and you don't need
 to run PPP over it (although technically, you don't have to with vtun).
 IPSEC stays up and reestablishes itself.

I've never run ipsec, but have used vtun for about 3 years b/n 4 different
DSL/cablemodem setups and it re-establishes it's connections for me... at
least I've never had a problem with it...  from the man page:

   persist yes|keep|no
  persist mode.  If  yes,  the  client  will  try  to
  reconnect  to  the server after connection termina-
  tion.  If keep, the client will not remove and  re-
  add  the  tunXX  or tapXX device when reconnecting.
  If no, the client will exit (default).  This option
  is ignored by the server.

-philip


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [oetiker@ee.ethz.ch: Re: MRTG problem]

2002-11-20 Thread paul beard
budsz wrote:


- Forwarded message from Tobias Oetiker  -


it seems 2.9.26 is broken on freebsd ... I don't know why ...

sorry ... hoping for a patch from some user of this system

tobi


mrtg-2.9.25 seems fine: I removed mrtg, added it to HOLD_PKGS in 
my pkgtools.conf, and installed this version manually.

this should all work
./configure --with-gd-lib=/usr/local/lib 
--with-gd-inc=/usr/local/include/ --exec-prefix=/usr/local

then you'll find that /usr/local/mrtg2 needs to worked around:

cd /usr/local/bin/
for i in /usr/local/mrtg-2/bin/*; do ln -s $i ; done
cd ../mrtg-2/lib/mrtg2
cp -rp * /usr/local/lib/perl5/site_perl/5.6.1/


--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

Does the name Pavlov ring a bell?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


ports and Perl version

2002-11-20 Thread Dayne Miller
Hello-

I didn't see an obvious answer to this anywhere. If one exists already, please 
feel free to give me a virtual slap (but please provide alink at the same 
time...) Otherwise, I could use some help.

On a FreeBSD 4.7 system, I've installed a newer version of Perl, using the ports
system (new version in /usr/localbin is 5.8.0, system-installed version is 
5.005_03 in /usr/bin)

Anyway, I went to install Nagios (via ports) the other day, and the SNMP plugin 
install quit because of complaints that it needed a newer version of Perl that 
that which came with the system. Since I actually have that newer version 
already in, I just need to figure out where the port Makefiles are pulling their 
path info from. Or find a way to explicitly state which Perl version to use in 
the make process. I'm unsure of how to do this.

Any help, or a pointer to said help, will be greatly apperciated.

-Dayne


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: connecting to SCSI drive

2002-11-20 Thread paul beard
Dan Nelson wrote:




Power it on once before reboot, then run camcontrol devlist.  Note
the bus, target, and lun numbers of the DVD drive.  Then later 
you can
use the camcontrol rescan b:t:l command to force the kernel to 
detect
that device.


I'm not sure you need to reboot: my experience has been that 
powering the device on and running some camcontrol commands which 
I don't recall off-hand would allow the device to be accessed.


--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

I couldn't remember when I had been so disappointed.  Except perhaps
the time I found out that MMs really *do* melt in your hand ...
		-- Peter Oakley


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Putting home directories on mounted windows network drive

2002-11-20 Thread Adam Lofstedt
Hi (Please CC any responses to me, as I get the digest version)

Right now my FBSD firewall box is also my lightly-used ftp server with
chrooted ftp users.  An old machine (P133, 1.8 G Hard Drive) just got
freed up, and I would like to move the ftp services over to that old
thing.  The problem is the Hard Disk is real small, and the board won't
support a larger one.  I do have plenty of space on several windows
machines (NTFS) partitions, and was wondering if I could just mount an
NTFS network partition on the FTP box, and store the User's Home
directories on that Partition.  Do you see anything wrong with this
approach?  How are permissions handled (a mix of NTFS and UNIX
permissions?)?  Can you even mount a networked windows drive in FBSD
(using Samba I guess)?

Thanks for any advice!

Adam


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: nVidia drivers w/ 4.7-RELEASE

2002-11-20 Thread Kenneth Culver
 Yep - I'm using them on 4.7-RELEASE right now. Myth II runs great :)

Quake 3, Wolfenstein, tuxracer, and UT2003 all work on my machine.
However, ut2003 refused to work on my hardware while using the nvidia
agpgart. I had to switch to using FreeBSD's agpgart.

Ken


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: bash .profile issues

2002-11-20 Thread Gary W. Swearingen
paul beard [EMAIL PROTECTED] writes:

 well, IIRC, source and . are equivalent: one is easier to type.

And one will get you in trouble when you forget and try to use it in
sh and ksh (pdksh, at least).  (The learning curve of bash has
two slopes; one for learning and one for unlearning.  In this case
I also had to unlearn my first language csh, which has source too.)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: BIND 9 problem

2002-11-20 Thread Steve Caine
On 11/20/2002 08:51, [EMAIL PROTECTED] wrote:

 I am working with a BIND 9 server which, for some reason, isn't
 setting the authoritative bit on zones for which it is the
 master (as clearly stated in named.conf).

I recently converted 3 FreeBSD 4.6 machines to Bind 9 and
things seem to be working fine supporting about 60 domains.
If you'll post or email a bit of your named.conf and of one
of your zone files I'll be happy to see if I can see what's
causing the problem.

What version of Bind 9 are you running?

Steve.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: connecting to SCSI drive

2002-11-20 Thread Dan Nelson
In the last episode (Nov 20), Bob Hall said:
 I use a DVD burner for backups, and I usually forget to turn it on
 when I boot my FBSD box. Turning it on and rebooting isn't a big
 deal, but is there a way to get FBSD to see the drive without
 rebooting? Is there a process that can be reset or a command that
 tells FBSD that the drive exists?
 
 FreeBSD 4.4, external DVD-RAM drive.

Power it on once before reboot, then run camcontrol devlist.  Note
the bus, target, and lun numbers of the DVD drive.  Then later you can
use the camcontrol rescan b:t:l command to force the kernel to detect
that device.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Putting home directories on mounted windows network drive

2002-11-20 Thread Mat Branyon
You can put a larger hard drive into the machine, as long as you make
the root/boot partition under the first two gigs.  although your bios
doesn't support large hard-drives, freebsd does.  as far as  i can tell,
freebsd just doesnt get the hard drive info from teh bios.  i had a 40
gig hard drive in an old compaq 166mhz pentium mmx.  never had a problem
with  it.  
you can also mount the ntfs partitions via samba or nfs, whichever you
would rather use.   when you share a filesystem over the network, to my
understanding, file permissions are handled via smb or nfs protocol, of
which both freebsd windows can share.

--mat

--mat

On Wed, 2002-11-20 at 13:45, Adam Lofstedt wrote:
 Hi (Please CC any responses to me, as I get the digest version)
 
 Right now my FBSD firewall box is also my lightly-used ftp server with
 chrooted ftp users.  An old machine (P133, 1.8 G Hard Drive) just got
 freed up, and I would like to move the ftp services over to that old
 thing.  The problem is the Hard Disk is real small, and the board won't
 support a larger one.  I do have plenty of space on several windows
 machines (NTFS) partitions, and was wondering if I could just mount an
 NTFS network partition on the FTP box, and store the User's Home
 directories on that Partition.  Do you see anything wrong with this
 approach?  How are permissions handled (a mix of NTFS and UNIX
 permissions?)?  Can you even mount a networked windows drive in FBSD
 (using Samba I guess)?
 
 Thanks for any advice!
 
 Adam
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [oetiker@ee.ethz.ch: Re: MRTG problem]

2002-11-20 Thread Frank Reppin
On Thu, 21 Nov 2002, budsz wrote:

 - Forwarded message from Tobias Oetiker [EMAIL PROTECTED] -

[...]
 Today budsz wrote:

  Hi sir,
 
  Sorry if I send private this message, I use FreeBSD in my system, So far
  so good but yesterday I tried to upgrade mrtg 2.9.22 to mrtg 2.9.26
  (Via porting), After that I get some error in mrtg, I have bandwidth only
  64 kbps but in mrtg look like:
 
  Max  In: 34.4 Gb/s (343597.8%)Average  In: 34.3 Gb/s 
(343062.0%)   Current  In: 12.9 Gb/s (129421.8%)
  Max  Out: 9223372036.9 Gb/s (92233720368547.8%)   Average  Out:110364024184.7 Gb/s 
(1103640241846862.6%)   Current  Out: 41635330833.4 Gb/s (416353308334472.8%)
 

Hello,

same here - I just did the upgrade too (after I've recognized, that there
were some patches available now - after the initial port to 2.2.26).
So the prob still persists in the current portstree (built on a 4.3-p20).

budsz: have you already informed the maintainer?

best regards,

Frank Reppin

-- 

no sig - *sighs*



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Can't boot with FTP floppies

2002-11-20 Thread Assayer

Hello again:

Please disregard my prior e-mail, below, as I believe the problem was my ram memory is 
too small on the computer.   I tried your floppies on a 24 meg ram computer and they 
work fine.

The computer I had been trying load on was a DEC with 8 megs of ram.  
It worked on the earlier distro, but not the later ones.

Thanks,

P. Reed
--

Date: Wed, 20 Nov 2002 11:59:50 -0800
X-Priority: 3
To: [EMAIL PROTECTED]
Subject: Can't boot with FTP floppies


Hello:

I downloaded your FTP boot floppies for versions 4.6, then 4.6.2, and 4.7, kern.flp 
and mfsroot.flp, used FDImage to put them on MSDos floppies but they failed to get an 
options screen after both disks were loaded.   Kern.flp loaded then the mfsroot.flp 
loaded but produced a boot prompt and nothing else, giving the message No 
/boot/loader and then No /Kernel.   Hitting the enter key did nothing except 
repeat the boot prompt.

I then tried version Free BSD 4.4 floppy files from a CD, kern.flp and mfsroot.flp, 
using FDImage, and they worked fine, putting me into an options screen for 
partitioning the hard drive.   I noticed the CD floppy files had a /sysinstall screen 
that the FTP floppies lacked.

Is part of the boot loader missing from your more recent version FTP floppy files?

I've tried everything, even reading the instructions, but nothing works except the 
earlier boot floppies from the CD.

Thanks for any ideas.

P. Reed
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Bandwidth Monitor

2002-11-20 Thread Andrew Brampton
Hi,
I've looked high and low but I haven't be able to find the tool I want.

I just want a simple way to see how many bandwidth/throughput my FreeBSD is
using. For example I want to know how many kb/second are coming in and out
of specific network cards. Eventually I will read these stats every minute,
and make a nice little graph, or something similar.

Also something similar, on windows I have a firewall that can show me all
the connections made in and out of the box, with the current speed of each
app.

I'm pretty sure FreeBSD will have these, but my searching of Ports and
google have yet to find me exactly what I want.

thanks
Andrew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: connecting to SCSI drive

2002-11-20 Thread Bob Hall
On Wed, Nov 20, 2002 at 11:38:17AM -0800, paul beard wrote:
 Dan Nelson wrote:
 
 
 
 Power it on once before reboot, then run camcontrol devlist.  Note
 the bus, target, and lun numbers of the DVD drive.  Then later 
 you can
 use the camcontrol rescan b:t:l command to force the kernel to 
 detect
 that device.

Dan  Paul, 

Thanks. I'll try your suggestions.
 
 I'm not sure you need to reboot: my experience has been that 
 powering the device on and running some camcontrol commands which 
 I don't recall off-hand would allow the device to be accessed.

I think he means that I should reboot once to get some info, and 
then I can reuse the info in future sessions without having to 
reboot. 

Bob Hall

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Bandwidth Monitor

2002-11-20 Thread Maciej Król
Hello Andrew,

Wednesday, November 20, 2002, 9:43:35 PM, you wrote:

AB Return-Path: [EMAIL PROTECTED]
AB Delivered-To: [EMAIL PROTECTED]
AB Received: from localhost (localhost [127.0.0.1])
AB by oceanic.wsisiz.edu.pl (Postfix) with ESMTP id 84C0F98406
AB for [EMAIL PROTECTED]; Wed, 20 Nov 2002 21:53:28 +0100 (CET)
AB Received: from portraits.wsisiz.edu.pl (portraits.wsisiz.edu.pl [213.135.44.34])
AB by oceanic.wsisiz.edu.pl (Postfix) with ESMTP id A0D3E98408
AB for [EMAIL PROTECTED]; Wed, 20 Nov 2002 21:53:26 +0100 (CET)
AB Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119])
AB by portraits.wsisiz.edu.pl (8.12.6/8.12.6) with ESMTP id gAKKrL7b005515
AB for [EMAIL PROTECTED]; Wed, 20 Nov 2002 21:53:25 +0100
AB Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
AB by mx2.freebsd.org (Postfix) with ESMTP
AB id EA15C5659B; Wed, 20 Nov 2002 12:44:14 -0800 (PST)
AB (envelope-from [EMAIL PROTECTED])
AB Received: by hub.freebsd.org (Postfix, from userid 538)
AB id 0167A37B406; Wed, 20 Nov 2002 12:44:04 -0800 (PST)
AB Received: from localhost (localhost [127.0.0.1])
AB by hub.freebsd.org (Postfix) with SMTP
AB id D30842E801A; Wed, 20 Nov 2002 12:44:04 -0800 (PST)
AB Received: by hub.freebsd.org (bulk_mailer v1.12); Wed, 20 Nov 2002 12:44:04 -0800
AB Delivered-To: [EMAIL PROTECTED]
AB Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
AB by hub.freebsd.org (Postfix) with ESMTP id F184F37B404
AB for [EMAIL PROTECTED]; Wed, 20 Nov 2002 12:44:03 -0800 (PST)
AB Received: from murphys.services.quay.plus.net (murphys.services.quay.plus.net 
[212.159.14.225])
AB by mx1.FreeBSD.org (Postfix) with SMTP id 577D843E6E
AB for [EMAIL PROTECTED]; Wed, 20 Nov 2002 12:43:52 -0800 (PST)
AB (envelope-from [EMAIL PROTECTED])
AB Received: (qmail 20713 invoked from network); 20 Nov 2002 20:43:35 -
AB Received: from bramp.plus.com (HELO andrew) (195.166.150.244)
AB   by murphys.services.quay.plus.net with SMTP; 20 Nov 2002 20:43:36 -
AB Message-ID: 161901c290d5$7fb99de0$0300a8c0@andrew
AB From: Andrew Brampton [EMAIL PROTECTED]
AB To: [EMAIL PROTECTED]
AB Subject: Bandwidth Monitor
AB Date: Wed, 20 Nov 2002 20:43:35 -
AB MIME-Version: 1.0
AB Content-Type: text/plain;
AB charset=iso-8859-1
AB Content-Transfer-Encoding: 7bit
AB X-Priority: 3
AB X-MSMail-Priority: Normal
AB X-Mailer: Microsoft Outlook Express 6.00.2800.1106
AB X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
AB Sender: [EMAIL PROTECTED]
AB List-ID: freebsd-questions.FreeBSD.ORG
AB List-Archive: http://docs.freebsd.org/mail/ (Web Archive)
AB List-Help: mailto:[EMAIL PROTECTED]?subject=help (List Instructions)
AB List-Subscribe: 
mailto:[EMAIL PROTECTED]?subject=subscribe%20freebsd-questions
AB List-Unsubscribe: 
mailto:[EMAIL PROTECTED]?subject=unsubscribe%20freebsd-questions
AB X-Loop: FreeBSD.ORG
AB Precedence: bulk
AB X-Virus-Scanned: by AMaViS perl-11
AB Status:  O

AB Hi,
AB I've looked high and low but I haven't be able to find the tool I want.

AB I just want a simple way to see how many bandwidth/throughput my FreeBSD is
AB using. For example I want to know how many kb/second are coming in and out
AB of specific network cards. Eventually I will read these stats every minute,
AB and make a nice little graph, or something similar.

AB Also something similar, on windows I have a firewall that can show me all
AB the connections made in and out of the box, with the current speed of each
AB app.

AB I'm pretty sure FreeBSD will have these, but my searching of Ports and
AB google have yet to find me exactly what I want.

AB thanks
AB Andrew


AB To Unsubscribe: send mail to [EMAIL PROTECTED]
AB with unsubscribe freebsd-questions in the body of the message

Did you check

/usr/ports/net/darkstat  ?

-- 
Best Regards

MK


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Bandwidth Monitor

2002-11-20 Thread Frank Reppin
On Wed, 20 Nov 2002, Andrew Brampton wrote:

 Hi,

Hi,

 I've looked high and low but I haven't be able to find the tool I want.

 I just want a simple way to see how many bandwidth/throughput my FreeBSD is
 using. For example I want to know how many kb/second are coming in and out
 of specific network cards. Eventually I will read these stats every minute,
 and make a nice little graph, or something similar.

1) really fast (to install and to see first results) solution:

/usr/ports/net/ntop
http://www.ntop.org/ntop.html
(but I have no idea how it will behave on a busy
wire - seeing a lot of connections - over a longer time)

2) MRTG

/usr/ports/net/mrtg
http://www.mrtg.org

provides you with some scripts in it's contrib/
to monitor bandwith by using 'ipfw count' rules
(it produces nicely configurable graphs in a min. 5min interval)


best regards,

Frank Reppin

-- 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ports and Perl version

2002-11-20 Thread Matthew Seaman
On Wed, Nov 20, 2002 at 11:33:28AM -0800, Dayne Miller wrote:

 Anyway, I went to install Nagios (via ports) the other day, and the SNMP plugin 
 install quit because of complaints that it needed a newer version of Perl that 
 that which came with the system. Since I actually have that newer version 
 already in, I just need to figure out where the port Makefiles are pulling their 
 path info from. Or find a way to explicitly state which Perl version to use in 
 the make process. I'm unsure of how to do this.

Just type:

# use.perl port

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: VPN and roaming Windows 2K users

2002-11-20 Thread Jim Durham
On Wednesday 20 November 2002 02:24 pm, Philip Hallstrom wrote:
 [snip]

I use racoon and IPSEC between offices with FreeBSD boxes on each
end.
  
   Have you ever tried using vtun between the FreeBSD machines?  I've
   never used racoon/IPsec between FreeBSD machines, but I was overjoyed
   at the simplicity and workability of vtun.
   Just curious if anyone has used both that could compare them.
 
  Yes, I used vtun for about a year. It worked fine as long as the network
  stayed up between here and the West Coast, but, when it went down for
  any length of time, which happens quite regularly in the middle of the
  night, it wouldn't reestablish. I find that IPSEC is more robust and you
  don't need to run PPP over it (although technically, you don't have to
  with vtun). IPSEC stays up and reestablishes itself.

 I've never run ipsec, but have used vtun for about 3 years b/n 4 different
 DSL/cablemodem setups and it re-establishes it's connections for me... at
 least I've never had a problem with it...  from the man page:

persist yes|keep|no
   persist mode.  If  yes,  the  client  will  try  to
   reconnect  to  the server after connection termina-
   tion.  If keep, the client will not remove and  re-
   add  the  tunXX  or tapXX device when reconnecting.
   If no, the client will exit (default).  This option
   is ignored by the server.

 -philip

I remember using that. The details are coming back to me now. We
were getting situations where the network would go down, then come
back long enough for things to start reestablishing and then go down
again. After a few of these, I would get a call from the other office
about..network's down again. I could then kill both vtund's and
start from scratch and all was well. It was probably some kind of a 
race condition. (We also have a better network provider now 8-)  ).
-Jim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Buf, Wired and Inact memory

2002-11-20 Thread Avleen Vig
I' asking here because I don't think the top an page is discriptive neough
for people who 'just don't get it' ;)

I understand that Inact memory is memory that has been requested by
processes but not in use. Is this correct?

I don't understand however, what Buf and Wired memory is used for. How
many I free some of this up for use by my other processes?

The top of my Top output looks like:
66 processes:  2 running, 64 sleeping
CPU states:  1.5% user,  0.0% nice,  1.5% system,  0.0% interrupt, 96.9% idle
Mem: 49M Active, 37M Inact, 27M Wired, 6000K Cache, 22M Buf, 5448K Free
Swap: 256M Total, 5920K Used, 250M Free, 2% Inuse

Yeah it's a fairly idle system but has a few stability issues which I
think as disk related.
It's running qmail, djbdns (may switch to bind but i know that would use
more memory), apache 2, and some user apps like pine, irssi, screen, etc.

Any advice on optimizin memory usage would be really appreciated. It's
only a little P166 with 128Mb :-)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Bandwidth Monitor

2002-11-20 Thread Nathan Kinkade
On Wed, Nov 20, 2002 at 08:43:35PM -, Andrew Brampton wrote:
 Hi,
 I've looked high and low but I haven't be able to find the tool I want.
 
 I just want a simple way to see how many bandwidth/throughput my FreeBSD is
 using. For example I want to know how many kb/second are coming in and out
 of specific network cards. Eventually I will read these stats every minute,
 and make a nice little graph, or something similar.
 
 Also something similar, on windows I have a firewall that can show me all
 the connections made in and out of the box, with the current speed of each
 app.
 
 I'm pretty sure FreeBSD will have these, but my searching of Ports and
 google have yet to find me exactly what I want.
 
 thanks
 Andrew

I have found a little utility called trafshow to be useful.  It gives
you per-connection stats, as well as overall throughput for a given
interface.  It's at /usr/ports/net/trafshow.

Nathan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: NAT Help

2002-11-20 Thread Derrick Ryalls
 Hi,
 
 I'm trying to get NAT up and running on my FreeBSD
 4.7R gateway machine and have hit a bit of a wall. 
 Have looked around online for FAQs and other help and
 haven't really been able to isolate the problem this
 way.  If anyone can offer advice, I would be most
 appreciative.
 
 I have a FreeBSD machine configured as a gateway for a
 LAN.  The BSD machine has two NICs (fxp0 and vr0). 
 fxp0 is connected to a router via ethernet, which in
 turn is connected to the Net via ADSL.  The router is
 very basic and doesn't have all of the functions we
 require, hence the BSD box being the gateway.
 
 vr0 is connected to a hub for the LAN, which all uses
 internal 10.0.0.x IP addressing.  The FreeBSD box
 provides DHCP for this range.  All of this is working 
 correctly.  We also have a couple of external IPs which I 
 would like to map onto a couple of servers on the private 
 LAN, and herein lies the problem.  I just can't seem to get 
 NAT working to redirect these IPs from the BSD machine to the 
 relevant internal IP.
 
 On the BSD machine, I've compiled a kernel with the
 following options:
 
 options IPFIREWALL
 options IPDIVERT
 options IPFIREWALL_DEFAULT_TO_ACCEPT
 options IPFIREWALL_VERBOSE
 
 The following options exist in rc.conf:
 
 gateway_enable=YES 
 firewall_enable=YES 
 firewall_type=OPEN 
 natd_enable=YES 
 natd_interface=fxp0 
 natd_flags=-redirect_address 10.0.0.2 x.x.x.x 
 -redirect_address 10.0.0.3 x.x.x.x 
 
 (where x.x.x.x is of course the external IP).
 
 rc.conf also contains the following ipconfig settings
 for the external IP addresses (of which there are 5).
 
 ifconfig_fxp0_alias0=inet x.x.x.x netmask
 255.255.255.248
 ifconfig_fxp0_alias1=inet x.x.x.x netmask
 255.255.255.248
 ifconfig_fxp0_alias2=inet x.x.x.x netmask
 255.255.255.248
 ifconfig_fxp0_alias3=inet x.x.x.x netmask
 255.255.255.248
 ifconfig_fxp0_alias4=inet x.x.x.x netmask
 255.255.255.248

I am no expert and have never aliased before, but I think you need to
use the netmask of 255.255.255.255 (0x) for aliases.

 
 alias0 is used as the IP address for the gateway
 machine and my intention is to redirect traffic on the 
 remaining four addresses to other machines on the LAN.  This 
 is where it falls down and I'm stumped.
 
 Regards,
 
 Ben Craig.
 
 =
 --
 Benjamin Craig
 Executive Producer
 Cinemagine Limited
 
 
 __
 Do You Yahoo!?
 Everything you'll ever need on one web page
 from News and Sport to Email and Music Charts http://uk.my.yahoo.com
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: shutdown with power button

2002-11-20 Thread ertank
David Siebörger writes: 

At 11:12 PM on Monday 18 November 2002, [EMAIL PROTECTED] wrote:

I want to learn if there is a way to make the system shutdown with the key 
on the case. 

Provided your system supports ACPI, that feature will be available in
FreeBSD 5.


Does 5.0 DP2 has this feature? 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Putting home directories on mounted windows network drive

2002-11-20 Thread mat branyon
i remember something a while back where you can mount via the smb
protocol, but i never read further into it
--mat

On Thu, 2002-11-21 at 02:53, Laszlo Vagner wrote:
 Mat Branyon wrote:
 
 You can put a larger hard drive into the machine, as long as you make
 the root/boot partition under the first two gigs.  although your bios
 doesn't support large hard-drives, freebsd does.  as far as  i can tell,
 freebsd just doesnt get the hard drive info from teh bios.  i had a 40
 gig hard drive in an old compaq 166mhz pentium mmx.  never had a problem
 with  it.  
 you can also mount the ntfs partitions via samba or nfs, whichever you
 would rather use.   when you share a filesystem over the network, to my
 understanding, file permissions are handled via smb or nfs protocol, of
 which both freebsd windows can share.
 
 --mat
 
 --mat
 
 On Wed, 2002-11-20 at 13:45, Adam Lofstedt wrote:
   
 
 Hi (Please CC any responses to me, as I get the digest version)
 
 Right now my FBSD firewall box is also my lightly-used ftp server with
 chrooted ftp users.  An old machine (P133, 1.8 G Hard Drive) just got
 freed up, and I would like to move the ftp services over to that old
 thing.  The problem is the Hard Disk is real small, and the board won't
 support a larger one.  I do have plenty of space on several windows
 machines (NTFS) partitions, and was wondering if I could just mount an
 NTFS network partition on the FTP box, and store the User's Home
 directories on that Partition.  Do you see anything wrong with this
 approach?  How are permissions handled (a mix of NTFS and UNIX
 permissions?)?  Can you even mount a networked windows drive in FBSD
 (using Samba I guess)?
 
 Thanks for any advice!
 
 Adam
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
   
 
 yes freebsd dont use the bios to access hard disks, I have a 30 gig 
 drive in my old
 IBM 760 (pentium 166) laptop.
 
 I think he wants Rumba though, he wants to mount a windows shared 
 directory onto the fbsd machine.
 samba does the opposite unless things have changed in the last few 
 months? correct me if i am wrong.
 
 
 
 
 
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: wordperfect tarfile needed to port to install: missing?

2002-11-20 Thread paul beard
Beech Rintoul wrote:



 From what I understand Corel is getting totally out of
 unix/linux. The dist.
 may no longer be available. You might want to consider one of
 the other
 office packages.



Their site claims otherwise, from what I saw this AM. All I need
is to open a wordperfect file, so I'll hunt around from some kind
of translator.
--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

UFO's are for real: the Air Force doesn't exist.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: wordperfect tarfile needed to port to install: missing?

2002-11-20 Thread David Varieur
On Wed, 20 Nov 2002 12:14:28 -0800
paul beard [EMAIL PROTECTED] wrote:

 Beech Rintoul wrote:
 
 
  
   From what I understand Corel is getting totally out of
   unix/linux. The dist.
   may no longer be available. You might want to consider one of
   the other
   office packages.
  
 
 
 Their site claims otherwise, from what I saw this AM. All I need
 is to open a wordperfect file, so I'll hunt around from some kind
 of translator.
 -- 

Google is your friend. GUILG00.GZ ftp yields this link on the second result.

http://www.linuxmafia.com/wpfaq/downloadwp8.html



---
David Varieur

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: wordperfect tarfile needed to port to install: missing?

2002-11-20 Thread paul beard
David Varieur wrote:



Google is your friend. GUILG00.GZ ftp yields this link on the 
second result.

http://www.linuxmafia.com/wpfaq/downloadwp8.html

Of course it does: I cannot brain today. Thanks for doing it for me.


--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

The scum also rises.
		-- Dr. Hunter S. Thompson


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: panic: kmem_map too small

2002-11-20 Thread Petri Helenius
David Schultz wrote:


Thus spake Petri Helenius [EMAIL PROTECTED]:
 

I seem to get kmem_map too small panics when using large buffers with
bpf. Is there a tunable I should be increasing?
   


Yes, increase KVA_PAGES in your kernel config.
 

I put in KVA_PAGES=1024
with following results on next boot:

Fatal trap 12: page fault while in kernel mode
cpuid = 1; lapic.id = 0600
fault virtual address   = 0x1
fault code  = supervisor write, page not present
instruction pointer = 0x8:0xc01efc88
stack pointer   = 0x10:0xdf0ccbcc
frame pointer   = 0x10:0xdf0ccbf0
code segment= base 0x0, limit 0xf, type 0x1b
   = DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 15 (swi1: net)
trap number lastlog: Permission denied

Removing the option and recompiling kernel from the same sources makes 
it work fine.

Pete



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: panic: kmem_map too small

2002-11-20 Thread Robert Watson

On Wed, 20 Nov 2002, Petri Helenius wrote:

 David Schultz wrote:
 
 Thus spake Petri Helenius [EMAIL PROTECTED]:
   
 
 I seem to get kmem_map too small panics when using large buffers with
 bpf. Is there a tunable I should be increasing?
 
 
 
 Yes, increase KVA_PAGES in your kernel config.
   
 
 I put in KVA_PAGES=1024
 with following results on next boot:
 
 Fatal trap 12: page fault while in kernel mode
 cpuid = 1; lapic.id = 0600
 fault virtual address   = 0x1
 fault code  = supervisor write, page not present
 instruction pointer = 0x8:0xc01efc88
 stack pointer   = 0x10:0xdf0ccbcc
 frame pointer   = 0x10:0xdf0ccbf0
 code segment= base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
 processor eflags= interrupt enabled, resume, IOPL = 0
 current process = 15 (swi1: net)
 trap number lastlog: Permission denied
 
 Removing the option and recompiling kernel from the same sources makes 
 it work fine.

Looks like some network stack code is responding poorly to malloc()
failing (which it can).  Any chance you can generate a stack trace for
this by compiling DDB into your kernel, then using the trace command to
generate the trace?

Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
[EMAIL PROTECTED]  Network Associates Laboratories



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: panic: kmem_map too small

2002-11-20 Thread David Schultz
Thus spake Petri Helenius [EMAIL PROTECTED]:
 I seem to get kmem_map too small panics when using large buffers with
 bpf. Is there a tunable I should be increasing?

 
 
 Yes, increase KVA_PAGES in your kernel config.
  
 
 I put in KVA_PAGES=1024
 with following results on next boot:
 
 Fatal trap 12: page fault while in kernel mode

Read LINT (or NOTES) carefully.  You can't set KVA_PAGES to 1024,
because then your kernel would take up the entire 4 GB virtual
address space.  Since the kernel must fit into 4 GB alongside
every user process, that leaves you no room for programs.  Try a
more reasonable value like 512 (2 GB).

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: shutdown with power button

2002-11-20 Thread Dan Nelson
In the last episode (Nov 20), [EMAIL PROTECTED] said:
 David Siebörger writes: 
 
 At 11:12 PM on Monday 18 November 2002, [EMAIL PROTECTED] wrote:
 I want to learn if there is a way to make the system shutdown with the 
 key on the case. 
 
 Provided your system supports ACPI, that feature will be available in
 FreeBSD 5.
 
 Does 5.0 DP2 has this feature? 

Yes.  You can also tell the system whether to sleep or shutdown, for
every button ACPI has access to (handly for laptops where you want the
lid switch to shutdown the system instead of put it in standby, for
example).

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Setting date with securelevel over 1

2002-11-20 Thread Brendan McAlpine
Hey all,

Is there an easy way to set the date using the date command when 
securelevel is over 1?

TIA

B


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Acroread5

2002-11-20 Thread Simon1
I'm having troubles opening PDF files with Acroread5 (acroread-5.06_1,
installed from ports).


As root, I can open any file and I'll never get an error.

As a user, I can't open ANY files with the default settings. I always get
an error:


Title of the error window: Acrobat Reader 2 (I should note: The 2 ONLY
was displayed when I loaded Acrobat Reader, THEN went to file-open, if I
just acroread5 test.pdf from the command line, the error was the same, but
the 2 was NOT in the error windows title bar.)


There was an error opening this document. A temporary file could not be
opened.

So, I checked permissions on /tmp

drwxrwxrwt  13 rootwheel  512 Nov 20 17:22 tmp

I am able to create and delete files in /tmp as this user.

$ touch /tmp/test
$ ls -al /tmp/test
-rw-r--r--   1 simon1  wheel0 Nov 20 17:46 test
$ rm /tmp/test
$ ls -al /tmp/test
ls: /tmp/test: No such file or directory

Our of curiosity,
$ mkdir /home/simon1/tmp
$ chmod 600 /home/simon1/tmp
$ TEMP=/home/simon1/tmp ; export TEMP
$ acroread5 test.pdf

I get the same error as with /tmp.

Next I tried:
$ chmod 700 /home/simon1/tmp
$ acroread5 test.pdf

Which worked beautifully.

I've done searches on the net (Google, FreeBSD, and I read the man page 
ports information) and I haven't seen anyone mention what's going on. I
see where a insecure /tmp file vulnerability has been fixed. On my past
install of FreeBSD + Acroread5 from ports about 3 months ago I didn't have
this problem. So I'm wondering if the fix isn't what's causing this.

I'm running 4.7-RELEASE.

Could anyone tell me what I'm doing wrong or what I need to set to use
acroread normally? Also, if the default behavior of acroread has been
changed to require people to use their own personal temporary directories
could this please be added to the documentation and information displayed
when the port is installed?

-Wolfe


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Acroread5

2002-11-20 Thread paul beard
Simon1 wrote:



Could anyone tell me what I'm doing wrong or what I need to set 
to use
acroread normally? Also, if the default behavior of acroread has 
been
changed to require people to use their own personal temporary 
directories
could this please be added to the documentation and information 
displayed
when the port is installed?


does it use /tmp or /var/tmp?

--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

A classic is something that everybody wants to have read and nobody
wants to read.
		-- Mark Twain


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Acroread5

2002-11-20 Thread Simon1
 does it use /tmp or /var/tmp?

I don't know. It's not something I can see from within the program,
and strace always coredumps, so I'm not sure what it's trying to use.

/var/tmp:
drwxrwxrwt   3 rootwheel512 Nov 20 17:34 tmp


  Could anyone tell me what I'm doing wrong or what I need to set
  to use
  acroread normally? Also, if the default behavior of acroread has
  been
  changed to require people to use their own personal temporary
  directories
  could this please be added to the documentation and information
  displayed
  when the port is installed?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Putting home directories on mounted windows network drive

2002-11-20 Thread Anthony Abby
smbfs is what you're looking for.  Or at least it's what I use in Linux.

mount -t smbfs //desktop/owner -o username=owner -o password=password 
/mnt/smb1

Anthony


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



playing realaudio files

2002-11-20 Thread JacobRhoden
Hi,

I have searched the ports collection and can only find a realaudio server. How 
do you guys normally play real audio files. This is one that google wasnt to 
helpful on.

Regards,
Jacob Rhoden
 
Jacob RhodenPhone: +61 3 8344 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Putting home directories on mounted windows network drive

2002-11-20 Thread Adam Lofstedt
 
 smbfs is what you're looking for.  Or at least it's what I 
 use in Linux.
 
 mount -t smbfs //desktop/owner -o username=owner -o password=password 
 /mnt/smb1
 
 Anthony
 
So smbfs doesn't even require samba to be installed?  I read about
Sharity Light and Sharity, but if smbfs is already on a base install of
FreeBSD, then I don't think I even need it.  Can anyone confirm if smbfs
is included in the FreeBSD install, along with the other mounts like
ntfs, dos, etc?

Thanks for all the replies!

Adam


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD gateway

2002-11-20 Thread Constantine
Marc Perisa wrote:

Derrick Ryalls wrote:


Hello!
I have installed FreeBSD 4.7 recently, and it seems it does not want 
to work as a gateway. I have two network cards in my FreeBSD 
computer, fxp0 for LAN and sis0 for the cable modem. I am new to 
FreeBSD, so I am confused what the difference between gateways and 
routers is (I was thinking they link to the same thing). I can ping 
my FreeBSD box from winxp, I can ping internet from remote session to 
FreeBSD, but I cannot ping internet from my winxp.
My winxp has ip 192.168.0.1, netmask 255.255.255.0, and gateway 
192.168.0.18 settings. Now FreeBSD /etc/rc.conf follows:

gateway_enable=YES
kern_securelevel_enable=NO
nfs_reserved_port_only=YES
ifconfig_sis0=DHCP
ifconfig_fxp0=inet 192.168.0.18  netmask 255.255.255.0 
#router_enable=YES # from handbook gateway_enable=YES 
firewall_enable=YES firewall_type=OPEN natd_enable=YES 
natd_interface=sis0 


 natd_flags= #/ handbook




Are your ip's reversed?  I think the gateway should have the .1 address
and the xp box should use the .18



Nope. He set his FreeBSD box to the IP 192.168.0.18 and his Windows XP 
box to 192.168.0.1 . All is ok with that. It is only uncommon to do. 
Normally you would give the defaultgateway for a network x.y.z.1 or 
x.y.z.254 . But it is not forbidden to set it to any IP in that subnet.


Are you using the default kernel?  If so, you will need to add a couple
lines are recompile.

options IPFIREWALL  #firewall
options IPDIVERT#divert sockets

as for the difference between a router and a gateway, a gateway is a
machine to deal with going from one network (lan) to another network
(wan), I think.



 From your point of view (as needed for this problem) routers and 
gateways are the same. In this case the FreeBSD box is acting as a 
router for your internal net to the Internet. A simple router would do 
the same. But for more complex routing you have to either setup gated 
(or similar software) or add all rules (if they are static) by hand.
A gateway is the simplest form of a router.

The last two lines from dmesg:
IP packet filtering initialized, divert disabled, rule-based 
forwarding enabled, default to deny, logging disabled
ip_fw_ctl: invalid command



That hints to a problem with the /etc/rc.firewall script (which is 
called when you add to /etc/rc.conf firewall_enable=YES).

Please provide us with the output of ipfw list. (You have to do that 
as root of course). I think your firewall ruleset is not tuned for a 
gateway situation.

Hope that helps

Marc



# ipfw show
001000   0 allow ip from any to any via lo0
002000   0 deny ip from any to 127.0.0.0/8
003000   0 deny ip from 127.0.0.0/8 to any
65000 8102 5158330 allow ip from any to any
655351  60 deny ip from any to any

I want FreeBSD to act as a simple gateway for my LAN, but for some 
reason it does not want to work that way, though I have confirmed to the 
installation programme that I want FreeBSD to function as a gateway. 
What are the simplest steps I need to follow to make FreeBSD act as a 
gateway? (I have a fresh 4.7R installation)

Thanks.

Constantine


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


How to return file date only?

2002-11-20 Thread How Can ThisBe
I am trying to return the creation date of a file in MMDDhhmmYY format. I'm 
sure there is a command, I just can not find it.

Under cygwin the command is `date +%m%d%H%M%y -r $FILE`, however FreeBSD 
does not have this function with 'date'

Thanks for any help!




_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Sony camera

2002-11-20 Thread Victor R. Cardona
On Mon, Nov 18, 2002 at 10:31:06PM -0500, John Bleichert wrote:
 On Tue, 19 Nov 2002, Carl Newman wrote:
 
  Date: Tue, 19 Nov 2002 12:19:03 +1000
  From: Carl Newman [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Sony camera
  
  Hi my name is Carl Newman I have very recently started using freeBSD and 
  I am having trouble understanding it.
  I have a Sony DSC-P51 camera and I can't get the images from the camera 
  to the computer via the USB slot.
  I can get the images in windows but not in bsd please help.
  
  Thanks
  
  Carl Newman
  
 
 You'll need to use an application such as gphoto to view images on your 
 camera, I think. Check it's web page to see if your model is supported:

This camera won't work with gphoto. It should work as a usb mass
storage device. It will show up as scsi, and memory sticks will
contain a FAT file system.

Victor


msg09513/pgp0.pgp
Description: PGP signature


Re: How to return file date only?

2002-11-20 Thread Giorgos Keramidas
On 2002-11-20 23:22, How Can ThisBe [EMAIL PROTECTED] wrote:
 I am trying to return the creation date of a file in MMDDhhmmYY
 format. I'm sure there is a command, I just can not find it.

 Under cygwin the command is `date +%m%d%H%M%y -r $FILE`, however
 FreeBSD does not have this function with 'date'

FreeBSD has stat(1).

keramida@gothmog[01:50]/home/keramida stat -f '%c' .
1037835701


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: How to return file date only?

2002-11-20 Thread How Can ThisBe
'stat' does not seem to be installed (at least by default) on a FreeBSD 
4.7-STABLE system

$ stat -f '%c' .
stat: not found

Any other ideas?


From: Giorgos Keramidas [EMAIL PROTECTED]
Subject: Re: How to return file date only?

On 2002-11-20 23:22, How Can ThisBe [EMAIL PROTECTED] wrote:
 I am trying to return the creation date of a file in MMDDhhmmYY
 format. I'm sure there is a command, I just can not find it.

 Under cygwin the command is `date +%m%d%H%M%y -r $FILE`, however
 FreeBSD does not have this function with 'date'

FreeBSD has stat(1).

keramida@gothmog[01:50]/home/keramida stat -f '%c' .
1037835701



_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: playing realaudio files

2002-11-20 Thread paul beard
JacobRhoden wrote:


Hi,

I have searched the ports collection and can only find a 
realaudio server. How
do you guys normally play real audio files. This is one that 
google wasnt to
helpful on.

I use the realplayer.

# pkg_info -W `which realplay`
/usr/local/bin/realplay was installed by package 
linux-realplayer-8.cs2

[/usr/ports]# make search key=realplay
Port:   linux-realplayer-8.cs2
Path:   /usr/ports/audio/linux-realplayer
Info:   Linux RealPlayer 8.0 from RealNetworks
Maint:  [EMAIL PROTECTED]
Index:  audio graphics linux
B-deps: rpm2cpio-1.1.20020306
R-deps: linux_base-7.1_1


--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

I see a good deal of talk from Washington about lowering taxes.  I 
hope
they do get 'em lowered enough so people can afford to pay 'em.
		-- Will Rogers


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: Putting home directories on mounted windows network drive

2002-11-20 Thread Adam Lofstedt
 -Original Message-
 From: James Long [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, November 20, 2002 3:26 PM
 To: Adam Lofstedt
 Subject: Re: Putting home directories on mounted windows network drive
 
 
 On Wed, Nov 20, 2002 at 03:16:34PM -0800, Adam Lofstedt wrote:
   
  So smbfs doesn't even require samba to be installed?  I read about 
  Sharity Light and Sharity, but if smbfs is already on a 
 base install 
  of FreeBSD, then I don't think I even need it.  Can anyone 
 confirm if 
  smbfs is included in the FreeBSD install, along with the 
 other mounts 
  like ntfs, dos, etc?
 
 type 
 
 man mount_smbfs
 
 and see for yourself!
 
Doh!  You're right, I could have answered that myself.  Sure enough it
is.  Great, you've all been very helpful, Thanks!

Adam


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: How to return file date only?

2002-11-20 Thread Giorgos Keramidas
On 2002-11-20 23:57, How Can ThisBe [EMAIL PROTECTED] wrote:
 From: Giorgos Keramidas [EMAIL PROTECTED]
 Subject: Re: How to return file date only?
 
 FreeBSD has stat(1).
 
 keramida@gothmog[01:50]/home/keramida stat -f '%c' .
 1037835701

 'stat' does not seem to be installed (at least by default) on a FreeBSD 
 4.7-STABLE system

 $ stat -f '%c' .
 stat: not found

 Any other ideas?

Perl :)

% cat ctime.pl
use POSIX qw(gmtime strftime);
if (defined($ARGV[0])) {
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks) = stat($ARGV[0]);
print strftime('%T', gmtime($ctime)) . \n;
}

% perl ctime.pl .
00:07:00


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



XFree86 Problem: Cannot Disable Virtual Desktop

2002-11-20 Thread Scott R.
[I am not subscribed to this list, so please cc: me in any replies. 
Thank you.]

For the past couple of days, I have been trying to find something, 
*somewhere* that would tell me how to make my desktop the same size as 
my screen.  Right now, the virtual desktop is roughly twice the size of 
my screen.  I generated my XF86Config file using 'xf86config'.  In the 
past (in version 4.2.0, for example), there was a question in there that 
asked would you like your desktop to be larger than your screen (y/n)? 
(or something along those lines), but, this time through, the question 
was not there and I cannot for the life of me find anything in 
XF86Config, the manpage, the list archives or google to help me out. 
Can anyone give me a clue?

This is XFree86 4.2.1 on FreeBSD 5.0-DP2.  Please let me know if you 
need more information.

Thanks in advance,
Scott



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: XFree86 Problem: Cannot Disable Virtual Desktop

2002-11-20 Thread John Bleichert
On Wed, 20 Nov 2002, Scott R. wrote:
 Date: Wed, 20 Nov 2002 17:07:05 -0800
 From: Scott R. [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: XFree86 Problem:  Cannot Disable Virtual Desktop
 
 [I am not subscribed to this list, so please cc: me in any replies. 
 Thank you.]
 
 For the past couple of days, I have been trying to find something, 
 *somewhere* that would tell me how to make my desktop the same size as 
 my screen.  Right now, the virtual desktop is roughly twice the size of 
 my screen.  I generated my XF86Config file using 'xf86config'.  In the 
 past (in version 4.2.0, for example), there was a question in there that 
 asked would you like your desktop to be larger than your screen (y/n)? 
 (or something along those lines), but, this time through, the question 
 was not there and I cannot for the life of me find anything in 
 XF86Config, the manpage, the list archives or google to help me out. 
 Can anyone give me a clue?
 
 This is XFree86 4.2.1 on FreeBSD 5.0-DP2.  Please let me know if you 
 need more information.
 
 Thanks in advance,
 Scott
 

I can't help directly, but have a suggestion. If you have multiple 
resolutions set you can switch between them with alt+ctrl+[+|-] (plus or 
minus sign on the numpad). I have some hardware at work that was a real 
PITA to get working with X and I never solved the problem you're having. 
However, by loading X, then switching through the resolutions as above, I 
could get the right resolution to fit on the screen.

I can't explain it, but it works. It's not tidy, but it does work. Does 
that work for you?

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Setting date with securelevel over 1

2002-11-20 Thread Kent Stewart


Brendan McAlpine wrote:

Hey all,

Is there an easy way to set the date using the date command when 
securelevel is over 1?

The easiest is to turn it off in rc.conf and reboot, set the time, 
turn it back on and reboot. You are limited to deltas of 1 second in 
the secure mode. It doesn't take a big change before rebooting is much 
quicker. If you have a fulltime network, you can run ntp to keep it on 
time.

Kent

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: shutdown with power button

2002-11-20 Thread Dan Nelson
In the last episode (Nov 21), Ertan Kucukoglu said:
  Yes.  You can also tell the system whether to sleep or shutdown, for
  every button ACPI has access to (handly for laptops where you want the
  lid switch to shutdown the system instead of put it in standby, for
  example).
 
 Last question. Where to set it up? man pages etc. ?

I believe 5.0 will load acpi automatically if a module exists for it. 
If it doesn't, rebuild your kernel with options acpi.

I don't think there are any real docs for it yet.  For setting the
switch states, run sysctl hw.acpi to list the switches acpi knows
about.  The switch names will all end in _state and have a value of
S0..S5, S0 being full power, S1-S3 being different sleep states, S4
being hibernate (not supported afaik), and S5 being power off.  Run
sysctl -w hw.acpi.blahblah_state=S1 to set.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



patches

2002-11-20 Thread Wilkinson,Alex
Howdy crew,

Can someone point me to a paper that explains the process of
writing patches.

Cheers

 - aW


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Épargnez de 15% à 80% sur vos coûts publicitaires !

2002-11-20 Thread Didier__b_r
Du bureau de Didier Bonneville-Roussy
St-Barthélemy


Cher ami et entrepreneur,


Ceci est le premier numéro de la Lettre du marketing géométrique. Le coût de 
l'abonnement pour un an est de 197$.


Par contre, j'ai décidé de vous envoyer cette première lettre gratuitement et de vous 
offrir un abonnement d'essai de trois mois pour seulement 7$. Lisez attentivement les 
informations que je vous livre dans ces huit pages et décidez-vous dans les 15 jours.


Il y a 7 ans, lorsque j'ai commencé en marketing, je me suis rendu compte que je 
pouvais épargner des sommes considérables en frais de publicité en étudiant de manière 
approfondie la nature de la relation entre les médias et les agences de publicité, 
ainsi qu'entre les médias et les organismes communautaires.


J'ai remarqué deux choses: les agences paient toujours moins que les autres 
entreprises et les organismes communautaires paient toujours moins que les agence de 
publicités pour faire paraître leurs annonces.


J'ai découvert comment payer en tout temps le même prix que les agences (rabais de 
15%) et dans certaines circonstances le même prix que les organismes communautaires 
(50% de rabais).


Si vous me laissez vous expliquer comment tout cela fonctionne, vous serez, vous 
aussi, avant la fin de cette lettre, en mesure d'épargner de 15% à 80% sur vos coûts 
publicitaires, et même, dans certains cas, d'obtenir des pages et des pages de 
publicités gratuites.


Commençons par les agences. À peu près tous les médias, radio, télé, journaux, 
magazines, les agents de listes et les sites internet offrent un rabais automatique de 
15% aux agences de publicité qui placent des annonces. Lorsqu'on regarde dans le CARD 
(Canadian Advertising Rates And Data) et le SRDS (Standard Rates And Data Service), 
qui sont les deux répertoires des tarifs publicitaires, nous pouvons noter trois types 
de rabais:


1. Rabais au volume présenté sous forme de prix réduit par ligne agate ou sous forme 
de prix réduit pour un nombre prédéterminé d'insertions en un an;
2. Un rabais de 15% aux agences;
3. Un rabais pour paiement rapide (généralement de 2%).


Le CARD et le SRDS portent tous deux la mention «rabais offert aux agences reconnues 
seulement», lorsque l'agence de publicité peut bénéficier d'un rabais. Cette mention 
ne vaut rien. En fait oui, elle vaut quelque chose, dans la mesure où elle vous 
dissuade de demander le rabais de 15% normalement attribué à l'agence, si vous ne 
faites pas partie d'une agence reconnue.


Mais ça, les représentants publicitaires dans les différents médias ne vous le disent 
pas. Pourquoi? Parce qu'ils sont rémunérés à la commission et qu'il ont tout avantage 
à ne pas vous le dire. De plus, si vous faites vraiment partie d'une agence, vous 
utilisez nécessairement le CARD et le SRDS et vous savez qu'il y a de tels rabais.


Voici le premier secret: il n'existe rien de tel qu'une agence reconnue. N'importe 
quel zouave de Saint-Clin-clin peut-être une agence reconnue. Mon petit frère de neuf 
ans pourrait, demain matin, devenir une agence reconnue s'il disait ces neuf petits 
mots: «Je veux le rabais que vous attribuez aux agences.»


Certains médias sont plus désagréables que d'autres et ne vous accorderont pas de 
rabais pour l'agence si votre compagnie ne porte pas un nom qui ressemble vaguement à 
celui d'une agence de publicité. Mais, si vous êtes intelligent, ce que je crois 
puisque vous me lisez, vous allez courir au palais de justice et vous enregistrer un 
nom d'entreprise du genre «Bingo Marketing» pour 45$ et rappeler ce représentant et 
lui dire que vous appellez maintenant d'une agence reconnue.


Et vous voilà maintenant agence reconnue. Vous avez droit à un rabais de 15%.


De plus, vous avez aussi droit au rabais pour paiement rapide de 2% si vos encaisses 
vous le permettent. C'est, en tout, 17% de rabais sur tous vos achats publicitaires 
que je viens de vous faire épargner.


Ceci est valable pour les journaux, les magazines, la radio, la télévision, les sites 
internet, les agents de listes, les posters, les publi-sacs, etc.


Maintenant, pour le rabais de type volume, je ne vous conseille en aucun cas de 
l'utiliser et surtout si une agence vous le propose.


D'ailleurs, je défie n'importe qu'elle agence sur ce sujet. Prenez votre bottin et 
demandez-leur comment épargner de l'argent sur vos achats publicitaires. Écoutez 
attentivement la merde qu'ils vous servent et comparez l'information que je vous donne 
ici. Il n'y a aucune commune mesure.


Revenons au rabais de type volume. En gros, c'est une proposition qui ne peut que 
défavoriser l'annonceur. D'abord, les rabais sont ridiculement bas, généralement 
quelques dollars sur des milliers, ensuite, d'un point de vue strictment marketing 
géométrique, c'est le meilleur moyen de vous faire avoir.


Voici pourquoi: Il s'agit de contrats fondés sur l'utilisation du média sur une 
période d'un an. Par exemple vous recevez un rabais de X% si vous placez 4 

Re: patches

2002-11-20 Thread Giorgos Keramidas
On 2002-11-21 11:13, Wilkinson,Alex [EMAIL PROTECTED] wrote:
 Can someone point me to a paper that explains the process of
 writing patches.

Patches are nothing more than the output of diff(1).  What uses they
are put in and how that is done is a totally different matter, which
is more of a policy thing than anything related to diff(1) itself.

What patches are you referring to?  Perhaps then it will be easier to
answer in more detail.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: patches

2002-11-20 Thread Kenneth Culver
You don't really write patches... you write code in the current code
that's already there, and then you use diff to generate patches...

this is very easy if you are using cvs to keep track of your code...

cvs diff file.c (I like to use cvs diff -u but that's personal
preferance).

if you aren't using cvs then you have to keep a copy of the original
source and do this

diff -u file.c.orig file.c.modified

Ken

On Thu, 21 Nov 2002, Wilkinson,Alex wrote:

 Howdy crew,

 Can someone point me to a paper that explains the process of
 writing patches.

 Cheers

  - aW


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: How to return file date only?

2002-11-20 Thread david
On Wednesday 20 November 2002 18:57, How Can ThisBe wrote:
 'stat' does not seem to be installed (at least by default) on a FreeBSD
 4.7-STABLE system

 $ stat -f '%c' .
 stat: not found

 Any other ideas?
Always ports if you want to use it.

snoopy(/home/ph1)% whereis stat
stat: /usr/ports/sysutils/stat

[snip]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Samba not working properly

2002-11-20 Thread Khairil Yusof
This is not a FreeBSD specific questions, but I'm why it doesn't work.

Windows computers can see my FreeBSD box, home directories, printer and
shared folders.

But I can't see any windows machine at all, I get this:

$findsmb

Doesn't even list my own server. Yet this exists and everybody can see
the freebsd server. I so have ipfw set up with nat, but internal traffic
is not diverted and all smb ports are open.

$ smbclient -L //mayu

added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
Got a positive name query response from 127.0.0.1 ( 192.168.1.2 )
error connecting to 192.168.1.2:139 (Permission denied)
Error connecting to 192.168.1.2 (Permission denied)
Connection to mayu failed

Any help appreciated as always


-- 
Khairil Yusof [EMAIL PROTECTED]



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


Re: novell.

2002-11-20 Thread John Bleichert
On Wed, 20 Nov 2002, Matthew Bettinger wrote:

 Date: Wed, 20 Nov 2002 18:12:08 -0600
 From: Matthew Bettinger [EMAIL PROTECTED]
 To: 'freebsd-questions' [EMAIL PROTECTED]
 Subject: novell.
 
 Hello,
 
 Are there any Novell rconsole, pconsole clients for FreeBSD ?
 
 Regards,
 
 Matt Bettinger
 

I don't know squat about Novell software, but a search at the ports page 
shows up 'ncplib-1.3.4': 

http://www.freebsd.org/cgi/ports.cgi?query=novellstype=all

HTH - JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



  1   2   >