RE: RDEsktop/VNC questions

2004-11-13 Thread Olaf Hoyer
On Wed, 10 Nov 2004, Butterworth, Thaddaeus (Manpower Contract) wrote:
So, who's using these clients, and how effective have you been finding
them?  Any gotchas?  How cool is it?  Do they just plain suck?  And more
to the point, which one(s) should I start with on the short list?
snip

I've used the rdesktop client for connecting to a Windows 2003 Server 
(/usr/ports/net/rdesktop). I wasn't that impressed but then again it could have 
been a PEBKAC situation. I could not get the screen resolution of the Windoze 
2003 server to go anything beyond 640x480 and it looked horribly grainy. Other 
than that, it did actually connect and allowed me to do all that I needed to. I 
just couldn't handle the graphic element, which again may have been more a user 
issue than an issue with the program. Other than that, I have used the Windows 
RDC programs and they work ok.
Thad
I use rdesktop regularly to administer some of our Win2003 Servers, and 
it works well. Special trick is, that I need to hop first on a jumppad, 
where an extra NIC is attached to the dedicated management VLAN of the 
Win boxes, and then hop on them via X-forwarded rdesktop- works well, 
despite that jumppad is a small old crappy Pentium-II, which is also 
busy doing some other things...

so:
ssh -X jumppad
rdesktop -g 1024x768 win-server
That shall give you some window in 1024x768, normal is 800x600 in 
standard mode. when its smaller, I guess you havent configured the 
Graphics driver, or its set to standard VGA. Win (also for remote 
connections) sometimes looks after that settings...

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: Everything randomly generates .core files

2004-11-13 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Eric Schuele
 Sent: Friday, November 12, 2004 9:34 AM
 To: [EMAIL PROTECTED]
 Subject: Everything randomly generates .core files


 Hello,

 I'm having some difficulties with 5.3-RELEASE.  I have made a fresh
 install from the iso image I downloaded.  Formatted the entire drive,
 just to make sure it was clean.  I have installed everything of interest
 via the ports tree.  But many things seem to fail randomly.  I can use
 xfe for a while, then blip its gone.  pptpclient is the same.  Fluxbox
 generates .core files as well... but its never shutdown on me.  xprop
 has generated a few too.  Doesn't seem to be any one app.

 I'm new to FreeBSD (and *nix in general)... so I have no idea where to
 begin investigating.

 I was previously using 5.3-BETA7 and did not have these problems.  The
 only thing I did different this time was to make things from the ports
 tree instead of pkg_add everything.


You probably have a bad CPU cache on your motherboard.  The solution is
to use that machine for some Windows system and get a different PC.

What happens with the beta code is that it's compiled with debugging
switched on, for obvious reasons.  The production code is compiled
with debugging off, as well as a lot of other go-fast optimizations,
once again, for obvious reasons.  Some of these optimizations make use
of funny tricks like making loops small enough to fit in the CPU cache
so that the loop executes 10 times faster, etc.  All of this now means
that your hardware has to do some real work for a change, instead of
loafing along like it does under Windows.  Some hardware cannot take
this and will cry Uncle.

You probably would find NT4 Server bluescreening a lot on that same hardware
for the same reasons.  W2K by contrast, was slowed down by poorer,
slow scummy coding because Microsoft knew it would be run on a lot of
substandard garbage grade hardware.

Ted

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


RE: Root login at console

2004-11-13 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Doug Hardie
 Sent: Friday, November 12, 2004 11:27 PM
 To: Ted Mittelstaedt
 Cc: f-questions List
 Subject: Re: Root login at console
 
 
 Thanks.  I just checked ttys in my 4.6 system and they all say secure.  
 I see the instructions in ttys now and that makes sense.  A quick check 
 also shows it works.  I guess there was a bug in 4.6.  The instructions 
 seem to indicate that removing the secure keyword is all that is 
 required.  Thats what I checked and it worked.  I presume thats the 
 same as using the insecure key which I really didn't see mentioned.
 

Not exactly, depends on the version.  On FBSD version 10, in the /etc/ttys
file the following line is present:

# If console is marked insecure, then init will ask for the root password
# when going to single-user mode.

Perhaps if you use something other than secure or insecure, init won't ask
for the root password?  I don't know, never tried it.  Insecure is what has
been used in the past, by convention, if your not using 'secure'  Possibly
to make things more obvious?

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


Re: Rebooting fails after installing 5.3-RELEASE

2004-11-13 Thread Travis J. Hicks
On 11/10/04 8:56 AM, Subhro [EMAIL PROTECTED] wrote:

 On Wed, 10 Nov 2004 03:10:02 -0600, Travis J. Hicks
 [EMAIL PROTECTED] wrote:
 
 Shutting down ACPI
 Stray irq9
 ACPI-0265: *** Error: Hardware never changed modes
 
 Really odd, could you just check the mo'bo manufacturer site for any
 BIOS updates. Also kindly let us know the part number for the board
 and the output of dmesg -a.

The board is an ASUS A7N266-VM. Updating the firmware to version 1007 fixed
the rebooting problem. Thank you for your help.

-- 
Best Regards,
Travis J. Hicks


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


build-dependencies and packages when making ports

2004-11-13 Thread Emanuel Strobl
Dear all,

I think I can remember having read somewhere a make.conf line or anything 
similar which instructs the ports make process to look for packages of 
missing dependencies instead of building them from scratch.
Was it just a dream or is it possible? I can't finde any hints for that.

Thanks in advance,

-Mano


pgpvaidwZyReS.pgp
Description: PGP signature


Re: Everything randomly generates .core files

2004-11-13 Thread Benjamin Walkenhorst
Ted Mittelstaedt wrote:
You probably have a bad CPU cache on your motherboard.  The solution is
to use that machine for some Windows system and get a different PC.
 

While I agree with your diagnosis, it's probably a hardware problem, I 
don't think Windows
is going to run well on that machine. I've had FreeBSD run for *hours* 
on flaky hardware,
on which Windows wouldn't make, like, ten minutes.
In the end, faulty hardware beats Operating System, but I've had several 
experiences,
where I did not know just how faulty a piece of hardware was, until I 
tried to run Windows
on it... =)
So in my experience, if FreeBSD is unstable on that hardware, you can 
regard yourself
lucky if you even get Windows installed without crashing all over the 
place. =)

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


Installing on two hard drives

2004-11-13 Thread Gerard Seibert
I am planning to install FreeBSD 5.3 on one of my computers. I presently 
have version 5.2.1 installed on another box.

The one that I want to install on now has two hard drives. I would like to 
install everything except USR on one drive and USR on the other. That 
would seem to afford me the most advantageous use of disk space. It seems 
that I was always running low on disk space on the other unit I have in 
use. Both drives, by the way, are 10 GB in size.

My question is how to go about this. This will be a fresh install with no 
other OS to be taken into consideration. I have checked the Hand Book, but 
I was not able to find exactly what I was looking for. Then again, I am 
not the most efficient searcher.

Thanks!
Gerard Seibert
[EMAIL PROTECTED]
My girlfriend said to me in bed last night' 'you're a pervert'.
I said, 'that's a big word for a girl of fifteen'.
-- Emo Philips.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Burning data DVD's?

2004-11-13 Thread Stijn Hoop
On Fri, Nov 12, 2004 at 08:10:40PM -0600, Laurence Sanford wrote:
 I searched the list archives and couldn't find anything specifically
 about burning DVD's. I was wondering if the burncd utility will burn
 data DVD's as well for archiving purposes and such. If not, is there
 something similar that will do the job? It looks like it would be hard
 to beat the cost effectiveness of backing up on DVD.

I use sysutils/dvd+rw-tools. Despite the name, and a really strange
userinterface, it burns all kinds of DVDs.

HTH,

--Stijn

-- 
An adult is a child who has more ethics and morals, that's all.
-- Shigeru Miyamoto


pgp1gf3UOCvhu.pgp
Description: PGP signature


Re: build-dependencies and packages when making ports

2004-11-13 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 13 November 2004 11:44, Emanuel Strobl wrote:
 Dear all,

 I think I can remember having read somewhere a make.conf line or anything
 similar which instructs the ports make process to look for packages of
 missing dependencies instead of building them from scratch.
 Was it just a dream or is it possible? I can't finde any hints for that.

Maybe USE_PACKAGE_DEPENDS does what you want.

Good dreams ;-)
ch

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBlfQu09WjGjvKU74RAveiAJ0bDajVPmg9tFzvTRSHeD4Qbduh/ACfU5xR
Ur11yWhAh2MRI91NdpAFvts=
=0rS0
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade problem in freebsd 4.10

2004-11-13 Thread atk2

Things worked fine until last upgrade (this morning). Now I get the following
errors:

pc1# !?upgr
portupgrade -ra
Updating the ports index ... Generating INDEX.tmp - please 
wait..tkscanfax-1.02: /usr/ports/japanese/tk80 non-existent -- dependency 
list incomplete
=== comms/tkscanfax failed
*** Error code 1
1 error


Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the ports-all
collection, and have no refuse files.)  If that is the case, then
report the failure to [EMAIL PROTECTED] together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with make fetchindex.


*** Error code 1

Stop in /f/ports.
*** Error code 1

