RE: scripting the buildworld/installworld process

2003-09-01 Thread Charles Howse
 bw w -j5
 893.563u 311.353s 30:31.44 65.7%1302+1591k 53927+138930io 
 2331pf+0w
 
 The wall clock time is really how efficient your process is. The fact 
 that your user time or sys time is faster doesn't mean much 
 if the wall 
 clock time is 1/3 longer. 

Wall clock?  Would that be 30:31.44 from above?

 I think that once you have it setup, I will probably make my 
 KISS simple 
 script more complicated :). I have one machine that the mouse doesn't 

Glad to share, if that's what you mean.

After re-reading your page about scripting the buildworld, I see an
opportunity to test my script.  

I never thought about putting /usr/src and /usr/obj on different HDD's.
I have 2 ATAPI HDD in my box, on different IDE busses, so that should
work out well.
I'll also need to adjust some slice sizes as well.

How much space do you recommend for /var if I'm logging like you do?
It's currently:
Disk1 - 
/ 100M
swap 256M
/var 200M
/usr remainder about 1.8G
Disk2 - 
/disk2 entire disk 7.8G

So I assume /usr/obj should be on the second HDD?
About how much space should I reserve?

Looks like I should also adjust my script to remove the -j4, eh?




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


multimedia/MMX, Celeron CPU, and the kernel config

2003-09-01 Thread Louis LeBlanc
Hey all.  I've just installed the mplayer and mplayerxp ports for
video support.  I've never quite had it right with aviplay and
plaympeg, but I never quite understood why.

Well, when I run mplayer, I get the following:

CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping: 0)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection

And mplayerxp gives the following:
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron A Mendocino/Pentium II Dixon (Type: 6, Stepping: 0)
MMX supported but disabled
CPUflags: Type: 6 MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: 3DNow 3DNowEx SSE

So I'm confused as to whether I've got the best configuration for my
custom kernel.  Is there a way I can discover the exact model of my
cpu without cracking the case? 

I'm running: 4.8-RELEASE #0: built Sat Apr 12, 2003.

The boot process logs the following:
CPU: Pentium II/Pentium II Xeon/Celeron (399.12-MHz 686-class CPU)

The machine is a Dell Optiplex G1, that was built several years ago,
and given to me by my employer in a surplus lottery almost 2 years
ago.  I've put a new hard drive and video card in it, but that's about
it.  AFAIK, the machine had been unmodified before I got it.

BTW, I have the following enabled in my kernel config:

###
machine i386
cpu I686_CPU
ident   KEYSLAPPER
maxusers0
options INET
options INET6
options FFS
options FFS_ROOT
options SOFTUPDATES
options MFS
options MD_ROOT
options NFS
options NFS_ROOT
options MSDOSFS
options CD9660
options CD9660_ROOT
options PROCFS
options COMPAT_43
options SCSI_DELAY=15000
options UCONSOLE
options USERCONFIG
options VISUAL_USERCONFIG
options KTRACE
options SYSVSHM
options SYSVMSG
options SYSVSEM
options P1003_1B
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM
options KBD_INSTALL_CDEV
options NSWAPDEV=1
options USER_LDT
options ATA_STATIC_ID
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=200
options IPDIVERT

Plus of course, the various devices.  There is no SCSI card in the
machine at the time, so I don't know if the SCSI_DELAY option makes
any difference.

I have found a few other options I'm not sure about, the
CPU_PPRO2CELERON, CPU_L2_LATENCY, and CPU_ENABLE_SSE options.  I'm
just not sure if they apply in my specific case.  I'm thinking the
CPU_ENABLE_SSE option does, but before I go to the bother of changing
my kernel config and rebuilding, I'd like to know if it is going to
make even a little difference.

Can anyone give me a pointer?  Anything will be welcome, whether a
URL, or a direct indication.

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

We can defeat gravity.  The problem is the paperwork involved.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


need advice: core dumps during buildworld

2003-09-01 Thread Redmond Militante
hi all

i am having trouble trying to cvsup a 5_1-RELEASE machine

i'm at the 'cd /usr/src/ make buildworld' stage. i can't run 'make buildworld'
successfully on this machine. i'm able to on my other 5_1-RELEASE machine
(although it's different hardware...). the buildworld seems to fail at
different points randomly. for ex., the most current kernel core dump/error i
get when trying to complete this operation is

Illegal instruction(core dumped)
Error code 132

stop in /usr/src/usr.bin/objformat
***Error code 1
stop in /usr/src/usr.bin.
***Error code 1...

Aug 28 12:30:39 host kernel : pid 61508 (make), uid 0: exited on signal 4 (core
+dumped)

my hardware:

dell optiplex gx250 p4 2.4 ghz
500 mhz ram

FreeBSD 5.1-RELEASE-p2 #1

-i was advised that problems like these most often are a result of bad ram. i ran 
memtest on this machine, it found no errors. i ran dell hardware diagnostics on this 
machine, also found no errors. i pull each stick of ram separately - the buildworld 
problem reappeared no matter which stick of ram is in the machine, or which ram slot 
on the motherboard it's plugged into.

one thing to note is that, before i wiped this machine and reinstalled 5_1, this 
machine cvsupped flawlessly for a year as a 4x-RELEASE machine, with the same ram.

i'm hoping that there's something else i can try before wiping/reinstalling 5_1. i'm 
not even sure if reinstalling will fix the problem. 

if anyone has any words of advice, i'd appreciate it

thanks
-- 
FreeBSD 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Thu Aug 28 12:42:04 CDT 2003
 6:55PM  up 3 days,  5:53, 3 users, load averages: 0.81, 0.54, 0.33
 
Individualists unite!
 


pgp0.pgp
Description: PGP signature


Re: Using Digital Video Out under FBD

2003-09-01 Thread Dragoncrest
I'm guessing by the relative degree of silence on this that this 
isn't supported on Freebsd yet?  All I need is a simple answer one way or 
another.  If it's not, I'll leave it at that.  If it is, I'll keep 
searching.  Links to FAQ's would be useful, but just a yes or no will 
suffice at this point.  I'm wanting to export the video to VHS and possibly 
preview it on a TV because I'm doing a digital media presentation and I 
don't want to haul that beat of a windows box I have around with me to the 
presentation.  I'd rather take my SFF with me, but that's running Freebsd 
using a GF3 ti200 card, which presents me with my problem.

Thanks for any help on this at all.

At 10:13 AM 8/31/03 -0700, Dragoncrest wrote:
Hi all.  I went searching around tonight trying to find 
information on how to do Digital Video out on my GF3 ti200 under Freebsd, 
but found nothing.  The only link that came up in my search had nothing 
to do with what I wanted to do.  What I'm wanting to do is to use the DV 
(digital video) out jack to export video from my computer to a VCR and a 
TV.  Just wondering if it will work as is in a plug and go configuration, 
or is there something special I have to do?  Pointers, guides or 
suggestions welcome.  Thanks.

___
[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: /usr/libexec/elf/ld: cannot find -lXfont

2003-09-01 Thread Aaron Dalton
On Sun, 31 Aug 2003 12:44:11 -0700, Kent Stewart wrote
 On Sunday 31 August 2003 07:16 am, Aaron Dalton wrote:
  Please excuse my ignorance.  I cvsup'd my ports tree and used
  portupgrade to upgrade everything but I can't get
  XFree86-FontServer-4.3.0 or Clients to install due to the following
  error after making:
  Where is this library Xfont supposed to be?  Thank you so much for
  your time.
 
 It was installed by -libraries and deleted when you updated -server. 
 It is no longer a part of -server and you have to reinstall -
 libraries again. You shouldn't have any problem like this in the future.
 
 Kent
 
 
  Cheers!
 
 -- 
 Kent Stewart
 Richland, WA
 
 http://users.owt.com/kstewart/index.html

Thanks so much for your help!  I'm sorry for not being completely up to date 
with the Ports list.  I'll do the reinstall tonight.  Sure appreciate your 
time!

Cheers!
--
Aaron Dalton
[EMAIL PROTECTED]
http://aaron.finch.st

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


Re: scripting the buildworld/installworld process

2003-09-01 Thread Kent Stewart
On Sunday 31 August 2003 04:05 pm, Charles Howse wrote:
  bw w -j5
  893.563u 311.353s 30:31.44 65.7%1302+1591k 53927+138930io
  2331pf+0w
 
  The wall clock time is really how efficient your process is. The
  fact that your user time or sys time is faster doesn't mean much if
  the wall
  clock time is 1/3 longer.

 Wall clock?  Would that be 30:31.44 from above?

  I think that once you have it setup, I will probably make my
  KISS simple
  script more complicated :). I have one machine that the mouse
  doesn't

 Glad to share, if that's what you mean.

That is what I meant. You learn by trying things.


 After re-reading your page about scripting the buildworld, I see an
 opportunity to test my script.

 I never thought about putting /usr/src and /usr/obj on different
 HDD's. I have 2 ATAPI HDD in my box, on different IDE busses, so that
 should work out well.
 I'll also need to adjust some slice sizes as well.

 How much space do you recommend for /var if I'm logging like you do?
 It's currently:
 Disk1 -
 / 100M
 swap 256M
 /var 200M
 /usr remainder about 1.8G
 Disk2 -
 /disk2 entire disk 7.8G

My smallest HD is 13GB and the system had 4 of them. My typical system 
is on a  3x30GB ATA-100/133 HDs. Since, I have a lot of free space, my 
partitions are typically 1.5GB. FreeBSD 4.x creates an ../obj of around 
300-400MB; however, FreeBSD 5.x produces a 700-800MB. 

I like to mount a partition as /usr/obj and /usr/src. The builds work 
just fine with a link to /disk2/obj as /usr/obj. The reason for 
separate partition is that I have messed up my system to the point that 
I had to nfs_mount /usr/src and /usr/obj from a different machine. If I 
mount /disk2/obj as /usr/obj, the make installworld dies because it 
knows the true path to the obj files. 

If I redo a system, I create a mount point as /usr/obj. Until then, I 
just link /usr/obj to /usr2/obj and etc. I think that just moving 
/usr/obj to your 2nd HD as a link would separate the I/O.

For FreeBSD 5.x, you need a lot more space in /. When I installed 
5.0-release, I created / as 500MB and it is about 24% used. If you have 
to manually download some tarballs, you can chew up space in a hurry.

The files in /var/log/build can fill up a fs really fast because each 
system update is around 7-8MB. Since I log everything from cvsup to 
make index, I fill up space in a hurry :). If something breaks, I 
want to be able to point to the commit that broke it.


 So I assume /usr/obj should be on the second HDD?
 About how much space should I reserve?

 Looks like I should also adjust my script to remove the -j4, eh?

Like you said, play with it. I use write caching and softupdates. They 
all made it faster. Depending on your system, you may find that -j is 
faster. From my experience, all of my systems (6 of various speeds and 
cpus), do a build world faster without a -j.

When I was doing benchmarks on a Cray X/MP with 100MB/s  1000MB/s data 
channels to stripped disks capable of 20MB/s continuous, write caching 
doubled the throughput of the system. The gain was not obvious up front 
and everyone was surprised by the result. After we saw it, it was a 
shoulder shrug because it appeared obvious that you want a process to 
have faster access to data that it needs than forcing it to save 
processed data first. In the commercial world, protecting the processed 
data has a much higher assigned value. I went for speed. If someone 
said 4-stable was broken, I wanted to be able to test the builds in 
less than 30 minutes. I also didn't want to spend a lot of money to be 
able to do that :).

BTW, those build times all had setiathome running in the background. 
Having it running in the background really doesn't change the elapsed 
time too much exept in 5.x. I kill seti before I do a timed run on it.

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]


hi there

2003-09-01 Thread Johan Engström
hi, i´m new to freebsd ... i have a little question for you. if i wanna install a 
window manager how do i do that ?___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Installation problems

2003-09-01 Thread Amer El-Kurdi


hi, my name is Amer and I'm studing at Swinburne University of Technology
Australia. My final year project involves the use of FreeBSD. After following 
the steps posted on your website I was still not able to install FreeBSD.
The installation process reaches the stage of Device Probing and then i get a 
message that says resetting devices and nothing happens after that point. I 
have 2 hard drives on my computer one is running XP and the other is formated 
and ready to install FreeBSD on it(I can do that right?) 
anyway I've included a list of the IRQ's and the I/O with this email
the version of FreeBSD that I'm trying to install is 4.8

Thank you for your help 
Amer

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


Re: OT: xterm setup

2003-09-01 Thread Jesse Sheidlower
On Sun, Aug 31, 2003 at 11:51:21AM +0200, Hendrik Hasenbein wrote:
 Jesse Sheidlower wrote:
 I recently upgraded my desktop to Gnome2, and of the various things
 that are causing me grief, the biggest is what's happened to my xterm
 windows. Now, after the change, it does three things differently and
 annoyingly: (1) it defaults to black/colored text on a white
 background; (2) it doesn't have a scrollbar of any sort; and (3)
 there's no menubar with basic File/Edit etc. options.
 
 Sounds like the gnome terminal or eterm. The standard xterm doesn't give 
 you a menubar.

Thanks for this and to others who replied. I've been so confused
by this that I dropped by the office to take a look at my Linux
(RH 7.3) box, only to discover that yes, I had been running
gnome-terminal there.

I've looked at the various options and decided that eterm looks
best and is easiest to get to the way I want, so I'm going with
that for now. Thanks for the various suggestions.

Best,

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


Re: hi there

