Two Preinstall Questions

2003-11-10 Thread Ralph F. De Witt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi:
I have two questions before I plunge in and make my first FreeBSD install.
Normally I keep a back up copy of all my data in a ReiserFS formated partion
on my hard drive. When I do a Linux Distribution install I will reformat the
non back up partions and then restore my data by copying from the backup
partion. Will I be able to do this with my FreeBSD install? Will FreeBSD be
able to mount and read write data from this Linux Reiserfs formated partion?
My second question is hardware related. Is the Logitech 4000 Pro USB Web
camera supported in FreeBSD? Thanks very much for your help.
- -- 
Ralph
**
Libranet Linux: version 2.8.1
2.4.21 kernel
ralphfdewitt on Yahoo and Aim, ralphdewitt on Jabber
Signed and Encrypted Mail Encouraged
**
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/sGDOu29DXA3iCF0RAnSSAJ9avbYViii80EPOhEoSW750ysMf1ACfdlwo
yvUMwalj/dJz73MnHH8SVxw=
=HuSF
-END PGP SIGNATURE-

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


Reading non-installed man pages, etc.

2003-11-10 Thread andi payn
I'd occassionally like to be able to read manpages from somewhere other
than the MANPATH.

Let me give you two concrete examples of things that I can do on linux,
that I don't know how to do on FreeBSD

$ man /mnt/falco3/usr/share/man/man1/ls.1.bz2
$ man /home/andi/foo/doc/foo.1

In the first case, I'm looking at the manpages exported (over NFS) from
a Mandrake linux box; in the second, I'm looking at the manpages for a
program I'm trying to get installed.

First, FreeBSD's man doesn't seem to accept a full pathname. In the
first case, I can get around this with MANPATH or -M ("man
-M/mnt/falco3/usr/share/man ls"), but in the second, that won't help.

Second, FreeBSD's man doesn't handle bz2 compression.

I suppose I could do something like this:

$ bzcat /mnt/falco3/usr/share/man/man1/ls.1.bz2 | groff -man -Tascii
-mtty-char | less

And I could write scripts to wrap this up (figure out whether to use
bzcat, zcat, or cat; whether we're talking to a tty-char-capable
terminal or something else; which charset to use; what pager to use;
etc.). Basically, it'd do everything man is doing except for finding the
page in the MANPATH and dealing with catfiles, which sounds like a bit
of a duplication of effort. 

So, if this is already done somewhere, or there's an way that I've
missed to make man or some other tool do what I want, I'd rather not
reinvent the wheel.

Also, I seem to remember installing GNU's *roff stuff onto a Solaris box
and having a program that let me do 90% of what I want to do. The
groff(1) manpage has a reference to groffer that sounds like it might be
what I'm remembering, but I can't find any more information about it (or
the program itself).

Another alternative would be porting the GNU man (with the bzip2
patches), but I'm not sure this is a good idea (I don't know if it would
require other stuff to be ported, for example; also, the name "gman" is
already taken for a Gtk+ xman-type program).

Any ideas?

Thanks.


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


Re: Newbie: Correct directory for file server

2003-11-10 Thread Tom Munro Glass
On Tue, 11 Nov 2003 15:31, Alex de Kruijff wrote:
> On Tue, Nov 11, 2003 at 01:53:20PM +1300, Tom Munro Glass wrote:
> > On an intranet file server, the users' private files are obviously stored
> > in /usr/home/username but where is the correct place to store files that
> > are common to many users? Would this be something like /usr/home/public
> > or /usr/local/public or even /var/public?
> >
> > Thanks,
>
> There is no default. You can choice your own directory. Placing this in
> the /usr slice or on a second disk seems reasable. /var wouldn't be
> advisable.

I guessed there isn't a default, but I thought there might be a convention for 
this and I want to follow conventions where ever possible.

Tom Munro Glass


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


ipfw question

2003-11-10 Thread Shawn Guillemette
Looking at ipfw show 

630000  0 deny log logamount 100 udp from any to any 119 via sis0
63000   24   1152  deny log logamount 100 tcp from any to any 135 via sis0
630000  0 deny log logamount 100 udp from any to any 135 via sis0

63000 is the rule number correct?
IM wondering what the other 2 places are.. 

24  and 1152

Are they inbound and outbound?

Do I make any sence?

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


Re: problems with FreeBSD telnet client

2003-11-10 Thread Will Yardley
Matthew Emmerton wrote:

> > When I telnet to a Cisco device from a FreeBSD machine, I get this
> > error:
> >
> > jazz% telnet somerouterorswitch
> > Password: Kerberos: No default realm defined for Kerberos!
> >
> > Assuming you don't use Kerberos, is there a way to make the telnet
> > client not attempt to use it to authenticate?

> I have a feeling that this is coming from the telnet server (ie, the Cisco
> box), since no such text shows up in the FreeBSD telnet client sources our
> our Kerberos-[45] libraries.  (4-STABLE, cvsup'd just a few minutes ago.)
> 
> Perhaps the Cisco box has Kerberos support, and since it senses that the
> FreeBSD telnet client is Kerberos-aware, it spews out this warning to notify
> you of the server misconfiguration?

Yeah - I was guessing that that was the problem. I was hoping there was
a way to get the telnet client not to try to use Kerberos, but sounds
like "-K" may be the closest thing to that.

Checked out some of the options at:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_command_summary_chapter09186a00800880ac.html

but don't see anything that will help.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Another Newbie Question: C or C++

2003-11-10 Thread yo _
I need to buy a book on C or C++ to help me in FreeBSD. Which would be 
better to buy?
If you just want to start programming in FreeBSD, Learn C as well as you 
can. The route I took was learning basic programming skills then reading 
"The C Programming Language" by K&R, it's an excellent book if you are 
already very familiar with the computer and have some basic programming 
skills (make sure you know your c development enviroment and how to use 
gcc). The book is so great because not only does it teach C syntax, the 
examples open your mind to writing simple and efficient code in a C style, 
and it even has a small UNIX programming tutorial toward the end (on how to 
implement some of the standard library functions in a UNIX system).

That book and a good familiarity with the man pages is really all you need 
to get started coding on FreeBSD. If you are still a little lost and really 
want to go on the quick route to good BSD programming, read "UNIX Network 
Programming" by W. Richard Stevens. The original edition introduces you to 
good fundamental knowledge of the UNIX system and archictecture (process 
model, system calls, and IPC) then it goes right to socket programming which 
is a must to know especially in this day and age. The later editions 
seperate the actual socket programming from the unix stuff but go intensely 
in depth. That's why i'm fonder of the first edition, concise and smart.

I first thought a book on C would be best, because the OS is written in C. 
But, now I'm not sure because I read that gcc can compile C++ too (so, I'm 
assuming C++ must get used too).
Now that you've had good practice with C and UNIX programming, learning 
libraries (GTK, QT, pthreads, GD to name a few) is simply a matter of 
reference and learning any other language else is simply a matter of syntax 
and style, and everything will come very easy. If you haven't learned C++ by 
that point just figure out what Object Oriented programming is (it'll 
beautify your life), get a reference book, look at some coding examples, and 
no sweat. Java? Perl? Python? Javascript? Visual Basic (haha)? They'll all 
just be minor changes in syntax and style when in comes to C/C++ (except for 
python, hah).

Hope that helps and good luck!
-Rian Hunter
_
MSN Messenger with backgrounds, emoticons and more. 
http://www.msnmessenger-download.com/tracking/cdp_customize

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


Re: Newbie: Correct directory for file server

2003-11-10 Thread Alex de Kruijff
On Tue, Nov 11, 2003 at 01:53:20PM +1300, Tom Munro Glass wrote:
> On an intranet file server, the users' private files are obviously stored in 
> /usr/home/username but where is the correct place to store files that are 
> common to many users? Would this be something like /usr/home/public or 
> /usr/local/public or even /var/public?
> 
> Thanks,

There is no default. You can choice your own directory. Placing this in
the /usr slice or on a second disk seems reasable. /var wouldn't be
advisable.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/

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


Re: problems with FreeBSD telnet client

2003-11-10 Thread Will Yardley
On Mon, Nov 10, 2003 at 06:16:50PM -0800, Will Yardley wrote:
[ Sorry for the lack of proper references / in-reply-to headers; I'm not
subbed to the list, and I didn't get sent a copy ]

> > When I telnet to a Cisco device from a FreeBSD machine, I get this
> > error:
> > 
> > jazz% telnet somerouterorswitch
> > Password: Kerberos: No default realm defined for Kerberos!
> > 
> > Assuming you don't use Kerberos, is there a way to make the telnet
> > client not attempt to use it to authenticate?
 
> Sure, two possible solutions:
> 
> * Set up your Cisco devices to use Kerberos
> 
> * Check out the -K option in the telnet man page

Any other possibilities? I guess I could alias telnet to "telnet -K",
but then it won't automatically use my username if I telnet to another
machine.

I took a quick look through the telnet source, but didn't see any
obvious options to simply build it without kerberos support.

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


Re: problems with FreeBSD telnet client

2003-11-10 Thread Tillman Hodgson
On Mon, Nov 10, 2003 at 06:16:50PM -0800, Will Yardley wrote:
> I've asked this before (a long while back), but never got a response.
> 
> When I telnet to a Cisco device from a FreeBSD machine, I get this
> error:
> 
> jazz% telnet somerouterorswitch
> Password: Kerberos: No default realm defined for Kerberos!
> 
> Assuming you don't use Kerberos, is there a way to make the telnet
> client not attempt to use it to authenticate?

Sure, two possible solutions:

* Set up your Cisco devices to use Kerberos

* Check out the -K option in the telnet man page

-T


-- 
"Robert Metcalf [the inventor of Ethernet] says that if something comes
 along to replace Ethernet, it will be called ``Ethernet'', so therefore
 Ethernet will never die. Unix has already undergone several such
 transformations."  -- Ken Thompson
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problems with FreeBSD telnet client

2003-11-10 Thread Will Yardley
I've asked this before (a long while back), but never got a response.

When I telnet to a Cisco device from a FreeBSD machine, I get this
error:

jazz% telnet somerouterorswitch
Password: Kerberos: No default realm defined for Kerberos!

Assuming you don't use Kerberos, is there a way to make the telnet
client not attempt to use it to authenticate?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Newbie: Correct directory for file server

2003-11-10 Thread Tom Munro Glass
On an intranet file server, the users' private files are obviously stored in 
/usr/home/username but where is the correct place to store files that are 
common to many users? Would this be something like /usr/home/public or 
/usr/local/public or even /var/public?

Thanks,

Tom Munro Glass

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


RE: JAIL can't FTP ports?

2003-11-10 Thread Brent Wiese
In addition to Rus' comments:

> 1) Can I use FTP to install ports or packages without going 
> through sysinstall?

Yes, and to me, this seems the smarter way to do it. You can "pkg_add -r" to
your hearts content, or, if you want all the ports (which I prefer over
packages myself), use "fetch" to grab the latest ports.tar.gz and unzip it.

> 2) If not, is there any other way to get the entire ports 
> collection into the jail, without actually being at the console?

SSH in and do the fetch I mentioned above.

> And if I create a jail from a system with no ports, does that 
> mean the jail will have no ports? And if my system has the 
> entire ports collection installed, will a new jail also have them?

I do not believe (I could be wrong, I've only done jail setups once) that
when you create the jail it does not install the ports tree whether its on
your box or not. However, if you want to avoid the bandwidth hit of fetching
the ports.tar.gz, you could copy it over from the master into the jail/ports
dir. If its an old ports.tar.gz, then you can cvsup it from inside the
jail...

I found this link to be superb when setting up jails for the first time:
http://www.onlamp.com/pub/a/bsd/2003/09/04/jails.html

Brent


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


Re: Another Newbie Question: C or C++

2003-11-10 Thread Scott W
Alex Kelly wrote:

I need to buy a book on C or C++ to help me in FreeBSD. Which would be better to buy?

I first thought a book on C would be best, because the OS is written in C. But, now I'm not sure because I read that gcc can compile C++ too (so, I'm assuming C++ must get used too).

Does it even matter?

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

It depends on your goals.  I used to teach both C and C++, and now years 
later, am currently hard pressed to find a non-Microsoft C/C++ 
development position.  If for personal knowledge, definitely C followed 
by C++.  If professional, or want to behmm.  In that case, I'd say 
it still depends more on your goals- if you're going to try to stay in 
*nix development, you've GOT to know C.  If you don't care, or God help 
you, want a job doing Windows development, start with C++, and  ignore 
all of the standard data types because MS will make their own for you ;-)

Starting with C has an advantage in that you tend to have to do 'most of 
the work yourself' for a lot of things, which tends to help you 
understand more about how things work.  IMHO, that also tends to make 
better programmers down the line, regardless of the language they use.  
C++ is similar, but STL will make life easier when it comes to data 
structures.  Java I don't want to talk about ;-) 

A significant amount of system level programming(think system processes 
and services/daemons) are written in C.  A fair number of applications 
are, but the majority of GNOME/KDE apps, if that's a consideration, are 
done in C++.  A growing number of applications are also being done in 
Java, but it's not the best language to start with for understanding 
much of anything (you can write a half dozen lines of Java to replace 
perhaps 100+ in C/C++ from scratch in some cases).  It isn't a bad 
language to learn (professional-wise as well, *groan*) after learning C 
or C++.

Books and references-
C- Already mentioned, K&R 'The C Programming Language' is 'the bible.'  
This is also generally a lousy book to start with if you aren't 
programming already, but an invaluable reference.  Pick up another book, 
wish I knew a good starter one, but it's been a while...can try Deitel 
and Deitel or (nobody laugh, have used it for Intro before..) the 21 
days SAMs series for a 'jump-start,' and THEN the Deitel/Deitel and K&R.

W. Richard Stevens "Advanced Programming in the UNIX Environment"- MUST 
HAVE.  I may be misquoting the name, but a search on bookpool.com , 
bn.com (or search on amazon then BUY somewhere else!) will quickly turn 
it up.  K&R is to the C language, Stevens is to Unix programming...

google search for 'Secure Unix Programming'- there's a FAQ or two out 
there that are pretty good once you're past 'the basics.' 

C++
Latest edition of Deitel/Deitel.  Funny, I used to really dislike their 
books, but they DO provide pretty decent overall coverage.  May or may 
not be 'too deep' at first, if so, preface with SAMs or equivalent.

Stroustrup- 'The C++ Programming Language".  Stroustrup write C++ but is 
pretty dry.  Good reference and for advanced topics.
Stroustrup- Annoted Reference Manual AKA 'the ARM'- what K&R is to C.
*The C++ Standard Library : A Tutorial and Reference- recommended pretty 
highly, but don't currently have.  search on favorite bookstore will 
turn it up.

*Java (before ya ask ;-)  There are a LOT of bad books on Java it 
seems.  Deitel and Deitel again is worth buying as a first book (after C 
and/or C++), then decide what you want to DO with Java, as there are a 
number of directions- JDBC, Beans, JSP, etc etc etc..

As always, languages and books can be a moving target- when possible, 
pick up the latest edition covering the current ANSI standard for C/C++, 
and make sure anything you buy for Java covers 'Java 2,' preferably JDK 
1.4, but at least 1.3 or you'll be throwing out work by the time you 
work on a current project..

Misc others-
POSIX Programming, O'Reilly press.  Good coverage of POSIX (Unix for 
simplicity's sake but not really) required system calls.

Network Programming- Again,m by Stevens.

FAQs for whatever you wind up taking an interest in.  I don't _like_ GUI 
development, but KDE and GNOME have a fair number of tutorials for QT 
and GTK respectively...

Scott

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


Re: Is the swap partition really required for a live FS CD-ROM?

2003-11-10 Thread Harald Schmalzbauer
On Tuesday 11 November 2003 00:12, Daniela wrote:
> Hi all, I'm creating a Knoppix-like FreeBSD release (live filesystem, runs
> from CD) with 4.9 sources. I'm almost done, but I don't know what to do
> with swap. I read somewhere that I must have a swap partition in my
> /etc/fstab, can't this requirement be overridden?