Stop in /f/ports.
failed to generate INDEX!
index generation error
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:482:in `open_db': database file 
error (PortsDB::DBError)
from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:634:in `port'
from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:822:in 
`all_depends_list'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!'
from /usr/local/sbin/portupgrade:674:in `main'
from /usr/local/sbin/portupgrade:207:in `initialize'
from /usr/local/sbin/portupgrade:207:in `new'
from /usr/local/sbin/portupgrade:207:in `main'
from /usr/local/sbin/portupgrade:1845
-

My refuse file has:
ports/japanese
---

Is the above error an indication that the new portupgrade tool now requires 
that I download the japanese port - or is there another workaround ?

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


Re: Installing on two hard drives

2004-11-13 Thread Peter Ulrich Kruppa
On Sat, 13 Nov 2004, Gerard Seibert wrote:
I am planning to install FreeBSD 5.3 on one of my computers. I presently have 
version 5.2.1 installed on another box.

The one that I want to install on now has two hard drives. I would like to 
install everything except USR on one drive and USR on the other. That 
would seem to afford me the most advantageous use of disk space. It seems 
that I was always running low on disk space on the other unit I have in use. 
Both drives, by the way, are 10 GB in size.

My question is how to go about this. This will be a fresh install with no 
other OS to be taken into consideration.
There is no real problem, just give it a try:
Both harddisks will show up in the installation menu.
I believe it is quite self-explanatory.
Good Luck,
Uli.
Thanks!
Gerard Seibert
[EMAIL PROTECTED]
My girlfriend said to me in bed last night' 'you're a pervert'.
I said, 'that's a big word for a girl of fifteen'.
-- Emo Philips.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Burning data DVD's?

2004-11-13 Thread Marc Fonvieille
On Fri, Nov 12, 2004 at 08:10:40PM -0600, Laurence Sanford wrote:
 I searched the list archives and couldn't find anything specifically
 about burning DVD's. I was wondering if the burncd utility will burn
 data DVD's as well for archiving purposes and such. If not, is there
 something similar that will do the job? It looks like it would be hard
 to beat the cost effectiveness of backing up on DVD.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html

may help you.  dump(8) coming with 5.3-R offers you a useful -P option
that allows the use with growisofs for backups on DVDs.

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


Re: installing zope

2004-11-13 Thread Lee Harr
I have installed and run zope in the past with no errors. Now, with
2.7 in the ports zope installs fine but there seems to be a number of
shell variables that must be set, and it seems like there is something
missing.
[...]
Yes, it is quite a bit different now... and prepare yourself for
possible issues moving your old data to the new site also.
You need to create an instance first, using
/usr/local/www/Zope/mkzopeinstance.py
Each instance can have separate data, products,
configuration, etc.
zopectl will be created inside of the instance by that script.
Then you want to add to rc.conf:
zope_enable=YES
zope_instances=/usr/local/www/Zope/myfooinst/
I also had an issue of being locked out when I first brought
the new instance up.  If that happens to you, run zopectl and use
the adduser option -- just make sure that the instance is
not running at the time, as that will not work.
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.com/

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


Installing zendstudio fails

2004-11-13 Thread Kjell Midtseter
List members!
I started out with a clean install from a 5.3R CD. Then I cvsup'ed and built a 
new 
GENERIC kernel and new ports followed by installing PHP5/Apache13
After fetching the latest linux glib2.1 server/client zendstudio package  from 
the 
zend.com site, I went through the make, make install sequence and ended up with 
the 
following:
==
sexy# make install
===  Installing for ZendStudio-3.5.2
===   ZendStudio-3.5.2 depends on file: /compat/linux/etc/redhat-release - 
found
===   Generating temporary packing list
===  Checking if devel/zendstudio already installed
/usr/ports/devel/zendstudio/work/ZendStudio-3_5_2/ZendStudio-3_5_2.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Invocation of this Java Application has caused an InvocationTargetException. 
This 
application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown 
Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Frame.init(Unknown Source)
at java.awt.Frame.init(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.f(DashoA8113)
at com.zerog.ia.installer.LifeCycleManager.g(DashoA8113)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
at com.zerog.ia.installer.Main.main(DashoA8113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)
This Application has Unexpectedly Quit: Invocation of this Java Application has 
caused 
an InvocationTargetException. This application will now exit. (LAX)
*** Error code 255

Stop in /usr/ports/devel/zendstudio.

Any hints of what causes the InvocationTargetException are much appreciated!
Kjell

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


Re: portupgrade problem in freebsd 4.10

2004-11-13 Thread Kevin D. Kinsey, DaleCo, S.P.
[EMAIL PROTECTED] wrote:
Things worked fine until last upgrade (this morning). Now I get the following
errors:
pc1# !?upgr
portupgrade -ra
Updating the ports index ... Generating INDEX.tmp - please wait..tkscanfax-1.02: 
/usr/ports/japanese/tk80 non-existent -- dependency list incomplete
=== comms/tkscanfax failed
*** Error code 1
1 error


Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the ports-all
collection, and have no refuse files.)  If that is the case, then
report the failure to [EMAIL PROTECTED] together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).
Note: the latest pre-generated version of INDEX may be fetched
automatically with make fetchindex.

*** Error code 1
-
My refuse file has:
ports/japanese
---
Is the above error an indication that the new portupgrade tool now requires 
that I download the japanese port - or is there another workaround ?

Alan
 


It looks as if you've really answered your own question.
Two Japanese ports are runtime dependencies for tkscanfax:
--
[EMAIL PROTECTED]/usr/ports]
# make search name=tkscanfax
Port:   tkscanfax-1.02
Path:   /usr/ports/comms/tkscanfax
Info:   Tcl/Tk frontend for fax scan/receive/send program (command is tkfax)
Maint:  [EMAIL PROTECTED]
B-deps:
R-deps: XFree86-libraries-4.4.0_1 expat-1.95.8 fontconfig-2.2.3,1 
freetype2-2.1.7_3
imake-4.4.0 ja-tcl-8.0.5_1 ja-tk-8.0.5_2 perl-5.8.5 pkgconfig-0.15.0_1

And your setup violates this clause:
INDEX builds are not supported with partial or out-of-date ports collections -- 
in
particular, if you are using cvsup, you must cvsup the ports-all
collection, and have no refuse files.
You can draw your own conclusions.  I guess a couple of good questions
might be 1] when did I install tkscanfax? and 2] at that time, was there
a runtime dependency on these japanese ports, or was it added later?
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]


Re: Xmkmf/make problem

2004-11-13 Thread Mike Jeays
On Tue, 2004-10-19 at 20:22, Giorgos Keramidas wrote:
 On 2004-10-19 19:15, Mike Jeays [EMAIL PROTECTED] wrote:
  On Tue, 2004-10-19 at 08:31, Giorgos Keramidas wrote:
   On 2004-10-19 07:26, Mike Jeays [EMAIL PROTECTED] wrote:
[...] I don't have any clue why this long-standing program, which
was developed on Solaris and ported to Linux and FreeBSD, has suddenly
started to give me problems. The Imakefile is as follows, and gives no
clue about what might be missing.
   
SYS_LIBRARIES= -lXmu -lXaw  -lXt -lX11 -lm -lXi
SRCS = lst.c
OBJS = lst.o
   
ComplexProgramTarget (lst)
  
   Can I see a minimal program that exhibits the problem?  By only looking
   at the included headers I can't know what's wrong with the source.
 
  You can see the source of one of these programs at
  http://members.rogers.com/mike.jeays/lst.c
 
 Without actually reading the entire source, I tried building this with
 an Imakefile that contains exactly the text you sent in your previous
 post.  It builds fine here, even if I set my CFLAGS to a set of
 relatively strict warnings before invoking xmkmf and/or make:
 
   CFLAGS='-O -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual \
   -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs \
   -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes \
   -Wwrite-strings'
 
 Are you getting compile-time errors?
 If yes, what are they?
 Does your environment contain any CFLAGS or CC variables?
 
  I very much appreciate your offer of help - thanks.
 
 n/p, you're welcome :-)
 
 - Giorgos
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Sorry for the long delay in replying.  Since October 19th, I installed
5.3 on another machine, and tried again.  I get exactly the same error
from make.  It responds immediately with 
make: don't know how to make /usr/include/machine/ansi.h. Stop


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


Re: limiting ssh logins

2004-11-13 Thread Kevin D. Kinsey, DaleCo, S.P.
dave wrote:
Hello,
   I'm wondering if it's possible to use pam or perhaps tcp_wrappers to
limit how many ssh logins can be atempted? I'd like to kick off a user who
tries to log in repeatedly with the wrong password or tries x times within a
minute, my purpose is to slow down hacking atempts in situations where
public key authentication is not possible.
Thanks.
Dave.
 


# man login.conf | grep -A 5 -B 5 retries
login_prompt string  The login prompt given by login(1)
login-backoffnumber3 The number of login attempts 
allowed
 before the backoff delay is 
inserted
 after each subsequent attempt.
login-retriesnumber10The number of login attempts 
allowed
 before the login fails.
passwd_formatstringmd5   The encryption format that new or
 changed passwords will use.  Valid
 values include des, md5 and
 blf.  NIS clients using a

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


Re: Help with boot0

2004-11-13 Thread Henrik W Lund
Jay O'Brien wrote:
I have two identical hard drives on the same IDE controller;
The file systems are identical. I can move the Master jumper 
from one HD to the other and the computer will boot on the 
HD with the jumper. It becomes ad0 and the other HD is ad1. 

I have installed boot0cfg on both drives with the -B option. 

Booting with either drive gives me a F1 (FreeBSD) option and a 
F5 (Disk1) option. F1 boots the drive set up with the hardware 
jumper to be the IDE controller master. F5 gives another 
selection, F1 (FreeBSD) and F5 (Disk2). F1 boots on the IDE 
master, and F5 won't boot.

I would like to be able to boot from either drive using the 
bootup selection. I know both drives work fine as the boot 
drive when selected by the hardware drive jumper. 

What am I missing, why doesn't boot0 work for me?
Jay O'Brien
PS.. I'm using 4.10, and this exercise is so I can build 5.3 
on one of the Hard drives and be able to boot to either version.
Greetings!
I've fiddled with the same thing in the past. You really only need boot0 
on /one/ of the drives. If you put boot0 on both, you'll eventually 
loose track of which disk's boot0 you're seeing, as F5 will switch 
between them. F1 *will* booth the disk you're currently on, but how do 
you know which disk you're on, after a few reboots? If the two drives 
are identical as well, that certainly does little to help discern the 
two drives (installing 5.3 on one of them, as you intend to do, will 
remedy this particular point, however).

Apologies if this seems belittling, but I will attempt to sketch out 
what I think is happening, based on what you write.

Boot up, this is what you see:
F1 FreeBSD  -- This will boot your master drive with FreeBSD on it
F5 Drive 1  -- This will attempt to boot your slave drive, which will 
result in you seeing this:

F1 FreeBSD  -- This will boot your slave drive with FreeBSD on it (you 
write that it boots your master drive, but how do you know this for sure?)
F5 Drive 2  -- This will attempt to boot your master drive, which will 
result in you seeing this:

F1 FreeBSD
F5 Drive 1
... while(!(cows come home))
If this is not what's happening, please explain what happens when you 
press F5 in the second boot0 menu above.

What I'd do, is remove boot0 from the slave drive and never make it 
master. If you ever need to put the slave drive in a dual-boot situation 
with it as master, installing boot0 again done in no more than 20 
keypresses.

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


Putty - SSH access

2004-11-13 Thread Grant Peel
Hi all,
I have a precious few clients that would like Secure Shell access reportedly 
to admin a number of text files and run a few command line apps.

Is it possible to grant shell access and jail users to thier home dir 
without going to all the hastle of building a real FreeBSD jail?

-Grant 

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


Re: Help with boot0

2004-11-13 Thread Ruben de Groot
On Fri, Nov 12, 2004 at 06:59:56PM -0800, Jay O'Brien typed:
 I have two identical hard drives on the same IDE controller;
 The file systems are identical. I can move the Master jumper 
 from one HD to the other and the computer will boot on the 
 HD with the jumper. It becomes ad0 and the other HD is ad1. 
 
 I have installed boot0cfg on both drives with the -B option. 
 
 Booting with either drive gives me a F1 (FreeBSD) option and a 
 F5 (Disk1) option. F1 boots the drive set up with the hardware 
 jumper to be the IDE controller master. F5 gives another 
 selection, F1 (FreeBSD) and F5 (Disk2). F1 boots on the IDE 
 master, and F5 won't boot.

There's no need for boot0 on the second drive. Better put a default 
mbr on it like so:

boot0cfg -b /boot/mbr /dev/ad1

Ruben

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


PCMCIA USB 2.0 NEC

2004-11-13 Thread Paolo Messina
Hi,
I've installed FreeBSD 5.3 on my laptop Compaq EVO N115.
The system work fine but I've a problem.
My PCMCIA USB 2.0 don't work with EHCI but with OHCI...
and so I don't play my DVD on my external combo (too slow).
I'seen that my PCMCIA is supported only by OHCI? Why?
I don't set it to work with EHCI... seeing I don't need to attach USB
1.0 or USB 1.1?
-- 
Paolo M.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problem in freebsd 4.10

2004-11-13 Thread atk2
Ok thanks for the detail response.  I guess my confusion came from several
places - the handbook explicity gives an example where you can refuse 
ports that aren't relevant to your environment (i refuse several such as
japanese, chinese)...

Can you explain (if you know off hand) why make fetchindex would fix the
problem (it did without adding the ports)?

As a side but unrelated question it seems that recent updates to the port
colleciton (such as mozilla, mplayer and netscape) have bad values (either
size of time stamps) for the objects they are to fetch - do you know why
this is happening (aka is it specific to me?)

thanks,
Alan

  ||From [EMAIL PROTECTED]  Sat Nov 13 05:49:41 2004

  ||[EMAIL PROTECTED] wrote:

  ||Things worked fine until last upgrade (this morning). Now I get the 
following
  ||errors:
  ||
  ||pc1# !?upgr
  ||portupgrade -ra
  ||Updating the ports index ... Generating INDEX.tmp - please 
wait..tkscanfax-1.02: 
  || /usr/ports/japanese/tk80 non-existent -- dependency list 
incomplete
  ||=== comms/tkscanfax failed
  ||*** Error code 1
  ||1 error
  ||
  ||
  ||*** Error code 1
  ||-
  ||
  ||My refuse file has:
  ||ports/japanese
  ||---
  ||
  ||Is the above error an indication that the new portupgrade tool now 
requires 
  ||that I download the japanese port - or is there another workaround ?
  ||
  ||Alan
  ||  
  ||


  ||It looks as if you've really answered your own question.

  ||Two Japanese ports are runtime dependencies for tkscanfax:
  
||--
  ||[EMAIL PROTECTED]/usr/ports]
  ||# make search name=tkscanfax
  ||Port:   tkscanfax-1.02
  ||Path:   /usr/ports/comms/tkscanfax
  ||Info:   Tcl/Tk frontend for fax scan/receive/send program (command is tkfax)
  ||Maint:  [EMAIL PROTECTED]
  ||B-deps:
  ||R-deps: XFree86-libraries-4.4.0_1 expat-1.95.8 fontconfig-2.2.3,1 
  ||freetype2-2.1.7_3
  ||imake-4.4.0 ja-tcl-8.0.5_1 ja-tk-8.0.5_2 perl-5.8.5 pkgconfig-0.15.0_1


  ||And your setup violates this clause:

  ||INDEX builds are not supported with partial or out-of-date ports 
collections -- in
  ||particular, if you are using cvsup, you must cvsup the ports-all
  ||collection, and have no refuse files.


  ||You can draw your own conclusions.  I guess a couple of good questions
  ||might be 1] when did I install tkscanfax? and 2] at that time, was there
  ||a runtime dependency on these japanese ports, or was it added later?

  ||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]


A couple of 5.3 questions

2004-11-13 Thread Francisco Reyes
Plan to soon move to 5.3 through a backup, fresh install proces..
One of the main reasons I am moving is for the snapshot capability.
Reading the man for MKSNAP_FFS(8) I see
mksnap_ffs mountpoint snapshot_name
Question: Does mountpoint has to be a filesystem or can it be a directory?
For example if I have:
/
/usr
/var
Can I make a snapshot of /usr/home? Or I can only do /usr?
Then I went on to look at how to mount snapshopts, and although found the 
info, got a little more confused.

The mount command has in the man page:
snapshot
This option allows a snapshot of the specified
file system to be taken.
So is mount or mksnap_ffs that makes the snapshot?
The only reason I am trying to get this info is to know if to make a 
separate filesystem for files I would like to snapshot.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing on two hard drives

2004-11-13 Thread Mark Vasquez
Gerard Seibert wrote:
I am planning to install FreeBSD 5.3 on one of my computers. I 
presently have version 5.2.1 installed on another box.

The one that I want to install on now has two hard drives. I would 
like to install everything except USR on one drive and USR on the 
other. That would seem to afford me the most advantageous use of disk 
space. It seems that I was always running low on disk space on the 
other unit I have in use. Both drives, by the way, are 10 GB in size.
I have FreeBSD installed on a system with two disks, where home is 
mounted to the 2nd disk, while /, /usr/, and /var are mounted to 2 
seperate partitions on the 1st disk.

My question is how to go about this. This will be a fresh install with 
no other OS to be taken into consideration. I have checked the Hand 
Book, but I was not able to find exactly what I was looking for. Then 
again, I am not the most efficient searcher.

I did this by installing BSD to the 1st disk, then using sysinstall to 
format and create a filesystem on the 2nd disk. After that I just 
modified the /etc/fstab file so that the correct filesystem would be 
mounted to /home, then used the command mount /home and it was done.

There are precise instructions for adding a disk to an existing system 
in The complete FreeBSD by Greg Lehey.

By the way, it is not recommended to have /usr mounted to a seperate 
filesystem. I believe that the reason for this is because it can cause 
problems when upgrading a system.

Thanks!
Gerard Seibert
[EMAIL PROTECTED]
My girlfriend said to me in bed last night' 'you're a pervert'.
I said, 'that's a big word for a girl of fifteen'.
-- Emo Philips.
___
[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]


vidcontrol don't work

2004-11-13 Thread shmil
Hello all.
vidcontrol -g 132x25 VESA_132x25 don't work.
When I run this command, computer is rebooting.

Motherboard Intel
Video GeForce 4 ti 4200

dmesg:
FreeBSD 5.2-RELEASE #19: Thu Nov 11 23:17:43 GMT 2004
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc080e000.
MPTable:  BrkdlPE-ICH4
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2399.93-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7
  Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
real memory  = 536084480 (511 MB)
avail memory = 511078400 (487 MB)
ioapic0: Assuming intbase of 0
ioapic0 Version 2.0 irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
 
 
 
VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc076fa22 (122)
VESA: NVIDIA
 
 
 
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00f47e0
pcib0: MPTable Host-PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
agp0: Intel Generic host to PCI bridge mem 0xf800-0xfbff at device 0.0
on pci0
pcib1: MPTable PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pcib1: slot 0 INTA routed to irq 16
 
 
 
pci1: display, VGA at device 0.0 (no driver attached)
 
 
 
atapci0: Intel ICH4 UDMA100 controller port
0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
 
 
 
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
 
 
 
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
 
 
 
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0

What is go on.

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


Re: Setting SCSI bus options before reaching fsck at boot time

2004-11-13 Thread Tillman Hodgson
On Fri, Nov 12, 2004 at 11:28:18PM -0600, Dan Nelson wrote:
 In the last episode (Nov 12), Tillman Hodgson said:
  I'd like to find a way to have camcontrol (or some other mechanism)
  set the SCSI bus speed on this particular SCSI chain early in the
  boot process, /before/ it encounters fsck and thus trips over it's
  own feet in bus resets.
 
 Since camcontrol is in /sbin, you can just add a line to the top of
 /etc/rc.  A cleaner solution would be to write a small /etc/rc.d/
 script and add a BEFORE: fsck line so it gets run before fsck.

That seemed like a reasonable approach, so I took a stab at it.
Unfortunately, I haven't worked with custom RCng scripts before and I
can't seem to get the script to run.

Here's what I have (blank lines removed to save some space):

#!/bin/sh
#
# PROVIDE: camcontrol_start
# REQUIRE: disks
# BEFORE: bgfsck
. /etc/rc.subr
name=camcontrol_tillman
rcvar=`set rcvar`
start_cmd=camcontrol_start
stop_cmd=:
camcontrol_start()
{
echo -n camcontrol_tillman has started 
echo -n da0 
camcontrol negotiate da0 -R10 -a -q
... (repeated for da1 through da6 (it's a 7 bay JBOD tower)) ...
info camcontrol_tillman has finished
}
load_rc_config $name
run_rc_command $1

I also have the following in /etc/rc.conf:

### Tillmans custom RCng scripts
camcontrol_tillman_enable=YES

When I run the following by hand, it works:

[EMAIL PROTECTED] camcontrol negotiate da6 | grep freq
(pass6:sym1:0:6:0): frequency: 20.000MHz
[EMAIL PROTECTED] camcontrol negotiate da6 -R10 -q -a
[EMAIL PROTECTED] camcontrol negotiate da6 | grep freq
(pass6:sym1:0:6:0): frequency: 10.000MHz

Yet when I run `/etc/rc.d/camcontrol_tillman start` (or even
forcestart), all I get is:

[EMAIL PROTECTED] /etc/rc.d/camcontrol_tillman forcestart
# camcontrol_tillman

Aside from the echo statements not outputting anything, a quick check
confirms that it really didn't do anything:

[EMAIL PROTECTED] camcontrol neg da5 | grep freq
(pass5:sym1:0:5:0): frequency: 20.000MHz

I'm assuming that I just don't understand something relatively simple
about the RCng system and that the script is missing something
relatively minor. Anyone care to enlighten me?

-T


-- 
The important thing is not to stop questioning. Curiosity has its own reason
 for existing.
-- Albert Einstein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Everything randomly generates .core files

2004-11-13 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Benjamin
 Walkenhorst
 Sent: Saturday, November 13, 2004 3:17 AM
 To: Ted Mittelstaedt
 Cc: [EMAIL PROTECTED]; Eric Schuele
 Subject: Re: Everything randomly generates .core files


 Ted Mittelstaedt wrote:

 You probably have a bad CPU cache on your motherboard.  The solution is
 to use that machine for some Windows system and get a different PC.
 
 
 While I agree with your diagnosis, it's probably a hardware problem, I
 don't think Windows
 is going to run well on that machine.

Perhaps - but since PC's these days are generally warrantied to run Windows,
if that happened, back to the store for a return, eh?  Some machines are
even sold with Windows preloaded, if you can believe it - I think a retailer
would have a hard time claiming that a machine that was preloaded with
Windows and that Windows couldn't run for more then 5 minutes on, wasn't a
canidate for a warranty return!

Of course, we ARE assuming the OP used NEW hardware, not some crappy, grungy
5 year old discard PC, right?

Because if that was the case, then he got what he deserved, eh?

Ted

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


Re: FBSD 2.5.1-p11 | Promise SATA150 TX2plus | Seagate B 200GB - BAD SUPERBLK / Machine freezes up etc

2004-11-13 Thread Louis LeBlanc
Well Sebastian, it looks like 5.3 has solved all my problems.

I put my drive under extreme duress last night with a sustained load
of about 22M/s with spikes up to 24 (according to the gkrellm
monitor).  This went on for about 20 minutes.  Not even a flinch.  I'm
pretty well convinced that whatever problem I was having in 5.2.1 is
gone.

Excellent job by the FreeBSD dev group!  (ROUSING APPLAUSE).

I hope you are able to solve your Promise SATA issues soon.  Sorry I
can't help with specifics, but here's what I have:

Intel ICH5 SATA150 controller
Western Digital WD1600JD-75HBB0/08.02D08 drive (160G)
The motherboard is the Dell Dimension 8300.

The kernel is smp with much of the cruft ripped out (watch that when
you recycle a 5.2.1 kernel config - there are some new devices that
are needed in 5.3 :)

I updated to RELENG_5_3 (5.3 with security updates) and rebuilt and
installed world and kernel (with smp).  After this, there were only
the usual configuration tweaks to work out.

Good luck.
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Nothing is faster than the speed of light ...
To prove this to yourself, try opening the refrigerator door before the
light comes on.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Frustration

2004-11-13 Thread Paul A. Sprague
I've done a successful 4.9 standard install of FreeBSD aand it is  
performing as a file server for my mac. I've never been able to install  
xfree86 wich is no problem, but whenever I've tried to do installs of  
daapd and its dependencies, I've had a  variety of failures,  Recently  
i tried installing cvsup and now I'm getting the following.

cd /usr/ports/net/cvsup-without-gui
# make install clean
 cvsup-snap-16.1h.tar.gz doesn't seem to exist in  
/usr/ports/distfiles/.
 Attempting to fetch from  
ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/snapshots/.
fetch:  
ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/snapshots/cvsup- 
snap-16.1h.tar.gz: Host not found

I'm hoping this something real simple that I'm overlooking.
thanks,
Paul
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xmkmf/make problem

2004-11-13 Thread Giorgos Keramidas
On 2004-11-13 08:49, Mike Jeays [EMAIL PROTECTED] wrote:
 On Tue, 2004-10-19 at 20:22, Giorgos Keramidas wrote:
  On 2004-10-19 19:15, Mike Jeays [EMAIL PROTECTED] wrote:
   On Tue, 2004-10-19 at 08:31, Giorgos Keramidas wrote:
On 2004-10-19 07:26, Mike Jeays [EMAIL PROTECTED] wrote:
 [...] I don't have any clue why this long-standing program, which
 was developed on Solaris and ported to Linux and FreeBSD, has suddenly
 started to give me problems. The Imakefile is as follows, and gives no
 clue about what might be missing.

 SYS_LIBRARIES= -lXmu -lXaw  -lXt -lX11 -lm -lXi
 SRCS = lst.c
 OBJS = lst.o

 ComplexProgramTarget (lst)
   
Can I see a minimal program that exhibits the problem?  By only looking
at the included headers I can't know what's wrong with the source.
  
   You can see the source of one of these programs at
   http://members.rogers.com/mike.jeays/lst.c
 
  Without actually reading the entire source, I tried building this with
  an Imakefile that contains exactly the text you sent in your previous
  post.  It builds fine here, even if I set my CFLAGS to a set of
  relatively strict warnings before invoking xmkmf and/or make:
 
  CFLAGS='-O -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual \
  -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs \
  -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes \
  -Wwrite-strings'
 
  Are you getting compile-time errors?
  If yes, what are they?
  Does your environment contain any CFLAGS or CC variables?

 Sorry for the long delay in replying.  Since October 19th, I installed
 5.3 on another machine, and tried again.  I get exactly the same error
 from make.  It responds immediately with
 make: don't know how to make /usr/include/machine/ansi.h. Stop

Hmmm, there is no /usr/include/machine/ansi.h header in FreeBSD.  Have
you been trying to run xmkmf on one system and then use the generated
makefiles on a different system (i.e. generate the Makefiles on Linux
but build on Solaris or BSD)?

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


Re: Frustration

2004-11-13 Thread Giorgos Keramidas
On 2004-11-13 12:24, Paul A. Sprague [EMAIL PROTECTED] wrote:
 I've done a successful 4.9 standard install of FreeBSD aand it is
 performing as a file server for my mac. I've never been able to
 install xfree86 wich is no problem, but whenever I've tried to do
 installs of daapd and its dependencies, I've had a variety of
 failures, Recently i tried installing cvsup and now I'm getting the
 following.

 cd /usr/ports/net/cvsup-without-gui
 # make install clean
  cvsup-snap-16.1h.tar.gz doesn't seem to exist in  /usr/ports/distfiles/.
  Attempting to fetch from  
  ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/snapshots/.
 fetch: 
 ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/snapshots/cvsup-snap-16.1h.tar.gz:
  Host not found

 I'm hoping this something real simple that I'm overlooking.

Your DNS setup seems broken -- ftp.freebsd.org resolves fine here:

gothmog:/home/giorgos$ host ftp.FreeBSD.org
ftp.FreeBSD.org has address 62.243.72.50
ftp.FreeBSD.org has IPv6 address 2001:4f8:0:2::e
gothmog:/home/giorgos$

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


MAC

2004-11-13 Thread Peter Harmsen
I have added an additional login class (the insecure class from the FreeBSD 
handbook example) to /etc/login.conf.In /boot/loader.conf i entered all the 
necesary modules that should be loaded according to the FreeBSD handbook.
Allmost everything works execpt Xorg with nvidia driver installed.
I get the following mesage when running startx: ' xf86Vidmem:Address 0xde601000 
outside range '.Is something regulating or restricting the memory addresses, or 
should i add something to the example /etc/policy.contexts ?


kind regards,

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


xorg upgrade advice

2004-11-13 Thread Chuck Tuffli
i'm in the process of upgrading a 4.7 system from Xfree86 to xorg from
ports and am running into some problems. the upgrade instructions
seemed pretty simple

pkg_delete -f /var/db/pkg/imake-4* /var/db/pkg/XFree86-*
cd /usr/ports/x11/xorg  make install
pkgdb -F

but the make fails in xorg-libraries when trying to install
expat-1.95.8 because expat-1.95.5 is already installed. looking back
through the build log, there is also a warning about upgrading from
libtool13 to libtool15.

for an older system like this, are there some additional steps others
have found necessary/useful?

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


cups dies frequently

2004-11-13 Thread Florian Hengstberger
Hi!

I've installed cups and cups-lpr and I'm working with
a ppd file for a HP1300 although my printer is a HP1320,
because it works perfectly under linux.
Anyway cups dies frequently, to be exact:
I turned the loglevel of cups and found out that the
ripping of the pages failes; the process dies
after receiving signal 2. 
No paper is spit out and lpq tells me that the printer is ready.
The printer itself is working perfectly:
cut something.ps  /dev/ulpt0
spits out the pages.

If theres a quick solution of this problem, please
tell me. Its not possible for me to post the whole errorlog
of cups now, but I'll do this if necessary.


Thanks Florian

PS: I want to apologize for this inexact description,
but I'm recovering all this from memory now, my internet access
is far away from my computer.

--
Florian Hengstberger
[EMAIL PROTECTED]
http://stud3.tuwien.ac.at/~e0025265
--




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


Dual Boot with Windows XP

2004-11-13 Thread Giuliano Cardozo Medalha
Hi,
I have started with FreeBSD 5.3 one week ago.
I had some experience with the system ... only it in my machine.
I have never used the boot loader and it rules.
Now I have a different situation:
My first IDE drive is (on IDE 0 - master)  with windows XP 
controlling it MBR.

My second IDE drive  (on IDE 0 - slave)  is with FreeBSD 5.3 
controlling it MBR.

How can I do to configure the boot loader and the scripts: loader.rc and 
loader.conf to create
a dual boot environment using FreeBSD boot loader ?

I have to install the file boo0 on windows XP MBR drive ?
And about the configurations to put them all in the same menu ?
Thanks a lot,
Giuliano
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Everything randomly generates .core files

2004-11-13 Thread Eric Schuele
Ted Mittelstaedt wrote:

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Benjamin
Walkenhorst
Sent: Saturday, November 13, 2004 3:17 AM
To: Ted Mittelstaedt
Cc: [EMAIL PROTECTED]; Eric Schuele
Subject: Re: Everything randomly generates .core files
Ted Mittelstaedt wrote:

You probably have a bad CPU cache on your motherboard.  The solution is
to use that machine for some Windows system and get a different PC.

While I agree with your diagnosis, it's probably a hardware problem, I
don't think Windows
is going to run well on that machine.

Perhaps - but since PC's these days are generally warrantied to run Windows,
if that happened, back to the store for a return, eh?  Some machines are
even sold with Windows preloaded, if you can believe it - I think a retailer
would have a hard time claiming that a machine that was preloaded with
Windows and that Windows couldn't run for more then 5 minutes on, wasn't a
canidate for a warranty return!
Of course, we ARE assuming the OP used NEW hardware, not some crappy, grungy
5 year old discard PC, right?
It's running on a Dell Inspiron 5100.  I've had it less than a year. 
Ran windows fine.  Ran FreeBSD 5.2.1-RELEASE fine.. 5.3-BETA7 as well. 
Just started a day or so ago, when I formatted and installed 
5.3-RELEASE.  I guess some partial failure could have coincided with the 
install.  I did not have the chance to run memtest yet  but will 
today/tonight

Another thought... assuming its a hardware issue.  I would expect it to 
manifest itself under greater loads such as when building a port. As 
opposed to sitting idly while browsing the filesystem with xfe. One 
example is the OpenOffice port building that took forever... the 
entire time the CPU was pegged 95%-100%... but nothing hiccuped.  even 
had xfe up, and while browsing the web.

Anyways... thanks for the attention to my problem(s).  I'll post the 
memtest results asap.

Because if that was the case, then he got what he deserved, eh?
Ted
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: xorg upgrade advice

2004-11-13 Thread W. D.
At 12:15 11/13/2004, Chuck Tuffli wrote:
i'm in the process of upgrading a 4.7 system from Xfree86 to xorg from
ports and am running into some problems. the upgrade instructions
seemed pretty simple

pkg_delete -f /var/db/pkg/imake-4* /var/db/pkg/XFree86-*
cd /usr/ports/x11/xorg  make install
pkgdb -F

but the make fails in xorg-libraries when trying to install
expat-1.95.8 because expat-1.95.5 is already installed. looking back
through the build log, there is also a warning about upgrading from
libtool13 to libtool15.

for an older system like this, are there some additional steps others
have found necessary/useful?

I had the same problems with libtool and expat.  This might
help you:
http://www.US-Webmasters.com/FreeBSD/Tips-Hints-Tricks/make-install-fails-dies-quits/
http://www.Google.com/search?q=make+install+fails+FreeBSD

Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

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


Re: Putty - SSH access

2004-11-13 Thread Matthew Seaman
On Sat, Nov 13, 2004 at 09:40:31AM -0500, Grant Peel wrote:

 I have a precious few clients that would like Secure Shell access 
 reportedly to admin a number of text files and run a few command line apps.
 
 Is it possible to grant shell access and jail users to thier home dir 
 without going to all the hastle of building a real FreeBSD jail?

There's a patch for OpenSSH-3.5p1 at:

http://majikal.dyn.dhs.org/projekts/openssh_chroot_patch/

It appears that this patch was going to be a big sourceforge project,

http://sourceforge.net/projects/chrootssh/

but according to their CVS the files were all initially checked in two
years ago, and bugger all has happened since.  Use at your own risk.
Batteries not included.  Some assembly required.

Google for 'openssh chroot patch' for more info.

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


pgpzAZOv0CHgo.pgp
Description: PGP signature


Re: MAC

2004-11-13 Thread Louis LeBlanc
On 11/13/04 07:14 PM, Peter Harmsen sat at the `puter and typed:
 I have added an additional login class (the insecure class from the
 FreeBSD handbook example) to /etc/login.conf.In /boot/loader.conf
 i entered all the necesary modules that should be loaded according
 to the FreeBSD handbook.
 Allmost everything works execpt Xorg with nvidia driver installed.
 I get the following mesage when running startx: ' xf86Vidmem:Address
 0xde601000 outside range '.Is something regulating or restricting
 the memory addresses, or should i add something to the example
 /etc/policy.contexts ?