2003-09-01 Thread Jud
On Mon, 1 Sep 2003 00:58:45 +0200 (W. Europe Daylight Time), Johan 
Engstrm [EMAIL PROTECTED] wrote:

hi, im new to freebsd ... i have a little question for you. if i wanna 
install a window manager how do i do that ?
For the long version, the following two articles are good references:

URL: http://www.onlamp.com/pub/a/bsd/2000/06/21/FreeBSD_Basics.html

URL: http://www.onlamp.com/pub/a/bsd/2000/06/28/FreeBSD_Basics.html

Short version:

# cd /usr/ports/x11-wm/$WINDOW MANAGER

# make install clean

Jud

P.S. More people will look at your questions if your subject lines 
describe the contents more specifically.  hi there could easily have 
been spam - some does get through to this list.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Compilation issues

2003-09-01 Thread Jim Stratus
This isn't services related but I am getting this with many compilations I try (mysql, 
gcc, etc)

configure: error: Your compiler cannot convert a longlong value to a float!
If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try
again

usr/include/stdlib.h:143: warning: ISO C89 does not support `long long'

Anyone know how I can go about fixing this? I tried installing the newest versions of 
egcs and GCC but I get errors trying to install those. I run FreeBSD 5.1

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


Meet with

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


Re: need advice: core dumps during buildworld

2003-09-01 Thread Jonathan Chen
On Sun, Aug 31, 2003 at 06:56:16PM -0500, Redmond Militante wrote:
 hi all
 
 i am having trouble trying to cvsup a 5_1-RELEASE machine
 
 i'm at the 'cd /usr/src/ make buildworld' stage. i can't run 'make buildworld'
 successfully on this machine. i'm able to on my other 5_1-RELEASE machine
 (although it's different hardware...). the buildworld seems to fail at
 different points randomly. for ex., the most current kernel core dump/error i
 get when trying to complete this operation is
 
 Illegal instruction(core dumped)
 Error code 132

Check your make.conf flags. You're very likely using some odd CPU
specific flags.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multimedia/MMX, Celeron CPU, and the kernel config

2003-09-01 Thread Ricardo Mesquita
Louis LeBlanc wrote:
Hey all.  I've just installed the mplayer and mplayerxp ports for
video support.  I've never quite had it right with aviplay and
plaympeg, but I never quite understood why.
Well, when I run mplayer, I get the following:

CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping: 0)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
And mplayerxp gives the following:
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron A Mendocino/Pentium II Dixon (Type: 6, Stepping: 0)
MMX supported but disabled
CPUflags: Type: 6 MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: 3DNow 3DNowEx SSE
So I'm confused as to whether I've got the best configuration for my
custom kernel.  Is there a way I can discover the exact model of my
cpu without cracking the case? 


Thanks!
Lou
Check x86info



regards,
ricardo mesquita


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


Cant write to /etc

2003-09-01 Thread David L
I have just been tring to use sms_client and it gives me an error that it cant 
write to /etc.
 When I try to # touch /etc/smslock

it gives me 

# touch: /etc/smslock: Read-only file system

It wont even let me edit rc.conf

I had a look at the permisions of /etc and they are fine

drwxr-xr-x

The only thing I can think of is that I recently set up loader.conf in order 
to be able to load the module for my audigy card. So I had a look through 
loader.conf and it doesnt have anything about loader.conf


Can anyone help ?

Thanks

David

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


pppd / poptop

2003-09-01 Thread Chris Knipe
Lo all,

Very arb and weird problem... I've followed all the docs that google could
return (they all mostly the same in any case), and yeah...

My PPTP server *does* work.. As long as I don't terminate more than one
connection at a time to the server *shock horror*.  For some reason (and I
suspect I know why), ppp insist on only using one device for all the
incoming PPTP connections from poptop.  Obviously not right, and err, ja.. I
need to get this fixed... Very urgently as well.

My streamlined ppp.conf:
pptp:
  accept dns
  allow mode direct
  disable chap
  disable mschap
  disable mschapv2
  enable lqr
  enable pap
  set device localhost:pptp
  set dial
  set dns 192.168.1.1
  set ifaddr 192.168.1.1 10.255.255.1-10.255.255.254 255.255.255.255
  set log Connect
  set login
  set radius /etc/ppp/ppp.radius
  set server /tmp/loop  0177
  set timeout 0


Now, I suspect that it is only using one device (regardless of the number of
connections), due to the device (socket) specification.  But frankly, if I
don't specify it what device to use, it won't even be able to operate a
single pptp connection.

Any advice is greatly appreciated.  I need to get this resolved asap.  I
didn't send any logs from ppp PPP and the PPTP connections works 100% -
even with Radius.  The problem is purely that PPP always uses the same
device, regardless of the amount of connections (ala tun0).  My kernel does
have allot of tunX devices, and ifconfig -a lists at least two available.
Still, ppp only uses the one.

I'm sad to say, but if I can't get this to work, I'm going to have to be
forced to scrap my BSD box for a W2K Adv server... *sigh*, at least their
RAS server works okish...

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


Re: software raid

2003-09-01 Thread Matthias Teege
dave [EMAIL PROTECTED] writes:

 ones have user's had best successes with? My question pertaining to software
 raid is is it possible to set it up during the install or do i have to do
 the install normally then initiate raid? And which would be better, ccd or
 vinum?

If I use vinum I setup a minimal system with only a root and a
vinum partition. After that you can setup your drive with
vinum. There are a lot of docs arround there.

Use vinum for that task.

Matthias
-- 
Matthias Teege -- http://www.mteege.de
make world not war
PGP-Key auf Anfrage
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cant write to /etc

2003-09-01 Thread Jonathan Chen
On Mon, Sep 01, 2003 at 02:36:39PM +1000, David L wrote:
 I have just been tring to use sms_client and it gives me an error that it cant 
 write to /etc.
  When I try to # touch /etc/smslock
 
 it gives me 
 
 # touch: /etc/smslock: Read-only file system

There's your error. Your need to:

# mount -w /

-- 
Jonathan Chen [EMAIL PROTECTED]
--
 When all else fails, RTFM
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cant write to /etc

2003-09-01 Thread Malcolm Kay
On Mon, 1 Sep 2003 14:06, David L wrote:
 I have just been tring to use sms_client and it gives me an error that it
 cant write to /etc.
  When I try to # touch /etc/smslock

 it gives me

 # touch: /etc/smslock: Read-only file system

 It wont even let me edit rc.conf

 I had a look at the permisions of /etc and they are fine

 drwxr-xr-x

 The only thing I can think of is that I recently set up loader.conf in
 order to be able to load the module for my audigy card. So I had a look
 through loader.conf and it doesnt have anything about loader.conf


It seems that somehow your root fs is mounted read only.
This can happen if an fsck check failed at boot up with a request to run fsck 
manually. Or perhaps somehow you booted into single user mode.

Try rebooting -- and read any messages!!

Malcolm

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


Re: playing a DVD with mplayer

2003-09-01 Thread Peder Blom
On Sat, 30 Aug 2003 21:13:52 -0400
stan [EMAIL PROTECTED] wrote:

 I just got a new notebook with a DVD drive. I compiled mplayer from
 the ports.
 
 Now I want to play a smaple VD that I have. What do I need to do to
 mount the DVD?
 
 -- 

You don't have to mount it. Just run mplayer.

As an example, this is what I do to view chapter 5 of title 6 with
japanese sound and english subtitles in fullscreen mode:

mplayer -dvd 6 -dvd-device /dev/acd0c -alang ja -slang en -fs
 -cache 8192 -chapter 5

See man mplayer for (many!) more options.

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


Re: Question on CVS Branches

2003-09-01 Thread Heinrich Rebehn
Chuck Swiger wrote:
[EMAIL PROTECTED] wrote:

Quoting Chuck Swiger [EMAIL PROTECTED]:

The documentation for CVS is not especially well-known for being 
inclusive. Are you using CVS over SSH or in pserver mode?  The first 
case requires you to
set up password-less SSH authentication via ssh-keygen, the latter 
uses the cvs
login mechanism.


I use CVSROOT=:pserver:[EMAIL PROTECTED]:/home/ncvs.
Is it possible to specify the password on the command line with cvs 
login (it
isn't secret anyhow)?


6-sec% touch ~/.cvspass
7-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ncvs
CVS password:
[ Use anoncvs for the password. ]

8-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs co src
cvs server: Updating src
U src/COPYRIGHT
U src/MAINTAINERS
U src/Makefile
U src/Makefile.inc1
U src/README
U src/UPDATING
cvs server: Updating src/bin
^C...
This looks like you still have to type in the password from the terminal.
I would like to update the source each night from a cron job.
Is there really no way to do that?
With OpenBSD i can simply do:

# export [EMAIL PROTECTED]:/cvs
# cvs co -rOPENBSD_3_3 src/sys
cvs server: Updating src/sys
U src/sys/Makefile
cvs server: Updating src/sys/adosfs
U src/sys/adosfs/adlookup.c
U src/sys/adosfs/adosfs.h
U src/sys/adosfs/adutil.c
U src/sys/adosfs/advfsops.c
U src/sys/adosfs/advnops.c
cvs server: Updating src/sys/altq
^C
without the need to type in a password.

Seems i have to use CVSUP on FreeBSD..

- Heinrich

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


Re: Question on CVS Branches

2003-09-01 Thread Alexander Farber
On Mon, Sep 01, 2003 at 09:33:37AM +0200, Heinrich Rebehn wrote:
 This looks like you still have to type in the password from the terminal.
 I would like to update the source each night from a cron job.
 Is there really no way to do that?
 
 With OpenBSD i can simply do:
 
 # export [EMAIL PROTECTED]:/cvs
 # cvs co -rOPENBSD_3_3 src/sys
 cvs server: Updating src/sys
 U src/sys/Makefile
 cvs server: Updating src/sys/adosfs
 U src/sys/adosfs/adlookup.c
 U src/sys/adosfs/adosfs.h
 U src/sys/adosfs/adutil.c
 U src/sys/adosfs/advfsops.c
 U src/sys/adosfs/advnops.c
 cvs server: Updating src/sys/altq
 ^C
 
 without the need to type in a password.
 
 Seems i have to use CVSUP on FreeBSD..

No, I use cvs to update FreeBSD and OpenBSD on my dual 
boot PC and both work fine and without having to type 
the password. Maybe remove ~/.cvs* and try again with:

cvs -d $CVSROOT login
cvs -d $CVSROOT -q up ..

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


ipfw with four interfaces

2003-09-01 Thread Arvinn
This FreeBSD 4.x with ipfw1 have four interfaces:

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet w.x.y.81 netmask 0xfff0 broadcast w.x.y.95
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
xl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 172.16.0.1 netmask 0xff00 broadcast 172.16.0.255
xl2 is the interface that is connected back-to-back with the router.

As you can see, hosts on xl0 and xl1 need to get translated in order to
get on the Internet. The dmz is for a few web-servers, a mailserver and a
vpn-gateway I will be setting up later. I have a hard time getting this
design to actually work with deny ip from any to any in the bottom of the
ruleset.

I thought my tcp/ip skills were proper but after I started dealing with
this I feel like a complete noob.

Here are the rules I haave written so far:

# more fwrules
fwcmd=/sbin/ipfw
extif=xl2
dmzif=fxp0
lanif=xl0
motorif=xl1

$fwcmd -f flush
###
$fwcmd add 100 allow all from any to any via lo0
$fwcmd add 200 deny all from any to 127.0.0.0/8
$fwcmd add 300 deny ip from 127.0.0.0/8 to any
$fwcmd add 500 deny tcp from any to any in via any tcpflags syn,fin
$fwcmd add 600 deny ip from any to any in via any frag
###
$fwcmd add 900 allow tcp from an.outside.net.work to me ssh in via $extif
# This one passes packets to natd. If I knew how to divert only rfc1918
addresses are passed to natd I would do that.
# In the meantine I have configured natd with the unregistered-flag.
$fwcmd add 950 divert natd all from any to any via $extif
# Allow http to the whole dmz from Internet:
$fwcmd add 1000 allow tcp from any to w.x.y.80/28 http via $extif
# Allow smtp and pop3 to the mailserver from Internet:
$fwcmd add 1050 allow tcp from any to w.x.y.84 smtp,pop3 via $extif
#
# With the following rules I want to allow all traffic between my own
segments:
$fwcmd add 1200 allow ip from any to any via $dmzif
$fwcmd add 1250 allow ip from any to any via $lanif
$fwcmd add 1300 allow ip from any to any via $motorif
# Allow all traffic out to Internett:
$fwcmd add 2000 allow ip from any to any out via $extif
# Allow all icmp for testing purposes until I get the firewll rules working:
$fwcmd add 3000 allow icmp from any to any via any

# Blocking ports out to Internet that I don't like:
$fwcmd add 1300 deny tcp from any to any 135-139 out via $extif
$fwcmd add 1350 deny tcp from any to any 445 out via $extif
###
# Blocking everything else:
$fwcmd add 65000 deny ip from any to any
#

When I load these rules it looks like nothing  but icmp works. The
computers on the the rfc1918 addresses can't speak tcp (and probably udp
as well) and the computers on the dmz can neither. I feel I don't
understand this properly. There must be some basic errors with my ruleset.
Will it help me to put in this at the top?:

 $fwcmd add 50 check-state

..and then use keep-state on all my allow rules?

Can someone please:

I would be greatful for all kind of answers.

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


libc.so.3 not found

2003-09-01 Thread Nelis Lamprecht
Hi,

Running a program ( Mcafee Viruscan ) and I get the following:

pandora# ./uvscan
/usr/libexec/ld-elf.so.1: Shared object libc.so.3 not found

I'm using 4.8 Stable. Which port will give me this library ?

Thanks!

Nelis

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


modem setup

2003-09-01 Thread Tadimeti Keshav
Hi Guys,
I have the foll. set up
28 GB -- FreeBSD 4.5
10 GB -- Redhat 9.0

From Redhat I use an Internet connection wizard that
gives me a lot of options. I picked up the dialer
option, then give the phone number to connect to my
university WIndows NT server, then my login and
password. Viola, I am connected to the internet.
I have a Creative External modem V.90

Is there no way to do this in FreeBSD? I read the man
pages (dial-in and dial-out), they are way over my
head.
Someone please help...
TIA
TK

__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2003-09-01 Thread Tadimeti Keshav
 
 

__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libc.so.3 not found

2003-09-01 Thread Larry Rosenman


--On Monday, September 01, 2003 13:59:42 +0200 Nelis Lamprecht 
[EMAIL PROTECTED] wrote:

Hi,

Running a program ( Mcafee Viruscan ) and I get the following:

pandora# ./uvscan
/usr/libexec/ld-elf.so.1: Shared object libc.so.3 not found
I'm using 4.8 Stable. Which port will give me this library ?
set COMPAT3X=yes in /etc/make.conf, and
cd /usr/src/lib/compat/compat3x.i386
make
make install
make clean
will do it.

LER

Thanks!

Nelis

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


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to mount a FAT floppy

2003-09-01 Thread Tadimeti Keshav
Hi guys,
Sorry for sending a blank mail.
How can I mount a (FAT) floppy disk that contains my
favourite themes?

I have /dev/fd0 directory.
Is this the command:
mount -t msdos /dev/fd0 /floppy?
Where is the /floppy directory present?


man mount_msdos does not give any examples.

Thanks
TK

__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libc.so.3 not found

2003-09-01 Thread Todd Stephens
On Monday 01 September 2003 07:59 am, Nelis Lamprecht wrote:
 Hi,

 Running a program ( Mcafee Viruscan ) and I get the following:

 pandora# ./uvscan
 /usr/libexec/ld-elf.so.1: Shared object libc.so.3 not found

 I'm using 4.8 Stable. Which port will give me this library ?


On my 4.8 I have libc.so.4 in /usr/lib.  I'm not sure what put it there, 
but check to see what you have.  If it is higher than 3, you could:

#cd /usr/lib
#ln -s libc.so.4 libc.so.3

See if that works.

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


Re: libc.so.3 not found

2003-09-01 Thread Todd Stephens
On Monday 01 September 2003 08:07 am, Larry Rosenman wrote:

 set COMPAT3X=yes in /etc/make.conf, and
 cd /usr/src/lib/compat/compat3x.i386
 make
 make install
 make clean

 will do it.

I suppose my earlier reply can be disregarded.  My suggestion works for 
some libraries, but I see it may not work for this one.

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


/dev/dsp: device busy

2003-09-01 Thread Monah Baki
Hi all,

I'm using Freebsd 4.8 and mozilla 1.4. Whenever I go to google.com or yahoo.com to 
search for 
something, I get /dev/dsp: Device busy. I can get to any url, but can't seem to search 
for 
anything (cnn.com, in the dialog box to getting my home town weather, will not 
work).


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


Re: how to mount a FAT floppy

2003-09-01 Thread Malcolm Kay
On Mon, 1 Sep 2003 21:39, Tadimeti Keshav wrote:
 Hi guys,
 Sorry for sending a blank mail.
 How can I mount a (FAT) floppy disk that contains my
 favourite themes?

 I have /dev/fd0 directory.

(This is a device not a directory.)

 Is this the command:
 mount -t msdos /dev/fd0 /floppy?

Yes

 Where is the /floppy directory present?


You need to make it (first):
# mkdir /floppy


 man mount_msdos does not give any examples.


Most of us find mtools a more convenient way of 
managing floppies in FAT format.

Malcolm


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


Re: libc.so.3 not found

2003-09-01 Thread Ruben de Groot
On Mon, Sep 01, 2003 at 01:59:42PM +0200, Nelis Lamprecht typed:
 Hi,
 
 Running a program ( Mcafee Viruscan ) and I get the following:
 
 pandora# ./uvscan
 /usr/libexec/ld-elf.so.1: Shared object libc.so.3 not found
 
 I'm using 4.8 Stable. Which port will give me this library ?

/usr/ports/misc/compat3x

Ruben

 
 Thanks!
 
 Nelis
 
 ___
 [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]


PPP and the backslash-containing AT command in ppp.conf

2003-09-01 Thread Michael Vondung
I am fairly to FreeBSD (and any kind of Unix), so please be easy on me in
case I'm overlooking the obvious. :)

I've been trying to connect to my ISP with an external Elsa Microlink
ISDN/TL pro modem. The init string that the modem requires is ATF\N9. I
modified the following line in /etc/ppp/ppp.conf:

 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
  \\ AT OK-AT-OK ATF\\N9 OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT

The man page for chat
(http://www.freebsd.org/cgi/man.cgi?query=chatsektion=8) says that \\ sends
a backlash character, so I figured that ATF\\N9 would be sent as ATF\N9.
However, it doesn't seem to send a backslash. Here's the relevant bit from
/var/log/ppp.log:

Sep  1 15:01:36 catbox ppp[372]: tun1: Chat: deflink: Dial attempt 1 of 1 
Sep  1 15:01:36 catbox ppp[372]: tun1: Chat: Send: AT^M 
Sep  1 15:01:36 catbox ppp[372]: tun1: Chat: Expect(5): OK 
Sep  1 15:01:37 catbox ppp[372]: tun1: Chat: Received: AT^M^M 
Sep  1 15:01:37 catbox ppp[372]: tun1: Chat: Received: OK^M 
Sep  1 15:01:37 catbox ppp[372]: tun1: Chat: Send: ATFN9^M 
Sep  1 15:01:37 catbox ppp[372]: tun1: Chat: Expect(5): OK 
Sep  1 15:01:37 catbox ppp[372]: tun1: Chat: Received: ATFN9^M^M 
Sep  1 15:01:37 catbox ppp[372]: tun1: Chat: Received: ERROR^M 
Sep  1 15:01:42 catbox ppp[372]: tun1: Chat: Expect timeout 
Sep  1 15:01:42 catbox ppp[372]: tun1: Warning: Chat script failed 

I have also tried this with ATF\N9, ATF\\\N9 and ATF^\N9. I'm unsure why
the script expects timeout and not CONNECT. If I leave out ATF\\N9 OK
before ATE1Q0, the modem will dial (the LNE LED indicates that an ISDN
connection is being established), but won't get a carrier. In this case the
log looks like this:

Sep  1 14:58:43 catbox ppp[359]: tun1: Chat: deflink: Dial attempt 1 of 1 
Sep  1 14:58:43 catbox ppp[359]: tun1: Chat: Send: AT^M 
Sep  1 14:58:43 catbox ppp[359]: tun1: Chat: Expect(5): OK 
Sep  1 14:58:43 catbox ppp[359]: tun1: Chat: Received: AT^M^M 
Sep  1 14:58:43 catbox ppp[359]: tun1: Chat: Received: OK^M 
Sep  1 14:58:43 catbox ppp[359]: tun1: Chat: Send: ATF^M 
Sep  1 14:58:43 catbox ppp[359]: tun1: Chat: Expect(5): OK 
Sep  1 14:58:43 catbox ppp[359]: tun1: Chat: Received: ATF^M^M 
Sep  1 14:58:43 catbox ppp[359]: tun1: Chat: Received: OK^M 
Sep  1 14:58:43 catbox ppp[359]: tun1: Chat: Send: ATDT019102345^M 
Sep  1 14:58:45 catbox ppp[359]: tun1: Chat: Expect(40): CONNECT 
Sep  1 14:58:45 catbox ppp[359]: tun1: Chat: Received: ATDT019102345^M^M 
Sep  1 14:58:45 catbox ppp[359]: tun1: Chat: Received: NO CARRIER^M 
Sep  1 14:58:45 catbox ppp[359]: tun1: Warning: Chat script failed 

Any help is greatly appreciated.

Thanks!

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


Re: PPP and the backslash-containing AT command in ppp.conf

2003-09-01 Thread Malcolm Kay
On Mon, 1 Sep 2003 22:58, Michael Vondung wrote:
 I am fairly to FreeBSD (and any kind of Unix), so please be easy on me in
 case I'm overlooking the obvious. :)

 I've been trying to connect to my ISP with an external Elsa Microlink
 ISDN/TL pro modem. The init string that the modem requires is ATF\N9. I
 modified the following line in /etc/ppp/ppp.conf:

  set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \\ AT OK-AT-OK ATF\\N9 OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT

 The man page for chat
 (http://www.freebsd.org/cgi/man.cgi?query=chatsektion=8) says that \\
 sends a backlash character, so I figured that ATF\\N9 would be sent as
 ATF\N9. However, it doesn't seem to send a backslash. Here's the relevant
 bit from /var/log/ppp.log:

The string is interpreted twice -- first by ppp itself which reduces '\\' to 
'\' so caht sees only one '\'.

Sould work if you use '', that is: ATFN9
which the first interpretation reduces to: ATF\\N9

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


Re: /dev/dsp: device busy

2003-09-01 Thread Alexander Farber
Do you maybe run KDE and arts which blocks /dev/dsp?

On Mon, Sep 01, 2003 at 09:54:34AM -0400, Monah Baki wrote:
 I'm using Freebsd 4.8 and mozilla 1.4. Whenever I go to google.com or yahoo.com to 
 search for 
 something, I get /dev/dsp: Device busy. I can get to any url, but can't seem to 
 search for 
 anything (cnn.com, in the dialog box to getting my home town weather, will not work).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newer names

2003-09-01 Thread David Landgren
Erik Trulsson wrote:

On Sat, Aug 30, 2003 at 04:13:20PM +0200, Hendrik Hasenbein wrote:

Vitali Malicky wrote:

What about DRAGON? There is also such a term as DRAGON. Yes, I'm all
serious. cron is a DRAGON, for example. DRAGON is a process which may run
other processes periodically under a user specified. What about it? And 
many
my colleagues, and me as well, refer to it also as PROCESS.
You've made me curious. Can you explain me the acronym DRAGON? Or did 
you just make that up?


'Dragon' is not an acronym. It is just a name. 'Daemon' is not an
acronym either despite what some people tell you.
The expansion 'Disk And Execution MONitor' was made up after the term
'daemon' had come in use, and should not be used.
I believe the correct term is a backronym :)

David

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


Re: /dev/dsp: device busy

2003-09-01 Thread Monah Baki
I'm running windowmaker


On Mon, 1 Sep 2003 13:46:52 +, Alexander Farber wrote
 Do you maybe run KDE and arts which blocks /dev/dsp?
 
 On Mon, Sep 01, 2003 at 09:54:34AM -0400, Monah Baki wrote:
  I'm using Freebsd 4.8 and mozilla 1.4. Whenever I go to google.com or yahoo.com to 
search for 
  something, I get /dev/dsp: Device busy. I can get to any url, but can't seem to 
  search for 
  anything (cnn.com, in the dialog box to getting my home town weather, will not 
  work).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/dsp: device busy

2003-09-01 Thread mpd
On Mon, Sep 01, 2003 at 10:39:59AM -0400, Monah Baki wrote:
 I'm running windowmaker

Try installing the sysutils/lsof port, and run lsof | grep dsp


 
 
 On Mon, 1 Sep 2003 13:46:52 +, Alexander Farber wrote
  Do you maybe run KDE and arts which blocks /dev/dsp?
  
  On Mon, Sep 01, 2003 at 09:54:34AM -0400, Monah Baki wrote:
   I'm using Freebsd 4.8 and mozilla 1.4. Whenever I go to google.com or yahoo.com 
   to 
 search for 
   something, I get /dev/dsp: Device busy. I can get to any url, but can't seem to 
   search for 
   anything (cnn.com, in the dialog box to getting my home town weather, will not 
   work).

-- 
___
 
ONE TURPENTINE FOR THE MAN, COMING RIGHT UP!
- Mr. Nutty from ONE GLASS OF TURPENTINE
COMING RIGHT UP
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dump

2003-09-01 Thread Michael Alestock
I had a question

I have 4 filesystems that I want to dump(8) to my SCSI Tape backup drive 
(Travan 4GB uncompressed).  The filesystems are, /, /usr, /var, and 
/usr/home.  All four filesystems equal about 2.5Gigs of data.

I dumped the first filesystem / by executing, dump -0uf /dev/sa0 /  
then executed, mt -f /dev/sa0 eom to move the tape to the end of the 
backup (to append to the tape), then dumped the second filesystem (/usr) 
using,dump -0uf /dev/sa0 /usr.  Then once again I executed, mt -f 
/dev/sa0 to move the tape to the end (to append to it).

When I go to execute, restore -if /dev/sa0 to confirm that both filesystems 
were saved so far, there's only ONE filesystem saved to the tape /.  I 
can't 'cd' to /var because it's not on the tape.  What am I doing wrong???  I 
know I still have plenty of tape left to save other filesystems, but it's not 
dumping anything after the first filesystem.

Any ideas as to what I'm doing wrong??


Thanks,

 Michael


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


error building apache 2.0.47 from ports

2003-09-01 Thread Joe Sotham
Has anyone seen the following error, or can make a suggestion to deal
with this build error? The same error occurs when building manually.

I'm currently running 2.0.45 on a FreeBSD 4.8-STABLE #0 system.

- Joe

--error log -

$ make

snip

/usr/ports/www/apache2/work/httpd-2.0.47/server/exports.c:253:
`ap_is_recursion_limit_exceeded' undeclared here (not in a function) ***
Error code 1