From -current NOTES (don't have 4.9 arround):
Disable swapping of upages and stack pages.  This option removes all
code which actually performs swapping, so it's not possible to turn
it back on at run-time.
This is sometimes usable for systems which don't have any swap space
(see also sysctls "vm.defer_swapspace_pageouts" and
"vm.disable_swapspace_pageouts")

optionsNO_SWAPPING

But I think I used exactly that option when I did my embedded BSD more than 
one year ago.

Best regards,

-Harry

> And can I create a vn0 device now, and mount it as a filesystem of type
> union over / so all directories appear writable? If I do this, is there
> some way to save these written files (preferably into a single compressed
> file on a floppy or USB memory stick) and restore them on the next boot?
>
> Please help me, I'm really stuck here.
> Daniela
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


pgp0.pgp
Description: signature


Re: Mount SMB share on bootup

2003-11-10 Thread Edward Epstein
Lines prefixed with ">" are what Chirhart, Brian wrote.

>>> point is password protected (on the XP side) so I am prompted for a
>>> password.  How can I automate that?  Or should I create the share without
>
>a
>
>>> password?  I am not too worried about internal security so the share
>
>could
>
>>> have no password and that would be fine.
>>
>>Create a script called whatever.sh, chmod +x 755 whatever.sh and put that
>>script in a /usr/local/etc/rc.d.
>>
>>Put the following lines in that script
>>
>>#!/bin/sh
>>smbmount username=user password=pass and the rest of the parametars that
>
>you
>
>>are normaly using when mounting smb partition.
>>
>>Mind that if your startup script for samba is samba.sh your mounting script
>>must start with a letter after the letter s otherwise you would mounting a
>>samba share without smb daemon started.
>
>
>
>When I try the smbmount I get a "command not Found"
>
>I checked the man pages on mount and found mount_smbfs, but I can not find
>any options that would allow me to specify a username and password.
>
>I am not using Samba (at least I didn't load it... may be there by
>default???) - To map the drive I have a line in my /etc/fstab file that
>reads:
>
># Device   #Mountpoint FSType  OPtion
>//[EMAIL PROTECTED]/share  /ftprootsmbfs   rw.nosuto   0   0
>
>Once the server boots, I type "mount /ftproot" and then it asks me for the
>password for User.  After the password is entered, /ftproot contains the
>contents of the share on my XP system.  It was one of the things that I fell
>in love with about BSD - the ability to "see" XP shares with no special
>"magic".
>
>So anyway - I think there are several different approaches to this.  Can I
>modify my fstab file so that "auto" would work by somehow specifing a
>password?  Or is there a password option that I am missing in the mount or
>mount_smbfs commands?  OR...  is there a reason I don't have the smbmount
>command?

You are on the right track; it took me a while to figure this one out too. 

You've got your /etc/fstab file set up correctly. This is how the line for me 
looks, it's just like yours.

//[EMAIL PROTECTED]/SHARE   /mnt/chaos  smbfs   rw,noauto   0   0

To specify your username and password for the mount, you should create
/etc/nsmb.conf  the syntax for this file is shown in 
/usr/share/examples/smbfs/dot.nsmbrc

Here is an example from my machine:

#nsmb.conf
[CHAOS]
addr=10.0.3.3

[CHAOS:EDWARD]
password=X


Finally, to mount on bootup, create a file in /usr/local/etc/rc.d with the 
following contents (or something similar; you probably didn't name your share 
CHAOS):

[EMAIL PROTECTED] more /usr/local/etc/rc.d/010.chaos.sh
#! /bin/sh


case "$1" in

start)
echo "  Mounting CHAOS..."
mount /mnt/CHAOS &>2
;;

stop)
echo "  Unmounting CHAOS..."
umount /mnt/CHAOS &>2
;;

esac


Also, I make sure my /etc/nsmb.conf file is owned by root and chmod'ed 600 
because it contains a password in plaintext.

Don't forget to make sure that your file in /usr/local/etc/rc.d is chmodded at 
least 700 so that it's executable by, at the very least, the owner (should be 
root).

I hope this is clear enough to make some sense to you.

Regards,
Ed

>Thank you for all your help!
>___
>[EMAIL PROTECTED] mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 

"There are people who cheat on their spouse but not at cards, and vice versa, 
and both and neither. Reputation is not necessarily portable from one 
situation to another, and it's not easily expressed."
--Clay Shirkey. (http://www.shirky.com/writings/group_enemy.html)

"It has been said that man is a rational animal.  All my life I have
been searching for evidence which could support this."
--Bertrand Russell.

"The American empire is ideological, not territorial. We are the most 
ideological people in the world, and we are so united in our view that we 
don't understand there can be other views."
--Lt. Gen. William Odom, ret. (Former Director of NSA).

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


Re: ep0 lost in FreeBSD 5.1

2003-11-10 Thread Eduardo Viruena Silva
On Mon, 10 Nov 2003, Eduardo Viruena Silva wrote:

>
> Hello Pals!
>
> While installing FreeBSD 5.1-RELEASE in an old Pentium II
> computer I lost any contact with my 3com509 nic.
>
> I reinstalled FreeBSD 5.0 and it worked again,
> but I would like to use FreeBSD 5.1.
>
> WHAT IS HAPPENING?
>
> Will "ep" stop functioning in FreeBSD 5.1-RELEASE?
> It works fine with FreeBSD 5.0-RELEASE p7.
>

Sorry Pals!

I disable ACPI and everything worked ok.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Another Newbie Question: C or C++

2003-11-10 Thread Alex Kelly
- Original Message - 
From: "Jerry McAllister" <[EMAIL PROTECTED]>
To: "Alex Kelly" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, November 10, 2003 6:14 PM
Subject: Re: Another Newbie Question: C or C++


> >
> > I need to buy a book on C or C++ to help me in FreeBSD.
> > Which would be better to buy?
>
> This doesn't answer your C++ part of the question, but you should have
> the Kernighan & Ritchie "The C Programming Language" and then
> get something like "C A Reference Manual"  (Latest edition is 5th I think)
> by Harbison and Steele.After that you might look at "C Programming
FAQs"
> by Steve Summit.

Thanks, Jerry.
So, it sounds like I should probably tackle C before C++.
By the way, I saw the first two books you mentioned in Borders Book Store
today while on my lunch break. They must be fairly popular.

> >
> > I first thought a book on C would be best, because the OS is written in
C. But, now I'm not sure because I read that gcc can compile C++ too (so,
I'm assuming C++ must get used too).
> >
> > Does it even matter?
> >
> > Suggestions?
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
> >
> >
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: Another Newbie Question: C or C++

2003-11-10 Thread Jerry McAllister
> 
> I need to buy a book on C or C++ to help me in FreeBSD. 
> Which would be better to buy?
 
This doesn't answer your C++ part of the question, but you should have 
the Kernighan & Ritchie "The C Programming Language" and then
get something like "C A Reference Manual"  (Latest edition is 5th I think)
by Harbison and Steele.After that you might look at "C Programming FAQs" 
by Steve Summit.
> 
> I first thought a book on C would be best, because the OS is written in C. But, now 
> I'm not sure because I read that gcc can compile C++ too (so, I'm assuming C++ must 
> get used too).
> 
> Does it even matter?
> 
> Suggestions?
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 

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


Re: Enemy Territory

2003-11-10 Thread matti k
On Mon, 10 Nov 2003 21:06:01 +
Matthew Seaman <[EMAIL PROTECTED]> wrote:

> On Mon, Nov 10, 2003 at 12:29:30PM -0700, Robin Schoonover wrote:
> 
> > Or maybe it was only partially installed (and some of the opengl
> > libs weren't).  That doesn't make sense... So I reinstalled the
> > nvidia-driver from ports, and tried running tuxracer again.  Doh! 
> > Crashed X.  Of course, GLX isn't loaded, so it gets confused, so
> > I'll just have to restart Xand I get this message:
> 
> Did you update your XFree86-libraries port recently?  It will fight
> with nvidia-driver for the ownership of at least the libGL.so.1
> shlib:
> 
> % pkg_info -W /usr/X11R6/lib/libGL.so.1
> pkg_info: both XFree86-libraries-4.3.0_6 and
> nvidia-driver-1.0.4365 claim to have installed
> /usr/X11R6/lib/libGL.so.1
> 
> Which is why re-installing nvidia-driver helps.

I frequently run ~/NVIDIA-FreeBSD-x86-1.0-4365/make setup (as root)
before rebooting and find this keeps the drivers in their place.


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


ep0 lost in FreeBSD 5.1

2003-11-10 Thread Eduardo Viruena Silva

Hello Pals!

While installing FreeBSD 5.1-RELEASE in an old Pentium II
computer I lost any contact with my 3com509 nic.

I reinstalled FreeBSD 5.0 and it worked again,
but I would like to use FreeBSD 5.1.

WHAT IS HAPPENING?

Will "ep" stop functioning in FreeBSD 5.1-RELEASE?
It works fine with FreeBSD 5.0-RELEASE p7.





- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: your mail

2003-11-10 Thread Gerald S Stoller


On Mon, 3 Nov 2003 18:27:44 +1300 Jonathan Chen <[EMAIL PROTECTED]>
writes:
> On Sun, Nov 02, 2003 at 11:47:58PM -0500, Gerald S Stoller wrote:
> > FreeBSD  4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 
> GMT 2001
> > [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386
> > 
> > I received this message on my  FreeBSD  system in  
> root 
> > windows:
> > sendmail[897]: h9V0K0r00897: forward /home/sstoller/.forward: 
> Group
> > writable directory
> > 
> >It doesn't tell me which directory it is 
> complaining about
> > so I don't know which one to fix.
> 
> Very likely /home/sstoller.
> -- 
> Jonathan Chen <[EMAIL PROTECTED]>
   Turns out that it was two directories,,  /usr  &  /usr/homes .
 /home  is a link to  /usr/homes .
   When I have to do things in a directoryowned by  root  or the
system,
I make it group writable ( wheel ) and use the user  sstoller  (who is in
 wheel )
to make the changes.  Thus I avoid having  root  do much, since work done
by  root  can turn to disaster with typos.  Later I change the
directories back,
but I have had the system crash and I could have forgotten about the
directories
when I next booted.
   Anyway, I still maintain that the message should name the
directories that it
is complaining about.
> --
> "If everything's under control, you're going too 
> slow"
>   - Mario 
> Andretti
> 

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


Another Newbie Question: C or C++

2003-11-10 Thread Alex Kelly
I need to buy a book on C or C++ to help me in FreeBSD. Which would be better to buy?

I first thought a book on C would be best, because the OS is written in C. But, now 
I'm not sure because I read that gcc can compile C++ too (so, I'm assuming C++ must 
get used too).

Does it even matter?

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


Re: Help! Runaway NATD

2003-11-10 Thread Daniela
On Monday 10 November 2003 22:01, Jack L. Stone wrote:
> At 10:42 PM 11.10.2003 +, Daniela wrote:
> >On Monday 10 November 2003 21:18, Jack L. Stone wrote:
> >> FreeBSD 4.8-RELEASE-p13 - GW/router/NAT/FW/Caching DNS - Bind-8.3x +
> >> IPFW(8)
> >>
> >> Have just setup the above to route mainly for a LAN (in place of
> >> hardware router), but natd runs non-stop as per TOP(1) and keeps eating
> >> up the CPU until it crashes. Takes about 1/2 hour to eat up the
> >> resources and requires a reboot -- then the problem just starts over
> >> again.
> >
> >Have you tried to attach to the process with gdb(1) or truss(1)?
> >Also please show us what `ps ax` says about natd.
> >Can you get a core dump?
> >
> >Good luck!
> >Daniela
>
> Thanks for the quick reply. No, haven't had chance to redo the kernel for
> gdb, etc. But, here's some more info from the "ps -ax" and log. The tcp
> start out very small and keep growing in big leaps as below -- this is just
> before running out of CPU

I'd definitely need at least the output of truss(1) to tell what's wrong.
The commands would be:

# killall natd
# truss /sbin/natd -f /etc/natd.conf -n rl0


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


Is the swap partition really required for a live FS CD-ROM?

2003-11-10 Thread Daniela
Hi all, I'm creating a Knoppix-like FreeBSD release (live filesystem, runs 
from CD) with 4.9 sources. I'm almost done, but I don't know what to do with 
swap. I read somewhere that I must have a swap partition in my /etc/fstab, 
can't this requirement be overridden?
And can I create a vn0 device now, and mount it as a filesystem of type union 
over / so all directories appear writable? If I do this, is there some way to 
save these written files (preferably into a single compressed file on a 
floppy or USB memory stick) and restore them on the next boot?

Please help me, I'm really stuck here.
Daniela


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


Re: Help! Runaway NATD

2003-11-10 Thread Jack L. Stone
At 10:42 PM 11.10.2003 +, Daniela wrote:
>On Monday 10 November 2003 21:18, Jack L. Stone wrote:
>> FreeBSD 4.8-RELEASE-p13 - GW/router/NAT/FW/Caching DNS - Bind-8.3x +
>> IPFW(8)
>>
>> Have just setup the above to route mainly for a LAN (in place of hardware
>> router), but natd runs non-stop as per TOP(1) and keeps eating up the CPU
>> until it crashes. Takes about 1/2 hour to eat up the resources and requires
>> a reboot -- then the problem just starts over again.
>
>Have you tried to attach to the process with gdb(1) or truss(1)?
>Also please show us what `ps ax` says about natd.
>Can you get a core dump?
>
>Good luck!
>Daniela
>
Thanks for the quick reply. No, haven't had chance to redo the kernel for
gdb, etc. But, here's some more info from the "ps -ax" and log. The tcp
start out very small and keep growing in big leaps as below -- this is just
before running out of CPU


>From "/var/log/alias.log"
icmp=0, udp=8, tcp=33830, pptp=0, proto=0, frag_id=0 frag_ptr=0 / tot=33838
 (sock=0)
icmp=0, udp=8, tcp=33831, pptp=0, proto=0, frag_id=0 frag_ptr=0 / tot=33839
 (sock=0)
...a FEW minutes later:
icmp=2, udp=9, tcp=41608, pptp=0, proto=0, frag_id=0 frag_ptr=0 / tot=41619
 (sock=0)
icmp=2, udp=9, tcp=41609, pptp=0, proto=0, frag_id=0 frag_ptr=0 / tot=41620
 (sock=0)

PID  TT  STAT  TIME COMMAND
0  ??  DLs0:00.00  (swapper)
1  ??  ILs0:00.01 /sbin/init --
2  ??  DL 0:00.00  (pagedaemon)
3  ??  DL 0:00.00  (vmdaemon)
4  ??  DL 0:00.01  (bufdaemon)
5  ??  DL 0:00.21  (syncer)
6  ??  DL 0:00.01  (vnlru)
   23  ??  Is 0:00.00 adjkerntz -i
  116  ??  Rs 6:53.75 /sbin/natd -f /etc/natd.conf -n rl0
  133  ??  Ss 0:00.07 /usr/sbin/syslogd -s
  136  ??  Is 0:00.13 /usr/sbin/named -u bind -g bind
  139  ??  Ss 0:00.10 ntpd -p /var/run/ntpd.pid
  142  ??  Is 0:00.01 timed -F earth.netwood.net
  148  ??  Is 0:00.00 /usr/sbin/inetd -wW
  150  ??  Is 0:00.02 /usr/sbin/cron
  152  ??  Is 0:00.62 /usr/sbin/sshd
  213  ??  Ss 0:00.41 /usr/local/sbin/httpd
  218  ??  I  0:00.00 /usr/local/sbin/httpd
  219  ??  I  0:00.00 /usr/local/sbin/httpd
  220  ??  I  0:00.00 /usr/local/sbin/httpd
  221  ??  I  0:00.00 /usr/local/sbin/httpd
  222  ??  I  0:00.00 /usr/local/sbin/httpd
  223  ??  Is 0:00.00 /usr/local/sbin/dhcpd
  254  ??  S  0:00.10 /usr/local/libexec/mysqld --basedir=/usr/local