I'm using Xorg with NVIDIA and I'm having no trouble at all.  Not to
say it was easy.

What's your Card config?

I doubt mine will apply directly to your setup, since I'm using a dual
head setup, but the card itself is configured as follows:

Section Device
Identifier NV AGP TwinView
VendorName  nVidia Corporation
Driver nvidia
# update this with the PCI id of your card.  Consult the output
# of the 'lspci' command. The  BusID is usually optional when
# only using one graphics card.
BusID   PCI:1:0:0
BoardName   NV34 [GeForce FX 5200]

# sample twinview setup
Option TwinView
Option SecondMonitorHorizSync 31-80
Option SecondMonitorVertRefresh   56-75
Option TwinViewOrientationRightOf
Option MetaModes  1280x1024,1280x1024; 1024x768,1024x768
Option ConnectedMonitor   crt,crt
EndSection

It should be fairly easy to figure out which options are related to
the dual setup (all of the Option entries, actually).  Notice I
don't have any memory info defined.  The driver will detect that
automagically:

(--) NVIDIA(0): VideoRAM: 131072 kBytes

This is from /var/log/Xorg.0.log, and it indicates the available
memory was probed.

HTH  Good luck
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Commitment, n.:
  [The difference between involvement and] Commitment can be
  illustrated by a breakfast of ham and eggs.  The chicken was
  involved, the pig was committed.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A couple of 5.3 questions