Stop in /usr/ports/www/apache2/work/httpd-2.0.47/server.
*** Error code 1

Stop in /usr/ports/www/apache2/work/httpd-2.0.47/server.
*** Error code 1

Stop in /usr/ports/www/apache2/work/httpd-2.0.47.
*** Error code 1

Stop in /usr/ports/www/apache2.



-- 
Joe Sotham

praxis makes Perfect.
- Meister Eckhart

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


[r-militante@northwestern.edu: Re: need advice: core dumps duringbuildworld]

2003-09-01 Thread Redmond Militante
- Forwarded message from Redmond Militante [EMAIL PROTECTED] -

Date: Mon, 1 Sep 2003 09:22:52 -0500
From: Redmond Militante [EMAIL PROTECTED]
To: Jonathan Chen [EMAIL PROTECTED]
Subject: Re: need advice: core dumps during buildworld
Reply-To: Redmond Militante [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
User-Agent: Mutt/1.4.1i
X-Sender: [EMAIL PROTECTED]
X-URL: 
http://darkpossum.medill.northwestern.edu/modules.php?name=Contentpa=showpagepid=1
X-DSA-and-ElGamal-Fingerprint: 2AA2 E78E A6FC 9144 3534 39A2 EE0F 8D26 5FDF 481D

hi

thanks for responding!

my make.conf seems ok to me, is there something i should change?

CFLAGS= -O -pipe
COPTFLAGS= -O -pipe
NOPROFILE= true
USA_RESIDENT= YES
# -- use.perl generated deltas -- #
# Created: Wed Aug  6 16:28:04 2003
# Setting to use base perl from ports:
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo


thanks
redmond


[Mon, Sep 01, 2003 at 03:37:21PM +1200]
This one time, at band camp, Jonathan Chen said:

 On Sun, Aug 31, 2003 at 06:56:16PM -0500, Redmond Militante wrote:
  hi all
  
  i am having trouble trying to cvsup a 5_1-RELEASE machine
  
  i'm at the 'cd /usr/src/ make buildworld' stage. i can't run 'make buildworld'
  successfully on this machine. i'm able to on my other 5_1-RELEASE machine
  (although it's different hardware...). the buildworld seems to fail at
  different points randomly. for ex., the most current kernel core dump/error i
  get when trying to complete this operation is
  
  Illegal instruction(core dumped)
  Error code 132
 
 Check your make.conf flags. You're very likely using some odd CPU
 specific flags.
 -- 
 Jonathan Chen [EMAIL PROTECTED]
 --
 The human mind ordinarily operates at only ten percent of its capacity
  -- the rest is overhead for the operating system.
 

-- 
FreeBSD 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Thu Aug 28 12:42:04 CDT 2003
 9:15AM  up 3 days, 20:12, 1 user, load averages: 0.28, 0.53, 0.49
 
University, n.:
Like a software house, except the software's free, and it's
usable, and it works, and if it breaks they'll quickly tell you how to
fix it, and ...
 



- End forwarded message -

-- 
FreeBSD 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Thu Aug 28 12:42:04 CDT 2003
 9:15AM  up 3 days, 20:12, 1 user, load averages: 0.28, 0.53, 0.49
 
University, n.:
Like a software house, except the software's free, and it's
usable, and it works, and if it breaks they'll quickly tell you how to
fix it, and ...
 


pgp0.pgp
Description: PGP signature


Re: Using Digital Video Out under FBD

2003-09-01 Thread Dragoncrest
Well that's at least cool.  At least I know that it's doable.  Now 
to find the info...which so far has proven elusive.  Oh well, I'll probubly 
find it eventually.

At 10:08 AM 9/1/03 +0200, Hendrik Hasenbein wrote:
Dragoncrest wrote:
I'm guessing by the relative degree of silence on this that this 
isn't supported on Freebsd yet?  All I need is a simple answer one way 
or another.  If it's not, I'll leave it at that.  If it is, I'll keep 
searching.  Links to FAQ's would be useful, but just a yes or no will 
suffice at this point.  I'm wanting to export the video to VHS and 
possibly preview it on a TV because I'm doing a digital media 
presentation and I don't want to haul that beat of a windows box I have 
around with me to the presentation.  I'd rather take my SFF with me, but 
that's running Freebsd using a GF3 ti200 card, which presents me with my 
problem.
Thanks for any help on this at all.
The nvidia-driver claims to be able to do it, but I couldn't get any video 
out. Don't know if my adapter is broken, because  cross test with windoze 
gave me the same result.

Hendrik

--
Ahhh there's only 10 types of people in the world,
those who understand binary and those who don't...


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


Re: Why people are not satisfied with FreeBSD?

2003-09-01 Thread Dragoncrest

For instance, I'm writing this on a Linux box, but have 3 FBSD servers I 
administer, as well as a small handful of Windows servers I'm responsible 
for. I also use windows 2000 and XP as well as FBSD and more than 2 
distros of Linux at the desktop, from various work and home locations.
*bows*  I'm not worthy!  I'm not worthy!  ;)  hehe.  Nice sounding 
setup by the way.  :D

Just for the curiousity of the original poster, yes, I use Freebsd 
and Windows side by side.  Mostly windows is used when it's something that 
I either can't do with my freebsd at this time, or it requires windows as a 
companion to my freebsd in order to complete a task.

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


Re: Dump

2003-09-01 Thread Joshua Oreman
On Mon, Sep 01, 2003 at 10:15:08AM -0400 or thereabouts, Michael Alestock wrote:
 I had a question
 
 I have 4 filesystems that I want to dump(8) to my SCSI Tape backup drive 
 (Travan 4GB uncompressed).  The filesystems are, /, /usr, /var, and 
 /usr/home.  All four filesystems equal about 2.5Gigs of data.
 
 I dumped the first filesystem / by executing, dump -0uf /dev/sa0 /  
 then executed, mt -f /dev/sa0 eom to move the tape to the end of the 
 backup (to append to the tape), then dumped the second filesystem (/usr) 
 using,dump -0uf /dev/sa0 /usr.  Then once again I executed, mt -f 
 /dev/sa0 to move the tape to the end (to append to it).
 
 When I go to execute, restore -if /dev/sa0 to confirm that both filesystems 
 were saved so far, there's only ONE filesystem saved to the tape /.  I 
 can't 'cd' to /var because it's not on the tape.  What am I doing wrong???  I 
 know I still have plenty of tape left to save other filesystems, but it's not 
 dumping anything after the first filesystem.
 
 Any ideas as to what I'm doing wrong??

First, no need to run eom.

So backup goes like this:
# for FS in / /usr /usr/home /var; do
 dump -0uf /dev/sa0 $FS
 done  mt -f /dev/sa0 rewind

To restore, you have to skip the tape to the correct position (read up on mt fsf).
Then you can run `restore if /dev/sa0' to get files from *THAT PARTITION ONLY*.
So if you wanted to restore a file in / but not /var or /usr (assuming rewound tape),
do:
# restore -if /dev/sa0
like you tried.
To restore a file on /usr (assuming above order) on a rewound tape, do:
# mt -f /dev/sa0 fsf
# restore -if /dev/sa0
To restore a file on /usr/home, rewound tape, do `fsf 2'.
To restore a file on /var and rewound tape, use `fsf 3'.
To rewind the tape:
# mt -f /dev/sa0 rewind

It may be useful to keep a catalog as the first file on the tape. So you might want to
do something like this before a backup of multiple file systems on one tape:

# mt -f /dev/sa0 erase  # CAREFUL! this erases previous backup!
# dd of=/dev/sa0 EOF
Backup of `hostname` made on `date +%D`

sector 0: this catalog
fsf1: /
fsf2: /usr
fsf3: /usr/home
fsf4: /var
EOF
# dump 0uf /dev/sa0 /
# dump 0uf /dev/sa0 /usr
# dump 0uf /dev/sa0 /usr/home
# dump 0uf /dev/sa0 /var
# mt -f /dev/sa0 rewind

Using this kind of thing, you can see exactly where each backup is located.
To get to a certain backup, do:
# mt -f /dev/sa0 rewind
# dd if=/dev/sa0
catalog will be output
assumes you want to restore a file from /usr/home, fsf 3
# mt -f /dev/sa0 fsf 3
# cd /usr/home
# restore if /dev/sa0

Note that when restoring a file system other than /, paths are relative to the
root of that filesystem. So, for example, if you're restoring from /usr backup,
then /usr/X11R6 is actually /X11R6. /home will be there, but empty (it's a mount
point).

Also, in the above catalog, file numbers really start at 1; I was simplifying it
so it would be easy to see exactly what you need to give to mt.

-- Josh

 
 
 Thanks,
 
  Michael
 
 
 ___
 [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: PPP and the backslash-containing AT command in ppp.conf

2003-09-01 Thread Michael Vondung
Malcolm wrote:

 Sould work if you use '', that is: ATFN9
 which the first interpretation reduces to: ATF\\N9

Thank you! This worked indeed. After an hour of frustrating fiddling I also
figured out that the string I needed for this particular ISP was ATF\N10
rather than ATF\N9  -- and yet another hour later I managed to figure out
that my user name needed to be in a different format (very cryptic and well
hidden on the ISP's pages) than the one used in the ISP's dialer software
for Windows. (User PPP is almost too verbose.)

So, PPP now connects just fine. The only problem is that FreeBSD doesn't
recognise this connection as its primary connection to the Internet. Up
until this point, the FreeBSD box used the shared Internet connection of a
Windows XP system (a situation I'm attempting to reverse). Even when the PPP
connection is established, ping, traceroute, etcetera go via the LAN to
the XP box ... and time out because the XP machine doesn't have an active
connection to the Internet. Probably off topic under this subject line, but
would you know where I should start looking?

Thanks!

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


Re: Dump

2003-09-01 Thread Malcolm Kay
On Mon, 1 Sep 2003 23:45, Michael Alestock wrote:
 I had a question

 I have 4 filesystems that I want to dump(8) to my SCSI Tape backup drive
 (Travan 4GB uncompressed).  The filesystems are, /, /usr, /var, and
 /usr/home.  All four filesystems equal about 2.5Gigs of data.

 I dumped the first filesystem / by executing, dump -0uf /dev/sa0 / 
 then executed, mt -f /dev/sa0 eom to move the tape to the end of the

Not sure that this is good; especially if it is not a new tape.
Try:
# mt -f  /dev/nsa0 fsf 1

Or write dumps to /dev/nsa0 which leaves the tape positioned for next file.

 backup (to append to the tape), then dumped the second filesystem (/usr)
 using,dump -0uf /dev/sa0 /usr.  Then once again I executed, mt -f
 /dev/sa0 to move the tape to the end (to append to it).

 When I go to execute, restore -if /dev/sa0 to confirm that both
 filesystems were saved so far, there's only ONE filesystem saved to the
 tape /.  I can't 'cd' to /var because it's not on the tape.  What am I
 doing wrong???  I know I still have plenty of tape left to save other
 filesystems, but it's not dumping anything after the first filesystem.


When invoked restore will only look at one dump.
You need to move past the first dump file before invoking restore 
on say /usr.
If your end-of-file marks are correctly written you should be able to do this
with:
# mt -f  /dev/nsa0 fsf 1

Now invoke restore -if /dev/sa0  -- should find /usr


Malcolm

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


How to run PostgreSQL on boot?

2003-09-01 Thread Alex Zivenko
Hi all!
I need to run Postgresql server on startup. It means, that I need to start postmaster 
every boot. How can I do this?
Sorry for my english.
__
Alex Zivenko
ICQ#: 298887381
  Current ICQ status: 
+  More ways to contact me 
__

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


Re: PPP and the backslash-containing AT command in ppp.conf

2003-09-01 Thread Joshua Oreman
On Mon, Sep 01, 2003 at 05:38:10PM +0200 or thereabouts, Michael Vondung wrote:
 Malcolm wrote:
 
  Sould work if you use '', that is: ATFN9
  which the first interpretation reduces to: ATF\\N9
 
 Thank you! This worked indeed. After an hour of frustrating fiddling I also
 figured out that the string I needed for this particular ISP was ATF\N10
 rather than ATF\N9  -- and yet another hour later I managed to figure out
 that my user name needed to be in a different format (very cryptic and well
 hidden on the ISP's pages) than the one used in the ISP's dialer software
 for Windows. (User PPP is almost too verbose.)
 
 So, PPP now connects just fine. The only problem is that FreeBSD doesn't
 recognise this connection as its primary connection to the Internet. Up
 until this point, the FreeBSD box used the shared Internet connection of a
 Windows XP system (a situation I'm attempting to reverse). Even when the PPP
 connection is established, ping, traceroute, etcetera go via the LAN to
 the XP box ... and time out because the XP machine doesn't have an active
 connection to the Internet. Probably off topic under this subject line, but
 would you know where I should start looking?

route(8) and netstat -rn

Ask your ISP what to set your default route to, then set it in /etc/rc.conf
(defaultrouter) and reboot. (You don't have to reboot, but that makes it easier).

-- Josh

 
 Thanks!
 
 ___
 [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: Dump

2003-09-01 Thread Joshua Oreman
On Mon, Sep 01, 2003 at 08:38:03AM -0700 or thereabouts, Joshua Oreman wrote:
 On Mon, Sep 01, 2003 at 10:15:08AM -0400 or thereabouts, Michael Alestock wrote:
  I had a question
  
  I have 4 filesystems that I want to dump(8) to my SCSI Tape backup drive 
  (Travan 4GB uncompressed).  The filesystems are, /, /usr, /var, and 
  /usr/home.  All four filesystems equal about 2.5Gigs of data.
  
  I dumped the first filesystem / by executing, dump -0uf /dev/sa0 /  
  then executed, mt -f /dev/sa0 eom to move the tape to the end of the 
  backup (to append to the tape), then dumped the second filesystem (/usr) 
  using,dump -0uf /dev/sa0 /usr.  Then once again I executed, mt -f 
  /dev/sa0 to move the tape to the end (to append to it).
  
  When I go to execute, restore -if /dev/sa0 to confirm that both filesystems 
  were saved so far, there's only ONE filesystem saved to the tape /.  I 
  can't 'cd' to /var because it's not on the tape.  What am I doing wrong???  I 
  know I still have plenty of tape left to save other filesystems, but it's not 
  dumping anything after the first filesystem.
  
  Any ideas as to what I'm doing wrong??
 

Please use /dev/nsa0 and not /dev/sa0, my bad.

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


Re: PPP and the backslash-containing AT command in ppp.conf

2003-09-01 Thread Malcolm Kay
On Tue, 2 Sep 2003 01:08, Michael Vondung wrote:
 Malcolm wrote:
  Sould work if you use '', that is: ATFN9
  which the first interpretation reduces to: ATF\\N9

 Thank you! This worked indeed. After an hour of frustrating fiddling I also
 figured out that the string I needed for this particular ISP was ATF\N10
 rather than ATF\N9  -- and yet another hour later I managed to figure out
 that my user name needed to be in a different format (very cryptic and well
 hidden on the ISP's pages) than the one used in the ISP's dialer software
 for Windows. (User PPP is almost too verbose.)

 So, PPP now connects just fine. The only problem is that FreeBSD doesn't
 recognise this connection as its primary connection to the Internet. Up
 until this point, the FreeBSD box used the shared Internet connection of a
 Windows XP system (a situation I'm attempting to reverse). Even when the
 PPP connection is established, ping, traceroute, etcetera go via the
 LAN to the XP box ... and time out because the XP machine doesn't have an
 active connection to the Internet. Probably off topic under this subject
 line, but would you know where I should start looking?

 Thanks!

Do you have the line:
add default HISADDR
in your ppp.conf file -- either default or under the particular connection.

You probably have:
defaultrouter=XP machines IP address
in /etc/rc.conf although I think this should be overridden when ppp activates.

Malcolm

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


Re: How to run PostgreSQL on boot?

2003-09-01 Thread David Landgren
Alex Zivenko wrote:
Hi all!
I need to run Postgresql server on startup. It means, that I need to start postmaster 
every boot. How can I do this?
Sorry for my english.
I have the following file on the servers that run Postgresql, named 
/usr/local/etc/rc.d/postgresql.sh:

#! /bin/sh

su postgres -c '/home/pgsql/bin/pg_ctl start \
  -D /home/pgsql/data -l /var/log/postgresql'
You will probably have to change paths etc. to suit your site, but 
this is the general idea.

David

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


RE: how to mount a FAT floppy

2003-09-01 Thread Devnull
Mkdir /mnt/floppy/
mount /dev/fd0  /mnt/floppy ?


Devnull 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Malcolm Kay
Sent: Monday, September 01, 2003 3:17 PM
To: Tadimeti Keshav; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]

On Mon, 1 Sep 2003 21:39, Tadimeti Keshav wrote:
 Hi guys,
 Sorry for sending a blank mail.
 How can I mount a (FAT) floppy disk that contains my
 favourite themes?

 I have /dev/fd0 directory.

(This is a device not a directory.)

 Is this the command:
 mount -t msdos /dev/fd0 /floppy?

Yes

 Where is the /floppy directory present?


You need to make it (first):
# mkdir /floppy


 man mount_msdos does not give any examples.


Most of us find mtools a more convenient way of 
managing floppies in FAT format.

Malcolm


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
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]


Perl 5.8 - make test problem (shmget. msgget)

2003-09-01 Thread Gustavo Delfino
I am trying to upgrade Perl from version 5.005_03 to 5.8 on a 4.8-RELEASE
FreeBSD VPS (virtual private server).

I did a 'pkg_add perl-5.8.0_7.tgz' but I then removed it because I was
getting this error:

/usr/libexec/ld-elf.so.1: /usr/local/bin/perl: Undefined symbol
nl_langinfo

I then decided to dowload the source and compile it myself, but some of the
tests fail:

==
Failed Test   Stat Wstat Total Fail  Failed  List of
Failed
---

/ext/IPC/SysV/ipcsysv.t   78 1996816   16 100.00%  1-16
/ext/IPC/SysV/t/msg.t 78 19968 99 100.00%  1-9
/ext/IPC/SysV/t/sem.t 78 1996810   10 100.00%  1-10
/lib/IPC/SysV.t   78 1996816   16 100.00%  1-16
/lib/Net/Ping/t/110_icmp_inst.t  255 65280 21  50.00%  2
45 tests and 414 subtests skipped.
Failed 5/712 test scripts, 99.30% okay. 52/68476 subtests failed, 99.92%
okay.
==

These are the failure messages:

t/op/taint...# shmget failed: Function not
implemented
# msgget failed
ok

ext/IPC/SysV/ipcsysv.msgget failed: Function not
implemented
FAILED at test 1

ext/IPC/SysV/t/msg...msgget: 78 Function not implemented
FAILED at test 1

ext/IPC/SysV/t/sem...semget: 78 Function not implemented
FAILED at test 1

lib/IPC/SysV.msgget failed: Function not
implemented
FAILED at test 1

lib/Net/Ping/t/110_icmp_inst.icmp socket error - Operation not
permitted at ../lib/Net/Ping/t/110_icmp_inst.t line 27
FAILED at test 2

I also tried with perl 5.6.1, but make test fails too.

Please help me.

Regards,

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


Recent CURRENT breaks boot

2003-09-01 Thread Steve Friedrich
Boot fails with:

Mounting root from ufs:/dev/ar0s1a
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6

I have an ASUS moboard with a Promise IDE (FastTrak 133) that's been running CURRENT 
until today.  I updated via cvsup and built buildworld, buildkernel, installkernel, 
installworld.

And I did do a make clean depend first.

It seems that GEOM is now the default and the Promise driver (ar) doesn't get loaded.  
GEOM doesn't appear to understand the Promise array.

Please cc me, I'm not currently subscribed to questions...



Steve Friedrich
Bedford, IN
-
New World Order, Unabridged Dictionary

Democrat (dem' e-krat) noun.  A variety of lemming so morally bankrupt, they continue 
to idolize Bill The Serial Adulterer Clinton.

Bill Clinton (Slick Willy) verb.  SOMEBODY figured out how to make a pseudo-human out 
of teflon.

Hillary The Doormat Rodham Clinton.  (Doormat)  noun.  Everything a father wouldn't 
want his daughter to be.  A doormat that masquerades as a feminist, but doesn't 
realize she's anti-feminist with every breath.  Prior to being a carpetbagger in NY, 
the highest position she ever attained was a gift from a man she had slept with.  It 
doesn't count that he was her husband, since they hadn't slept together in years.

hyphenated-American (confused)  noun.  A ruse.  There's no such thing as an 
African-American, Italian-American, German-American, etc.  You're either an American, 
or an African in America, Italian in America, or German in America, etc., ad naseum.

Eve Ensler (feminazi)  noun.  A liberal, Democrat, militant lesbian who believes that 
a mature woman seducing an underage girl isn't pedophilia, merely normal sexual 
development.

NOW (irrelevant)  noun.  A woman's movement overtaken by man-hating lesbians.  Very 
LOUD proponents of partial-birth murder, even though only 3% of Americans are callous 
enough to support it after seeing it.  NOW, as of late 2002, STILL hasn't created an 
intervention program to teach young females to not get pregnant in order to attempt to 
trap a man.  STILL doesn't teach young women to not think of children as meal 
tickets.

Jesse Jackson (hypocrite)  noun.  Jesse is the only known human to make Dr. Martin 
Luther King roll over in his grave.  It's the message, not the messenger, stupid.  And 
what's this about a SALARY for your Ho?

Al Alleged Coke Dealer Sharpton (hypocrite) noun.  A master of deception, this guy 
told the media, you know, the investigative journalists, that he was on a hunger 
strike in a Puerto Rican jail.  In reality, he was eating soup every day as part of 
his get this fat ass in shape for a Presidential run weight loss program.  He also 
bamboozled the media with the help of Tawana Brawley and her mother.  When the police 
figured out the scam, Al slithered out of town on his belly, like the snake that he is.

Jesse Durkheising (non-gay victim)  noun.  A poor child not fortunate enough to be 
gay.  If he had been gay, he would have had Robert Redford make a movie about him.  
And oddly, although Christians are bashed as a GROUP anytime some yahoo kills a gay, 
NO ONE in the media bashed ALL gays for the act of TWO.  Perplexing, I know.

Hypocrite (Democrat) noun.  An idiot that can't understand that it's RACIST to believe 
that it's OK for Chris Rock to say NIGGER, but it's NOT ok for Senator Byrd to say the 
n* word.  What crap.  Also, an IDIOT that can't recognize that Kathleen Kennedy 
Townsend is a disgraceful racist for stooping to handing out Oreo cookies to bash her 
opponents running mate that doesn't think within the box created by the Democratic 
National Committee for African-Americans.

unfathomable (huh?) adjective.  The incomprehensible idea that gays could be born 
that way, yet so many tried to coerce me into gay sex from the time BEFORE puberty 
and into my adult life.  Odd?

Slippery slope - overused phrase of the looney left. Think of Roe v Wade culminating 
in a third trimester partial-birth murder of a VIABLE fetus.

WNBA - A group of women who have admitted they're not equal to men, by forming teams 
outside of the NBA.  Also responsible for decimating the MYTH that women, by virtue of 
gender, are GRACEFUL.

Raelians - A species from the nether regions of YerAnus, indistinguishable from 
Hemmorroids.  Their spokesperson and top scientist looks like she stepped off the set 
of Tales from the Crypt.

Eleanor Clift - Democratic strategist, shill for the DNC.  Not even REMOTELY a 
journalist.  Should have Democrap tatooed to her forehead.

The West Wing - aka, the Left Wing.  Another soapbox provided by looney lefties in 
Hollyweird.  Martin Sheen and his sons were never even good actors, not even 
approaching the pathetic Baldwhines.  Every week, Americans are treated to straw men 
and issues set up by DNC shills to teach them that anyone who can READ should be 

RE: Vinum stripe values table?

2003-09-01 Thread mark rowlands
And in retrospect I could have a) written in English and b) been more
crystally clear  8190kb was the stripe size finally plumped for.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mark rowlands
Sent: Monday, September 01, 2003 7:14 PM
To: J.A. Terranson; [EMAIL PROTECTED]
Subject: RE: Vinum stripe values table?

 J.A. Terranson
 The values to plug into vinum for stripe size has always been vague,
 other than avoiding a power of 2.  

Where is the vagueness here?

A good guideline for stripe size
is between 256 kB and 512 kB.  Avoid powers of
2, however: they tend to cause all superblocks
to be placed on the first subdisk.

 Is there any way to calculate an 
 optimal value?  Or is there a table anywhere?

I did some work on this and came to the unsurprising conclusion of
it depends 

The needs of a database server / web server / ftp server / user file
server are not equivalent, in addition, obviously the exact layout of
your vinum configuration plays a non-trivial part. 

 Given an 8 drive raid5 array, where each drive is an identical 4096m
 drive, where do I start?

You have already started when you created an Raid 5 configuration  ;-) 

Well, I created my vinum configuration, made some wild guesses as to
what 
I was going to be using it for (mostly web-serving of files of the order
of
4-5MB) and then ran some tests, measuring both with bonnie and vinum's
builtin statistics using different stripe sizes and increasing numbers
of
concurrent transactions, using both bonnie and scripted file transfers
to
generate disc i/o. 

Overall, with my config  4 disks striped raid 0 on an promise ide
controllers (real men always run Raid 0 !) an 8k stripe seemed to
function well for me in this distinctly unscientific test scenario. Real
world performanceit's okcould it be better, probably. But it's
good enough for what this machine does.

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


Galeon2 open menu question

2003-09-01 Thread stan
Im trying to set up a machine using Gnome2. One of the chages (aparently)
is that I seem to need to be running Galen2 Well, like a lot of the other
gnome 2 stuff it seems to be sunstainly less featurfull than the Gnome 1.4
stuff I' acustomed to,

So, on to a specif question. When I type CTRL O in Galeon (the original,
I get a nice URL entry popup. In Gnome 2 I get (believe it ot not) a FILE
open window. Last time I check this application was a WWW browser, not a
file manager (like I need one of those ?).

So, can I change this behavior?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multimedia/MMX, Celeron CPU, and the kernel config

2003-09-01 Thread Louis LeBlanc
On 09/01/03 05:04 AM, Ricardo Mesquita sat at the `puter and typed:
 Louis LeBlanc wrote:
  Hey all.  I've just installed the mplayer and mplayerxp ports for
  video support.  I've never quite had it right with aviplay and
  plaympeg, but I never quite understood why.
  
  Well, when I run mplayer, I get the following:
  
  CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping: 0)
  Detected cache-line size is 32 bytes
  CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
  Compiled with Runtime CPU Detection - WARNING - this is not optimal!
  To get best performance, recompile MPlayer with --disable-runtime-cpudetection
  
  And mplayerxp gives the following:
  CPU vendor name: GenuineIntel  max cpuid level: 2
  CPU: Intel Celeron A Mendocino/Pentium II Dixon (Type: 6, Stepping: 0)
  MMX supported but disabled
  CPUflags: Type: 6 MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
  Compiled for x86 CPU with features: 3DNow 3DNowEx SSE
  
  So I'm confused as to whether I've got the best configuration for my
  custom kernel.  Is there a way I can discover the exact model of my
  cpu without cracking the case? 
  
 
  Thanks!
  Lou
 
 Check x86info