--datadir=/var/db/mysql --user=mysql --pid-file=/va
  264  ??  Is 0:00.04 /usr/local/libexec/postfix/master
  265  ??  I  0:00.02 pickup -l -t fifo -u
  266  ??  I  0:00.26 qmgr -l -t fifo -u
  267  ??  I  0:00.07 sshd: kuni [priv] (sshd)
  269  ??  I  0:00.04 sshd: [EMAIL PROTECTED] (sshd)
  281  ??  I  0:00.07 sshd: jacks [priv] (sshd)
  283  ??  S  0:04.24 sshd: [EMAIL PROTECTED] (sshd)
  270  p0  Is 0:00.04 -csh (csh)
  273  p0  I+ 0:00.05 _su (csh)
  284  p1  Is 0:00.04 -tcsh (tcsh)
  290  p1  S  0:00.07 _su (csh)
  387  p1  R+ 0:00.00 ps ax
  231  v0  Is+0:00.01 /usr/libexec/getty Pc ttyv0
  232  v1  Is+0:00.01 /usr/libexec/getty Pc ttyv1
  233  v2  Is+0:00.01 /usr/libexec/getty Pc ttyv2
  234  v3  Is+0:00.01 /usr/libexec/getty Pc ttyv3
  235  v4  Is+0:00.01 /usr/libexec/getty Pc ttyv4
  236  v5  Is+0:00.01 /usr/libexec/getty Pc ttyv5
  237  v6  Is+0:00.01 /usr/libexec/getty Pc ttyv6
  238  v7  Is+0:00.01 /usr/libexec/getty Pc ttyv7
  227 con- I  0:00.02 /bin/sh /usr/local/bin/safe_mysqld --user=mysql
--datadir=/var/db/mysql --pid-file=/var/db/mysql/e

Best regards,
Jack L. Stone,
Administrator

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


Re: Compaq 1850R panics with 5.x

2003-11-10 Thread Guy Silliman
well I might have some insight into this mystery

I am currently running with a less then fully populated drive cage... I 
have 2 of the 3 1 inch 9.1gb drives in place.  I have had them placed in 
the slot 0 and slot 1 position.  And win2k server loaded fine but fbsd 
did not see the drives.

On a hunch - I just moved the drives up so that the empty spot is slot 0 
and the 2 drives are in slots 1 and 2... 4.7R saw the drives.  4.9R does 
not.  Now I am new to this chassis - I don't know if I am supposed to 
have a blank in this empty slot - but it will not matter ot me in the 
long run, as I have another 9.1gb drive on its way to fill the empty 
spot.. I just hope I do not have a buggy backplane.

Guy

Per olof Ljungmark wrote:

Guy Silliman wrote:

I am trying to get a Compaq 1850R running.  It is a dual PII 400MHz 
machine that works fine with Win2k server... but
I would prefer to use fbsd 5.x but I am stumped by this panic at 
sysinstall. I have searched all the lists and have tried several 
fixes mentioned including the "Full table - Mapped" and OS set to 
Win2k in the BIOS. I have tried disabling the onboard NIC as a 
possible source of conflicts but no luck.

I would be willing to go with a late 4.x but it does not probe the 
onboard SCSI  thus I have no drives.
I do have a Smart Array 3200 ordered and coming - this may solve the 
4.x issue, but I am puzzled by the panic with 5.x.

FWIW, I had identical problems with two 1850's, one PII400 single CPU 
and one PII450 dual. Both are now running fine with 4.9-REL, the first 
with a SmartArray 221 and the second with a Smart Array 3200.

There has been a few problems apparently with the sym driver for the 
built in SCSI and I'm not using it in either. For instance, I had this 
problem in 4.8-REL:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/52331
where I had 8 drives but only 4 visible.

I tend to agree with another poster that there are changes between the 
PII and PIII 1850 motherboards that makes the formar fail with 5.1 and 
the latter is ok.

just my $0.02

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


Re: how to modem

2003-11-10 Thread Alex de Kruijff
I've also CC [EMAIL PROTECTED] Could you also do this next time?

On Sun, Nov 09, 2003 at 09:21:46PM -0800, james wrote:
> Alex de Kruijff wrote:
> 
> >On Sun, Nov 09, 2003 at 04:05:44AM -0800, james wrote:
> > 
> >
> >>Alex de Kruijff wrote:
> >>
> >>   
> >>
> >>>On Sat, Nov 08, 2003 at 03:41:47AM -0800, james wrote:
> >>>
> >>>
> >>> 
> >>>
> I can't find the modem . although I did finally get kde installed
> are there any simple instructions for finding your modem and
> hitching up to the internet
>  
> 
>    
> 
> >>>What type of modum do you have? (i.e. external/internal,
> >>>plug-n-play/jumpers)
> >>>
> >>>Did you see it in the output of 'dmesg'?
> >>>
> >>> 
> >>>
> >>im not sure of the name but it is an old internal jumper style with the 
> >>tiny switches instead of the pull off style of jumpers
> >>thkns ill try dmesg  well I took it out and looked at it it is set to 
> >>com 4  and its a rockwell an old one the dmesg didn't seem to know what 
> >>it was will try to give more info  i am useing a aptiva with 32 megs ram 
> >>and the vedio card has 2 mb mem what else there is an maxetor 1 gig hd
> >>   
> >>
> >
> >(Is it ISA or PCI?)
> >
> >I bleave, from what i have read, that you don't requere the port you
> >installed. Leave it for now.
> >
> >What have you done to get it working? (Read documentation, commands
> >entered)
> >
> >You wanna read this:
> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html
> >
> > 
> >
> hey thanks for your patiance  I read the page from the link and i am 
> thinking i may not have the modem set right it was set to com four and
> i changed  it to com 2

A PC normaly have two com port and these are com 1 and 2. You can change
it to com 2 if you like, but you do have to the com port 2 off line. At
the time that i was struggeling with my modem my thougths where that com
4 would be /dev/cuaa3. It exists so FreeBSD sould be able to handle it.

> also there is an error message when I click on the kppp dail up icon i 
> get this error : /etc/resolve.conf is missing or cannot be read.

Whe you call your ISP it normaly gives you the information you need to
use the internet. The IP of the next node is one of them and goes in to
this file. I'll give you the shell command that just creates this file,
but doesn't place anything in it, since souldn't requere that. The right
permissions are created by defauld.  Run as Root:
touch /etc/resolve.conf

> Ask 
> your andministator to creat this file . (can be empty) with appropriate 
> read write permissions . I am a dunce a creating things so how do I 
> proceed??? it is plugged into an ISA slot if that helps
> 