2004-11-13 Thread Matthew Seaman
On Sat, Nov 13, 2004 at 11:19:18AM -0500, Francisco Reyes wrote:
 Plan to soon move to 5.3 through a backup, fresh install proces..
 
 One of the main reasons I am moving is for the snapshot capability.
 Reading the man for MKSNAP_FFS(8) I see
 mksnap_ffs mountpoint snapshot_name
 
 Question: Does mountpoint has to be a filesystem or can it be a directory?
 For example if I have:
 /
 /usr
 /var
 
 Can I make a snapshot of /usr/home? Or I can only do /usr?
 
 Then I went on to look at how to mount snapshopts, and although found the 
 info, got a little more confused.
 
 The mount command has in the man page:
 snapshot
 This option allows a snapshot of the specified
 file system to be taken.
 
 So is mount or mksnap_ffs that makes the snapshot?
 
 The only reason I am trying to get this info is to know if to make a 
 separate filesystem for files I would like to snapshot.

The snapshot capability is a filesystem wide thing: ie. you can
snapshot a whole partition, not just small parts of it.  mount(8) will
call mksnap_ffs(8) to create the snapshot -- that's typical of the way
mount is designed.  When you say 'mount -t foo', you actually end up
trying to run a command 'mount_foo' (of which there are about 17
variants available on this 4.10-STABLE system) -- that lets arbitrary
new filesystem types be added to the system very easily.