Thanks a lot!  This gives quite a lot of info about the chip:

Family: 6 Model: 6 Stepping: 0 Type: 0 Brand: 0
CPU Model: Celeron (Mendocino) Original OEM
Feature flags:
Onboard FPU
Virtual Mode Extensions
Debugging Extensions
Page Size Extensions
Time Stamp Counter
Model-Specific Registers
Physical Address Extensions
Machine Check Architecture
CMPXCHG8 instruction
SYSENTER/SYSEXIT
Memory Type Range Registers
Page Global Enable
Machine Check Architecture
CMOV instruction
Page Attribute Table
36-bit PSEs
MMX support
FXSAVE and FXRESTORE instructions

Extended feature flags:

Instruction TLB: 4KB pages, 4-way associative, 32 entries
Instruction TLB: 4MB pages, fully associative, 2 entries
Data TLB: 4KB pages, 4-way associative, 64 entries
L2 unified cache:
Size: 128KB 4-way associative.
line size=32 bytes.
L1 Instruction cache:
Size: 16KB  4-way associative.
line size=32 bytes.
Data TLB: 4MB pages, 4-way associative, 8 entries
L1 Data cache:
Size: 16KB  4-way associative.
line size=32 bytes.
/dev/cpu/0/msr: No such file or directory
Connector type: Socket 370  (370 Pin PGA)