My advise would be to forget kppp for now until you have you modem
working with ppp. The command you give from the shell (as root) to dial
are: (# and > are not part of the command)
# ppp
> dial provider
At this time you should hear you modem dial. If it doesn't change
something and try again.

Create the configuration files as stated in 18.2.1.3.1 PPP and Static IP
Addresses and 18.2.1.3.2 PPP and Dynamic IP Addresses. I'm assuming you
have a dynamic IP address, like most calles have. Then try to dial. If
it doesn't work change the com ports and try again.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help! Runaway NATD

2003-11-10 Thread Daniela
On Monday 10 November 2003 21:18, Jack L. Stone wrote:
> FreeBSD 4.8-RELEASE-p13 - GW/router/NAT/FW/Caching DNS - Bind-8.3x +
> IPFW(8)
>
> Have just setup the above to route mainly for a LAN (in place of hardware
> router), but natd runs non-stop as per TOP(1) and keeps eating up the CPU
> until it crashes. Takes about 1/2 hour to eat up the resources and requires
> a reboot -- then the problem just starts over again.

Have you tried to attach to the process with gdb(1) or truss(1)?
Also please show us what `ps ax` says about natd.
Can you get a core dump?

Good luck!
Daniela


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


Re: Rocketport (rp0) mapping failure on 5.1-REL

2003-11-10 Thread Peter Losher
It looks like what I might have is one of the new Universal PCI 
RocketPort cards - does anyone know if the current rp driver supports 
the card?  (Comport no longer makes the 32-bit-only PCI cards, just the 
32 and 64 bit compatible uPCI cards now)  If not, is there a new rp 
driver I can test out that may be in -CURRENT?

Best Wishes - Peter

On Monday 10 November 2003 10:02 am, Peter Losher wrote:

> I am installing a RocketPort PCI card into a Acer Altos system; the
> box was originally running Linux, slapping on FreeBSD 5.1 on the box,
> the system throws up this error when trying to attach the RP card:
>
> -=-
> rp0:  port 0x5400-0x54ff,0x5000-0x507f mem
> 0xed8ffc00-0xed8ffc7f irq 11 at device 2.0 on pci1
> rp0: ioaddr mapping failed for RocketPort(PCI).
> device_probe_and_attach: rp0 attach returned 6
> -=-
>
> Has anyone ever seen such an error, and if so, how did you get around
> it? (I haven't been able to find anything via Google)  From what I
> have been told, the card came up cleanly when the box was running
> Linux.
>
> Best Wishes - Peter

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


Re: Compaq 1850R panics with 5.x

2003-11-10 Thread Per olof Ljungmark
Guy Silliman wrote:
I am trying to get a Compaq 1850R running.  It is a dual PII 400MHz 
machine that works fine with Win2k server... but
I would prefer to use fbsd 5.x but I am stumped by this panic at 
sysinstall. I have searched all the lists and have tried several fixes 
mentioned including the "Full table - Mapped" and OS set to Win2k in the 
BIOS. I have tried disabling the onboard NIC as a possible source of 
conflicts but no luck.

I would be willing to go with a late 4.x but it does not probe the 
onboard SCSI  thus I have no drives.
I do have a Smart Array 3200 ordered and coming - this may solve the 4.x 
issue, but I am puzzled by the panic with 5.x.

FWIW, I had identical problems with two 1850's, one PII400 single CPU 
and one PII450 dual. Both are now running fine with 4.9-REL, the first 
with a SmartArray 221 and the second with a Smart Array 3200.

There has been a few problems apparently with the sym driver for the 
built in SCSI and I'm not using it in either. For instance, I had this 
problem in 4.8-REL:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/52331
where I had 8 drives but only 4 visible.

I tend to agree with another poster that there are changes between the 
PII and PIII 1850 motherboards that makes the formar fail with 5.1 and 
the latter is ok.

just my $0.02

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


Help! Runaway NATD

2003-11-10 Thread Jack L. Stone
FreeBSD 4.8-RELEASE-p13 - GW/router/NAT/FW/Caching DNS - Bind-8.3x + IPFW(8)

Have just setup the above to route mainly for a LAN (in place of hardware
router), but natd runs non-stop as per TOP(1) and keeps eating up the CPU
until it crashes. Takes about 1/2 hour to eat up the resources and requires
a reboot -- then the problem just starts over again.

Typical firewall setup used in a number of our servers which diverts to
port 8668 and then the packets are redirected to limited ports on the
various workstations.

NATD acts like it is in a loop and rehashing the packets over and over.
There is a very light load of packets flowing over the rl0 external
interface. Natd is loaded in usual way.

Have killed off most other daemons, but NATD keeps running as shown by TOP(1)

Never seen this before. Would appreciate any ideas on how to fix it

Thanks in advance.

Best regards,
Jack L. Stone,
Administrator

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


Re: Enemy Territory

2003-11-10 Thread Matthew Seaman
On Mon, Nov 10, 2003 at 12:29:30PM -0700, Robin Schoonover wrote:

> Or maybe it was only partially installed (and some of the opengl libs
> weren't).  That doesn't make sense... So I reinstalled the nvidia-driver
> from ports, and tried running tuxracer again.  Doh!  Crashed X.  Of course,
> GLX isn't loaded, so it gets confused, so I'll just have to restart
> Xand I get this message:

Did you update your XFree86-libraries port recently?  It will fight
with nvidia-driver for the ownership of at least the libGL.so.1 shlib:

% pkg_info -W /usr/X11R6/lib/libGL.so.1
pkg_info: both XFree86-libraries-4.3.0_6 and nvidia-driver-1.0.4365 claim to have 
installed /usr/X11R6/lib/libGL.so.1

Which is why re-installing nvidia-driver helps.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Compaq 1850R panics with 5.x

2003-11-10 Thread Guy Silliman
Thanks for the reply... I will give 4.8R a shot - I am trying to get 
5.1R to work... but I will pass if it is too rough for production machines.

I will also try that bios tweak.

Guy

Olaf Hoyer wrote:

On Mon, 10 Nov 2003, Guy Silliman wrote:

 

I am trying to get a Compaq 1850R running.  It is a dual PII 400MHz
machine that works fine with Win2k server... but
I would prefer to use fbsd 5.x but I am stumped by this panic at
sysinstall.
   

Hi!

Well, the old Compaqs have some quite rough edges, and 5.1R (or do you
use a -current snapshot?) is also in some things not that nice...
Sometimes you have to set it to NT4-OS Type.
 

I have searched all the lists and have tried several fixes mentioned
including the "Full table - Mapped" and OS set to Win2k in the BIOS.
I have tried disabling the onboard NIC as a possible source of conflicts
but no luck.
   

I had in my former company a 1850 running SMP with a 4.8-stable.
The onboard SCSI is basically a Symbios one, and it was recognized
without hassle.
(Ok, it needs the compaq tool partition to do RAID stuff, but... well,
broke it during installation)
 

I would be willing to go with a late 4.x but it does not probe the
onboard SCSI  thus I have no drives.
I do have a Smart Array 3200 ordered and coming - this may solve the 4.x
issue, but I am puzzled by the panic with 5.x.
   

That ist strange indeed, my box (dual PIII-500) went fine.
But perhaps there is also a different Mainboard in, with some
undocumented change in  the series.
HTH
Olaf
 

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


Re: CVSweb Problem with Netscape Server

2003-11-10 Thread Matthew Seaman
On Mon, Nov 10, 2003 at 01:16:53PM -0600, Tucker, Laurie wrote:
>  OK --
> 
>I have installed CVSWeb on HPUX using a netscape server. After
> removing the
> -wt from cvsweb.cgi I am able to view the initial page. 
>   
>  Now I am getting 
> 
> NOTE: There are 104 files, but none matches the current tag (). 
> What can I do to fix this?

Hmmm... Seems to be the night for asking apparently non-FreeBSD
questions in FreeBSD mailing lists...

First of all, let me point you at

   http://www.freebsd.org/projects/cvsweb.html

which is a much better place to start looking for FreeBSD-cvsweb
related stuff.  Searching the archives of the
[EMAIL PROTECTED] mailing list will probably be helpful to
you.  There's also http://freebsd.rambler.ru/ which is a new search
interface to the FreeBSD mailing list archives that a lot of people
(me included) quite like.

However, I suspect that the simple answer is that you need to scroll
down to the bottom of the page and select a valid tag from the 'Show
only files with tag:' or 'View only Branch:' pull-downs.

Cheers,

Matthew 

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


pgp0.pgp
Description: PGP signature


Re: Anymore help out there? Re: mail never gets sent

2003-11-10 Thread Charles Swiger
On Nov 10, 2003, at 3:05 PM, [EMAIL PROTECTED] wrote:
Thanks Chuck, and the others with the same suggestion. I've set that
parameter in the freebsd.mc file and still have the same problem. I 
ssh'd
into my current web server box, running RedHat, and sent a message from
the cli mail and watched the messages, and did the same on the FreeBSD 
box
(which will replace the Linux box soon as mail works). Look at the two
sections below, notice the lines 250 in each section - they are the
reverse of each other. The message sent from the Linux box went 
through to
its destination, but not the message from the FreeBSD box.
Your examples are showing the handoff between untrusted local mail 
client using SMTP to localhost:25 to deliver the mail to the local 
spool, and not the communication from your machine to the next SMTP 
server.

[ Prior versions of sendmail were setuid-root, and "mail -v" output was 
more useful; 8.12 is not installed setuid-root anymore... ]

The Linux box had no configuring done to make it send mail out. I have 
set up previous versions of FreeBSD, all the way back to 3.0, and have 
never had to do any configuring to get any to send mail out. It has 
always just worked,
including a previous setup here in this office connected to the same
network. So I'm wondering what has changed in 5.1 to cause this 
problem,
if anything. Or is it just a bad install?
It's unlikely to be a bad install.  Try running:

   echo "3,0 [EMAIL PROTECTED]" | sendmail -bt

...on the Linux machine, and see whether the last line relays through 
your ISP's smarthost, or directly to smtp-mx.mac.com.  Compare that to 
what the FreeBSD machine is doing.

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


Re: no ulpt0 in FreeBSD 5.1R

2003-11-10 Thread bremner
At Fri, 07 Nov 2003 17:08:30 -0400,
Bremner David wrote:
> 
> 
> I am just setting up a new machine with 5.1R.  I have usb in the
> kernel (I'm running the generic kernel from the install). 
> My lexmark 323 which used to show up fine as ulpt0 under 4.9rc1 
> does not show up anymore.
> 

I "fixed" the problem. See 

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

if you are interested.


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


onboard sound card problems

2003-11-10 Thread Will Yardley
Not sure if Mailing.freebsd.questions is still gatewayed here (it's really
low traffic now, so I'm thinking not) if it still is, sorry for the
repost.

From: Will Yardley <[EMAIL PROTECTED]>
Subject: Disabling onboard sound card

I have been having some problems since upgrading to 4.9 - earlier I had
problems with the onboard sound card, so I switched to a PCI card which
worked a lot better. Since the upgrade, FreeBSD makes the onboard card
/dev/dsp0 and the PCI card /dev/dsp1. Is there any way to reverse the
two devices? Do I just need to specify the device / IRQ in the kernel
configuration (and if so, what exactly should I put?)

aura% dmesg| grep pcm
pcm0:  port 0xb800-0xb8ff irq 9 at device 3.0 on pci2
pcm1:  mem 0xf100-0xf1007fff irq 9 at device
10.0 on pci2
pcm1: 

Is there a quick hack to disable the onboard sound or switch the two
devices?

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


RE: Mount SMB share on bootup

2003-11-10 Thread Chirhart, Brian
>> point is password protected (on the XP side) so I am prompted for a
>> password.  How can I automate that?  Or should I create the share without
a
>> password?  I am not too worried about internal security so the share
could
>> have no password and that would be fine.

>Create a script called whatever.sh, chmod +x 755 whatever.sh and put that
>script in a /usr/local/etc/rc.d.

>Put the following lines in that script

>#!/bin/sh
>smbmount username=user password=pass and the rest of the parametars that
you
>are normaly using when mounting smb partition.

>Mind that if your startup script for samba is samba.sh your mounting script
>must start with a letter after the letter s otherwise you would mounting a
>samba share without smb daemon started.



When I try the smbmount I get a "command not Found"

I checked the man pages on mount and found mount_smbfs, but I can not find
any options that would allow me to specify a username and password.

I am not using Samba (at least I didn't load it... may be there by
default???) - To map the drive I have a line in my /etc/fstab file that
reads:

# Device#Mountpoint FSType  OPtion  
//[EMAIL PROTECTED]/share   /ftprootsmbfs   rw.nosuto   0   0

Once the server boots, I type "mount /ftproot" and then it asks me for the
password for User.  After the password is entered, /ftproot contains the
contents of the share on my XP system.  It was one of the things that I fell
in love with about BSD - the ability to "see" XP shares with no special
"magic".

So anyway - I think there are several different approaches to this.  Can I
modify my fstab file so that "auto" would work by somehow specifing a
password?  Or is there a password option that I am missing in the mount or
mount_smbfs commands?  OR...  is there a reason I don't have the smbmount
command?

Thank you for all your help!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is there a J2SE implementation for NetBSD?

2003-11-10 Thread Matthew Seaman
On Mon, Nov 10, 2003 at 12:33:51PM -0600, Stephen Harper wrote:
> I am looking for in omplmentation of J2SE for Net BSD. Does anyone know 
> if it exists?

I believe NetBSD uses essentially the same Java ports as FreeBSD does,
so your asking this question here is perhaps less futile than it first
appears.  However, you'll find that asking about NetBSD packages on a
NetBSD list will be much more rewarding in the long run.

Anyway, the answer is that while there is are several native Java
ports for FreeBSD, I can't find equivalents in the official NetBSD
pkgsrc. There's this:

   http://mail-index.netbsd.org/netbsd-java/2003/07/06/.html

and this:

   http://mail-index.netbsd.org/netbsd-users/2000/05/02/0001.html

Otherwise there are several linux J2SE packages -- this would seem to
be the indicated way to get a Java implementation up and running in a
reasonable amount of time on NetBSD.

If you want to try porting over the FreeBSD stuff:

See http://www.freebsdfoundation.org/downloads/java.shtml for some
approved versions of JRE 1.3.1 and JDK 1.3.1.  These are for IA32
architecture only.  You might be able to run them under emulation on
NetBSD.

Otherwise, there are ports of JDK-1.4.1 available as source, which you
will have to compile yourself, after jumping through all of the
required hoops to get the source code.  The downloading instructions
you need to follow are in the port Makefile:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/java/jdk14/

As I said, no idea if this will compile correctly on NetBSD, plus
(Catch 22) you will need a working JDK-1.4.1 in order to compile
JDK-1.4.1

And finally, there is this:

ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/lang/wonka/README.html

which I quite honestly had never heard of before I found it on the
NetBSD site a few minutes ago and which I have no idea if it's any
good or not.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Enemy Territory

2003-11-10 Thread Robin Schoonover
On Mon, 10 Nov 2003 21:01:24 +0100, "Karel J. Bosschaart"
<[EMAIL PROTECTED]> wrote:
> On Mon, Nov 10, 2003 at 12:29:30PM -0700, Robin Schoonover wrote:
> > 
> > Or maybe it was only partially installed (and some of the opengl libs
> > weren't).  That doesn't make sense... So I reinstalled the
> > nvidia-driver from ports, and tried running tuxracer again.  Doh! 
> > Crashed X.  Of course, GLX isn't loaded, so it gets confused, so I'll
> > just have to restart Xand I get this message:
> > 
> > (II) [GLX]: Initializing GLX extension
> > 
> > Well, that looks promising.  Fire up Descent 3 andWow.  Descent 3
> > is a lot different from the first one.  So much higher resolution...
> > 
> > Well, thanks for the help.  (although this may be a bad thing..how will
> > I get -anything- real done??)
> >
> Maybe you did a portupgrade or reinstall of XFree86-Server? This will
> overwrite some files installed by the nvidia driver. I'm always
> reinstalling nvidia-driver after upgrading XFree86-Server/libraries
> just to be sure. It's also necessary to reinstall the nvidia driver
> after upgrading FreeBSD. 

I just realized that was exactly what happened.  (I already had been
remembering to reinstall nvidia-driver after updating FreeBSD, but forgot
about XFree86)

> I prefer to reboot the machine after any nvidia-driver reinstall to 
> be entirely sure that I have the newest kernel module loaded. Yes, 
> that's ugly, but I got a bit reluctant on kldunload/kldload'ing this 
> sort of critical things. My home desktop doesn't have a large uptime 
> anyway as I'm turning it off if I don't need it.

I know the nvidia driver is the same. I didn't even have this machine
before the last update (July).  (But it might be a good idea anyway...)

-- 
Robin Schoonover (aka End)
#
# Instant ice: just add water and freeze.
#
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Anymore help out there? Re: mail never gets sent

2003-11-10 Thread chip . wiegand
Charles Swiger <[EMAIL PROTECTED]> wrote on 11/07/2003 06:17:57 AM:

> On Nov 6, 2003, at 6:32 PM, [EMAIL PROTECTED] wrote:
> >
> > Tried that, it just sits on
> >
> > simradusa# telnet mx4.mail.yahoo.com smtp
> > Trying 216.136.129.5...
> >
> > and never connects.
> 
> OK, so you can be reasonably sure your ISP is blocking port 25.  You 
> will probably need to configure your mail server to relay via your ISPs 
> SMTP server instead-- change the SMART_HOST definition in 
> /etc/mail/freebsd.mc and do a "make restart" in /etc/mail, and see 
> whether that helps...
> 
> -- 
> -Chuck

Thanks Chuck, and the others with the same suggestion. I've set that 
parameter in the freebsd.mc file and still have the same problem. I ssh'd 
into my current web server box, running RedHat, and sent a message from 
the cli mail and watched the messages, and did the same on the FreeBSD box 
(which will replace the Linux box soon as mail works). Look at the two 
sections below, notice the lines 250 in each section - they are the 
reverse of each other. The message sent from the Linux box went through to 
its destination, but not the message from the FreeBSD box. The Linux box 
had no configuring done to make it send mail out. I have set up previous 
versions of FreeBSD, all the way back to 3.0, and have never had to do any 
configuring to get any to send mail out. It has always just worked, 
including a previous setup here in this office connected to the same 
network. So I'm wondering what has changed in 5.1 to cause this problem, 
if anything. Or is it just a bad install?

On the Linux box -

[EMAIL PROTECTED] root]# mail -v -s test [EMAIL PROTECTED]
just a test from linux.
.
Cc:
[EMAIL PROTECTED] Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.12.8/8.12.8; Fri, 7 Nov 2003 
09:23:56 -0800
>>> EHLO localhost.localdomain
250-localhost.localdomain Hello simradusa [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES

Now for the FreeBSD box -

simradusa# mail -v -s test [EMAIL PROTECTED]
just a test from a new 5.1 box.
.
EOT
[EMAIL PROTECTED] Connecting to [127.0.0.1] via relay...
220 simradusa.com ESMTP Sendmail 8.12.9/8.12.9; Fri, 7 Nov 2003 09:02:32 
-0800 (PST)
>>> EHLO simradusa.com
250-simradusa.com Hello localhost.simrad.com [127.0.0.1], pleased to meet 
you
250-ENHANCEDSTATUSCODES
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Enemy Territory

2003-11-10 Thread Karel J. Bosschaart
On Mon, Nov 10, 2003 at 12:29:30PM -0700, Robin Schoonover wrote:
> 
> Or maybe it was only partially installed (and some of the opengl libs
> weren't).  That doesn't make sense... So I reinstalled the nvidia-driver
> from ports, and tried running tuxracer again.  Doh!  Crashed X.  Of course,
> GLX isn't loaded, so it gets confused, so I'll just have to restart
> Xand I get this message:
> 
> (II) [GLX]: Initializing GLX extension
> 
> Well, that looks promising.  Fire up Descent 3 andWow.  Descent 3 is a
> lot different from the first one.  So much higher resolution...
> 
> Well, thanks for the help.  (although this may be a bad thing..how will I
> get -anything- real done??)
>
Maybe you did a portupgrade or reinstall of XFree86-Server? This will
overwrite some files installed by the nvidia driver. I'm always
reinstalling nvidia-driver after upgrading XFree86-Server/libraries
just to be sure. It's also necessary to reinstall the nvidia driver
after upgrading FreeBSD. 
I prefer to reboot the machine after any nvidia-driver reinstall to 
be entirely sure that I have the newest kernel module loaded. Yes, 
that's ugly, but I got a bit reluctant on kldunload/kldload'ing this 
sort of critical things. My home desktop doesn't have a large uptime 
anyway as I'm turning it off if I don't need it.

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


Re: Enemy Territory

2003-11-10 Thread Robin Schoonover
On Mon, 10 Nov 2003 20:00:56 +0100, "Karel J. Bosschaart"
<[EMAIL PROTECTED]> wrote:
> On Mon, Nov 10, 2003 at 10:21:34AM -0700, Robin Schoonover wrote:
> > On Mon, 10 Nov 2003 10:11:30 +0100, "Karel J. Bosschaart"
> > <[EMAIL PROTECTED]> wrote:
> > > On Sun, Nov 09, 2003 at 10:55:38PM +0100, Robin Schoonover wrote:
> > > > 
> > > > On a slightly related note, I've been trying to run some of the
> > > > linux loki demos under FreeBSD.  All work (plus heretic II, which
> > > > has software rendering), except the ones labeled "3d Acceleration".
> > > > The ones labeled "3d Acceleration" tend to crash X.
> > > > 
> > > > One thing I've noticed is when X is started it displays:
> > > > (EE) NVIDIA(0): Failed to load GLX
> 
> This is a serious problem that should be fixed if you want to use
> 3d-acceleration. My log (on 5.1-current) shows
> 
> (II) LoadModule: "glx"
> (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
> (II) Module glx: vendor="NVIDIA Corporation"
> compiled for 4.0.2, module version = 1.0.4365
> Module class: XFree86 Server Extension
> ABI class: XFree86 Server Extension, version 0.1
> (II) Loading extension GLX
> (II) LoadModule: "nvidia"
> 
> > > > It appears to be finding the GLX stuff, but when it tries to load
> > > > it, it can't.  If it helps any, I have a 'GeForce4 MX 440 with
> > > > AGP8X'.
> 
> Sorry, I don't know why it is not loading :-(. If you have the line
> 'Load "dri"' in your XF86Config, comment it out. It is not needed and
> might cause trouble. I suppose you have the kernel module nvidia.ko
> loaded? 

Yes to both.

> You can test direct rendering by typing 'glxinfo'. It should show 
> (among a lot of other stuff): direct rendering: Yes.

Nope, so naturally glxgears ran poorly. 

> Have a look at http://www.icculus.org . It's the most extensive list
> of Linux games I know off, including useful links.

cool.

> 
> Don't forget to check out the nvidia-driver FAQ:
> http://www.soulwax.net/nvidia/faq.shtml
> 

I checked there again...and didn't directly help.

So then I tried running tuxracer, which really wants DRI, but can run
anyway.  No DRI (as we know), but why?  The nvidia stuff is installed,
...isn't it?

Or maybe it was only partially installed (and some of the opengl libs
weren't).  That doesn't make sense... So I reinstalled the nvidia-driver
from ports, and tried running tuxracer again.  Doh!  Crashed X.  Of course,
GLX isn't loaded, so it gets confused, so I'll just have to restart
Xand I get this message:

(II) [GLX]: Initializing GLX extension

Well, that looks promising.  Fire up Descent 3 andWow.  Descent 3 is a
lot different from the first one.  So much higher resolution...

Well, thanks for the help.  (although this may be a bad thing..how will I
get -anything- real done??)

-- 
Robin Schoonover (aka End)
#
# The windmills are winning.
#
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


CVSweb Problem with Netscape Server

2003-11-10 Thread Tucker, Laurie
 OK --

   I have installed CVSWeb on HPUX using a netscape server. After
removing the
-wt from cvsweb.cgi I am able to view the initial page. 
  
 Now I am getting 

NOTE: There are 104 files, but none matches the current tag (). 
What can I do to fix this?

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


Re: Mount SMB share on bootup

2003-11-10 Thread Kliment Andreev
> point is password protected (on the XP side) so I am prompted for a
> password.  How can I automate that?  Or should I create the share without
a
> password?  I am not too worried about internal security so the share could
> have no password and that would be fine.

Create a script called whatever.sh, chmod +x 755 whatever.sh and put that
script in a /usr/local/etc/rc.d.

Put the following lines in that script

#!/bin/sh
smbmount username=user password=pass and the rest of the parametars that you
are normaly using when mounting smb partition.

Mind that if your startup script for samba is samba.sh your mounting script
must start with a letter after the letter s otherwise you would mounting a
samba share without smb daemon started.

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


Re: Compaq 1850R panics with 5.x

2003-11-10 Thread Olaf Hoyer
On Mon, 10 Nov 2003, Guy Silliman wrote:

> I am trying to get a Compaq 1850R running.  It is a dual PII 400MHz
> machine that works fine with Win2k server... but
> I would prefer to use fbsd 5.x but I am stumped by this panic at
> sysinstall.

Hi!

Well, the old Compaqs have some quite rough edges, and 5.1R (or do you
use a -current snapshot?) is also in some things not that nice...
Sometimes you have to set it to NT4-OS Type.

> I have searched all the lists and have tried several fixes mentioned
> including the "Full table - Mapped" and OS set to Win2k in the BIOS.
> I have tried disabling the onboard NIC as a possible source of conflicts
> but no luck.
>
I had in my former company a 1850 running SMP with a 4.8-stable.
The onboard SCSI is basically a Symbios one, and it was recognized
without hassle.

(Ok, it needs the compaq tool partition to do RAID stuff, but... well,
broke it during installation)


> I would be willing to go with a late 4.x but it does not probe the
> onboard SCSI  thus I have no drives.
> I do have a Smart Array 3200 ordered and coming - this may solve the 4.x
> issue, but I am puzzled by the panic with 5.x.
>

That ist strange indeed, my box (dual PIII-500) went fine.
But perhaps there is also a different Mainboard in, with some
undocumented change in  the series.

HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Enemy Territory

2003-11-10 Thread Karel J. Bosschaart
On Mon, Nov 10, 2003 at 10:21:34AM -0700, Robin Schoonover wrote:
> On Mon, 10 Nov 2003 10:11:30 +0100, "Karel J. Bosschaart"
> <[EMAIL PROTECTED]> wrote:
> > On Sun, Nov 09, 2003 at 10:55:38PM +0100, Robin Schoonover wrote:
> > > 
> > > On a slightly related note, I've been trying to run some of the linux
> > > loki demos under FreeBSD.  All work (plus heretic II, which has
> > > software rendering), except the ones labeled "3d Acceleration".  The
> > > ones labeled "3d Acceleration" tend to crash X.
> > > 
> > > One thing I've noticed is when X is started it displays:
> > > (EE) NVIDIA(0): Failed to load GLX

This is a serious problem that should be fixed if you want to use
3d-acceleration. My log (on 5.1-current) shows

(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.4365
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "nvidia"

> > > It appears to be finding the GLX stuff, but when it tries to load it,
> > > it can't.  If it helps any, I have a 'GeForce4 MX 440 with AGP8X'.

Sorry, I don't know why it is not loading :-(. If you have the line
'Load "dri"' in your XF86Config, comment it out. It is not needed and
might cause trouble. I suppose you have the kernel module nvidia.ko
loaded? 
You can test direct rendering by typing 'glxinfo'. It should show 
(among a lot of other stuff): direct rendering: Yes.
To see the performance, try 'glxgears'. My machine is doing ~3900 FPS
on -stable (using nvidia agp), ~2800 FPS on -current (using FreeBSD agp,
nvidia agp does not work on this machine under -current). I guess the
debugging stuff in -current might cause some slowdown. Also getting
lot of stuff on the console like this:
exclusive sleep mutex dev.mtx_api r = 0 (0xc4abb98c) locked @ 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c:753

> I haven't been much of a gamer since a virus wiped the windows box I was
> using a couple years ago, and that kinda turned me away from windows.  Then
> I used FreeBSD on an old (formerly dos) machine, and there wasn't really
> any hard drive space for anything, including games.
> 
> Now that I have a reasonably new computer (running FreeBSD of course), I
> decided to try a few games.  It didn't take me long to find the loki demo
> stuff.
>
Have a look at http://www.icculus.org . It's the most extensive list
of Linux games I know off, including useful links.

> > Hardware: Athlon 1.4 GHz, Asus A7M266, 512 MB RAM, GeForce4 Ti 4200
> > 128MB, onboa rd sound CMI8738.
> > OS  : FreeBSD 4.x (currently 4.9-PRERELEASE)
> 
> Here is where we are really different.  I'm running 5.1 (and this means I
> won't be saddened if things don't work, since I knew things like this might
> happened when I installed it).  I have an Athlon 2 GHz, 512 MB ram,
> GeForce4 MX 440 with AGP8X, and for sound, I have 'CMI9739'.
>
Once you succeed in running direct rendering, I expect games will also
run in -current. I have a dual-boot setup with -stable and -current and
shared my games partition. I didn't try them all in -current, but I
succeeded running Quake3 and UT2003, although UT2003 feels considerably 
slower than in -stable. I plan to do the same test on -current with
all my games installed but don't know when :-/.
I don't know what performance one should expect with a MX card, I bought
a Ti version since these are faster for gaming.

> [snip list]
> 
> Bizarre, Alien Crossfire seems to have written over Alpha Centauri, so I
> can't really test the sound for Alpha Centauri until I deinstall Alien
> Crossfire and reinstall Alpha Centauri.  Soldier of Fortune, Myth II:
> Soulblighter and Descent 3 all require 3d accel...
>
Reason I included sound info is that for a long time there were these
sound lags which I worked around by purchasing OSS. However, OSS does not 
work for mmap'ed sound (Quake3 and all derivatives such as ET) so I
ended up switching between the two. Currently, only two of the games
(Rune and SoF) require OSS, so I'm mostly running pcm again. 
For the records, mmap'ed sound was also broken in FreeBSD for quite a 
while, around 4.2 IIRC.

Generally, I'm happy with gaming performance in FreeBSD but I'm more
of an occasional gamer than hardcore, and consider it a nice challenge
to run them on FreeBSD ;-). It *does* add quite some instability,
unfortunately, due to the beta-nature of the nvidia-drivers, but my
experience is that once a game is started up it rarely crashes. I
haven't checked out DRI for a long time (since replacing my Matrox 
G400 by Geforce4 about one year ago).

Don't forget to check out the nvidia-driver FAQ:
http://www.soulwax.net/nvidia/faq.shtml

Hm, Can't find info about __GL_SINGLE_THREADED=1 there (maybe 
overlooking), but anyway you need to set it for most (if not all) 
Linux games to run succesfully.

Go

Re: php4-cli with mod_php4

2003-11-10 Thread Kevin D. Kinsey, DaleCo, S.P.
Jim Flowers wrote:

I would like to have a cli php as well as mod_php4 with apache2.  I installed 
php4-cli but then had to deinstall it when mod_php4 complained about it using 
the same install locations.

It seems like maybe use a different prefix (/usr/local/php4?) but I don't 
know.  Is there a correct way to do this?

Thanks

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


 

If it's not too much of an issue, a better idea
*might* be to just install a complete PHP environment
(i.e. /usr/ports/lang/php4).
I've done that several times w/o any issues, and enjoy
the use of the Apache Mod and the CLI regularly ;-)
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php4-cli with mod_php4

2003-11-10 Thread Jim Flowers
I would like to have a cli php as well as mod_php4 with apache2.  I installed 
php4-cli but then had to deinstall it when mod_php4 complained about it using 
the same install locations.

It seems like maybe use a different prefix (/usr/local/php4?) but I don't 
know.  Is there a correct way to do this?

Thanks

--
Jim Flowers<[EMAIL PROTECTED]>

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


at my wit's end on buildworld

2003-11-10 Thread Watkins, Jason
Ohh, well don't I feel silly now :).

Thanks... ohh, one remaining question: whats the best way to save myself a
debug kernel so I have something to run a dump against if I get a panic
again? Where does make buildkernel output the kernel file?


Jason Watkins
RELS Reporting
877-264-9096x5887

"MMS " made the following
 annotations on 11/10/2003 10:42:02 AM
--
"THIS E-MAIL MESSAGE AND ANY FILES TRANSMITTED HEREWITH, ARE INTENDED SOLELY FOR THE 
USE OF THE INDIVIDUAL(S) ADDRESSED AND MAY CONTAIN CONFIDENTIAL, PROPRIETARY OR 
PRIVILEGED INFORMATION.  IF YOU ARE NOT THE ADDRESSEE INDICATED IN THIS MESSAGE (OR 
RESPONSIBLE FOR DELIVERY OF THIS MESSAGE TO SUCH PERSON) YOU MAY NOT REVIEW, USE, 
DISCLOSE OR DISTRIBUTE THIS MESSAGE OR ANY FILES TRANSMITTED HEREWITH.  IF YOU RECEIVE 
THIS MESSAGE IN ERROR, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND DELETE THIS 
MESSAGE AND ALL COPIES OF IT FROM YOUR SYSTEM."
==

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


Is there a J2SE implementation for NetBSD?

2003-11-10 Thread Stephen Harper
I am looking for in omplmentation of J2SE for Net BSD. Does anyone know 
if it exists?
Stephen Harper
[EMAIL PROTECTED]

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


Re: sftp mount?

2003-11-10 Thread Jim Durham
On Friday 07 November 2003 09:27 am, Lewis Thompson wrote:
> Hi,
>
> I'm wondering if there might be any way to mount an sftp
> ``filesystem''? At my university everything is firewalled and the
> only way I can transfer files to/from my account is to use sftp --
> but that gets quite painful after a while.
>
>   I was wondering if anybody knew a way I might achieve what could
> essentially be described as mounting an sftp ``export''?  Maybe I
> could specify an argument that sets the logical root?
>
>   So:
>
> mount_sftp --root=/home/lewiz foo.bar.com /remote_home
>
> would provide /home/lewiz on foo.bar.com at /remote_host?  Is this
> possible in any way at all?  Or can anybody suggest any other way I
> might achieve something similar?  Bear in mind I am actually
> restricted to sftp/ssh.

Sorry, I didn't see this sooner...

I don't know if this is exactly what you want, but you can do this in 
KDE using the fish:// protocol, which is basically file sharing over 
ssh. You bring up the konqueror browser and do 
fish://[EMAIL PROTECTED] and it should pop open a GUI representation 
of your home directory on the server "hostname". When you click on an 
editable file it will run an editor and it really downloads the file, 
edits it, then when you go to save it says something like "This file 
is on a remote host, do you want to upload it?" and you just click 
yes.

I haven't tried this will all different kinds of editors. The editors 
that come with the KDE desktop all work with this, but not sure about 
vi or emacs.

So, it's not exactly what you had in mind, but it works for me.
-- 
-Jim

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


Rocketport (rp0) mapping failure on 5.1-REL

2003-11-10 Thread Peter Losher
I am installing a RocketPort PCI card into a Acer Altos system; the box 
was originally running Linux, slapping on FreeBSD 5.1 on the box, the 
system throws up this error when trying to attach the RP card:

-=-
rp0:  port 0x5400-0x54ff,0x5000-0x507f mem 
0xed8ffc00-0xed8ffc7f irq 11 at device 2.0 on pci1
rp0: ioaddr mapping failed for RocketPort(PCI).
device_probe_and_attach: rp0 attach returned 6
-=-

Has anyone ever seen such an error, and if so, how did you get around it? 
(I haven't been able to find anything via Google)  From what I have been 
told, the card came up cleanly when the box was running Linux.

Best Wishes - Peter
-- 
[ http://www.plosh.net/ ] - "Resident Kalifornian"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't /.../rc.d/slapd.sh start

2003-11-10 Thread Aaron
Matthew Seaman wrote:
On Sun, Nov 09, 2003 at 07:15:09PM -0700, Aaron wrote:

Hmmm, I just noticed this in the debug output from slapd.sh

+ /usr/local/libexec/slapd -u ldap -g ldap
+ _return=1
+ [ 1 -ne 0 ]
+ [ -z  ]
I tried running slapd as above from the command line and failed.


slapd should have logged the reason why it didn't start up -- check
/var/log/console.log, /var/log/all.log and /var/log/messages
If the log message doesn't clarify things, turn up the log level in
/usr/local/etc/openldap/slapd.conf (see slapd.conf(5)).
Ahhh...
bash-2.05b$ sockstat -4
...
ldap slapd  1808 tcp4   *:389 *:*
...
This after following Dr. M's suggestion and looking in all.log (cough 
after turning it on cough cough).

Which showed this:
Nov 10 10:09:06 haiku slapd[289]: bdb_initialize: Sleepycat Software: 
Berkeley DB 4.1.25: (December 19, 2002)
Nov 10 10:09:06 haiku slapd[289]: could not open config file 
"/usr/local/etc/openldap/schema/core.schema": Permission denied (13)
Nov 10 10:09:06 haiku slapd[289]: slapd shutdown: freeing system resources.
Nov 10 10:09:06 haiku slapd[289]: slapd stopped.
Nov 10 10:09:06 haiku slapd[289]: connections_destroy: nothing to destroy.

Permission denied for core.schema?

Changed ownership and group for all schema files:
# chown ldap:ldap openldap/schema/*.schema
Which didn't change things.

Changed ownership and group for the directory holding the schema files:
# chown ldap:ldap openldap/schema
Which did the trick.

Nov 10 10:33:09 haiku slapd[179]: bdb_initialize: Sleepycat Software: 
Berkeley DB 4.1.25: (December 19, 2002)
Nov 10 10:33:09 haiku slapd[179]: line 21 (allow bind_v2)
Nov 10 10:33:09 haiku slapd[179]: line 61 (database bdb)
Nov 10 10:33:09 haiku slapd[179]: bdb_db_init: Initializing BDB database
Nov 10 10:33:09 haiku slapd[179]: line 64 (suffix   "dc=krelm, dc=com")
Nov 10 10:33:09 haiku slapd[179]: line 65 (rootdn   "dc=krelm, dc=com")
Nov 10 10:33:09 haiku slapd[179]: line 69 (rootpw ***)
Nov 10 10:33:09 haiku slapd[179]: line 73 (directory /var/db/openldap-data)
Nov 10 10:33:09 haiku slapd[179]: line 75 (index objectClasseq)
Nov 10 10:33:09 haiku slapd[179]: index objectClass 0x0004
Nov 10 10:33:10 haiku slapd[180]: slapd starting
Nov 10 10:33:10 haiku slapd[180]: daemon: added 8r
Nov 10 10:33:10 haiku slapd[180]: daemon: select: listen=8 
active_threads=0 tvp=NULL

It's strange that the port would install rc.d/slapd.sh to call slapd 
with -u ldap -g ldap, yet not set the permissions on these schema files 
and directories accordingly.

Anyway, thanks Dr. M.

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


Writing Device Drivers in 5.1-RELEASE

2003-11-10 Thread Gregory Nutt
I'm trying to port the device driver for acx100 chipsets TO WORK ON 
FreeBSD.  However, all the guides I'm finding make reference to files that 
apparently are no longer used such as:

card_if.h
device_if.h
bus_if.h
etc...
and have been renamed to card_if.m, device_if.m, bus_if.m, etc...
even though these are includes in a good number of the device driver files 
included with this distro.  So far I just remmed out the includes of these 
files and am now stuck at the DEVMETHOD macro where it is not accepting 
functions such as device_probe, device_attach, device_detach, etc where I 
get an error saying ei. device_probe_desc undeclared here (not in a 
function).  I can find no headers that define the macro or the 
functions.  Please help!

Greg

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


Mount SMB share on bootup

2003-11-10 Thread Chirhart, Brian
I am only 1 month along in my FreeBSD knowledge, so please forgive any wrong
verbage or simple questions.  In that month, I have set up a pretty sweet
server that is running SSH, apache 2.x and ProFTPD.  So I have gotten along
pretty well.  My question is my FTP server is hosting files off of a WinXP
box via an SMB mount point.  But every time I reboot the box (which is often
since I don't know what I am doing) I have to type my mount command again.
Is there a way I can mount that automatically upon startup?  Also, the mount
point is password protected (on the XP side) so I am prompted for a
password.  How can I automate that?  Or should I create the share without a
password?  I am not too worried about internal security so the share could
have no password and that would be fine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: XFree86 difficulties

2003-11-10 Thread Vulpes Velox
On Mon, 10 Nov 2003 10:38:29 -0500 (EST)
LM <[EMAIL PROTECTED]> wrote:

> I'm trying to figure out if I can get X running on my system and could use
> some help.
> 
> I have an ATI All-in-Wonder 128, AGP card with 32MB.  I also recently
> purchased a Sony SDM-X72 TFT LCD Color Monitor with specs of:
> Horizontol Freq: 28-92kHz
> Vertical Freq:56-85Hz
> Max Resolution: 1280x1024
> 
> I tried configuring XFree86 through /stand/sysinstall.  Found suggestions
> in the Usenet Newsgroups to set the card as ATI Rage 128 (generic).  I
> tried that setting along with the various default screen types (VGA, Super
> VGa, Extended Super VGA, etc.).  When I try startx, the screen displays
> the message that I'm out of scan range and displays frequencies
> 35.5Khz-87Hz.  Does anyone know if I can get X Windows running with my
> current hardware?  Any suggestions on setup?
> 
> I guess I should also mention, I installed FreeBSD from a CD with
> release version 4.3.  Wanted to get some idea of how it would work with my
> current system, before I go out and buy CDs for version 4.9.

It would be useful it you would post the config file... but it sounds like you
may have the refresh rates set up improperly.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Enemy Territory

2003-11-10 Thread Robin Schoonover
On Mon, 10 Nov 2003 10:11:30 +0100, "Karel J. Bosschaart"
<[EMAIL PROTECTED]> wrote:
> On Sun, Nov 09, 2003 at 10:55:38PM +0100, Robin Schoonover wrote:
> > 
> > On a slightly related note, I've been trying to run some of the linux
> > loki demos under FreeBSD.  All work (plus heretic II, which has
> > software rendering), except the ones labeled "3d Acceleration".  The
> > ones labeled "3d Acceleration" tend to crash X.
> > 
> > One thing I've noticed is when X is started it displays:
> > (EE) NVIDIA(0): Failed to load GLX
> > 
> > It appears to be finding the GLX stuff, but when it tries to load it,
> > it can't.  If it helps any, I have a 'GeForce4 MX 440 with AGP8X'.
> >
> Games are running fine for me with the Nvidia driver and a GeForce4
> Ti4200, on a -stable system. Below is a list I made some time ago with
> the games I can run successfully, with some notes. 'pcm' denotes the
> native FreeBSD sound driver, 'OSS' the (commercial) driver by Opensound.
> I have plans to make a website with this info as well as install notes
> and a forum for asking questions; I don't know though if there is a lot
> of need for this. Some time ago, the forum at swissgeeks closed down soon
> due to lack of interest. Personally, I'd like some chit-chat about gaming
> on FreeBSD :-).
> 

I haven't been much of a gamer since a virus wiped the windows box I was
using a couple years ago, and that kinda turned me away from windows.  Then
I used FreeBSD on an old (formerly dos) machine, and there wasn't really
any hard drive space for anything, including games.

Now that I have a reasonably new computer (running FreeBSD of course), I
decided to try a few games.  It didn't take me long to find the loki demo
stuff.

> 
> 2003-09-09 Linux games on FreeBSD
> 
> Hardware: Athlon 1.4 GHz, Asus A7M266, 512 MB RAM, GeForce4 Ti 4200
> 128MB, onboa rd sound CMI8738.
> OS  : FreeBSD 4.x (currently 4.9-PRERELEASE)

Here is where we are really different.  I'm running 5.1 (and this means I
won't be saddened if things don't work, since I knew things like this might
happened when I installed it).  I have an Athlon 2 GHz, 512 MB ram,
GeForce4 MX 440 with AGP8X, and for sound, I have 'CMI9739'.

[snip list]

Nice list of games...I should look into a few of those.  And just
because, here is my list (even ones that don't work):
Game  Works   Sound  Remarks
Descent 3 (demo)  no (crashes X)
Heretic II (demo) yes ew Must use software
 rendering
Heros of M and M III (demo)   yes yes
Kohan: IS (demo)  yes yes
Myth II: Soulblighter (demo)  no (crashes)
Railroad Tychoon II (demo)yes yes
Simcity 3000 unlimited (demo) no (crashes)
SM's Alpha Centauri (demo)yes ?  
SM's Alien Crossfire (demo)   no
UT2003 (demo) no I should try playing  
 this again
Soldier of Fortune (deno) no (crashes)


Bizarre, Alien Crossfire seems to have written over Alpha Centauri, so I
can't really test the sound for Alpha Centauri until I deinstall Alien
Crossfire and reinstall Alpha Centauri.  Soldier of Fortune, Myth II:
Soulblighter and Descent 3 all require 3d accel...

-- 
Robin Schoonover (aka End)
#  This space intentionally has nothing but text explaining why this
#  space has nothing but text explaining that this space would otherwise
#  have been left blank, and would otherwise have been left blank.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: where do you find

2003-11-10 Thread james
Lowell Gilbert wrote:

james <[EMAIL PROTECTED]> writes:

 

the topics that are posted on the e mail
   

I don't understand the question.

 

well the mailing list sends a list of topics but thats all it is just 
the titles
so how do you get to look at the problem and salution of the title in 
the list

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


Re: Routing selectively

2003-11-10 Thread Charles Swiger
On Nov 10, 2003, at 11:13 AM, Dimitris Xochellis wrote:
In my local network I have two routers that provide
internet services.
-Can I use them both simultaneously?
Yes.

-Do I need to have a second ethernet card (And add a
second interface to rc.conf) in order to use them
both?
No, but it might be easier to configure a sensible network topology 
using two cards.  Otherwise, you can configure a virtual interface 
("ifconfig rl0 alias YYY")...

-Can I configure my FreeBSD box to use the first
router when I am sending packets to a specific
internet subnet and the second otherwise?
Sure.

-Any relative Docs or Examples please?
Normally, one has one "default route", which tells all non-local 
traffic to go via your preferred router.  You can add additional routes 
like so:

route add -net 1.2.3.0/24 router1
route add -net 4.5.6.0/24 router2
There are better ways of managing routing than this, including setting 
up BGP/EGP peering with your ISPs, or some other routing protocol 
(OSPF), but this should get you started

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


RE: freebsd newbee problem

2003-11-10 Thread fbsd_user
Check PC bios and disable all power saving settings for monitor.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of ed
Sent: Monday, November 10, 2003 11:43 AM
To: [EMAIL PROTECTED]
Subject: freebsd newbee problem

i have the problem that when i try installing freebsd 4.8 after
about 3
minutes the monitor goes black and there is no way to reactivate it
unless by restarting. i tried two different monitors, an old tulip
and a
maggellan of about three years old but both have this annoying
problem

hope you can help

ed van kuipers
holland
[EMAIL PROTECTED]

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

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


freebsd newbee problem

2003-11-10 Thread ed
i have the problem that when i try installing freebsd 4.8 after about 3 
minutes the monitor goes black and there is no way to reactivate it 
unless by restarting. i tried two different monitors, an old tulip and a 
maggellan of about three years old but both have this annoying problem

hope you can help

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


Disk block size tuning - multiple questions

2003-11-10 Thread Boring, Andrew
Greetings!

First question:
I am configuring a server to hold source trees for 4.8/4.9 and maybe -current for 
production and experimental upgrades on my several FreeBSD servers. Currently, I only 
keep the -release sources for maintaining patchlevels on the individual boxes 
themselves. The last time I started adding the -current source tree on a 
non-production server, I ran out of inodes before actually completing the CVS sync. 
What newfs blocksize/fragment size and inode density is optimal for 10 to 16 GB 
partition containing just source trees? The default stripe size on the RAID controller 
is set to 128k for mirrored drives.

Hardware: Compaq ProLiant DL360, dual 18GB (mirrored) drives, with Compaq 5i 
SmartArray controller. FreeBSD 5.1

Next question:
Are there optimal newfs block/fragment/inode options for a quad-disk, 1+0 RAID for a 
mail server running Postfix? Specifically, the queue directory and the home (Maildir) 
directories are what I'll need to optimize. I think the queue directory will be heavy 
read/write, whereas I imagine that the Maildir directories (kept on a different 
partition) will be more write-intensive over-all. The queue directory will reside on a 
(approximately) 1 GB /var partition, and the Maildirs will be on a roughly 27 GB /home 
partition (no other user files on /home). The default stripe size on the RAID 
controller is set to 128k for mirrored drives. I was looking at the tuning(7) 
recommendations of something like block size 8192 and frag size 1024 for the queue and 
Maildir directories. SInce Maildir will have to accomodate occasional large files with 
attachments, this seems like it might be a happy medium. I don't have a specific usage 
pattern developed on the number of/size of email files and attachments, so I am 
planning on a vague, nebulous "average email use".

Hardware: SGI 1200, quad 18GB (RAID 1+0) drives, Compaq 4200 SmartArray controller, 
FreeBSD 4.9

Another question:
I've been doing a lot of reading on filesystem/RAID levels for database use (I'm not a 
DB guy). I don't have a server ready for this yet, but i would like some generic 
recommendations on filesystem setup. I've read that mirrored stripes (0+1 or 1+0) is 
better overall than RAID 5. Any other tuning tips, such as block size, inode, 
async/sync/softupdates, etc for a partition to hold an SQL database (such as MySQL or 
Postgres, etc)? The tuning(7) man page seems to indicate a default block size (16k) 
but fewer inodes for databases.

Hardware: SGI 1200, quad 18GB (RAID 1+0) drives, Compaq 4200 SmartArray controller, 
FreeBSD 4.9

Last question:
With a good battery-backed caching controller (such as the Compaq SmartArray cards), 
is SoftUpdates of any use? My understanding is that SoftUpdates does in software the 
same sort of caching that RAID controllers would do. Am I correct or way off base? 
Should I mount all drives synchronous without SoftUpdates, or asynchronous with 
SoftUpdates, or what is the recommended choice when using real server-class SCSI RAID 
controllers? I am more concerned overall with higher-availability than 
higher-performance.

Thanks in advance!
(please Cc: me on all responses for this thread; I'm not subscribed)

--
Andrew Boring
Miller Zell Desktop Services
<[EMAIL PROTECTED]> 

"Microsoft DNS service terminates abnormally when it receives a
response to a dns query that was never made. Fix information: run your
DNS service on a different platform." -- bugtraq
http://www.securityfocus.com/archive/1/6212
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


BSDlatino

2003-11-10 Thread cesarm
Hi,

My name is Cesar Morillo, this is to let you know about a channel on the IRC, Undernet 
(IRC.Undernet.
org), that is a group of friends that are there to talk about *BSD, help users
who doesn't talk english, and we think that is a good idea to help users with
*BSD in Spanish. With this letter we just want to know if you, the FreeBSD
Staff, are intersting in put an announcement telling Latino people, that there
is a channel that they can go and interact in a very warm environment.
The channel is #BSDlatino
We also have the domain "BSDlatino.org"

Thanks.


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


Routing selectively

2003-11-10 Thread Dimitris Xochellis
Hi list,

In my local network I have two routers that provide
internet services. 

-Can I use them both simultaneously?
-Do I need to have a second ethernet card (And add a
second interface to rc.conf) in order to use them
both? 
-Can I configure my FreeBSD box to use the first
router when I am sending packets to a specific
internet subnet and the second otherwise?
-Any relative Docs or Examples please?

I am using a FreeBSD(i386) 4.8 box.
My current network setup inside the rc.conf is:

ifconfig_rl0="inet X.X.X.2 netmask 255.255.255.0"
hostname="me.host.gr"
defaultrouter="X.X.X.1"
router_enable="NO"

Please cc me in case you respond.

Thanks in advance,
Jim Xochellis



Do You Yahoo!?
Αποκτήστε τη δωρεάν @yahoo.gr διεύθυνση σας στο http://www.otenet.gr
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.1 RELEASE - Panic

2003-11-10 Thread Jason Morgan
On Sun, Nov 09, 2003 at 01:28:58PM -0800, Kris Kennaway wrote:
> On Sun, Nov 09, 2003 at 03:37:29PM -0500, [EMAIL PROTECTED] wrote:
> > I am currently running 5.1 RELEASE, as system I recently 'downgraded' from 
> > CURRENT.  Since I moved back to RELEASE, the system has been giving me file 
> > system errors from time to time.  I've run fsck - though I know very little of 
> > what I'm going with this utility.  And now, I'm getting a PANIC, with 
> > the following error:
> > 
> > mode = 041777, inum = 3, fs = /usr
> > panic: ffs_valloc: dup alloc
> > Debugger("panic")
> > Stoped atDebugger+0x4d:  xchgl  %ebx,in_Debugger.0
> > 
> > I ran CURRENT on this system for 6-8 months and never got a panic - the system is 
> > not used all that often.
> > 
> > Anyone have any suggestions as to what I can do?
> 
> I usually get this on marginal (IBM deathstar) disks..it means you had
> some kind of data corruption.
> 
> There's not much you can do about it except for trying different disk
> hardware if it happens a lot.

I moved back to CURRENT and all is now working fine.  Very strange error.

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


XFree86 difficulties

2003-11-10 Thread LM
I'm trying to figure out if I can get X running on my system and could use
some help.

I have an ATI All-in-Wonder 128, AGP card with 32MB.  I also recently
purchased a Sony SDM-X72 TFT LCD Color Monitor with specs of:
Horizontol Freq: 28-92kHz
Vertical Freq:56-85Hz
Max Resolution: 1280x1024

I tried configuring XFree86 through /stand/sysinstall.  Found suggestions
in the Usenet Newsgroups to set the card as ATI Rage 128 (generic).  I
tried that setting along with the various default screen types (VGA, Super
VGa, Extended Super VGA, etc.).  When I try startx, the screen displays
the message that I'm out of scan range and displays frequencies
35.5Khz-87Hz.  Does anyone know if I can get X Windows running with my
current hardware?  Any suggestions on setup?

I guess I should also mention, I installed FreeBSD from a CD with
release version 4.3.  Wanted to get some idea of how it would work with my
current system, before I go out and buy CDs for version 4.9.

Thanks.

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


Compaq 1850R panics with 5.x

2003-11-10 Thread Guy Silliman
I am trying to get a Compaq 1850R running.  It is a dual PII 400MHz 
machine that works fine with Win2k server... but
I would prefer to use fbsd 5.x but I am stumped by this panic at 
sysinstall. 
I have searched all the lists and have tried several fixes mentioned 
including the "Full table - Mapped" and OS set to Win2k in the BIOS. 
I have tried disabling the onboard NIC as a possible source of conflicts 
but no luck.

I would be willing to go with a late 4.x but it does not probe the 
onboard SCSI  thus I have no drives.
I do have a Smart Array 3200 ordered and coming - this may solve the 4.x 
issue, but I am puzzled by the panic with 5.x.



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


Re: Example of 'normal' cvsup-ports session ?

2003-11-10 Thread Lee Harr
> Could you anyone send me the output from a normal (ie succesful)
> cvsup-ports session ? I keep getting 'killed' appearing


>   Add delta 1.12 2003.08.04.10.54.02 kris
>   Add delta 1.13 2003.08.16.01.56.43 kris
>   Add delta 1.14 2003.10.19.07.17.46 kris
> Killed
> trinidad#

Having just sent the last email I happened to walk past the system
console. There are *a lot* of "swap_pager_getswapspace:failed" messages !
So I think I've found at least part of teh problem ! As I said I only
installed FreeBSD on that machine this afternoon so I'm not sure what's
causing that I'll have to check it out but I don't think it's a CVSUP
problem !


Yea, I have seen that before when the disk was full.

Check the output from df, swapinfo, and maybe watch the process
in top as it crashes.
_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: DELL Poweredge 400 SC NIC

2003-11-10 Thread Toomas Aas
Hi!

> In the setup I see no network devices are configured. There are a bunch
> that I could select (eg IBM Etherjet, NE100,etc), but I don't have
> any good idea what to choose.

These are just old non-PnP ISA NICs that you might need to configure or 
disable. If you have a modern PCI NIC then you don't need to worry 
about this screen at all. Your NIC will be detected automagically.

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Why is the third hand on a watch called a second hand?

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


problem witch sound card

2003-11-10 Thread DanGer
my system is FreeBSD4.9-release and my sound card is Creative

I have added to my kernel: device pcm and recompiled it.
then i rebooted and there just wrote: es1371: wait src ready timeout 0x10
[0xff]

and then it booted to the system, but sound card doesen't works :(
what I have to do?

Thanks a lot.

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


Update module ports after Perl upgrade?

2003-11-10 Thread Jim Flowers
I just upgraded to perl-5.8.1 on my FreeBSD 4.9R system (5.8.0 threw an error 
on shared.bs) but after I had installed mysql-server which builds p5-DBI-137-
1.37 and p5-DBD-mysql-2.1026_1 as dependencies.

In the past I have uninstalled perl modules and reinstalled them to get them 
in the right place to use with the upgraded perl version but it seems a bit 
hit-or-miss on establishing the new dependencies.

What is the right, or at least preferred, way to do this?

Thanks.

--
Jim Flowers<[EMAIL PROTECTED]>

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


Host Name [was: No route to host]

2003-11-10 Thread Marty Landman
At 07:06 AM 11/10/2003, Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2003-11-09 19:00:28 -0500:
>
> So that third node on the IP addr represents what, the switch?
no, it's the subnet. ok, this is not a helpful answer.
But your relating that to the subnet mask later makes total sense, thank 
you I feel enlightened.

given the netmask you use, yes. or you could change the mask on all
hosts to, say, 255.255.0.0.
Sounds advanced and I'm happy leaving things as they are now.

So hear's another question.

Right now I can only access the fbsd box on my lan via ip addr; I set up a 
hostname but that doesn't seem to be the same as a symbolic name for the 
fbsd machine on my lan. Here's what /etc/rc.conf looks like:

# This file no longer contains just the overrides from /etc/defaults/rc.conf.
hostname="MyFBSD.my.domain"
kern_securelevel_enable="NO"
linux_enable="YES"
moused_enable="YES"
nfs_reserved_port_only="YES"
sendmail_enable="YES"
sshd_enable="YES"
ifconfig_ep0="inet 192.168.0.7 netmask 255.255.255.0 media 10baseT/UTP"
firewall_enable="no"
I was surprised when after making this change to rc.conf and rebooting the 
ip addr got changed to something other than what is specified in rc.conf.

$ ifconfig
ep0: flags=8843 mtu 1500
inet6 fe80::220:afff:fe4d:24b7%ep0 prefixlen 64 scopeid 0x1
inet 192.168.0.222 netmask 0xff00 broadcast 192.168.0.255
ether 00:20:af:4d:24:b7
media: Ethernet 10baseT/UTP
lp0: flags=8810 mtu 1500
faith0: flags=8002 mtu 1500
lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010 mtu 1500
sl0: flags=c010 mtu 552
$
Finally, how do I enable .history for users other than root, and how do I 
specify how large the shell history may get?

Thanks in advance,

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: at my wit's end on buildworld

2003-11-10 Thread Erik Trulsson
On Sun, Nov 09, 2003 at 11:47:24PM -0800, jason watkins wrote:
> Well, I'm still having problems with buildworld on releng 4.9. My original
> problem was that make would fail on entering sendmail with a "don't know how
> to make" error. I removed /usr/src/* and /usr/sup/src-all/* and resynced
> with a different cvs server, and still had the same problem. So I edited
> make.conf to not build sendmail, since I don't need it. Now the build hangs
> with:
> 
> gzip -cn /usr/src/usr.sbin/boot0cfg/boot0cfg.8 > boot0cfg.8.gz
> ===> etc
> 
> Make appears to exit silently shortly after writing that output.

As it should.  The only things that should come after that are some
sendmail related stuff, which you apparently told it not to build.
If you have 'NO_SENDMAIL=true' in /etc/make.conf then the above is the
last thing that builworld should output, and means it is finished.

> I've tried
> additional resyncs, and I do remove the concents of /usr/obj/* before each
> build. I've seen another couple recent posts where clearing obj fixed a
> similar problem, but it hasn't worked for me.
> 
> So, I'm at a loss. What do I do next?

Your next step should be to build and install a kernel, and then
install the world.


-- 

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


Re: No route to host

2003-11-10 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-11-09 19:00:28 -0500:
> At 05:29 PM 11/9/2003, Luke Kearney wrote:
> 
> >OK I think I see the problem. Your winblows machines are on a different
> >network to the FBSD machine. Change FBSD to 192.168.0.7 and all should
> >be just fine.
> 
> Very cool Luke; this worked and my FBSD box now can ping my Windoz boxes 
> and vice versa.
> 
> >There is no route to host for the other machines because
> >as far as FBSD is concerned the other machines should be on a different
> >wire.
> 
> So that third node on the IP addr represents what, the switch?

no, it's the subnet. ok, this is not a helpful answer. in one of
your previous post, you wrote:

192.168.0.1 (win-xp)
192.168.0.150 (win-95)
192.168.7.7 (freebsd-4.8/mini)
192.168.0.3 (win-98)
192.168.0.160 (win-95)

Destination   GatewayFlags  Refs  Use  Netif Expire
127.0.0.1 127.0.0.1  UH 0 0lo0
192.168.7 link#1 UC 1 0ep0
192.168.7.7   00:20:af:4d:24:b7  UHLW   0 1lo0

#ifconfig -a
ep0: flags=8843 mtu 1500
  inet 192.168.7.7 netmask 0xff00 broadcast 192.168.7.255
  ether 00:20:af:4d:24:b7
  media: Ethernet 10baseT/UTP
lp0: flags=8810 mtu 1500
faith0: flags=8002 mtu 1500
lo0: flags=8049 mtu 16384
  inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010 mtu 1500
sl0: flags=c010 mtu 552

the netmask in the ifconfig output is important, because the host
uses its ip address and the netmask to figure out where it should be
sending packets for a given ip. it does so by "masking" the ip
address with the netmask: the bits that are turned on in the mask
cover "local" (in the network sense) part of the address;

inet 192.168.7.7 netmask 0xff00
or the equivalent
inet 192.168.7.7 netmask 255.255.255.0

means 192.168.7 is the part common to all hosts on the network, and
there are 256 distinct addresses on the network (254 hosts, 0 for
the address of the network, 255 for the broadcast address).

addresses that are local (on the same wire) can be sent the packets
directly, foreign addresses (on a different network) require passing
the traffic through a box connected to the foreign logical network.
you had no route configured for the 192.168.0/24 network, hence the
error.

> IOW you're saying since all the other boxes on the LAN are
> 192.168.0.nnn the FBSD box needed to be as well?

given the netmask you use, yes. or you could change the mask on all
hosts to, say, 255.255.0.0.

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


Re: Installing Without Video Card

2003-11-10 Thread Matthew Seaman
On Sun, Nov 09, 2003 at 04:55:52PM -0800, Rishi Chopra wrote:
> Is there a way to install FreeBSD without a video card?  Can I somehow 
> install the OS over ethernet without having a video card and monitor 
> hooked up?
> 
> Please email me at [EMAIL PROTECTED] if you can think of a way...

Depends on the Motherboard/Bios -- some won't start to boot up unless
there's some sort of video display.  Plus generally you need a local
video adapter in order to configure Bios settings.  However, given
that your system can get over that important initial hump, then it's
perfectly feasible to install and run the system via a serial console.
See:

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

Note that a "serial console" is typically another computer connected
serial-port to serial-port via a null-modem cable.  You run tip(1) or
some other terminal emulation software on the other machine which
makes the first machine's console accessible from a login session.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: simpliest way to calculate octal?

2003-11-10 Thread Francesco Casadei
On Mon, Nov 10, 2003 at 02:35:35PM +0800, Zhang Weiwu wrote:
> Hello. Pretty newbie question again:)
> 
> Today I found I cannot calculate what is the octal form of 0xa04e.
> 
> First I thought xcalc should do the work, but it seems only deal with 
> decimal.
> 
> I have perl, tcsh, python interprater. It is likely that they are all 
> capable of this kind, but what are the commands for them? What's the most 
> convenient way?
> 
> _
>  MSN Explorer:   http://explorer.msn.com/lccn  
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> end of the original message

You can use 'bc' for this and other conversions:

$ echo 'ibase = 16; obase = 8; A04E' | bc
120116

ibase and obase are the input and output base respectively. Note that you
must use capital letters for exadecimal numbers, lower case letters are
variable names.
See bc(1) manual page for more information.

Francesco Casadei
-- 
You can download my public key from http://digilander.libero.it/fcasadei/
or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...)

Key fingerprint is: 1671 9A23 ACB4 520A E7EE  00B0 7EC3 375F 164E B17B



pgp0.pgp
Description: PGP signature


Re: Enemy Territory

2003-11-10 Thread Karel J. Bosschaart
On Sun, Nov 09, 2003 at 10:55:38PM +0100, Robin Schoonover wrote:
> On Sun, 9 Nov 2003 16:40:30 -0500, Anish Mistry <[EMAIL PROTECTED]>
> wrote:
> > 
> > This is what I have installed, and Enemy Territory runs fine for me.
> Are
> > you sure you have glx loaded in your XF86Config file?  I'm using a
> > Geforce2MX 400 with the nvidia driver.
> > 
> 
> On a slightly related note, I've been trying to run some of the linux
> loki
> demos under FreeBSD.  All work (plus heretic II, which has software
> rendering), except the ones labeled "3d Acceleration".  The ones labeled
> "3d Acceleration" tend to crash X.
> 
> One thing I've noticed is when X is started it displays:
> (EE) NVIDIA(0): Failed to load GLX
> 
> It appears to be finding the GLX stuff, but when it tries to load it, it
> can't.  If it helps any, I have a 'GeForce4 MX 440 with AGP8X'.
>
Games are running fine for me with the Nvidia driver and a GeForce4 Ti4200,
on a -stable system. Below is a list I made some time ago with the games
I can run successfully, with some notes. 'pcm' denotes the native FreeBSD
sound driver, 'OSS' the (commercial) driver by Opensound. I have plans to 
make a website with this info as well as install notes and a forum for 
asking questions; I don't know though if there is a lot of need for this. 
Some time ago, the forum at swissgeeks closed down soon due to lack of 
interest. Personally, I'd like some chit-chat about gaming on FreeBSD :-).

Karel.



2003-09-09 Linux games on FreeBSD

Hardware: Athlon 1.4 GHz, Asus A7M266, 512 MB RAM, GeForce4 Ti 4200 128MB, onboa
rd sound CMI8738.
OS  : FreeBSD 4.x (currently 4.9-PRERELEASE)


GameVersion   pcm  OSSremarks

America's Army  1.7.0 (*) yes  yes
Descent 3   1.4   (*) yes  yes
Duke Nukem 3D Atomic Edition  yes  yesfeels slowish.
Heretic II  1.06a yes  yesversion on CD
  fails with sig11, 
updates fixed it.
Quake 3 Arena   1.32b yes  no

Rune1.07  lag(1)   yes
Serious Sam, The First Encounter1.05 (beta3)  yes  yes
Sin Demo1.10  yes  no Fullscreen wit
h Nvidia driver flashes, windowed OK.
Soldier of Fortune  1.06j lag(2)   yes
Unreal I  yes using UT engin
e, changed ALAudio to Generic (3)

Unreal I: Return to Na Pali   yes using UT engin
e, changed ALAudio to Generic
Unreal Tournament   4.36  yes  no
Unreal Tournament 2003  2225  yes  yesused to have s
ound lag with pcm?
Urban Terror (Q3 Total Conversion)  beta 3.0  yes  no main menu some
times garbled.
RTCW Single Player Demo 1.1b  yes  no

RTCW: Enemy Territory   2.55  yes  no


* update available
1 process rune-bin in pcmsyn after exit
2 exit screen stays with process sof-bin in pcmsyn.
3 Exits when entering 'Dark Arena' level. Workaround: unreal --nosound
  ( Unsupported rate: 18918 )

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


Re: Bind 9.2.3rc4

2003-11-10 Thread Jens Rehsack
Vladimir wrote:
Hi, Jens.


I now attach my config file with zones and log files.
At 19:13 i have started named.
At 19:15 "dig 127.0.0.1"
JR> I'm busy for next 2 days. I'll prove it on Thursday if it's not to
JR> late for you, ok?
JR> Ok, I saved you cfg's into orig/, copied them into a new/
JR> directory and simplified it most I could. The diff is attached.
JR> Would you please try whether it works so far?
   dig 127.0.0.1
   dig 192.168.1.4
   dig 192.168.1.1
   Do not work :-(
Please use script(1) to submit the entire output.
And please run the named with -d flag, too and
submit even it's output.
Jens

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


Re[2]: Bind 9.2.3rc4

2003-11-10 Thread Vladimir
Hi, Jens.

I now attach my config file with zones and log files.
At 19:13 i have started named.
At 19:15 "dig 127.0.0.1"
>> JR> I'm busy for next 2 days. I'll prove it on Thursday if it's not to
>> JR> late for you, ok?
JR> Ok, I saved you cfg's into orig/, copied them into a new/
JR> directory and simplified it most I could. The diff is attached.
JR> Would you please try whether it works so far?

   dig 127.0.0.1
   dig 192.168.1.4
   dig 192.168.1.1
   Do not work :-(

-- 
Regards,
 Vladimir  mailto:[EMAIL PROTECTED]

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


Re: Can't /.../rc.d/slapd.sh start

2003-11-10 Thread Matthew Seaman
On Sun, Nov 09, 2003 at 07:15:09PM -0700, Aaron wrote:
> Hmmm, I just noticed this in the debug output from slapd.sh
> 
> + /usr/local/libexec/slapd -u ldap -g ldap
> + _return=1
> + [ 1 -ne 0 ]
> + [ -z  ]
> 
> I tried running slapd as above from the command line and failed.

slapd should have logged the reason why it didn't start up -- check
/var/log/console.log, /var/log/all.log and /var/log/messages

If the log message doesn't clarify things, turn up the log level in
/usr/local/etc/openldap/slapd.conf (see slapd.conf(5)).

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re[2]: Can't make the system see my modem! Please help!!!

2003-11-10 Thread Sergey Kulikov
Thank you.

f> Thanks so much for the help in getting my V.Everything Internal
f> Modem working!
f> I wanted to document the steps that I took so that in the future if
f> Anyone else has this problem, hopefully this can point them in the
f> right
f> direction.

f> To start with, I used the 'pnpinfo' command, and
f> this got my hopes up that it was possible to get this modem working
f> eventually.  The output of pnpinfo was as follows:


f> Checking for Plug-n-Play devices...

f> Card assigned CSN #1
f> Vendor ID USR0101 (0x01017256), Serial Number 0xacb0bb15
f> PnP Version 1.0, Vendor Version 0
f> Device Description: USRobotics Courier V.Everything

f> Logical Device ID: USR0009 0x09007256 #0
f> TAG Start DF
f> Good Configuration
f> FIXED I/O base address 0x2f8 length 0x8
f> IRQ: 3 4 5 7 9  - only one type (true/edge)
f> TAG Start DF
f> Acceptable Configuration
f> FIXED I/O base address 0x3f8 length 0x8
f> IRQ: 3 4 5 7 9  - only one type (true/edge)
f> TAG Start DF
f> Acceptable Configuration
f> FIXED I/O base address 0x3e8 length 0x8
f> IRQ: 3 4 5 7 9  - only one type (true/edge)
f> TAG Start DF
f> Acceptable Configuration
f> FIXED I/O base address 0x2e8 length 0x8
f> IRQ: 3 4 5 7 9  - only one type (true/edge)
f> TAG End DF
f> End Tag


f> Successfully got 16 resources, 1 logical fdevs
f> -- card select # 0x0001

f> CSN USR0101 (0x01017256), Serial Number 0xacb0bb15

f> Logical device #0
f> IO:  0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8
f> IRQ 5 0
f> DMA 4 4
f> IO range check 0x00 activate 0x01


f> The part that is interesting to us is this:

f> Card assigned CSN #1
f> Vendor ID USR0101 (0x01017256), Serial Number 0xacb0bb15
f> PnP Version 1.0, Vendor Version 0
f> Device Description: USRobotics Courier V.Everything

f> Logical Device ID: USR0009 0x09007256 #0


f> According to the documentation in the file:
f> /usr/share/doc/en/books/faq/book.txt

f> we need to add the part after the USR0101, (which is 0x01017256), to
f> the
f> file /usr/src/sys/isa/sio.c, recompile our kernel, and voila, it
f> should be
f> found.

f> However, this didn't work for me right away.  I played around with
f> it, and
f> found that it was the number on the line labeled 'Logical Device ID'
f> that I
f> needed to add to the sio.c file.

f> After trying that, I recompiled the kernel and it worked like a
f> charm.






f> -Original Message-
f> From: [EMAIL PROTECTED]
f> [mailto:[EMAIL PROTECTED] Behalf Of Сергей
f> Куликов
f> Sent: Friday, November 07, 2003 12:10 PM
f> To: [EMAIL PROTECTED]
f> Subject: Can't make the system see my modem! Please help!!!


f> I have ELINE 576-PS (PCTel PCT789T-A Chipset) internal modem device
f> and need to
f> set it up under FreeBSD 4.7 box. GENERIC kernel says when booting:

f> pci0:  (vendor=0x134d, dev=0x7897) at 11.0 irq 9

f> As you see my modem is unknown for GENERIC kernel. I saw
f> /boot/defaults/loader.conf and found no line corresponding to that
f> particular modem at all. What should I do to make the system see the
f> device and interact with one.

f> Any help would be apreciated.

f> --
f> Best regards,
f>  Сергей  mailto:[EMAIL PROTECTED]

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



-- 
Best regards,
 Sergeymailto:[EMAIL PROTECTED]

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


Re: Example of 'normal' cvsup-ports session ?

2003-11-10 Thread Richard Shea

On Sun, 9 Nov 2003 23:26:37 -0800, "Kent Stewart" <[EMAIL PROTECTED]>
said:
> On Sunday 09 November 2003 10:56 pm, Richard Shea wrote:
> > Could you anyone send me the output from a normal (ie succesful)
> > cvsup-ports session ? I keep getting 'killed' appearing (what I think is)
> > half-way through and I'm beginning to wonder if that's normal - ie is
> > that just cvsup's way of saying 'I'm finished - goodbye' ? Here's an
> > example - does it look normal ? ...
> >
> > trinidad# cvsup -g -L 2 ports-supfile
> > Parsing supfile "ports-supfile"
> > Connecting to cvsup6.au.FreeBSD.org
> > Connected to cvsup6.au.FreeBSD.org
> > Server software version: SNAP_16_1f
> > Negotiating file attribute support
> > Exchanging collection information
> > Establishing multiplexed-mode data connection
> > Running
> > Updating collection ports-all/cvs
> >  Edit ports/INDEX-5
> >   Add delta 1.7 2003.04.18.22.05.43 kris
> >   Add delta 1.8 2003.05.17.12.02.34 kris
> >   Add delta 1.9 2003.05.31.23.43.49 kris
> >   Add delta 1.10 2003.06.01.23.49.17 kris
> >   Add delta 1.11 2003.06.22.12.55.16 kris
> >   Add delta 1.12 2003.08.04.10.54.02 kris
> >   Add delta 1.13 2003.08.16.01.56.43 kris
> >   Add delta 1.14 2003.10.19.07.17.46 kris
> > Killed
> > trinidad#
> >
> > I'll paste cvsup-ports at the bottom of this email in case anyone is kind
> > enough to comment on that.
> >
> 
> Parsing supfile "ports-supfile"
> Connecting to crystal
> Connected to crystal
> Server software version: SNAP_16_1h
> Negotiating file attribute support
> Exchanging collection information
> Establishing multiplexed-mode data connection
> Running
> Updating collection ports-all/cvs
>  Edit ports/MOVED
>   Add delta 1.265 2003.11.09.19.31.43 fjoe
>  Edit ports/x11-toolkits/wxgtk2-unicode-contrib/Makefile
>   Add delta 1.2 2003.11.09.19.25.48 fjoe
> Shutting down connection to server
> Finished successfully
> 
> There was a lot more inbetween but the appearance is still the same.
> Crystal 
> is my local cvs-mirror. You can continue without redoing anything.
> 
> Have you tried different mirrors and do you have a timeout on your
> connection. 
> 
Having just sent the last email I happened to walk past the system
console. There are *a lot* of "swap_pager_getswapspace:failed" messages !
So I think I've found at least part of teh problem ! As I said I only
installed FreeBSD on that machine this afternoon so I'm not sure what's
causing that I'll have to check it out but I don't think it's a CVSUP
problem !

regards

richard.

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


Re: Example of 'normal' cvsup-ports session ?

2003-11-10 Thread Richard Shea

On Sun, 9 Nov 2003 23:26:37 -0800, "Kent Stewart" <[EMAIL PROTECTED]>
said:
> On Sunday 09 November 2003 10:56 pm, Richard Shea wrote:
> > Could you anyone send me the output from a normal (ie succesful)
> > cvsup-ports session ? I keep getting 'killed' appearing (what I think is)
> > half-way through and I'm beginning to wonder if that's normal - ie is
> > that just cvsup's way of saying 'I'm finished - goodbye' ? Here's an
> > example - does it look normal ? ...
> >
> > trinidad# cvsup -g -L 2 ports-supfile
> > Parsing supfile "ports-supfile"
> > Connecting to cvsup6.au.FreeBSD.org
> > Connected to cvsup6.au.FreeBSD.org
> > Server software version: SNAP_16_1f
> > Negotiating file attribute support
> > Exchanging collection information
> > Establishing multiplexed-mode data connection
> > Running
> > Updating collection ports-all/cvs
> >  Edit ports/INDEX-5
> >   Add delta 1.7 2003.04.18.22.05.43 kris
> >   Add delta 1.8 2003.05.17.12.02.34 kris
> >   Add delta 1.9 2003.05.31.23.43.49 kris
> >   Add delta 1.10 2003.06.01.23.49.17 kris
> >   Add delta 1.11 2003.06.22.12.55.16 kris
> >   Add delta 1.12 2003.08.04.10.54.02 kris
> >   Add delta 1.13 2003.08.16.01.56.43 kris
> >   Add delta 1.14 2003.10.19.07.17.46 kris
> > Killed
> > trinidad#
> >
> > I'll paste cvsup-ports at the bottom of this email in case anyone is kind
> > enough to comment on that.
> >
> 
> Parsing supfile "ports-supfile"
> Connecting to crystal
> Connected to crystal
> Server software version: SNAP_16_1h
> Negotiating file attribute support
> Exchanging collection information
> Establishing multiplexed-mode data connection
> Running
> Updating collection ports-all/cvs
>  Edit ports/MOVED
>   Add delta 1.265 2003.11.09.19.31.43 fjoe
>  Edit ports/x11-toolkits/wxgtk2-unicode-contrib/Makefile
>   Add delta 1.2 2003.11.09.19.25.48 fjoe
> Shutting down connection to server
> Finished successfully
> 
> There was a lot more inbetween but the appearance is still the same.
> Crystal 
> is my local cvs-mirror. You can continue without redoing anything.
> 
> Have you tried different mirrors and do you have a timeout on your
> connection. 
That's great - thanks. I have tried one or two different mirrors but I
now I know what I'm getting is definetly abnormal I will try spreading my
net a bit more widely. As far as timeout's go - I have an 'always-on'
ADSL type connection so thankfully that isn't an issue. Anyway I'll try a
few more mirrors and see if I get different results.

Thanks for your help.

regards

richard.

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


at my wit's end on buildworld

2003-11-10 Thread jason watkins
Well, I'm still having problems with buildworld on releng 4.9. My original
problem was that make would fail on entering sendmail with a "don't know how
to make" error. I removed /usr/src/* and /usr/sup/src-all/* and resynced
with a different cvs server, and still had the same problem. So I edited
make.conf to not build sendmail, since I don't need it. Now the build hangs
with:

gzip -cn /usr/src/usr.sbin/boot0cfg/boot0cfg.8 > boot0cfg.8.gz
===> etc

Make appears to exit silently shortly after writing that output. I've tried
additional resyncs, and I do remove the concents of /usr/obj/* before each
build. I've seen another couple recent posts where clearing obj fixed a
similar problem, but it hasn't worked for me.

So, I'm at a loss. What do I do next?

jason watkins

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


Re: Example of 'normal' cvsup-ports session ?

2003-11-10 Thread Kent Stewart
On Sunday 09 November 2003 10:56 pm, Richard Shea wrote:
> Could you anyone send me the output from a normal (ie succesful)
> cvsup-ports session ? I keep getting 'killed' appearing (what I think is)
> half-way through and I'm beginning to wonder if that's normal - ie is
> that just cvsup's way of saying 'I'm finished - goodbye' ? Here's an
> example - does it look normal ? ...
>
> trinidad# cvsup -g -L 2 ports-supfile
> Parsing supfile "ports-supfile"
> Connecting to cvsup6.au.FreeBSD.org
> Connected to cvsup6.au.FreeBSD.org
> Server software version: SNAP_16_1f
> Negotiating file attribute support
> Exchanging collection information
> Establishing multiplexed-mode data connection
> Running
> Updating collection ports-all/cvs
>  Edit ports/INDEX-5
>   Add delta 1.7 2003.04.18.22.05.43 kris
>   Add delta 1.8 2003.05.17.12.02.34 kris
>   Add delta 1.9 2003.05.31.23.43.49 kris
>   Add delta 1.10 2003.06.01.23.49.17 kris
>   Add delta 1.11 2003.06.22.12.55.16 kris
>   Add delta 1.12 2003.08.04.10.54.02 kris
>   Add delta 1.13 2003.08.16.01.56.43 kris
>   Add delta 1.14 2003.10.19.07.17.46 kris
> Killed
> trinidad#
>
> I'll paste cvsup-ports at the bottom of this email in case anyone is kind
> enough to comment on that.
>

Parsing supfile "ports-supfile"
Connecting to crystal
Connected to crystal
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection ports-all/cvs
 Edit ports/MOVED
  Add delta 1.265 2003.11.09.19.31.43 fjoe
 Edit ports/x11-toolkits/wxgtk2-unicode-contrib/Makefile
  Add delta 1.2 2003.11.09.19.25.48 fjoe
Shutting down connection to server
Finished successfully

There was a lot more inbetween but the appearance is still the same. Crystal 
is my local cvs-mirror. You can continue without redoing anything.

Have you tried different mirrors and do you have a timeout on your connection. 

My ports-supfile was similar to yours but I have removed all of the extraneous 
stuff.

Kent
-- 
Kent Stewart
Richland, WA

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

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


Perl 5.8.1 : CPAN problem

2003-11-10 Thread Odhiambo Washington

FreeBSD 5.1-RELEASE.

I upgraded perl from 5.8.0 to 5.8.1 using portupgrade.
Now I cannot run the perl package module (CPAN).

beastie# perl -MCPAN -e shell
/usr/libexec/ld-elf.so.1: 
/usr/local/lib/perl5/site_perl/5.8.1/mach/auto/Term/ReadKey/ReadKey.so: Undefined 
symbol
"Perl_Gthr_key_ptr"


I wonder if anyone has encountered this and gotten a fix/solution around
it.


Thanks

-Wash


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


Re: NFS v2? possible?

2003-11-10 Thread Chad Leigh -- Shire.Net LLC
On Nov 9, 2003, at 11:51 PM, Miguel Mendez wrote:

On Sun, 9 Nov 2003 22:32:38 -0700
"Chad Leigh -- Shire.Net LLC" <[EMAIL PROTECTED]> wrote:
Hi,

It seems to be ok.  I don't know what the problem is, but it seems to
be on the Linux end as I run mountd and portmap with verbose
debugging, as appropriate to each, and mountd immediately returns a
"mount successful" but Liunx take 10 minutes to return from the mount
command.
You probably want to use the 'nolock' option in Linux, that solved it
from me.
Thanks, I'll check.  I did solve the problem though.  The "runlevel" 
was set to be one less than full multi user mode which supposedly 
excluded nfs and I found a log file complaining about the client 
portmap daemon so I fixed that...  Just got to get a new kernel to 
support v3 and do some tuning and we should be ok.

thanks
Chad

Cheers,
--
Miguel Mendez <[EMAIL PROTECTED]>
http://www.energyhq.es.eu.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Example of 'normal' cvsup-ports session ?

2003-11-10 Thread Richard Shea
Could you anyone send me the output from a normal (ie succesful)
cvsup-ports session ? I keep getting 'killed' appearing (what I think is)
half-way through and I'm beginning to wonder if that's normal - ie is
that just cvsup's way of saying 'I'm finished - goodbye' ? Here's an
example - does it look normal ? ...

trinidad# cvsup -g -L 2 ports-supfile
Parsing supfile "ports-supfile"
Connecting to cvsup6.au.FreeBSD.org
Connected to cvsup6.au.FreeBSD.org
Server software version: SNAP_16_1f
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection ports-all/cvs
 Edit ports/INDEX-5
  Add delta 1.7 2003.04.18.22.05.43 kris
  Add delta 1.8 2003.05.17.12.02.34 kris
  Add delta 1.9 2003.05.31.23.43.49 kris
  Add delta 1.10 2003.06.01.23.49.17 kris
  Add delta 1.11 2003.06.22.12.55.16 kris
  Add delta 1.12 2003.08.04.10.54.02 kris
  Add delta 1.13 2003.08.16.01.56.43 kris
  Add delta 1.14 2003.10.19.07.17.46 kris
Killed
trinidad#

I'll paste cvsup-ports at the bottom of this email in case anyone is kind
enough to comment on that.

thanks

richard.

# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.19.2.8 2002/12/15
15:47:22 lioux Exp $
#
# This file contains all of the "CVSup collections" that make up the
# FreeBSD-current ports collection.
#
# CVSup (CVS Update Protocol) allows you to download the latest CVS
# tree (or any branch of development therefrom) to your system easily
# and efficiently (far more so than with sup, which CVSup is aimed
# at replacing).  If you're running CVSup interactively, and are
# currently using an X display server, you should run CVSup as follows
# to keep your CVS tree up-to-date:
#
#   cvsup ports-supfile
#
# If not running X, or invoking cvsup from a non-interactive script, then
# run it as follows:
#
#   cvsup -g -L 2 ports-supfile
#
# You may wish to change some of the settings in this file to better
# suit your system:
#
# host=CHANGE_THIS.FreeBSD.org
#   This specifies the server host which will supply the
#   file updates.  You must change it to one of the CVSup
#   mirror sites listed in the FreeBSD Handbook at
#   http://www.freebsd.org/doc/handbook/mirrors.html.
#   You can override this setting on the command line
#   with cvsup's "-h host" option.
#
# base=/usr
#   This specifies the root where CVSup will store
information
#   about the collections you have transferred to your
system.
#   A setting of "/usr" will generate this information in
#   /usr/sup.  Even if you are CVSupping a large number of
#   collections, you will be hard pressed to generate more
than
#   ~1MB of data in this directory.  You can override the
#   "base" setting on the command line with cvsup's "-b base"
#   option.  This directory must exist in order to run CVSup.
#
# prefix=/usr
#   This specifies where to place the requested files.  A
#   setting of "/usr" will place all of the files requested
#   in "/usr/ports" (e.g., "/usr/ports/devel",
"/usr/ports/lang").
#   The prefix directory must exist in order to run CVSup.

# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup6.au.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

# If your network link is a T1 or faster, comment out the following line.
*default compress

## Ports Collection.
#
# The easiest way to get the ports tree is to use the "ports-all"
# mega-collection.  It includes all of the individual "ports-*"
# collections,
ports-all

# These are the individual collections that make up "ports-all".  If you
# use these, be sure to comment out "ports-all" above.
#
# Be sure to ALWAYS cvsup the ports-base collection if you use any of the
# other individual collections below. ports-base is a mandatory
collection
# for the ports collection, and your ports may not build correctly if it
# is not kept up to date.
#ports-base
#ports-archivers
#ports-astro
#ports-audio
#ports-benchmarks
#ports-biology
#ports-cad
#ports-chinese
#ports-comms
#ports-converters
#ports-databases
#ports-deskutils
#ports-devel
#ports-editors
#ports-emulators
#ports-finance
#ports-french
#ports-ftp
#ports-games
#ports-german
#ports-graphics
#ports-hebrew
#ports-hungarian
#ports-irc
#ports-japanese
#ports-java
#ports-korean
#ports-lang
#ports-mail
#ports-math
#ports-mbone
#ports-misc
#ports-multimedia
#ports-net
#ports-news
#ports-palm
#ports-picobsd
#ports-portuguese
#ports-print
#ports-russian
#ports-science
#ports-security
#ports-shells
#ports-sysutils
#ports-textproc
#ports-ukrainian
#ports-vietnamese
#ports-www
#ports-x11
#ports-x11-clocks
#ports-x11-fm
#por

Re: simpliest way to calculate octal?

2003-11-10 Thread Miguel Mendez
On Mon, 10 Nov 2003 14:35:35 +0800
"Zhang Weiwu" <[EMAIL PROTECTED]> wrote:

Hi,

> Today I found I cannot calculate what is the octal form of 0xa04e.
> 
> First I thought xcalc should do the work, but it seems only deal with 
> decimal.
> 
> I have perl, tcsh, python interprater. It is likely that they are all 
> capable of this kind, but what are the commands for them? What's the most 
> convenient way?

How about: echo 0xa04e | awk '{printf "%o\n",$1}'

Cheers,
-- 
Miguel Mendez <[EMAIL PROTECTED]>
http://www.energyhq.es.eu.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"