Once you've made your snapshot, you can do things like backing up just
selected parts of it, no problem.  So long as there aren't massive
changes going on in that partition, the snapshot shouldn't take up too
many system resources.

I think what you want would be a very similar concept: file
versioning.  That's something which is available in eg. Windows
Server, but that hasn't been implemented on FreeBSD -- or, as far as I
know, on any Unixoid system.  

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


pgpkZDbAr4Blc.pgp
Description: PGP signature


cvsup refuse

2004-11-13 Thread Gert Cuykens
i read the read me for the refuse file but i dont know if i understand
it right ?

Do i put the refuse file into /usr/sup/ if prefix=/usr

is there note a cvsup -option where you can specify the refuse file ?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup refuse

2004-11-13 Thread Marc Fonvieille
On Sat, Nov 13, 2004 at 08:37:24PM +0100, Gert Cuykens wrote:
 i read the read me for the refuse file but i dont know if i understand
 it right ?
 
 Do i put the refuse file into /usr/sup/ if prefix=/usr
 
 is there note a cvsup -option where you can specify the refuse file ?

Please read:

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

especially: A.5.3.1 The refuse File

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


Re: FBSD 2.5.1-p11 | Promise SATA150 TX2plus | Seagate B 200GB - BAD SUPERBLK / Machine freezes up etc

2004-11-13 Thread Sebastian Holmqvist
On Sat, 13 Nov 2004 12:04:47 -0500, Louis LeBlanc
[EMAIL PROTECTED] wrote:
 Well Sebastian, it looks like 5.3 has solved all my problems.
 
 I put my drive under extreme duress last night with a sustained load
 of about 22M/s with spikes up to 24 (according to the gkrellm
 monitor).  This went on for about 20 minutes.  Not even a flinch.  I'm
 pretty well convinced that whatever problem I was having in 5.2.1 is
 gone.
 
 Excellent job by the FreeBSD dev group!  (ROUSING APPLAUSE).
 
 I hope you are able to solve your Promise SATA issues soon.  Sorry I
 can't help with specifics, but here's what I have:
 
 Intel ICH5 SATA150 controller
 Western Digital WD1600JD-75HBB0/08.02D08 drive (160G)
 The motherboard is the Dell Dimension 8300.
 
 The kernel is smp with much of the cruft ripped out (watch that when
 you recycle a 5.2.1 kernel config - there are some new devices that
 are needed in 5.3 :)
 
 I updated to RELENG_5_3 (5.3 with security updates) and rebuilt and
 installed world and kernel (with smp).  After this, there were only
 the usual configuration tweaks to work out.
 
 Good luck.
 Lou
 --
 Louis LeBlanc   [EMAIL PROTECTED]
 Fully Funded Hobbyist, KeySlapper Extrordinaire :)
 http://www.keyslapper.org ԿԬ
 
 Nothing is faster than the speed of light ...
 To prove this to yourself, try opening the refrigerator door before the
 light comes on.
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I'm happy for you.

Well my patience went out last night. Grabbed a nearby computer and
ripped it apart, moved all the hardware to the server, gonna test it
tomorrow.
Wish me luck!
-- 

Sebastian Holmqvist
Webprogrammer / HL2 modder
http://cae.hl2files.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dual Boot with Windows XP

2004-11-13 Thread Brian Bobowski
Giuliano Cardozo Medalha wrote:
My first IDE drive is (on IDE 0 - master)  with windows XP 
controlling it MBR.

My second IDE drive  (on IDE 0 - slave)  is with FreeBSD 5.3 
controlling it MBR.

How can I do to configure the boot loader and the scripts: loader.rc 
and loader.conf to create
a dual boot environment using FreeBSD boot loader ?

I have to install the file boo0 on windows XP MBR drive ?
And about the configurations to put them all in the same menu ?
Thanks a lot,
Giuliano
The FreeBSD boot loader needs to be installed to whichever drive your 
BIOS thinks is first(likely your primary master), which according to 
what you cite above should indeed be the Windows XP drive. The boot 
loader, if installed through /stand/sysinstall at least, should 
automatically be configured to recognise both, but be advised that on my 
XP install(which is partitions on the same drive), the XP shows up as 
???. Configuring other boot loaders such as grub is something I've 
never done myself, so can't really advise on.

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


Why use a firewall with dialup?

2004-11-13 Thread Jonathon McKitrick

I've been using one for some time, but now that I have a mini network, it
has become a bit of a hassle updating the rules.

If I disable all services but ssh, stay STABLE, and do not have a broadband
connection, what danger is there?

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


upgrade 5.3b7

2004-11-13 Thread Gert Cuykens
i just updated my src to releng_5
Sat Nov 13 22:01:04 CET 2004
anything i should know of ?

If i do make installkernel and reboot without make installworld. The
old kernel will be loaded right ?

anything going to happen to my file system or bootmaneger during upgrade?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why use a firewall with dialup?

2004-11-13 Thread Kent Stewart
On Saturday 13 November 2004 01:12 pm, Jonathon McKitrick wrote:
 I've been using one for some time, but now that I have a mini network, it
 has become a bit of a hassle updating the rules.

 If I disable all services but ssh, stay STABLE, and do not have a broadband
 connection, what danger is there?


The script kiddies don't target broadband. They step through IP blocks. You 
are just as much at risk with dialup as you are with broadband. The only 
difference is the time of exposure. 

It has been a long time since I used dialup but IIRC, ppp-user had some 
features very much like a firewall.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Help with boot0

2004-11-13 Thread Jay O'Brien
Thanks Henrik and Ruben, Good input from you both. 

To be sure which HD I'm on, I made (empty) directories in the root 
of each drive, called (either) ..AD0 or ..AD1. In this way the HD's 
aren't completely identical, and I can see which one boots. 

I agree that boot0 shouldn't be on the second drive and I fixed that. 
However, I couldn't restore the standard mbr until I went to 
/stand/sysinstall, selected Configure, selected fdisk, ad1, set 
bootable, write changes, yes, standard mbr, ok. This worked fine.

If I interrupt the boot process, at the command prompt I can use the 
ls command to list files and see the empty directory that confirms 
which drive has booted. If I boot from the second drive, ad1, then 
fstab and other files point to ad0, not ad1, and I wind up on ad0, 
regardless of which drive actually boots. 

It seems to me that the boot0cfg -o option should force the drive 
in use to be referred to the boot0cfg option -b 0x80, and then the
second drive would be used but called 0x80. This doesn't seem to be 
the case. 

Apparently I will have to make some changes to the files on the 
second drive so that the first drive won't be used at all when 
the system is booted from the second drive. Which files?

To recap, I can use boot0 to boot from either HD. However, when 
the boot is on the second HD, it still points to (and uses) the 
first drive as if it was booted there. 

I have identical files on ad0 and ad1. I would like to be able to 
boot from (and use the files on) either ad0 or ad1.

Help?

Jay O'Brien
Rio Linda, CA, USA





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


[FreeBSD] Gimp Install Fails

2004-11-13 Thread Danny Browne

Tyring to install Gnome-fifth-toe 2.8.1. The install fails while trying to 
install the Gimp package. Seems to be som problem with 
/usr/ports/print/ghostscript-gnu package. 

System info;

1. FreeBSD 4.10 i386
2. Fully up2date ports, and ports tree
3. No previous installation of GNOME (or anyother Desktop environment)so no 
conflicts there.

Error message;

/src/gdevl256.c: At top level:
/src/gdevl256.c:142: warning: non-static declaration for `lvga256_close' 
follows static
/src/gdevl256.c: In function `lvga256_close':
/src/gdevl256.c:143: warning: function `vga_setmode' was previously declared 
within a block
/src/gdevl256.c:143: `TEXT' undeclared (first use in this function)
/src/gdevl256.c: At top level:
/src/gdevl256.c:154: warning: non-static declaration for 
`lvga256_map_rgb_color' follows static
/src/gdevl256.c: In function `lvga256_map_rgb_color':
/src/gdevl256.c:193: warning: function `gl_setpalettecolor' was previously 
declared within a block
/src/gdevl256.c: At top level:
/src/gdevl256.c:201: warning: non-static declaration for 
`lvga256_map_color_rgb' follows static
/src/gdevl256.c:216: warning: non-static declaration for `lvga256_copy_mono' 
follows static
/src/gdevl256.c: In function `lvga256_copy_mono':
/src/gdevl256.c:233: warning: implicit declaration of function `gl_fillbox'
/src/gdevl256.c:244: warning: implicit declaration of function `gl_setpixel'
/src/gdevl256.c: At top level:
/src/gdevl256.c:262: warning: non-static declaration for `lvga256_copy_color' 
follows static
/src/gdevl256.c: In function `lvga256_copy_color':
/src/gdevl256.c:267: warning: implicit declaration of function `gl_putbox'
/src/gdevl256.c: At top level:
/src/gdevl256.c:280: warning: non-static declaration for 
`lvga256_fill_rectangle' follows static
/src/gdevl256.c: In function `lvga256_fill_rectangle':
/src/gdevl256.c:282: warning: function `gl_fillbox' was previously declared 
within a block
/src/gdevl256.c: At top level:
/src/gdevl256.c:294: warning: non-static declaration for 
`lvga256_tile_rectangle' follows static
/src/gdevl256.c:306: warning: non-static declaration for `lvga256_draw_line' 
follows static
/src/gdevl256.c: In function `lvga256_draw_line':
/src/gdevl256.c:307: warning: implicit declaration of function `gl_line'


Can anyone help me out here. I'm a relative newcomer so try an dumb it down a 
small bit.

Thanks for any help,

Kind Regards,

Danny Browne


_
Sign up for eircom broadband now and get a free two month trial.*
Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer


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


Re: A couple of 5.3 questions

2004-11-13 Thread Francisco Reyes
On Sat, 13 Nov 2004, Matthew Seaman wrote:
The snapshot capability is a filesystem wide thing: ie. you can
snapshot a whole partition, not just small parts of it.  mount(8) will
call mksnap_ffs(8) to create the snapshot
Thanks.
I will make a filesystem to store data that I need to snapshot
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [FreeBSD] Gimp Install Fails

2004-11-13 Thread Danny Browne
problem solved,

for future refrence,

On the first install of ghostscript-gnu i selected all the available driver in 
the sysinstall type dialog that opened.

To rectifiy the problem;

1. browsed to /usr/ports/print/ghostscript-gnu

2. type:

$make clean
$make reinstall

3. when th dialog opens again, just accept the default drivers, dont select any 
more (if you need other, you might have a proble althought i pretty sure it's 
the VGA and SVGA ones that cuase the problem)

4. browse back to the ports directory for whatever you were originally 
installing  continue with; 

$make install clean

Regards

Danny Browne