MTRR registers:
MTRRcap (0xfe): MTRRphysBase0 (0x200): MTRRphysMask0 (0x201):
MTRRphysBase1 (0x202): MTRRphysMask1 (0x203): MTRRphysBase2 (0x204):
MTRRphysMask2 (0x205): MTRRphysBase3 (0x206): MTRRphysMask3 (0x207):
MTRRphysBase4 (0x208): MTRRphysMask4 (0x209): MTRRphysBase5 (0x20a):
MTRRphysMask5 (0x20b): MTRRphysBase6 (0x20c): MTRRphysMask6 (0x20d):
MTRRphysBase7 (0x20e): MTRRphysMask7 (0x20f): MTRRfix64K_0
(0x250): MTRRfix16K_8 (0x258): MTRRfix16K_A (0x259):
MTRRfix4K_C8000 (0x269): MTRRfix4K_D 0x26a: MTRRfix4K_D8000 0x26b:
MTRRfix4K_E 0x26c: MTRRfix4K_E8000 0x26d: MTRRfix4K_F 0x26e:
MTRRfix4K_F8000 0x26f: MTRRdefType (0x2ff): 

400MHz processor (estimate).


Now, I realize no one will want to make 'supported' or 'guaranteed'
recommendations, but I would certainly appreciate some pointers on
taking the above information and determining the ideal CPU options to
use in my kernel.  I looked at the handbook, and can't find any such
details or links.  My main goal is to find out what CPU features are
disabled through the kernel config, and enable them - particularly MMX
support.