[EMAIL PROTECTED] wrote:

 
 
 Tyring to install Gnome-fifth-toe 2.8.1. The install fails while trying to 
 install the Gimp package. Seems to be som problem with 
 /usr/ports/print/ghostscript-gnu package. 
 
 System info;
 
 1. FreeBSD 4.10 i386
 2. Fully up2date ports, and ports tree
 3. No previous installation of GNOME (or anyother Desktop environment)so no 
 conflicts there.
 
 Error message;
 
 /src/gdevl256.c: At top level:
 /src/gdevl256.c:142: warning: non-static declaration for `lvga256_close' 
 follows static
 /src/gdevl256.c: In function `lvga256_close':
 /src/gdevl256.c:143: warning: function `vga_setmode' was previously declared 
 within a block
 /src/gdevl256.c:143: `TEXT' undeclared (first use in this function)
 /src/gdevl256.c: At top level:
 /src/gdevl256.c:154: warning: non-static declaration for 
 `lvga256_map_rgb_color' follows static
 /src/gdevl256.c: In function `lvga256_map_rgb_color':
 /src/gdevl256.c:193: warning: function `gl_setpalettecolor' was previously 
 declared within a block
 /src/gdevl256.c: At top level:
 /src/gdevl256.c:201: warning: non-static declaration for 
 `lvga256_map_color_rgb' follows static
 /src/gdevl256.c:216: warning: non-static declaration for `lvga256_copy_mono' 
 follows static
 /src/gdevl256.c: In function `lvga256_copy_mono':
 /src/gdevl256.c:233: warning: implicit declaration of function `gl_fillbox'
 /src/gdevl256.c:244: warning: implicit declaration of function `gl_setpixel'
 /src/gdevl256.c: At top level:
 /src/gdevl256.c:262: warning: non-static declaration for `lvga256_copy_color' 
 follows static
 /src/gdevl256.c: In function `lvga256_copy_color':
 /src/gdevl256.c:267: warning: implicit declaration of function `gl_putbox'
 /src/gdevl256.c: At top level:
 /src/gdevl256.c:280: warning: non-static declaration for 
 `lvga256_fill_rectangle' follows static
 /src/gdevl256.c: In function `lvga256_fill_rectangle':
 /src/gdevl256.c:282: warning: function `gl_fillbox' was previously declared 
 within a block
 /src/gdevl256.c: At top level:
 /src/gdevl256.c:294: warning: non-static declaration for 
 `lvga256_tile_rectangle' follows static
 /src/gdevl256.c:306: warning: non-static declaration for `lvga256_draw_line' 
 follows static
 /src/gdevl256.c: In function `lvga256_draw_line':
 /src/gdevl256.c:307: warning: implicit declaration of function `gl_line'
 
 
 Can anyone help me out here. I'm a relative newcomer so try an dumb it down a 
 small bit.
 
 Thanks for any help,
 
 Kind Regards,
 
 Danny Browne
 
 
 _
 Sign up for eircom broadband now and get a free two month trial.*
 Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 




_
Sign up for eircom broadband now and get a free two month trial.*
Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer


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


Re: Why use a firewall with dialup?

2004-11-13 Thread Bill Campbell
On Sat, Nov 13, 2004, Kent Stewart wrote:
On Saturday 13 November 2004 01:12 pm, Jonathon McKitrick wrote:
 I've been using one for some time, but now that I have a mini network, it
 has become a bit of a hassle updating the rules.

 If I disable all services but ssh, stay STABLE, and do not have a broadband
 connection, what danger is there?


The script kiddies don't target broadband. They step through IP blocks. You 
are just as much at risk with dialup as you are with broadband. The only 
difference is the time of exposure. 

The only time I've ever had a Linux box cracked was when I was using my
laptop with a Ricochet wireless modem.  I hadn't hardened the laptop
because I was lazy, and it had never been out in the wild before, living on
our internal LAN behind our firewalls and NAT.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``We maintain that the very foundation of our way of life is what we call
free enterprise,'' said Cash McCall, ``but when one of our citizens
show enough free enterprise to pile up a little of that profit, we do
our best to make him feel that he ought to be ashamed of himself.''
-- Cameron Hawley
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problem in freebsd 4.10

2004-11-13 Thread Kevin D. Kinsey, DaleCo, S.P.
[EMAIL PROTECTED] wrote:
Ok thanks for the detail response.  I guess my confusion came from several
places - the handbook explicity gives an example where you can refuse 
ports that aren't relevant to your environment (i refuse several such as
japanese, chinese)...

 

Hmm.  I wonder if we should consider mentioning that you don't want
to do this if you intend to make index ... I'll mention it on doc@ and see
what comes up.
Can you explain (if you know off hand) why make fetchindex would fix the
problem (it did without adding the ports)?
 

Yes.  make fetchindex downloaded a copy of the complete index database
from one of the ftp servers, thus bypassing the problem of makeing it on
your box.
As a side but unrelated question it seems that recent updates to the port
colleciton (such as mozilla, mplayer and netscape) have bad values (either
size of time stamps) for the objects they are to fetch - do you know why
this is happening (aka is it specific to me?)
thanks,
Alan
 

Hmm.  Is that local modification time does not match remote?
If you have downloads from fetch that have been interrupted (as
I do sometimes at home where I have a slow and occasionally unreliable
ppp link), you can fix that one by deleting the aborted files from 
/usr/ports/distfiles
and running make install or make install clean (or whatever) again.

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


RE: Everything randomly generates .core files