Finally, I noticed my message log from bootup has the following:
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR

Does this specify just detection or kernel config?  It appears to
match the features detected by x86info.

Thanks for all the help!

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

aphorism, n.:
  A concise, clever statement.
afterism, n.:
  A concise, clever statement you don't think of until too late.
-- James Alexander Thom
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Galeon2 open menu question

2003-09-01 Thread Glenn Johnson
On Mon, Sep 01, 2003 at 01:42:34PM -0400, stan wrote:

 Im trying to set up a machine using Gnome2. One of the chages
 (aparently) is that I seem to need to be running Galen2 Well, like
 a lot of the other gnome 2 stuff it seems to be sunstainly less
 featurfull than the Gnome 1.4 stuff I' acustomed to,

 So, on to a specif question. When I type CTRL O in Galeon (the
 original, I get a nice URL entry popup. In Gnome 2 I get (believe it
 ot not) a FILE open window. Last time I check this application was a
 WWW browser, not a file manager (like I need one of those ?).

 So, can I change this behavior?

You want to type CTRL-L.  This is pretty much the standard shortcut to 
enter a URL, even IE uses CTRL-L

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


RE: scripting the buildworld/installworld process

2003-09-01 Thread Charles Howse
Well, here are my current versions of the update scripts.
I hope they are complicated enough for everyone. grin

Contrary to Kent's suggestion, I'm only logging the last 10 lines of the
important commands.  I defer to his experience and knowledge, but I
can't see the value in logging 7500 lines of code that executed
correctly.  Let's just get the last 10 lines, since that's where any
errors will be.

Comments, suggestions, flames?

--

#!/usr/local/bin/bash
#
# Update the system, run in multi-user mode.
#
# Checks the exit status of all important commands,
# Exits on exit status of anything other than 0, 
# Prints the name of the command that failed.
# Logs the last 10 lines of screen output for important commands.

bailout() {
if [ $? -ne 0 ] ; then
echo Update1 has bailed out on error $?
echo The command that failed was...
echo $cmd
exit
fi
}

echo -n Have you read /usr/src/UPDATING? [y/n]: 
read a
if [ $a = n ] ; then
less /usr/src/UPDATING
exit
fi

echo -n Have you merged /etc/group and /usr/src/etc/group? [y/n]: 
read b
if [ $b = n ] ; then
diff -c /etc/group /usr/src/etc/group | less
exit
fi

echo -n Have you merged /etc/master.passwd and
/usr/src/etc/master.passwd? [y/n]: 
read c
if [ $c = n ] ; then
diff -c /etc/master.passwd /usr/src/etc/master.passwd
exit
fi

cmd=cp /disk2/larry/etc/make.conf /etc
cp /disk2/larry/etc/make.conf /etc
bailout

cmd=cp /disk2/larry/usr/src/sys/i386/conf/CUSTOM
/usr/src/sys/i386/conf
cp /disk2/larry/usr/src/sys/i386/conf/CUSTOM /usr/src/sys/i386/conf
bailout

cmd=Clean out /usr/obj
echo -n Clean out /usr/obj? [y/n]: 
read d
if [ $d = y ] ; then
cd /usr/obj
chflags -R noschg *
rm -rf *
fi
bailout

echo -n Continue with build? [y/n]: 
read e
if [ $e = n ] ; then
exit
fi

cmd=make buildworld
cd /usr/src
echo Time for buildworld:  /var/log/build/build.log
\time -aho /var/log/build/build.log make buildworld 21 |
tee /var/log/build/tmp.log |
tail /var/log/build/tmp.log  /var/log/build/buildworld-`date
+%Y%m%d-%H%M`.log
bailout
echo  /var/log/build/build.log
rm /var/log/build/tmp.log

cmd=make buildkernel KERNCONF=GENERIC
echo Time for buildkernel GENERIC:  /var/log/build/build.log
\time -aho /var/log/build/build.log make buildkernel KERNCONF=GENERIC
21 |
tee /var/log/build/tmp.log |
tail /var/log/build/tmp.log  /var/log/build/buildkernG-`date
+%Y%m%d-%H%M`.log
bailout
echo  /var/log/build/build.log
rm /var/log/build/tmp.log

cmd=make installkernel KERNCONF=GENERIC
echo Time for installkernel GENERIC:  /var/log/build/build.log
\time -aho  /var/log/build/build.log make installkernel KERNCONF=GENERIC
21 |
tee /var/log/build/tmp.log |
tail /var/log/build/tmp.log  /var/log/build/installkernG-`date
+%Y%m%d-%H%M`.log
bailout
echo  /var/log/build/build.log
rm /var/log/build/tmp.log

cmd=make buildkernel KERNCONF=CUSTOM
cp /boot/kernel /boot/kernel.GENERIC
echo Time for buildkernel CUSTOM:  /var/log/build/build.log
\time -aho /var/log/build/build.log make buildkernel KERNCONF=CUSTOM
21 |
tee /var/log/build/tmp.log |
tail /var/log/build/tmp.log  /var/log/build/buildkernC-`date
+%Y%m%d-%H%M`.log
bailout
echo  /var/log/build/build.log
rm /var/log/build/tmp.log

cmd=make installkernel KERNCONF=CUSTOM
echo Time for installkernel CUSTOM:  /var/log/build/build.log
\time -aho /var/log/build/build.log make installkernel KERNCONF=CUSTOM
21 |
tee /var/log/build/tmp.log |
tail /var/log/build/tmp.log  /var/log/build/installkernC-`date
+%Y%m%d-%H%M`.log
bailout
echo  /var/log/build/build.log
rm /var/log/build/tmp.log

echo Reboot to single user mode and run /disk2/larry/bin/update2

--

#!/usr/local/bin/bash
#
# Update the system. Run in single user mode.

bailout () {
if [ $? -ne 0 ] ; then
echo Update2 has bailed out on exit status $?
echo The command that failed was...
echo $cmd
exit
fi
}

echo -n Continue with installworld? [y/n]: 
read a 
if [ $a = n ] ; then
exit
fi

cmd=make installworld
echo -n Time for installworld:  /var/log/build/build.log
\time -aho /var/log/build/build.log make installworld |
tee /var/log/build/tmp.log |
tail /var/log/build/tmp.log  /var/log/build/instworld-`date
+%Y%m%d-%H:%M`.log
bailout
echo  /var/log/build/build.log
rm /var/log/build/tmp.log

Cmd=cp -Rp /etc /etc.old
if [ -d /etc.old ] ; then
rm -r /etc.old
fi
cp -Rp /etc /etc.old
Bailout

Cmd=rm -r /var/tmp/temproot
if [ -d /var/tmp/temproot ] ; then
cd /var/tmp/temproot
chflags -R noschg *
cd
rm -r /var/tmp/temproot
Fi
bailout

Cmd=mergemaster -a
/usr/sbin/mergemaster -a
bailout

Cmd=./MAKEDEV all
cd /dev
./MAKEDEV all
bailout

cmd=make clean
cd /usr/src/release/sysinstall
echo -n Time for make clean:  /var/log/build/build.log
\time -aho /var/log/build/build.log make clean |
tee /var/log/build/tmp.log |
tail /var/log/build/tmp.log  /var/log/build/make_clean-`date
+%Y%m%d-%H:%M`.log
bailout
echo  /var/log/build/build.log
rm /var/log/build/tmp.log

cmd=make 

Re: scripting the buildworld/installworld process

2003-09-01 Thread Kent Stewart
On Monday 01 September 2003 11:13 am, Charles Howse wrote:
 Well, here are my current versions of the update scripts.
 I hope they are complicated enough for everyone. grin

 Contrary to Kent's suggestion, I'm only logging the last 10 lines of
 the important commands.  I defer to his experience and knowledge, but
 I can't see the value in logging 7500 lines of code that executed
 correctly.  Let's just get the last 10 lines, since that's where any
 errors will be.

 Comments, suggestions, flames?


I don't think 10 is enough. Wash has a buildworld problem on current 
and, on his listing, you would only make it about half way through the 
error 1 messages and may miss the one that means something.

I log for a different reason. If you had one die and I didn't, I want to 
be able to show you that I made it past where yours errored off.

-- 
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: multimedia/MMX, Celeron CPU, and the kernel config

2003-09-01 Thread Hendrik Hasenbein
Louis LeBlanc wrote:
Now, I realize no one will want to make 'supported' or 'guaranteed'
recommendations, but I would certainly appreciate some pointers on
taking the above information and determining the ideal CPU options to
use in my kernel.  I looked at the handbook, and can't find any such
details or links.  My main goal is to find out what CPU features are
disabled through the kernel config, and enable them - particularly MMX
support.
You don't need to enable MMX in the kernel. Your mplayer had MMX on, the 
mplayerxp not I remember. Perhaps there is a switch for mplayerxp.

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR 
Does this specify just detection or kernel config?
I would call it detection.

Hendrik

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


FreeBSD 5.1 i386 not allowing incoming ftp connects?

2003-09-01 Thread Robertdkeys
I am trying to set up a FreeBSD 5.1 i386 box.  Everything seems
to be fine, except, incoming ftp is all rejected.  Inetd.conf is set to
allow ftp.  Is there another switch to set somewhere to allow all
incoming ftp?  If so, what/where?

Thanks

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


Re: libc.so.3 not found

2003-09-01 Thread Peter Elsner
Probably the compatibility libraries...

/usr/ports/misc/compat22, compat3x, compat4x

Peter Elsner



At 01:59 PM 9/1/2003 +0200, you wrote:
Hi,

Running a program ( Mcafee Viruscan ) and I get the following:

pandora# ./uvscan
/usr/libexec/ld-elf.so.1: Shared object libc.so.3 not found
I'm using 4.8 Stable. Which port will give me this library ?

Thanks!

Nelis

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.1 i386 not allowing incoming ftp connects?

2003-09-01 Thread Peter Ulrich Kruppa [EMAIL PROTECTED]
On Mon, 1 Sep 2003 [EMAIL PROTECTED] wrote:

 I am trying to set up a FreeBSD 5.1 i386 box.  Everything seems
 to be fine, except, incoming ftp is all rejected.  Inetd.conf is set to
 allow ftp.  Is there another switch to set somewhere to allow all
 incoming ftp?  If so, what/where?
Do you have
inetd_enable=Yes
in your /etc/rc.conf ?
Then reboot (or perhaps executing # /etc/netstart will
do).

Regards,

Uli.

 Thanks

 Bob Keys
 ___
 [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: scripting the buildworld/installworld process

2003-09-01 Thread Charles Howse
 Most of the time, you only need to see the last 4 or 5. I 
 think that I 
 only look at one of my builds to see the chmod 444 freebsd.cf and 
 fire up the next script.

OK, I understand.  I think I will go ahead and change tail to tail -n
50.  That should provide plenty of feedback, eh?

 
 BTW, If you add both of your kernels to /etc/make.conf, you 
 would only 
 need one buildkernel. The first one is the one that is installed. I 
 have it commented now but I used to use
 
 #KERNCONF=RUBY GENERIC
 
 to build both and install just RUBY. I got so that I liked the logs 

I thought it would be a good idea to install both GENERIC and CUSTOM
kernels, so that I could boot to GENERIC if necessary.

So, if I add KERNCONF=GENERIC CUSTOM to make.conf, then the generic
kernel is installed as /boot/kernel, and I can cp /boot/kernel
/boot/kernel.GENERIC.

Then I can do installkernel KERNCONF=CUSTOM, and that will install the
custom kernel as /boot/kernel, and that will be the default to boot...?





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


Re: modem setup

2003-09-01 Thread Jud
On Mon, 1 Sep 2003 13:06:08 +0100 (BST), Tadimeti Keshav 
[EMAIL PROTECTED] wrote:

Hi Guys,
I have the foll. set up
28 GB -- FreeBSD 4.5
10 GB -- Redhat 9.0
From Redhat I use an Internet connection wizard that
gives me a lot of options. I picked up the dialer
option, then give the phone number to connect to my
university WIndows NT server, then my login and
password. Viola, I am connected to the internet.
I have a Creative External modem V.90
Is there no way to do this in FreeBSD? I read the man
pages (dial-in and dial-out), they are way over my
head.
URL: http://www.onlamp.com/pub/a/bsd/2000/06/14/FreeBSD_Basics.html

At least one thing has changed in the 3+ years since the article was 
written: A user who wishes to use a dial-up connection must be a member of 
the 'dialer' group.

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


Re: How to run PostgreSQL on boot?

2003-09-01 Thread Jonathan Chen
On Mon, Sep 01, 2003 at 06:21:12PM +0300, Alex Zivenko wrote:
 Hi all!
 I need to run Postgresql server on startup. It means, that I need to start 
 postmaster every boot. How can I do this?

If you installed via the ports-system, it installs:

/usr/local/etc/rc/010.pgsql.sh

which starts up postgresql on boot.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
Only the meek get pinched. The bold survive.
  - Ferris Bueller
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multimedia/MMX, Celeron CPU, and the kernel config

2003-09-01 Thread Louis LeBlanc
On 09/01/03 08:22 PM, Hendrik Hasenbein sat at the `puter and typed:
 Louis LeBlanc wrote:
  Now, I realize no one will want to make 'supported' or 'guaranteed'
  recommendations, but I would certainly appreciate some pointers on
  taking the above information and determining the ideal CPU options to
  use in my kernel.  I looked at the handbook, and can't find any such
  details or links.  My main goal is to find out what CPU features are
  disabled through the kernel config, and enable them - particularly MMX
  support.
 
 You don't need to enable MMX in the kernel. Your mplayer had MMX on, the 
 mplayerxp not I remember. Perhaps there is a switch for mplayerxp.
 
  Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
   
  Does this specify just detection or kernel config?
 
 I would call it detection.
 
 Hendrik

Thank you.  Glad I checked before just rebuilding.

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

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


emulators/vmware2 broken...

2003-09-01 Thread Alexandre Biancalana
Hi All,

   I'm fighting with the following problem to install emulators/vmware2.

   cc -O -pipe   
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include 
-I/usr/ports/emulators/vmwa
e2/work/vmware-distrib/vmmon-only/common 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd
I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include 
-I/sys -I/usr/ports/emulators/vmwar
2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ 
-DCDEV_MAJOR_=200 -DSMP -DAPIC_IO  -D_KERNEL -Wall -Wre
undant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -
format-extensions -ansi -DKLD_MODULE -nostdinc -I- 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-onl
/include 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common 
-I/usr/ports/emulators/vmware2/wo
k/vmware-distrib/vmmon-only/freebsd 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/includ
-I/sys 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ 
-I. -I@ -I@/../inc
ude -I/usr/include  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes 
Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c /usr/ports/emulators/vmw
re2/work/vmware-distrib/vmmon-only/freebsd/hostif.c
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: 
In function `FindMPN':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:184: 
invalid operands to binary 
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:188: 
invalid type argument of `una
y *'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: 
In function `HostIF_LookupUserMPN
:
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: 
warning: `pte' might be used
ninitialized in this function
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: 
In function `HostIF_LockPage':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: 
warning: `pte' might be used
ninitialized in this function
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: 
warning: `pte' might be used
ninitialized in this function
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: 
In function `CheckFunc':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: 
warning: `pte' might be used
ninitialized in this function
*** Error code 1

Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only.
*** Error code 1
Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only.
*** Error code 1
Stop in /usr/ports/emulators/vmware2/work/vmware-distrib.
*** Error code 1
Stop in /usr/ports/emulators/vmware2.
*** Error code 1
Stop in /usr/ports/emulators/vmware2.

That's my machine:

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 4.9-PRERELEASE #0: Sat Aug 30 17:49:40 BRT 2003
   [EMAIL PROTECTED]:/usr/src/sys/compile/Cruel
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 860884854 Hz
CPU: Intel Pentium III (860.88-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x686  Stepping = 6
 
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 268091392 (261808K bytes)
avail memory = 257105920 (251080K bytes)
Preloaded elf kernel kernel at 0xc03b5000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fbc30
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82820 host to AGP bridge mem 0xf400-0xf7ff at 
device 0.0 on pci0
pcib1: PCI to PCI bridge (vendor=8086 device=250f) at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: NVidia Riva Ultra Vanta TNT2 graphics accelerator at 0.0 irq 9
pcib2: Intel 82801AA (ICH) Hub to PCI bridge at device 30.0 on pci0
pci2: PCI bus on pcib2
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xec80-0xecff mem 
0xfbfffc00-0xfbfffc7f irq 5 at device 12.0 on pci2
xl0: Ethernet address: 00:b0:d0:50:c9:a7
miibus0: MII bus on xl0
xlphy0: 3c905C 10/100 internal PHY on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: Intel 82801AA (ICH) PCI to LPC bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH ATA66 controller port 0xffa0-0xffaf at device 31.1 
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82801AA (ICH) USB controller port 0xff80-0xff9f irq 11 at 
device 31.2 on pci0
usb0: Intel 82801AA (ICH) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 

Re: scripting the buildworld/installworld process

2003-09-01 Thread Kent Stewart
On Monday 01 September 2003 01:11 pm, Charles Howse wrote:
  BTW, If you add both of your kernels to /etc/make.conf, you
  would only
  need one buildkernel. The first one is the one that is installed. I
  have it commented now but I used to use
 
  #KERNCONF=RUBY GENERIC
 
  to build both and install just RUBY. I got so that I liked the logs

 I thought it would be a good idea to install both GENERIC and CUSTOM
 kernels, so that I could boot to GENERIC if necessary.

 So, if I add KERNCONF=GENERIC CUSTOM to make.conf, then the generic
 kernel is installed as /boot/kernel, and I can cp /boot/kernel
 /boot/kernel.GENERIC.

 Then I can do installkernel KERNCONF=CUSTOM, and that will install
 the custom kernel as /boot/kernel, and that will be the default to
 boot...?

When I do that, I usually install GENERIC first and then install my 
custom kernel and mv kernel.old to kernel.GENERIC. I haven't thought 
about it beyond that. You probably also have to chflag it first. 

FWIW, I rarely use GENERIC except on the first install. I am more likely 
to boot to kernel.old. If the kernel dies at single user, you want the 
kernel.old to be a good one and if you have done a couple of 
kernelinstalls, that won't be true.

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: ipfw with four interfaces

2003-09-01 Thread Micheal Patterson


- Original Message - 
From: Arvinn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 01, 2003 6:24 AM
Subject: ipfw with four interfaces


 This FreeBSD 4.x with ipfw1 have four interfaces:

 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet w.x.y.81 netmask 0xfff0 broadcast w.x.y.95
 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
 xl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 172.16.0.1 netmask 0xff00 broadcast 172.16.0.255
 xl2 is the interface that is connected back-to-back with the router.

 As you can see, hosts on xl0 and xl1 need to get translated in order to
 get on the Internet. The dmz is for a few web-servers, a mailserver and a
 vpn-gateway I will be setting up later. I have a hard time getting this
 design to actually work with deny ip from any to any in the bottom of the
 ruleset.

 I thought my tcp/ip skills were proper but after I started dealing with
 this I feel like a complete noob.

 Here are the rules I haave written so far:

 # more fwrules
 fwcmd=/sbin/ipfw
 extif=xl2
 dmzif=fxp0
 lanif=xl0
 motorif=xl1

 $fwcmd -f flush
 ###
 $fwcmd add 100 allow all from any to any via lo0
 $fwcmd add 200 deny all from any to 127.0.0.0/8
 $fwcmd add 300 deny ip from 127.0.0.0/8 to any
 $fwcmd add 500 deny tcp from any to any in via any tcpflags syn,fin
 $fwcmd add 600 deny ip from any to any in via any frag
 ###
 $fwcmd add 900 allow tcp from an.outside.net.work to me ssh in via $extif
 # This one passes packets to natd. If I knew how to divert only rfc1918
 addresses are passed to natd I would do that.
 # In the meantine I have configured natd with the unregistered-flag.
 $fwcmd add 950 divert natd all from any to any via $extif
 # Allow http to the whole dmz from Internet:
 $fwcmd add 1000 allow tcp from any to w.x.y.80/28 http via $extif
 # Allow smtp and pop3 to the mailserver from Internet:
 $fwcmd add 1050 allow tcp from any to w.x.y.84 smtp,pop3 via $extif
 #
 # With the following rules I want to allow all traffic between my own
 segments:
 $fwcmd add 1200 allow ip from any to any via $dmzif
 $fwcmd add 1250 allow ip from any to any via $lanif
 $fwcmd add 1300 allow ip from any to any via $motorif
 # Allow all traffic out to Internett:
 $fwcmd add 2000 allow ip from any to any out via $extif
 # Allow all icmp for testing purposes until I get the firewll rules
working:
 $fwcmd add 3000 allow icmp from any to any via any

 # Blocking ports out to Internet that I don't like:
 $fwcmd add 1300 deny tcp from any to any 135-139 out via $extif
 $fwcmd add 1350 deny tcp from any to any 445 out via $extif
 ###
 # Blocking everything else:
 $fwcmd add 65000 deny ip from any to any
 #

 When I load these rules it looks like nothing  but icmp works. The
 computers on the the rfc1918 addresses can't speak tcp (and probably udp
 as well) and the computers on the dmz can neither. I feel I don't
 understand this properly. There must be some basic errors with my ruleset.
 Will it help me to put in this at the top?:

  $fwcmd add 50 check-state

 ..and then use keep-state on all my allow rules?

 Can someone please:

 I would be greatful for all kind of answers.

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


Try having the very first rule divert ip from any to any to natd Then, you
can configure NATD to only effect RFC1918 packets by adding a -u to the
command line. NAT will take the packet, process it if it's an RFC 1918
address, if not, allow it to pass and then reinject it into the firewall at
rule 2 (or next available rule) and continue processing the ruleset.

I've not been awake for long and have had little to no Mt Dew yet so don't
hold this against me. Without going over this for awhile, which I recommend
when doing a firewall, this may be something in the neighborhood that you're
looking for.

In your /usr/local/etc/natd.sh

#!/bin/sh
natd -interface xl2  -s -m -u

Or if you start it from rc.conf:

natd_flags=-s -m -u 

The -s tells it to use sockets so that FTP doesn't get broken. You may not
need this.
The -m tells natd to attempt to use the same socket as the originating host.
The -u tells natd to only translate RFC 1918 packets.

In your firewall rules file:

###
# more fwrules
fwcmd=/sbin/ipfw
extif=xl2
dmzif=fxp0
lanif=xl0
motorif=xl1
#
#
$fwcmd -f flush
#
#
#NATD Divert
$fwcmd add 1 divert natd all from any to any via xl2
#
#You want blocked outbound ports to match early on in the firewall.
#
# Blocking ports out to Internet that I don't like:
$fwcmd add 100 deny tcp from any to any 135-139 out via $extif
$fwcmd add 100 deny tcp from any to any 445 out via $extif
#
#Then your allows:
#
#Network Allows
$fwcmd add 300 allow ip from any to any via $extif

CUPS, foomatic-rip, 4.8 RELEASE (was: How to get CUPS to work)

2003-09-01 Thread Todd Stephens
I have been trying to get this setup to work as it does on my Linux box.  
Has anyone gotten CUPS working using the foomatic-rip/gimp-print method 
outlined on Linuxprinting.org?  I have an Epson Stylus C82 at 
/dev/lpt0.

Everything seems to working properly with CUPS now; I have the CUPS 
scheduler running, the printer is configured, but when I go to print 
anything, I get the following message:
#lp -d EpsonC82 /etc/motd
request id is EpsonC82-4 (1 file(s))

Then nothing ever prints.  I think CUPS is configured properly or I 
would not have gotten that far, but maybe GS or gimp-print is not.  
Does anyone have any experience with this?

-- 
Todd Stephens

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


Belkin PCMCIA wireless card (F5D6020 ver. 2)

2003-09-01 Thread Steven Ketcham
I bought a Belkin PCMCIA wireless card (F5D6020 ver. 2) for my laptop. When 
I insert it I receive a panic message then the machine reboots. Is the 
Belkin supported? I have seen some posts saying that it is. Is there 
something special that needs done before inserting this type of card? I 
am currently using a Xircom card and it works fine. I just want to go the 
wireless route.
Is there a better entry level wireless PCMCIA card to purchase?
FreeBsd 5.1.
Thanks!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


no response on unnumbered bridged interface?

2003-09-01 Thread Aled Treharne
Hi guys.

I've just upgraded (aka reinstalled) my firewall up to 5.1-RELEASE. The
hardware isn't particularly new, but it's been quite happily trudging
along for the past few years using 4.something. However, with 5.1, I've
found weirdness and I wanted to check to see if this is expected
behaviour or not.

The machine has two 3C509's ep0 (external) and ep1 (internal). Ep0 is
numbered and the following sysctl variables set:

Net.link.ether.bridge_cfg=ep0,ep1
Net.link.ether.bridge_ipfw=1
Net.link.ether.bridge=1

Now it bridges quite happily ( I have IPFIREWALL_DEFAULT_ACCEPT set in
the kernel), and I can ping back and forth without any problem. However,
if I try and access the bridge from a machine connected to the switch on
the inside interface, it doesn't respond. Tcdump on the box shows ECHO
request packets, I see arp traffic (and the inside machine has the
correct mac address), but I see no echo responses. This is a problem,
since I'd like to admin this box from inside my network. :) I also
wouldn't mind the box seeing the internal network...

I can't see anything wrong with what I've got, and there's nothing in
the docs about this problem. I also experienced this problem with a
Intel EtherExpress Pro I had in there as the internal interface, and
both the ep1 card and the Intel NIC have worked in other boxes.

Has anyone got any ideas on what's going on here? As far as I can tell,
the config is identical to my previous installation...

Cheers,
Aled.

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


5.1 install panics

2003-09-01 Thread Derek Ragona
i am doing a new system install but the 5.1 release panics on install.

After probing devices the kernel panics:
/: no space on device
The system has a new unpartitioned 120GB SATA hard drive connected to an 
Adaptec Serial ATA RAID 1210SA.  The system has 1 GB of RAM, a regular IDE 
CD-ROM, and standard floppy.

Anyone have any ideas?  I suspect it is the adaptec card.

-Derek
[EMAIL PROTECTED]


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


Re: no response on unnumbered bridged interface?

2003-09-01 Thread Micheal Patterson

- Original Message - 
From: Aled Treharne [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 01, 2003 5:12 PM
Subject: no response on unnumbered bridged interface?


 Hi guys.

 I've just upgraded (aka reinstalled) my firewall up to 5.1-RELEASE. The
 hardware isn't particularly new, but it's been quite happily trudging
 along for the past few years using 4.something. However, with 5.1, I've
 found weirdness and I wanted to check to see if this is expected
 behaviour or not.

 The machine has two 3C509's ep0 (external) and ep1 (internal). Ep0 is
 numbered and the following sysctl variables set:

 Net.link.ether.bridge_cfg=ep0,ep1
 Net.link.ether.bridge_ipfw=1
 Net.link.ether.bridge=1

 Now it bridges quite happily ( I have IPFIREWALL_DEFAULT_ACCEPT set in
 the kernel), and I can ping back and forth without any problem. However,
 if I try and access the bridge from a machine connected to the switch on
 the inside interface, it doesn't respond. Tcdump on the box shows ECHO
 request packets, I see arp traffic (and the inside machine has the
 correct mac address), but I see no echo responses. This is a problem,
 since I'd like to admin this box from inside my network. :) I also
 wouldn't mind the box seeing the internal network...

 I can't see anything wrong with what I've got, and there's nothing in
 the docs about this problem. I also experienced this problem with a
 Intel EtherExpress Pro I had in there as the internal interface, and
 both the ep1 card and the Intel NIC have worked in other boxes.

 Has anyone got any ideas on what's going on here? As far as I can tell,
 the config is identical to my previous installation...

 Cheers,
 Aled.

Is the system configured to forward packets? Assuming that 5.x has the
following variables available (I still run 4.8 here), try:

sysctl -a |grep forwarding

You should see net.inet.ip.forwarding: 1. If it's 0, then your system
won't pass traffic between the the interfaces.


--

Micheal Patterson
Network Administration
Cancer Care Network
405-917-0600


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


Ugly Huge BSD Monster

2003-09-01 Thread Denis Troshin
Almost  every  package  I  install requires a few other packages. This
'idea   of   using   dependent  packages'  turns  FreeBSD  (and  other
unix-systems) to an ugly monster.

For  example, I don't need Perl or Python but a few packages I install
require them.

Does exist a programming under unix without these dependencies?

P.S.  Under Windows it is possible to write not bad applications which
depend  just  on  libraries (KERNEL32, USER32, GDI32).  And these libs
exist on every base system!!!

Is it possible in unix?

Before I thought that unix programs very compact, but they are huge!

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


Re: Ugly Huge BSD Monster

2003-09-01 Thread Matthew Graybosch
On 16:58 Mon 01 Sep , Denis Troshin wrote:

 P.S.  Under Windows it is possible to write not bad applications which
 depend  just  on  libraries (KERNEL32, USER32, GDI32).  And these libs
 exist on every base system!!!
 
 Is it possible in unix?
 
 Before I thought that unix programs very compact, but they are huge!

If you want compact unix programs, don't use X apps or apps written in
scripting languages like Perl and Python. FreeBSD by itself doesn't offer the
monstrous APIs that Windows offers; it just offers an implementation of the
standard C library (libc). As a result, stock FreeBSD is a very barebones
environment.

-- 
Matthew Graybosch
http://www.starbreaker.net
The best way to lose an argument is to throw the first punch.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ugly Huge BSD Monster

2003-09-01 Thread Dan Nelson
In the last episode (Sep 01), Denis Troshin said:
 Almost  every  package  I  install requires a few other packages.
 This 'idea of using dependent packages' turns FreeBSD (and other
 unix-systems) to an ugly monster.
 
 For  example, I don't need Perl or Python but a few packages I
 install require them.
 
 Does exist a programming under unix without these dependencies?
 
 P.S.  Under Windows it is possible to write not bad applications
 which depend just on libraries (KERNEL32, USER32, GDI32).  And these
 libs exist on every base system!!!

Windows has the same problems.  Are you seriously saying you've never
had to download a vbrun*.dll to get a Windows program that required
Visual Basic to run?  Or maybe had to download one of the many patches
that afflict the MS Java implementation?

 Is it possible in unix?

Of course.  Most programs in the ports tree are standalone.  95% of the
programs in the base system are standalone.
 
 Before I thought that unix programs very compact, but they are huge!

Some are huge, some are small.  There are a lot of Windows programs
that are huge too (MS Word, for example).

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


Re: Ugly Huge BSD Monster

2003-09-01 Thread Chris Dillon
On Mon, 1 Sep 2003, Denis Troshin wrote:

 Almost every package I install requires a few other packages. This
 'idea of using dependent packages' turns FreeBSD (and other
 unix-systems) to an ugly monster.

At least the dependencies are taken care of for you automatically in
FreeBSD, unlike some systems which require you to download and install
each depedency manually.

 For example, I don't need Perl or Python but a few packages I
 install require them.

 Does exist a programming under unix without these dependencies?

 P.S.  Under Windows it is possible to write not bad applications
 which depend just on libraries (KERNEL32, USER32, GDI32).  And these
 libs exist on every base system!!!

I have to deal with creating internal distribution packages for all
kinds of Windows software just about every day, and the dependencies
for Windows software can be much worse, especially for Microsoft's own
software which seems to be among the worst.  Microsoft Office XP alone
depends on (when installed on a base Windows 98SE installation), no
less than Microsoft Installer 2.x (MSI), Internet Explorer 6, MDAC,
and several other non-Office bits and pieces that don't come to mind
right now.  Granted, they are included in the Office XP installer and
it will install all of this by itself if you don't have any of them
installed, but they are indeed separate depedencies.

I break as many depedencies as I possibly can out of a particular
piece of software into separate distribution packages with their own
dependency chains.  The FreeBSD ports/packages system just happens to
already do this to a high degree, because it is a good idea.

-- 
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest and most stable server OS on the planet
 - Available for IA32, IA64, PC98, Alpha, and UltraSPARC architectures
 - x86-64, PowerPC, ARM, MIPS, and S/390 under development
 - http://www.freebsd.org

No trees were harmed in the composition of this message, although some
electrons were mildly inconvenienced.

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


Re: Ugly Huge BSD Monster

2003-09-01 Thread Robert Watson

On Mon, 1 Sep 2003, Denis Troshin wrote:

 Almost every package I install requires a few other packages. This 'idea
 of using dependent packages' turns FreeBSD (and other unix-systems) to
 an ugly monster. 
 
 For example, I don't need Perl or Python but a few packages I install
 require them. 
 
 Does exist a programming under unix without these dependencies? 
 
 P.S.  Under Windows it is possible to write not bad applications which
 depend just on libraries (KERNEL32, USER32, GDI32).  And these libs
 exist on every base system!!! 
 
 Is it possible in unix? 
 
 Before I thought that unix programs very compact, but they are huge! 

You've already got a boatload of responses, but I figured I'd throw in
mine: it depends on the application.  If applications require a scripting
language, by virtue of what they do or how they are written, well, you get
a scripting language in the dependencies.  To get a Windows-like
environment on FreeBSD, you need to layer the X server and then a
toolkit/windowing environment on top -- my personal leaning right now is
to stick QT/KDE on top.  Once you have those pieces in place, you have a
lot of what you need to write general-purpose applications interacting
with users, the network, multimedia, etc.

If you look at some of the key UNIX software packages, however, you'll
see that they tend not to have a lot of dependencies -- Apache, Postgres,
MySQL, etc.  These applications avoid dependencies through less reliance
on scripting, GUI elements, etc.  One of the upsides, and downsides, of
the open source world is a strong dependence on scripting, and the
resulting diversification of scripting languages and rapid prototyping
tools.  This occurs in the Windows world also, though -- if you rely on
Java, you need the JVM.  If you have TCL applications, you need the TCL
environment as well.  Many web sites running on Windows use Perl for CGI
just as they do in UNIX, in which case you need Perl... 

One of the nice things about this package-oriented approach is that the
dependencies are generally very explicit: you want to write a gui app, so
you need the gui pieces.  Your application requires a back-end database,
so a database dependency is introduced.  In Windows, you have a larger
base but less ability to decompose as a result.  I'm also a bit alarmed
when I install a new application and pick up two new scripting languages
along the way -- I tend to avoid installing applications that pull in
scripting as a dependency.  However, sometimes that's unavoidable.  In
Windows, I think you'll find applications depend on more in the way of
libraries than you think, though...  Upgrades to system dlls when you
build and install applications are not infrequent -- application vendors
tend to quietly bundle all the dependent runtime components and quietly
install them

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

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


Re: Ugly Huge BSD Monster

2003-09-01 Thread Terry Lambert
Denis Troshin wrote:
 Almost  every  package  I  install requires a few other packages. This
 'idea   of   using   dependent  packages'  turns  FreeBSD  (and  other
 unix-systems) to an ugly monster.

You're right.  The authors of the offending software packages
should not do that.  It's going to be incredibly hard to get
the FSF to quit using libibery, getline, gdb, etc., though.


 For  example, I don't need Perl or Python but a few packages I install
 require them.

Don't install those packages?

Provide patches that remove the dependencies, if they are
trivial?

Rewrite the software from scratch, if the dependencirs turn
out to be non-trivial?


 Does exist a programming under unix without these dependencies?

Sure.  Anything you are willing to write that doesn't do that.


 P.S.  Under Windows it is possible to write not bad applications which
 depend  just  on  libraries (KERNEL32, USER32, GDI32).  And these libs
 exist on every base system!!!

I beg to differ.  InstallShield has a tendency to install the
NT version of CTL3D.DLL over top of the Windows 95/98 version,
breaking things utterly (as one example).

Also, CRTL32.DLL no longer ships with the base system, but it
is required for a lot of runtime executable code.  It was left
out of the base system in order to force people to distribute
it, and that was done to impose license restrictions on where
the resulting code can be run (i.e. it's free to redistribute
with your applications, so long as you only run them on a
Microsoft OS -- see the VisualDevStudio license next time you
get a chance).


 Is it possible in unix?
 
 Before I thought that unix programs very compact, but they are huge!

You're using the wrong programs.  I'm going to guess you are
installing Gnome or KDE or something like that that has a huge
dependency list because it wants to have a huge feature list.

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