2004-11-13 Thread Ted Mittelstaedt


 -Original Message-
 From: Eric Schuele [mailto:[EMAIL PROTECTED]
 Sent: Saturday, November 13, 2004 10:47 AM
 To: [EMAIL PROTECTED]; Ted Mittelstaedt
 Subject: Re: Everything randomly generates .core files


 It's running on a Dell Inspiron 5100.  I've had it less than a year.
 Ran windows fine.  Ran FreeBSD 5.2.1-RELEASE fine.. 5.3-BETA7 as well.
 Just started a day or so ago, when I formatted and installed
 5.3-RELEASE.

Send a complaint to Dell.  Dell hasn't been known in the past for
support of non-Windows operating systems.  When asked why, Dell claims
that none of their customers want to run non-Windows operating systems.

If you don't complain to Dell then your just supporting their
assertation that none of their customers want to run non-Windows
operating systems.

Now, Hewlett Packard/Compaq, by contrast, not only believes their
customers want to run non-Windows operating systems, they even
have a public test site - and FreeBSD is on it! See:

http://www.testdrive.hp.com

Perhaps bringing this up with Dell might spur some attention?

 I guess some partial failure could have coincided with the
 install.

Oh baloney.  I would bet a lunch that if you reformatted your
hard disk and reinstalled whatever version of Windows was supplied
with your Dell, it would run perfectly.

Windows runs on marginal hardware, UNIX does not.  Period.  Windows
does because it's designed to run on marginal hardware - because of
people like Dell who cut every corner in the book to get their stuff
as cheap as possible, and as a result, have large market share.

 I did not have the chance to run memtest yet  but will
 today/tonight

 Another thought... assuming its a hardware issue.  I would expect it to
 manifest itself under greater loads such as when building a port. As
 opposed to sitting idly while browsing the filesystem with xfe. One
 example is the OpenOffice port building that took forever... the
 entire time the CPU was pegged 95%-100%... but nothing hiccuped.  even
 had xfe up, and while browsing the web.


Yeah, right.  OK go ahead and try to make some logical sense if it makes
you feel better.  Your wasting your time.

Bad hardware is NOT logical in how it fails.  I've dealt with many systems
in the past that were iffy hardware.  Even some that ran earier versions of
FreeBSD fine  (or more accurately, versions of FreeBSD that were compiled by
earlier versions of GCC) then blew chunks on later versions.
(more accurately, versions of FreeBSD that were compiled by later versions
of GCC)

There is never any logic when you have marginal hardware.

If you really believe that your hardware has failed then reload Windows
and when Windows blows up, call Dell.  Your system is still under Dell
warranty.  They will replace the bad hardware.  But I doubt you have
failed hardware.  I think you have hardware that was designed to run
Windows and that Windows was designed to run on - and simply does not
include any features that aren't directly required by Windows.

Remember, if Dell can save 5 cents by not including a chip that is
supposed to be there on an industry standard motherboard, yet isn't
required by Windows, they are going to do it.  This isn't personal it
is just SOP for manufacturers that build the volume that Dell builds.
The automakers do it all of the time.

Ted

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


bootonly.iso?

2004-11-13 Thread Jay O'Brien
I have successfully burned iso CDs from FreeBSD files, so I know 
my process for burning the CDs works. 

I burned Release 5.3's bootonly.iso file to a CD. When I put that 
CD back into my Windows machine that burned it, it is recognized 
as a blank CD.

When I put that CD into my FreeBSD computer that was built from 
FreeBSD iso CDs, it doesn't work, as if it were a blank CD. 

What am I missing?

Jay O'Brien

PS.. I did try it a second time, just in case I had a bad blank CD.

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


Belkin Media Card Reader

2004-11-13 Thread Mick Walker
Hi everyone,

I have just purchased a Belkin F5U249 media card reader, and am having
trouble mounting it under FreeBSD 5.3-RELEASE.

Here is the relivent part of my dmesg when I plug the device in, with
the media card inseted.

umass0: BELKIN USB 2 Flash Media Device, rev 2.00/3.23, addr 3
da0 at umass-sim0 bus 0 target 0 lun 0
da0: BELKIN USB 2 HS-CF 3.23 Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 - 6
da1 at umass-sim0 bus 0 target 0 lun 1
da1: BELKIN USB 2 HS-MS 3.23 Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
(da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0
(da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da1:umass-sim0:0:0:1): SCSI Status: Check Condition
(da1:umass-sim0:0:0:1): NOT READY asc:3a,0
(da1:umass-sim0:0:0:1): Medium not present
(da1:umass-sim0:0:0:1): Unretryable error
Opened disk da1 - 6
(da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0
(da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da1:umass-sim0:0:0:1): SCSI Status: Check Condition
(da1:umass-sim0:0:0:1): NOT READY asc:3a,0
(da1:umass-sim0:0:0:1): Medium not present
(da1:umass-sim0:0:0:1): Unretryable error
Opened disk da1 - 6
(da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0
(da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(da1:umass-sim0:0:0:1): SCSI Status: Check Condition
(da1:umass-sim0:0:0:1): NOT READY asc:3a,0
(da1:umass-sim0:0:0:1): Medium not present
(da1:umass-sim0:0:0:1): Unretryable error
Opened disk da1 - 6
da2 at umass-sim0 bus 0 target 0 lun 2
da2: BELKIN USB 2 HS-SM/XD 3.23 Removable Direct Access SCSI-0 device
da2: 1.000MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
(da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0
(da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error
(da2:umass-sim0:0:0:2): SCSI Status: Check Condition
(da2:umass-sim0:0:0:2): NOT READY asc:3a,0
(da2:umass-sim0:0:0:2): Medium not present
(da2:umass-sim0:0:0:2): Unretryable error
Opened disk da2 - 6
(da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0
(da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error
(da2:umass-sim0:0:0:2): SCSI Status: Check Condition
(da2:umass-sim0:0:0:2): NOT READY asc:3a,0
(da2:umass-sim0:0:0:2): Medium not present
(da2:umass-sim0:0:0:2): Unretryable error
Opened disk da2 - 6
(da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0
(da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error
(da2:umass-sim0:0:0:2): SCSI Status: Check Condition
(da2:umass-sim0:0:0:2): NOT READY asc:3a,0
(da2:umass-sim0:0:0:2): Medium not present
(da2:umass-sim0:0:0:2): Unretryable error
Opened disk da2 - 6
da3 at umass-sim0 bus 0 target 0 lun 3
da3: BELKIN USB 2 HS-SD/MMC 3.23 Removable Direct Access SCSI-0 device
da3: 1.000MB/s transfers
da3: 30MB (62720 512 byte sectors: 64H 32S/T 30C)

I have assumed (maybe to my error) that the card I am trying to access
is designated as /dev/da3 due to the tell tale 30mb listed in the
output, (and its a 32mb card).
The card is formatted with the fat32 file system. I also have in my
kernel config the following:
options MSDOSFS 

When I try the following, I get the following errors:
[EMAIL PROTECTED] mwalker]# mount_msdosfs /dev/da3 media
mount_msdosfs: /dev/da3: Invalid argument
[EMAIL PROTECTED] mwalker]# mount -t msdos /dev/da3 media
msdosfs: /dev/da3: Invalid argument
[EMAIL PROTECTED] mwalker]# mount /dev/da3 media
mount: /dev/da3 on /usr/home/mwalker/media: incorrect super block
[EMAIL PROTECTED] mwalker]#

Does anyone have any idea where I am going wrong here?

Thanks in advance for any replies.


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


Re: Xmkmf/make problem

2004-11-13 Thread Mike Jeays
On Sat, 2004-11-13 at 12:41, Giorgos Keramidas wrote:
 On 2004-11-13 08:49, Mike Jeays [EMAIL PROTECTED] wrote:
  On Tue, 2004-10-19 at 20:22, Giorgos Keramidas wrote:
   On 2004-10-19 19:15, Mike Jeays [EMAIL PROTECTED] wrote:
On Tue, 2004-10-19 at 08:31, Giorgos Keramidas wrote:
 On 2004-10-19 07:26, Mike Jeays [EMAIL PROTECTED] wrote:
  [...] I don't have any clue why this long-standing program, which
  was developed on Solaris and ported to Linux and FreeBSD, has 
  suddenly
  started to give me problems. The Imakefile is as follows, and gives 
  no
  clue about what might be missing.
 
  SYS_LIBRARIES= -lXmu -lXaw  -lXt -lX11 -lm -lXi
  SRCS = lst.c
  OBJS = lst.o
 
  ComplexProgramTarget (lst)

 Can I see a minimal program that exhibits the problem?  By only 
 looking
 at the included headers I can't know what's wrong with the source.
   
You can see the source of one of these programs at
http://members.rogers.com/mike.jeays/lst.c
  
   Without actually reading the entire source, I tried building this with
   an Imakefile that contains exactly the text you sent in your previous
   post.  It builds fine here, even if I set my CFLAGS to a set of
   relatively strict warnings before invoking xmkmf and/or make:
  
 CFLAGS='-O -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual \
 -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs \
 -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes \
 -Wwrite-strings'
  
   Are you getting compile-time errors?
   If yes, what are they?
   Does your environment contain any CFLAGS or CC variables?
 
  Sorry for the long delay in replying.  Since October 19th, I installed
  5.3 on another machine, and tried again.  I get exactly the same error
  from make.  It responds immediately with
  make: don't know how to make /usr/include/machine/ansi.h. Stop
 
 Hmmm, there is no /usr/include/machine/ansi.h header in FreeBSD.  Have
 you been trying to run xmkmf on one system and then use the generated
 makefiles on a different system (i.e. generate the Makefiles on Linux
 but build on Solaris or BSD)?
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

No - I reinstalled a vanilla 5.3, and deleted the old Makefile and
object file. It seems that xmkmf operating on the Imakefile that I
showed above produces an invalid Makefile, with references to ansi.h and
others.

You can see the Makefile it produces at
http://members.rogers.com/Makefile.

Once again, thanks for taking so much trouble.  I have a nasty suspicion
it will turn out to be a silly oops on my part.


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


Re: bootonly.iso?

2004-11-13 Thread Matthew T. Lager
Did you be sure you were downloading the .iso in binary format? If your
FTP client was transferring at ASCII, that would be your prob...

Matt L

 I have successfully burned iso CDs from FreeBSD files, so I know
 my process for burning the CDs works.

 I burned Release 5.3's bootonly.iso file to a CD. When I put that
 CD back into my Windows machine that burned it, it is recognized
 as a blank CD.

 When I put that CD into my FreeBSD computer that was built from
 FreeBSD iso CDs, it doesn't work, as if it were a blank CD.

 What am I missing?

 Jay O'Brien

 PS.. I did try it a second time, just in case I had a bad blank CD.

 ___
 [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: Xmkmf/make problem

2004-11-13 Thread Mike Jeays
On Sat, 2004-11-13 at 19:53, Mike Jeays wrote:
 On Sat, 2004-11-13 at 12:41, Giorgos Keramidas wrote:
  On 2004-11-13 08:49, Mike Jeays [EMAIL PROTECTED] wrote:
   On Tue, 2004-10-19 at 20:22, Giorgos Keramidas wrote:
On 2004-10-19 19:15, Mike Jeays [EMAIL PROTECTED] wrote:
 On Tue, 2004-10-19 at 08:31, Giorgos Keramidas wrote:
  On 2004-10-19 07:26, Mike Jeays [EMAIL PROTECTED] wrote:
   [...] I don't have any clue why this long-standing program, which
   was developed on Solaris and ported to Linux and FreeBSD, has 
   suddenly
   started to give me problems. The Imakefile is as follows, and 
   gives no
   clue about what might be missing.
  
   SYS_LIBRARIES= -lXmu -lXaw  -lXt -lX11 -lm -lXi
   SRCS = lst.c
   OBJS = lst.o
  
   ComplexProgramTarget (lst)
 
  Can I see a minimal program that exhibits the problem?  By only 
  looking
  at the included headers I can't know what's wrong with the source.

 You can see the source of one of these programs at
 http://members.rogers.com/mike.jeays/lst.c
   
Without actually reading the entire source, I tried building this with
an Imakefile that contains exactly the text you sent in your previous
post.  It builds fine here, even if I set my CFLAGS to a set of
relatively strict warnings before invoking xmkmf and/or make:
   
CFLAGS='-O -W -Wall -Wbad-function-cast -Wcast-align 
-Wcast-qual \
-Wchar-subscripts -Winline -Wmissing-prototypes 
-Wnested-externs \
-Wpointer-arith -Wredundant-decls -Wshadow 
-Wstrict-prototypes \
-Wwrite-strings'
   
Are you getting compile-time errors?
If yes, what are they?
Does your environment contain any CFLAGS or CC variables?
  
   Sorry for the long delay in replying.  Since October 19th, I installed
   5.3 on another machine, and tried again.  I get exactly the same error
   from make.  It responds immediately with
   make: don't know how to make /usr/include/machine/ansi.h. Stop
  
  Hmmm, there is no /usr/include/machine/ansi.h header in FreeBSD.  Have
  you been trying to run xmkmf on one system and then use the generated
  makefiles on a different system (i.e. generate the Makefiles on Linux
  but build on Solaris or BSD)?
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 No - I reinstalled a vanilla 5.3, and deleted the old Makefile and
 object file. It seems that xmkmf operating on the Imakefile that I
 showed above produces an invalid Makefile, with references to ansi.h and
 others.
 
 You can see the Makefile it produces at
 http://members.rogers.com/Makefile.
 
 Once again, thanks for taking so much trouble.  I have a nasty suspicion
 it will turn out to be a silly oops on my part.
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Correction http://members.rogers.com/mike.jeays/Makefile


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


generic kernel 5.3

2004-11-13 Thread Gert Cuykens
Does the amd 64 5.3 current generic kernel have sound support so you
can load sound modules in it ?

Does make buildkernel build the sound modules too ?

Does a iso 5.3 cd have a generic kernel ?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bootonly.iso?

2004-11-13 Thread Jay O'Brien
Matthew T. Lager wrote:

 Did you be sure you were downloading the .iso in binary format? If your
 FTP client was transferring at ASCII, that would be your prob...
 
 Matt L
 
 
I have successfully burned iso CDs from FreeBSD files, so I know
my process for burning the CDs works.

I burned Release 5.3's bootonly.iso file to a CD. When I put that
CD back into my Windows machine that burned it, it is recognized
as a blank CD.

When I put that CD into my FreeBSD computer that was built from
FreeBSD iso CDs, it doesn't work, as if it were a blank CD.

What am I missing?

Jay O'Brien

PS.. I did try it a second time, just in case I had a bad blank CD.



I downloaded this file exactly as I did the other iso images that I 
successfully burned and used. I'll download it again.


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



Kernel compilation failed in 5.3-RELEASE

2004-11-13 Thread Robert Kot
5.3-RELEASE

Hi,

 I'm just trying to build kernel in 5.3-RELEASE and it fails.
I added the following to GENERIC config:

#cpu  I486_CPU
#cpu  I586_CPU
cpu  I686_CPU

options  EXT2FS
options  IPFIREWALL
options  IPFIREWALL_VERBOSE
options  IPFIREWALL_DEFAULT_TO_ACCEPT
options  MAC
options  GEOM_BDE
device  sound

Compilation failed:

=== splash
=== splash/bmp
cc -O -pipe  -D_KERNEL -DKLD_MODULE -nostdinc -I-   
-include /usr/src/sys/i386/compile/ROBERT_20041113/opt_global.h -I. -I@ 
-I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common  
-I/usr/src/sys/i386/compile/ROBERT_20041113 -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -fformat-extensions -std=c99 
-c /usr/src/sys/modules/splash/bmp/splash_bmp.c
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: syntax error before 
mod
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: warning: function declaration 
isn't a prototype
/usr/src/sys/modules/splash/bmp/splash_bmp.c: In function 
`splash_bmp_modevent':
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: `modeventtype_t' 
undeclared (first use in this function)
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: (Each undeclared 
identifier is reported only once
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: for each function it 
appears in.)
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: syntax error before 
type
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: `MOD_UNLOAD' 
undeclared (first use in this function)
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: case label not within 
a switch statement
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: `default' label not 
within a switch statement
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: break statement not 
within loop or switch
/usr/src/sys/modules/splash/bmp/splash_bmp.c: At top level:
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: syntax error before 
return
/usr/src/sys/modules/splash/bmp/splash_bmp.c:47: warning: 'splash_mode' 
defined but not used
/usr/src/sys/modules/splash/bmp/splash_bmp.c:48: warning: 'splash_on' defined 
but not used
/usr/src/sys/modules/splash/bmp/splash_bmp.c:50: warning: 'bmp_start' used but 
never defined
/usr/src/sys/modules/splash/bmp/splash_bmp.c:51: warning: 'bmp_end' used but 
never defined
/usr/src/sys/modules/splash/bmp/splash_bmp.c:52: warning: 'bmp_splash' used 
but never defined
/usr/src/sys/modules/splash/bmp/splash_bmp.c:53: warning: 'bmp_Init' declared 
`static' but never defined
/usr/src/sys/modules/splash/bmp/splash_bmp.c:54: warning: 'bmp_Draw' declared 
`static' but never defined
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: warning: 
'splash_bmp_modevent' defined but not used
*** Error code 1

Stop in /usr/src/sys/modules/splash/bmp.
*** Error code 1

Stop in /usr/src/sys/modules/splash.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/i386/compile/ROBERT_20041113.

So, I tried to compile GENERIC kernel only with:

#cpu  I486_CPU
#cpu  I586_CPU
cpu  I686_CPU

Unfortunately, it failed the same way:

=== splash
=== splash/bmp
cc -O -pipe  -D_KERNEL -DKLD_MODULE -nostdinc -I-   
-include /usr/src/sys/i386/compile/ROBERT_20041113_0/opt_global.h -I. -I@ 
-I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common  
-I/usr/src/sys/i386/compile/ROBERT_20041113_0 -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -fformat-extensions -std=c99 
-c /usr/src/sys/modules/splash/bmp/splash_bmp.c
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: syntax error before 
mod
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: warning: function declaration 
isn't a prototype
/usr/src/sys/modules/splash/bmp/splash_bmp.c: In function 
`splash_bmp_modevent':
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: `modeventtype_t' 
undeclared (first use in this function)
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: (Each undeclared 
identifier is reported only once
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: for each function it 
appears in.)
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: syntax error before 
type
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: `MOD_UNLOAD' 
undeclared (first use in this function)
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: case label not within 
a switch statement
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: `default' label not 
within a switch statement
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: break statement not 
within loop or switch
/usr/src/sys/modules/splash/bmp/splash_bmp.c: At top level:
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: syntax error before 
return

kldload help please

2004-11-13 Thread Gert Cuykens
7rxI# kldload snd_driver.ko
kldload: can't load snd_driver.ko: Exec format error
7rxI#
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.3 BIND 9 newbie question..

2004-11-13 Thread robg
I'm trying to setup BIND and the Release Notes say:

When the named_chroot_autoupdate variable is set to YES (the
default), the chroot directory is automatically configured at the boot
time. A symbolic link which points to /var/named/etc/namedb is created
as /etc/namedb, and a symbolic link which points to
/var/named/var/run/named/pid is created as /var/run/named/pid. The
latter can be disabled by using the named_symlink_enable variable in
rc.conf.

Does this mean I need to put: named_chroot_autoupdate=YES in
`/etc/rc.conf`?  I'm confused on this part...

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


Re: Xmkmf/make problem

2004-11-13 Thread Giorgos Keramidas
On 2004-11-13 20:16, Mike Jeays [EMAIL PROTECTED] wrote:
On Sat, 2004-11-13 at 19:53, Mike Jeays wrote:
On Sat, 2004-11-13 at 12:41, Giorgos Keramidas wrote:
 Hmmm, there is no /usr/include/machine/ansi.h header in FreeBSD.  Have
 you been trying to run xmkmf on one system and then use the generated
 makefiles on a different system (i.e. generate the Makefiles on Linux
 but build on Solaris or BSD)?

 No - I reinstalled a vanilla 5.3, and deleted the old Makefile and
 object file. It seems that xmkmf operating on the Imakefile that I
 showed above produces an invalid Makefile, with references to ansi.h and
 others.

 You can see the Makefile it produces at
 http://members.rogers.com/Makefile.

Hmmm.  There's no ansi or machine string in that Makefile.

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


Re: bootonly.iso?

2004-11-13 Thread John Murphy
Matthew T. Lager wrote:

Jay O'Brien wrote:
 I have successfully burned iso CDs from FreeBSD files, so I know
 my process for burning the CDs works.

 I burned Release 5.3's bootonly.iso file to a CD. When I put that
 CD back into my Windows machine that burned it, it is recognized
 as a blank CD.

 When I put that CD into my FreeBSD computer that was built from
 FreeBSD iso CDs, it doesn't work, as if it were a blank CD.

 What am I missing?

 Jay O'Brien

 PS.. I did try it a second time, just in case I had a bad blank CD.

Did you be sure you were downloading the .iso in binary format? If your
FTP client was transferring at ASCII, that would be your prob...

My guess would be that the bootonly disc is [cough] boot only.

Try booting it. :)

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


Re: generic kernel 5.3

2004-11-13 Thread Gert Cuykens
On Sun, 14 Nov 2004 02:22:38 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 Does the amd 64 5.3 current generic kernel have sound support so you
 can load sound modules in it ?
 
 Does make buildkernel build the sound modules too ?
 
 Does a iso 5.3 cd have a generic kernel ?
 

Do you need to put device sound in the config file to be able to load
sound modules in the kernel ?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bootonly.iso?

2004-11-13 Thread Jay O'Brien
Jay O'Brien wrote:

 Matthew T. Lager wrote:
 
 
Did you be sure you were downloading the .iso in binary format? If your
FTP client was transferring at ASCII, that would be your prob...

Matt L



I have successfully burned iso CDs from FreeBSD files, so I know
my process for burning the CDs works.

I burned Release 5.3's bootonly.iso file to a CD. When I put that
CD back into my Windows machine that burned it, it is recognized
as a blank CD.

When I put that CD into my FreeBSD computer that was built from
FreeBSD iso CDs, it doesn't work, as if it were a blank CD.

What am I missing?

Jay O'Brien

PS.. I did try it a second time, just in case I had a bad blank CD.

 
 
 
 I downloaded this file exactly as I did the other iso images that I 
 successfully burned and used. I'll download it again.
 

Downloaded again, and checksum ok again. I burned it on a different 
computer, and now I see an iso image in windows. The new CD works, 
and boots me into the install menu. 

I sure don't know what was wrong with the other two CDs I burned, but 
this one works. Now to find out I can use it for!

Jay O'Brien



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


Re: generic kernel 5.3

2004-11-13 Thread Jeremy Faulkner
Gert Cuykens wrote:
On Sun, 14 Nov 2004 02:22:38 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
Does the amd 64 5.3 current generic kernel have sound support so you
can load sound modules in it ?
Does make buildkernel build the sound modules too ?
Does a iso 5.3 cd have a generic kernel ?

Do you need to put device sound in the config file to be able to load
sound modules in the kernel ?
The sound frame work that is associated with device sound can be 
loaded as a module. sound.ko

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


RE: Kernel compilation failed in 5.3-RELEASE

2004-11-13 Thread Subhro


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Kot
Sent: Sunday, November 14, 2004 6:39
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Kernel compilation failed in 5.3-RELEASE

snip

#cpu  I486_CPU
#cpu  I586_CPU
cpu  I686_CPU

Unfortunately, it failed the same way:

=== splash
=== splash/bmp
cc -O -pipe  -D_KERNEL -DKLD_MODULE -nostdinc -I-   
-include /usr/src/sys/i386/compile/ROBERT_20041113_0/opt_global.h -I. -I@ 
-I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common  
-I/usr/src/sys/i386/compile/ROBERT_20041113_0 -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -fformat-extensions -std=c99 
-c /usr/src/sys/modules/splash/bmp/splash_bmp.c
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: syntax error before 
mod
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: warning: function
declaration 
isn't a prototype
/usr/src/sys/modules/splash/bmp/splash_bmp.c: In function 
`splash_bmp_modevent':
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: `modeventtype_t' 
undeclared (first use in this function)
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: (Each undeclared 
identifier is reported only once
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: for each function it

appears in.)
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: syntax error before 
type
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: `MOD_UNLOAD' 
undeclared (first use in this function)
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: case label not
within 
a switch statement
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: `default' label not 
within a switch statement
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: break statement not 
within loop or switch
/usr/src/sys/modules/splash/bmp/splash_bmp.c: At top level:
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: error: syntax error before 
return
/usr/src/sys/modules/splash/bmp/splash_bmp.c:47: warning: 'splash_mode' 
defined but not used
/usr/src/sys/modules/splash/bmp/splash_bmp.c:48: warning: 'splash_on'
defined 
but not used
/usr/src/sys/modules/splash/bmp/splash_bmp.c:50: warning: 'bmp_start' used
but 
never defined
/usr/src/sys/modules/splash/bmp/splash_bmp.c:51: warning: 'bmp_end' used but

never defined
/usr/src/sys/modules/splash/bmp/splash_bmp.c:52: warning: 'bmp_splash' used 
but never defined
/usr/src/sys/modules/splash/bmp/splash_bmp.c:53: warning: 'bmp_Init'
declared 
`static' but never defined
/usr/src/sys/modules/splash/bmp/splash_bmp.c:54: warning: 'bmp_Draw'
declared 
`static' but never defined
/usr/src/sys/modules/splash/bmp/splash_bmp.c:60: warning: 
'splash_bmp_modevent' defined but not used
*** Error code 1

Stop in /usr/src/sys/modules/splash/bmp.
*** Error code 1

Stop in /usr/src/sys/modules/splash.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/i386/compile/ROBERT_20041113_0.


Recvsup and rebuild. Did you change anything in /etc/make.conf?

Regards
S.
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


RE: kldload help please

2004-11-13 Thread Subhro



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gert Cuykens
Sent: Sunday, November 14, 2004 7:16
To: [EMAIL PROTECTED]
Subject: kldload help please

7rxI# kldload snd_driver.ko
kldload: can't load snd_driver.ko: Exec format error
7rxI#


Any non standard optimizations called during compilation?

Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


buildkernel before buildworld

2004-11-13 Thread Gert Cuykens
What happens if you first buildkernel before the buildworld ?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Belkin Media Card Reader

2004-11-13 Thread Robert Marella
On Sat, 13 Nov 2004 23:53:36 +
Mick Walker [EMAIL PROTECTED] wrote:

 Hi everyone,
 
 I have just purchased a Belkin F5U249 media card reader, and am having
 trouble mounting it under FreeBSD 5.3-RELEASE.
 

snip

 [EMAIL PROTECTED] mwalker]# mount /dev/da3 media
 mount: /dev/da3 on /usr/home/mwalker/media: incorrect super block
 [EMAIL PROTECTED] mwalker]#
 
 Does anyone have any idea where I am going wrong here?
 
 Thanks in advance for any replies.
 
mount_msdosfs /dev/da3s1 media
  ^^
Good Luck
Robert 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: buildkernel before buildworld

2004-11-13 Thread Subhro

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gert Cuykens
Sent: Sunday, November 14, 2004 8:12
To: [EMAIL PROTECTED]
Subject: buildkernel before buildworld

What happens if you first buildkernel before the buildworld ?

Depends on which version of kernel you are building on which world. For
example, the buildkernel would work nicely if you are building a 5.2.1
kernel on a 5.2 world. However, if you try to build a 5.3 kernel on a 5.2.1
world it is bound to fail. Refer to /usr/src/UPDATING. For the reason of why
he compilation would fail.

Regards
S.

Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


Re: buildkernel before buildworld

2004-11-13 Thread Giorgos Keramidas
On 2004-11-14 03:41, Gert Cuykens [EMAIL PROTECTED] wrote:
 What happens if you first buildkernel before the buildworld ?

If you have previously finished a buildworld and haven't updated your
source tree in the meantime, nothing too bad.  With a /usr/obj tree
around from the previous buildworld stage, you can add options to your
kernel configuration and run buildkernel, or even:

# cd /usr/src/sys/i386/conf
# config -g -d /usr/obj/usr/src/sys/CUSTOM CUSTOM
# cd /usr/obj/usr/src/sys/CUSTOM
# make depend  make all  make install

If you have just added a single option to the kernel configuration or
have made minor modifications to the kernel source, this will cut down
on the build time.  A lot.  I have used this method while testing kernel
modifications and managed to build, boot, and test more than 10 slightly
different kernels in less than 3 hours.

After an update of the entire source tree though, building a kernel only
may end up with a kernel that is not in sync with the userland.  Then, a
lot of things may break in unexpected ways.  See, for example:

http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/book.html#NLIST-FAILED

If you are not sure things will work without a buildworld, it's wiser to
follow the upgrade procedure recommended in /usr/src/UPDATING.

- Giorgos

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


Why i cant start named

2004-11-13 Thread Budi Hermansjah
Hi

I have FreeBSD 4.10-STABLE, i386. And i installed BIND 8.3.7
my /etc/rc.conf as follows:

named_enable=YES
named_program=/usr/local/sbin/named
named_flags=-u bind -c /etc/named.conf -t /etc/namedb

my /etc/hosts as follows:

::1 localhost.indoglobalhost.com localhost
127.0.0.1   localhost.indoglobalhost.com localhost
66.90.82.119indoglobalhost.com. indoglobalhost


the problem is when i try start named, they show error:

indoglobalhost# rndc -V start
create memory context
create socket manager
create task manager
create task
create logging context
setting log tag
creating log channel
enabling log channel
create parser
get default key
get config key list
decode base64 secret
start
post event
using server 127.0.0.1 (127.0.0.1#953)
create socket
connect
rndc: connect failed: timed out
indoglobalhost#

i need help how to fix the problem,
thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Natd/Gateway=yes vs 5.3

2004-11-13 Thread Francisco Reyes
Migrating a 4.10 box.
Copied data to a second drive.
Installed 5.3
Changed kernel to add
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=50
options IPDIVERT
In /etc/rc.conf have
firewall_enable=YES
firewall_logging=YES   # Set to YES to enable events logging
firewall_quiet=NO
firewall_type=open
gateway_enable=YES
natd_enable=YES   # Enable natd (if firewall_enable == YES).
natd_flags=-f /etc/natd.conf  # Set rules file for the NAT daemon
natd_interface=ed0
Not only the machine is not acting as a gateway, but it doesn't let me 
even connect to the internet.
Looked at ipfw list and saw

00050 divert 8668 ip from any to any via ed0
00100 allow ip from any to any via lo0
00200 deny log logamount 50 ip from any to 127.0.0.0/8
00300 deny log logamount 50 ip from 127.0.0.0/8 to any
65000 allow ip from any to any
65535 deny ip from any to any
Added a pass all rule before the divert and I am able to see the internet 
from the FreeBSD machine, but not from the other machines.

Anything changed for nat between 4.10 and 5.3? Any suggestions?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD Diary: 2004-10-24 - 2004-11-13

2004-11-13 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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