How to convert GNU make files to FreeBSD make?

2004-02-20 Thread Igor B. Bykhalo
How can this GNU make constuct converted to FreeBSD:

 SRCDIRS = convert/c misc/c string/c memory/c handleio/c startup/c environ/c
 
 vpath %.c $(SRCDIRS)
?

Is there some guide on the topic? I am new to this...

TIA,
Igor

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


Re: How to convert GNU make files to FreeBSD make?

2004-02-20 Thread Tony Frank
Hi,

On Fri, Feb 20, 2004 at 11:02:43AM +0300, Igor B. Bykhalo wrote:
 How can this GNU make constuct converted to FreeBSD:
 
  SRCDIRS = convert/c misc/c string/c memory/c handleio/c startup/c environ/c
  
  vpath %.c $(SRCDIRS)
 ?
 
 Is there some guide on the topic? I am new to this...

While I cannot help much in make file contents conversion, you can
install GNU make on FreeBSD through the ports/packages.

See /usr/ports/devel/gmake

Regards,

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


Re: /usr/libexec/ld-elf.so.1: Shared object libintl.so.4 not found

2004-02-20 Thread Kent Stewart
On Thursday 19 February 2004 10:24 pm, Noah wrote:
 FreeBSD 4.8

 still having installation issues with apache-1.3.29 with
 mod_ssl-2.8.16 from /usr/ports

 I even upgraded gettext from /usr/ports/devel/gettext to version
 gettext-0.13.1

 still the same problem.  any other ideas here?

You have to rebuild everything that uses gettext to fix the problem. A 
portupgrade -fr gettext
kind of fix.

Kent



 --- snip ---

 === [data: Installing initial data files]
 echo Copying tree ./htdocs/ - /usr/local/www/data-dist/;  (cd
 ./htdocs/  /u sr/local/bin/gtar -cf - index* apache_pb.* ) | (cd
 /usr/local/www/data-dist/  /usr/local/bin/gtar -xf -);  find
 /usr/local/www/data-dist/ -type d -exec chmod a+rx {} \; ;  find
 /usr/local/www/data-dist/ -type f -print0 | xargs -0 chmod a+r ;
 Copying tree ./htdocs/ - /usr/local/www/data-dist/
 /usr/libexec/ld-elf.so.1: /usr/libexec/ld-elf.so.1: Shared object
 libintl.so.4 not found
 Shared object libintl.so.4 not found
 *** Error code 1

 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.29.
 *** Error code 1

 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.29.
 *** Error code 1

 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.29.
 *** Error code 1

 Stop in /usr/ports/www/apache13-modssl.

 --- snip ---

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

-- 
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: make install error on mozilla 1.6

2004-02-20 Thread Jonathan Chen
On Fri, Feb 20, 2004 at 02:02:12PM +, Richard wrote:

[...]
 cd /usr/ports/www/mozilla/work/mozilla/dist/bin  /usr/bin/find . |   
 -pdm -L -R root:wheel /usr/X11R6/lib/mozilla
 -pdm: not found
 *** Error code 127

Your ports/Mk/*.mk isn't up to date. It's missing the CPIO macro
assignment. Cvsup your ports tree.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
I don't want to achive immortality through my works..
 I want to achieve it through not dying - Woody Allen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Rotation of ipmon log

2004-02-20 Thread Piotr Gnyp
Hi,
when i`m trying to rotate log file from ipmon i get these messages:
newsyslog: can't notify daemon, pid 40948: No such process
newsyslog: log /var/log/ipmon.log.0 not compressed because daemon(s) not
notified

My settings -
rc.conf:
ipmon_enable=YES # Set to YES for ipmon; needs ipfilter,
too!
ipmon_program=/sbin/ipmon# where the ipfilter monitor program
lives
ipmon_flags=-o S -D /var/log/ipmon.log
ipfs_enable=YES
ipfs_program=/sbin/ipfs
ipfs_flag=-Dsvn

newsyslog.conf:
/var/log/ipmon.log  644  7 *@T00  J
/var/run/ipmon.pid

[10:39] [EMAIL PROTECTED]:/home/toread ps -auwx | grep ipmon
root  290  0,0  0,3  1888 1404  ??  Ss   Sob13 1:59,34
/sbin/ipmon -o S -D /var/log/ipmon.log

What I`m missing? Why newsyslog can`t rotate log?
I`m using FreeBSD 5.2.1-RC2 #18.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trend micro Virus wall

2004-02-20 Thread Winston Nolan
hi,

thank you so much for the help!
i will see what i can work out following your advice - setting up the web
interface wouldnt be a proble - have you tried to make a symlink of the
folder to your www folder?

regards

Winston
- Original Message - 
From: Robert Golovniov [EMAIL PROTECTED]
To: Winston Nolan [EMAIL PROTECTED]
Sent: Friday, February 20, 2004 11:18 AM
Subject: Re: Trend micro Virus wall


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Thursday, February 19, 2004, 10:14:07 AM, Winston Nolan wrote:

 WN I am trying to run Trend's virus wall on Freebsd, but Im not sure how
to do this.
 WN They do not have a tarball for freebsd - but I was thinking running it
with linux compatability?
 WN Is there anyone out there that has done this before?
 WN If so please let me know how/

 Had  to change /bin/bash to /usr/local/bin/bash in some scripts before
 could  do  anything  with the files they provide. Then had to manually
 copy  some  of  the  tarred  files to their respective folders. Worked
 then,  but I did not have time to play with the preferences and so on.
 Moreover,  did not have success yet with configuring the Web-interface
 for the program.

 Please let me know, Winston, if you have more success than that. :-)

 - -- 
  -=Robert  Beata Golovniov | Lviv, Ukraine=-
 ~~
 mailto:[EMAIL PROTECTED]Body=Embedded%20key
 ~~
Raise your eyes high up and see. Who has created these things?
 (Isaiah 40:26)
 -BEGIN PGP SIGNATURE-
 Comment: Using PGP/GnuPG for Internet privacy.

 iD8DBQFANdCdWh2fA2M/bQcRAlLLAJ9Z5EJH0Ak8SOEzzL7xjiYp72tMWwCgqKON
 oDl+DA5JAdteJwCZ46UZ8eI=
 =LTyn
 -END PGP SIGNATURE-

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


Re: Win200 gateway blocking FBSD html?

2004-02-20 Thread anubis
On Thu, 19 Feb 2004 1:46 pm, Robert Storey wrote:
 I'm trying to set up a FreeBSD client machine for a school. They
 have never used FBSD or even Linux, they are 100% Windows. They are
 interested in letting their students gain experience with
 non-Windows software. So I need to prove to them that FBSD can
 work, but I've run into a major obstacle.
snip

I have a similar setup.  We make each client authenticate to the ms 
isa firewall so that we can stop bludgers checking their share 
portfolio durting work.  This is probably a similar situation.
Try this.

With MS ISA server which is probably running on the win2k firewall box 
there is an option called something like authenticate outgoing 
requests  Untick this, It will ask to save settings and restart 
services.  Say yes.  Wait 1 minute.  Try the bsd box again.
You should be able to get out via nat ot via proxy then.

To find the setting start clicking on I think the server object and 
then properties. 

If you cant find it let me know and I will make a step by step.

I have a second freebsd firewall box for all the bsd machines to 
connect through and as a backup for when the windows machine breaks 
down.  You may want to dig out an old relic and so the same.





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


Re: How to stop the cursor of emacs blinking in console?

2004-02-20 Thread Gautam Gopalakrishnan
On Wed, 18 Feb 2004 18:44:39 -0800
loader [EMAIL PROTECTED] wrote:

 On Wed, Feb 18, 2004 at 09:03:27AM -0500, Lowell Gilbert wrote:
  loader [EMAIL PROTECTED] writes:
  
   I use FreeBSD5.2.1-RC2, and emacs21. How can I stop the cursor
   blinking in console?
  
  I thought the default was that it didn't do that on the console...
  
  Check out the blink-* variables; 
  I think that a .emacs setting of 
  (blink-cursor-mode nil) 
  should ensure the disabling of the blinking cursor.
 
 Thank you for your reply. blink-cursor-mode doesn't work in FreeBSD
 console, it only work in X, because emacs draws the cursor in X
 itself. I don't know why it blinks in console.

I don't know if this will help.

/etc/rc.conf:
cursor=blink  # cursor type {normal|blink|destructive} (or NO).

Then
/etc/rc.d/syscons restart

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


Re: Request For some Help on Netgraph Nodes

2004-02-20 Thread Gautam Gopalakrishnan
On Wed, 18 Feb 2004 08:27:04 -0800 (PST)
Arunav Roy [EMAIL PROTECTED] wrote:

 Hello Friends , 
  
   I am Arunav Roy . I have recently started working on
 NETGRAPH  .  Even I am planning to write program for a
 netgraph node through which I could  connect my node
 to the Ether node and read the packets  , capture them
 and  make changes  
 in the packet fields . 

I think you would get a better response if you post to freebsd-hackers@
or freebsd-net@

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


Re: How to stop the cursor of emacs blinking in console?

2004-02-20 Thread loader
On Fri, Feb 20, 2004 at 10:03:53PM +1100, Gautam Gopalakrishnan wrote:
 On Wed, 18 Feb 2004 18:44:39 -0800
 loader [EMAIL PROTECTED] wrote:
 
  On Wed, Feb 18, 2004 at 09:03:27AM -0500, Lowell Gilbert wrote:
   loader [EMAIL PROTECTED] writes:
   
I use FreeBSD5.2.1-RC2, and emacs21. How can I stop the cursor
blinking in console?
   
   I thought the default was that it didn't do that on the console...
   
   Check out the blink-* variables; 
   I think that a .emacs setting of 
   (blink-cursor-mode nil) 
   should ensure the disabling of the blinking cursor.
  
  Thank you for your reply. blink-cursor-mode doesn't work in FreeBSD
  console, it only work in X, because emacs draws the cursor in X
  itself. I don't know why it blinks in console.
 
 I don't know if this will help.
 
 /etc/rc.conf:
 cursor=blink  # cursor type {normal|blink|destructive} (or NO).
 
 Then
 /etc/rc.d/syscons restart
 
Sorry, it doesn't work, but thank you all the same.

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


Re: System hangs when I go from X to console (nvidia)

2004-02-20 Thread Graeme Smith
 I have a similar issue with an MX440SE. From what I've read the
 likely candidate is ACPI (try disabling it with option 2 from the
 FreeBSD boot menu). Works for me. I'm using the nv driver from the
 XFree port, you might need to research further for using the
 nvidia-supplied drivers.


 Wayne

Thanks for the reply Wayne.

Option 2 on my boot menu is enable instead of disable so it looks 
like it's already disabled.  I did however try enabling it, but 
unfortunately it had no effect on the problem.

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


options NSWAPDEV in 5.2R

2004-02-20 Thread h0444lp6
Dear list,

I used

options NSWAPDEV=2

in my kernelconfig of 5.2R, but got unknown option.

In 5.1R it still worked. Is the option gone in 5.2R?

TIA


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


RE: Rotation of ipmon log

2004-02-20 Thread JJB
Ipfs is the wrong prefix for the IPFILTER rc.conf statements.
You also have to define the log in /etc/syslog.conf file

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Piotr Gnyp
Sent: Friday, February 20, 2004 4:40 AM
To: [EMAIL PROTECTED]
Subject: Rotation of ipmon log

Hi,
when i`m trying to rotate log file from ipmon i get these messages:
newsyslog: can't notify daemon, pid 40948: No such process
newsyslog: log /var/log/ipmon.log.0 not compressed because daemon(s)
not
notified

My settings -
rc.conf:
ipmon_enable=YES # Set to YES for ipmon; needs
ipfilter,
too!
ipmon_program=/sbin/ipmon# where the ipfilter monitor program
lives
ipmon_flags=-o S -D /var/log/ipmon.log
ipfs_enable=YES
ipfs_program=/sbin/ipfs
ipfs_flag=-Dsvn

newsyslog.conf:
/var/log/ipmon.log  644  7 *@T00  J
/var/run/ipmon.pid

[10:39] [EMAIL PROTECTED]:/home/toread ps -auwx | grep ipmon
root  290  0,0  0,3  1888 1404  ??  Ss   Sob13 1:59,34
/sbin/ipmon -o S -D /var/log/ipmon.log

What I`m missing? Why newsyslog can`t rotate log?
I`m using FreeBSD 5.2.1-RC2 #18.
___
[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]


[no subject]

2004-02-20 Thread h0444lp6
Dear list

I tried to use mplayer under 5.2R but got

/libexec/ld-elf.so.1: Shared object libintl.so.5 not found.

What do I have to install to get libintl.so.5

TIA


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


KDE

2004-02-20 Thread chaucer
Hi,
Type startx and get message: Virtual height (0) is too small for hardware.  Screen 
found but none have a usable configuration.  
Have tried all the display settings--don't know if monitor is the problem.
Thanks,
Jerry
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mplayer missed libintl.so5

2004-02-20 Thread h0444lp6
SORRY I FORGOT THE SUBJECT LINE

Dear list

I tried to use mplayer under 5.2R but got

/libexec/ld-elf.so.1: Shared object libintl.so.5 not found.

What do I have to install to get libintl.so.5

TIA


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


RE: Rotation of ipmon log

2004-02-20 Thread Piotr Gnyp
On Fri, 20 Feb 2004, JJB [EMAIL PROTECTED] wrote:

 Ipfs is the wrong prefix for the IPFILTER rc.conf statements.

from /etc/defaults/rc.conf:
ipfs_enable=NO# Set to YES to enable saving and restoring
# of state tables at shutdown and boot
ipfs_program=/sbin/ipfs   # where the ipfs program lives
ipfs_flags=   # additional flags for ipfs

 My settings -
 rc.conf:
 ipmon_enable=YES # Set to YES for ipmon; needs  ipfilter, too!
ipmon_program=/sbin/ipmon# where the ipfilter monitor program lives
 ipmon_flags=-o S -D /var/log/ipmon.log
 ipfs_enable=YES
 ipfs_program=/sbin/ipfs
 ipfs_flag=-Dsvn

What is wrong, because i don`t follow.


 You also have to define the log in /etc/syslog.conf file

Ok, i`ll do it, and see the result tommorow.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Custom startup+shutdown scripts

2004-02-20 Thread Dominic Bishop
I am shortly going to try and install a Belkin universal UPS on one of my
FreeBSD machines running 5.2 using the nut utility.

Due to a failing in the Belkin protocol it requires some custom
startup/shutdown scripting to make it work in an unsupervised recovery,

This is shown in point 4 of
http://eu1.networkupstools.org/protocols/belkin-universal/

The shutdown code needs to be run without disks mounted as read/write since
it effectively holds the machine until power comes on or the UPS batteries
die, in the latter case this would cause an unclean shutdown with the disks
fully mounted and system up.

The startup script needs to be run before disks are mounted in read/write
and before filesystem checks for similar reasons.

I've looked through some of the rc scripts, namely rc.shutdown and a few
others but really aren't sure as to where I should make these changes so
they execute at the correct time in the boot/shutdown process. Could anyone
tell me where I should be making these additions?

Regards,

Dominic Bishop

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


Re: mplayer missed libintl.so5

2004-02-20 Thread Ion-Mihai Tetcu
On Fri, 20 Feb 2004 21:28:03 +0800
h0444lp6 [EMAIL PROTECTED] wrote:

 SORRY I FORGOT THE SUBJECT LINE
 
 Dear list
 
 I tried to use mplayer under 5.2R but got
 
 /libexec/ld-elf.so.1: Shared object libintl.so.5 not found.
 
 What do I have to install to get libintl.so.5

portupgrade -rfv 'gettext*'

possibly you could just ln libintl.so.6 to it.

-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: your mail

2004-02-20 Thread Matthew Seaman
On Fri, Feb 20, 2004 at 09:21:07PM +0800, h0444lp6 wrote:
 Dear list
 
 I tried to use mplayer under 5.2R but got
 
 /libexec/ld-elf.so.1: Shared object libintl.so.5 not found.
 
 What do I have to install to get libintl.so.5

libintl.so is part of GNU gettext -- however, the current version of
gettext:

% pkg_info -I gettext\*
gettext-0.13.1  GNU gettext package

installs libintl.so.6:

% pkg_info -L gettext\* | grep libintl.so.
/usr/local/lib/libintl.so.6

What you need to do is install the up-to-date version of gettext (if
you haven't already) and then rebuild all of the ports that link
against libintl.so:

# portupgrade -fr gettext

That may take quite some time, as lots of packages use gettext.

Cheers,

Matthew 

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


pgp0.pgp
Description: PGP signature


e-mail notification

2004-02-20 Thread andrew clarke
Just wondering if anyone knows of a program that will connect to a POP3
mailbox and then send me an e-mail notification when there are new
messages in the mailbox (rather than sending me those messages)?  Thanks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: endless sysquery: no addrs found for root

2004-02-20 Thread John
On Fri, Feb 20, 2004 at 06:35:51PM +1100, Tony Frank wrote:
 Hi,
 
 On Thu, Feb 19, 2004 at 10:25:04PM -0600, John wrote:
  OK. I'm stumped.
 
 Hopefully we can help.

Thanks, Tony.

Yes - forward-only does get rid of the symptom.  I should have
mentioned that.  It also, however, prevents this named instance
from making its own queries, as you mentioned, which was why I was
treating it as a work-around instead of a solution.  I guess that's
OK, but I haven't necessarily gone that route in the past, and I've
never run into this problem before.

I will probably stay with the forward-only scenario, but it does
make me curious.
-- 

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


Re: e-mail notification

2004-02-20 Thread Andrew L. Gould
On Friday 20 February 2004 07:38 am, andrew clarke wrote:
 Just wondering if anyone knows of a program that will connect to a POP3
 mailbox and then send me an e-mail notification when there are new
 messages in the mailbox (rather than sending me those messages)?  Thanks.

According to 'man fetchmail', the '-c' option will check for email without 
fetching or deleting emails on the server.  However:

1. It turns of daemon mode;
2. It doesn't play well with queries to multiple  sites, and doesn't work 
with ETRN or ODMR.; and
3. It will tell you if there's mail at the server; but can't tell the 
difference between new and read mail.

Andrew Gould

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


USB keyboard rollover problem

2004-02-20 Thread Brian Candler
Since my old Vaio laptop has a broken key, I decided to get a USB keyboard
for it. I have been using a USB mouse successfully for a while.

However I have a problem with keyboard rollover, meaning I get duplicate
characters when typing quickly. Example:

  Depress a  -- a
  Depress b  -- b
  Release a
  Depress c  -- cb

So typing questions quickly tends to say questioins. I am having to type
this very gingerly and still doing lots of backspaces!

My question is: is this something I can tweak in FreeBSD? (I can't see
anything under kbdcontrol). Is it a bug in FreeBSD? Or have I just bought a
useless keyboard?

System information:
- Sony Vaio PCG-C1F
- FreeBSD 4.8-RELEASE
- Packard Bell PB-KB400 USB Night glow keyboard (I didn't want the glow
  but it was the only small USB keyboard in stock locally :-)

Feb 20 13:38:14 vaio /kernel: ukbd0:   USB Multimedia Keyboard , rev 1.10/0.01, addr 
2, iclass 3/1
Feb 20 13:38:14 vaio /kernel: kbd1 at ukbd0
Feb 20 13:38:14 vaio /kernel: uhid0:   USB Multimedia Keyboard , rev 1.10/0.01, addr 
2, iclass 3/1

- After inserting the keyboard, I enable it using

#!/bin/sh
kbdcontrol -k /dev/kbd1 /dev/console
kbdcontrol -l /usr/share/syscons/keymaps/uk.cp850.kbd

(it would be nice if both keyboards would work together, as my external
mouse and internal pointing device do, but I can live with that)

Any helpl much apprerciataed, plelase copy me direcetlyl on any repely!

Regarads,

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


Re: 5.1-RELEASE - UDMA ICRC error - falling back to PIO mode

2004-02-20 Thread Lowell Gilbert
Rajamani, Rajarajan (Rajarajan) [EMAIL PROTECTED] writes:

 I am running 5.1-RELEASE on a DELL GX150 with 512MB RAM on which I installed a new 
 WD-1600JB IDE along
 with the promise UDMA100 controller which came along with the drive.  The drive can 
 be accessed
 but the access speed is very slow and I noticed that dmesg shows the following
   ad4: UDMA ICRC error cmd=read fsbn 0 of 0-3 retrying 
 This repeats and is followed by
   ad4: UDMA ICRC error cmd=read fsbn 0 of 0-3 falling back to PIO mode
 
 I have changed the PCI slot on which the card is seated, changed cables and even 
 hooked 
 the drive directly to the mother board but the problem persists. 
 The disc+controller however works ok on a wintel machine. Could it be some type of 
 hard disc error ?

Possible, but not terribly likely.  [Unless it's actually running in
PIO mode on Windows also.]

Does the same occur on FreeBSD 5.2 or 4.9?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: endless sysquery: no addrs found for root

2004-02-20 Thread Tony Frank
Hi,

On Fri, Feb 20, 2004 at 07:46:34AM -0600, John wrote:
 On Fri, Feb 20, 2004 at 06:35:51PM +1100, Tony Frank wrote:
  On Thu, Feb 19, 2004 at 10:25:04PM -0600, John wrote:
   OK. I'm stumped.
  
  Hopefully we can help.
 Yes - forward-only does get rid of the symptom.  I should have
 mentioned that.  It also, however, prevents this named instance
 from making its own queries, as you mentioned, which was why I was
 treating it as a work-around instead of a solution.  I guess that's
 OK, but I haven't necessarily gone that route in the past, and I've
 never run into this problem before.
 
 I will probably stay with the forward-only scenario, but it does
 make me curious.

One thought - does your query source IP resolve both forwards  reverse?

It really sounds like a bind setup/configuration issue so possibly the
isc lists/archives may have something?

http://www.isc.org/index.pl?/sw/bind/

Regards,

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


Re: problem starting X with normal user

2004-02-20 Thread Lowell Gilbert
John [EMAIL PROTECTED] writes:

 thank you very much..
 
 yes warpper-1.0.3 is installed...
 
 i don't know what else could be wrong... 
 
 as for the siliconmotion issue, 
 
 i found this :
 -bash-2.05b$ tail -f /var/log/XFree86.0.log
 (II) Silicon Motion SMI_GEReset called from
 smi_accel.c line 263
 (II) Silicon Motion SMI_GEReset called from
 smi_accel.c line 263
 (II) Silicon Motion SMI_GEReset called from
 smi_accel.c line 263

Hmm.  My copies of those files don't quite match up.
Perhaps you should try the latest ports?  
You did, after all, have some sort of problems installing the ports,
so you may have some mismatched pieces of the X system.

 A search on google lead me to 
 
 http://mail-index.netbsd.org/netbsd-bugs/2003/03/28/0004.html
 
 the guy provides a fix, but i don't know how to apply it

You apply it with patch(1), but I think it's for a different problem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Rotation of ipmon log

2004-02-20 Thread JJB
I use ipfilter in release 4.9 and ipfs is not the prefix I use in
the rc.conf file for the ipfilter enable statements.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Piotr Gnyp
Sent: Friday, February 20, 2004 8:33 AM
To: JJB
Cc: [EMAIL PROTECTED]
Subject: RE: Rotation of ipmon log

On Fri, 20 Feb 2004, JJB [EMAIL PROTECTED] wrote:

 Ipfs is the wrong prefix for the IPFILTER rc.conf statements.

from /etc/defaults/rc.conf:
ipfs_enable=NO# Set to YES to enable saving and
restoring
# of state tables at shutdown and
boot
ipfs_program=/sbin/ipfs   # where the ipfs program lives
ipfs_flags=   # additional flags for ipfs

 My settings -
 rc.conf:
 ipmon_enable=YES # Set to YES for ipmon; needs
ipfilter, too!
ipmon_program=/sbin/ipmon# where the ipfilter monitor program
lives
 ipmon_flags=-o S -D /var/log/ipmon.log
 ipfs_enable=YES
 ipfs_program=/sbin/ipfs
 ipfs_flag=-Dsvn

What is wrong, because i don`t follow.


 You also have to define the log in /etc/syslog.conf file

Ok, i`ll do it, and see the result tommorow.
___
[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]


Embarrassing typo [was: Re: New]

2004-02-20 Thread Benjamin Walkenhorst
On Thu, 19 Feb 2004 16:19:25 +0100
Benjamin Walkenhorst [EMAIL PROTECTED] wrote:

 FreeBSD is very similar to windows, in many ways, from a user's point
 of view. 

I'm sorry, FreeBSD is in not quite similar to windows. What I meant to
say was: very similar to Linux, from a user's point of view

Kind regards,

Benjamin

-- 
If you want to know what god thinks of money, just look at the people
he gave it to.
-- Dorothy Parker
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mkisofs vs large files

2004-02-20 Thread Chris Meyers
Replying to myself here in the hopes that someone who can help didn't
see this the first time I posted. Any help to the below problem would be
appreciated.

Thanks,
Chris

On Wed, 2004-02-18 at 10:47, Chris Meyers wrote:
 I am running 5.1-RELEASE-p2 with dvd+rw-tools version 5.17.4.8.6 and
 mkisofs version 2.0.3_1 and I'm having some problems with mkisofs and
 files larger than 2GB. Basically what I am trying to do is backup some
 database dumps to a dvd. Everything was working fine until the dumps got
 larger than 2 Gigs. Now I get this message when I try to use growisofs:
 
 % growisofs -dry-run -Z /dev/cd0 -R -J bkupdir
 Executing 'mkisofs -R -J feb8 | builtin_dd of=/dev/pass0 obs=32k seek=0'
 mkisofs: Value too large to be stored in data type. File
 bkupdir/large-file-20040208.sql.gz is too large - ignoring
 Total translation table size: 0
 Total rockridge attributes bytes: 169
 Total directory bytes: 0
 Path table size(bytes): 10
 
 I have looked around and found some articles and emails that say the
 mkisofs has a 2 gig limit in some circumstances, but I have also seen
 articles and emails that say this shouldn't be the case on FreeBSD or
 when dvd+rw-tools is installed.
 
 The man page for mkisofs gives a -split-output option which I tried in
 hopes that it would split the file as necessary, but I got the same
 error.
 
 Anyone have any clues or advice?
 
 Thanks,
 Chris


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


Re: Embarrassing typo [was: Re: New]

2004-02-20 Thread Aaron Peterson
 On Thu, 19 Feb 2004 16:19:25 +0100
 Benjamin Walkenhorst [EMAIL PROTECTED] wrote:

 FreeBSD is very similar to windows, in many ways, from a user's point
 of view.

 I'm sorry, FreeBSD is in not quite similar to windows. What I meant to
 say was: very similar to Linux, from a user's point of view

 Kind regards,

 Benjamin

Hah, that is a very funny mistake. :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: options NSWAPDEV in 5.2R

2004-02-20 Thread Lowell Gilbert
h0444lp6 [EMAIL PROTECTED] writes:

 I used
 
 options NSWAPDEV=2
 
 in my kernelconfig of 5.2R, but got unknown option.
 
 In 5.1R it still worked. Is the option gone in 5.2R?

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


4.9-RELEASE + XP Pro problem

2004-02-20 Thread Joel Gudknecht
Hello All,

I'm having a hell of a time getting XP Pro and 4.9 on the same drive.
I've tried various ways to get them to co-exist to no avail.
Here's what I'm trying to accomplish;

30 GB HD total

First 24 GB = XP

Last 6 GB = 4.9

Installed XP first, then 4.9, said NONE at the boot menu during install.

Went to reboot and bsd had taken over either the boot sector or the mbr.

Tried xp recovery console, fixmbr, fixboot, nothing worked, bsd continues
to boot up by default.

What I want is to have the nt boot loader give the choice to boot into
bsd by using the boot1 - bootsect.bsd method in boot.ini.

What I'm I doing wrong here?

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


Re: USB keyboard rollover problem

2004-02-20 Thread Brian Candler
On Fri, Feb 20, 2004 at 01:59:03PM +, Brian Candler wrote:
 However I have a problem with keyboard rollover, meaning I get duplicate
 characters when typing quickly. Example:

Additional information: if I reboot my laptop into Windows 98 (forgot I had
that partition!), the keyboard works properly with no rollover problem. So
it looks suspiciously like FreeBSD is not initialising it properly or
communicating correctly.

W98 installed three default drivers (I think USB.INF, USBHID.INF and
something else) when I first inserted it. There was no special driver disk
which came with the keyboard. So I think it must be doing the default
thing for a USB keyboard.

Regards,

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


Re: System hangs when I go from X to console (nvidia)

2004-02-20 Thread Graeme Smith
On Thursday 19 Feb 2004 21:18, Karel J. Bosschaart wrote:
 I had a similar problem with an nvidia GeForce4 (Ti4200). Switching
 to console would make it hang while the letters on the console
 appeared very faint. Searching on the linux forum of the nvidia
 site I found people having the same problem as well as a
 workaround: put 'Option IgnoreDisplayDevices TV' in the
 'Screen' section of XF86Config, disabling the TV-out. 

I had read that too, except that it should go in the device section.  
However, I tried in screen section but it didn't improve matters. 
XFree86.0.log shows that the option is being used though.

a working console is much more important for me.)

I agree that a working console is far more useful than TV out.

 Hmm, if you have another machine and a network you could try to do
 a remote login and see if that works. If you succeed to login (ie.
 the machine is still alive but displays nothing on the screen), you
 might be able to bring it back killing X.

A very good point (can't believe I didn't think of it).  I opened an 
SSH session on my SGI and ran 'top'. As soon as it switched to 
console 'top', and the SSH session, froze.

 Not sure if this helps but I wish you good luck.

 Karel.

Thanks for the help Karel, it's much appreciated.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


First time installation - 5.2

2004-02-20 Thread Stephen Liu
Hi all folks,

This is my first time installing UNIX - FreeBSD 5.2

Harward
- Graphic card - Creative Graphic Blaster RiVA-TNT
- One IDE ATA-hard disc - connected to ATA controller
(Entire disc for FreeBSD)
- 2 ethernet cards, Realtek
- USB mouse - 3 buttons, wheel
- CDRom - secondary slave
- CDWriter - secondary master
- 101 keyboard
Installing media - CD1

Installation went through without complaint with auto-partitioning.  
Coming to X configuration, no USB mouse driver was available for 
selection compelled to select PS/2 mouse instead.  It did ask for 
selecting video card driver and rebooted automatically.  X window 
started but I have no idea which mode it was.  Mouse did not work.  The 
screen pop-up with a mouse pad/key pad and a small XFConfig diagram.  I 
have no problem to navigate the mouse with key pad, highlight the item 
but could not select it.  'Enter' key did not function.  Finally I 
pressed a hard-reboot to restart the PC.  PC restarted going straight to 
text mode with login popup.  I entered 'root' and then 'startx'.  This 
time  X window could not start.

Kindly advise how to fix it.

TIA.

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


Re: 4.9-RELEASE + XP Pro problem

2004-02-20 Thread Jerry McAllister
 
 Hello All,
 
 I'm having a hell of a time getting XP Pro and 4.9 on the same drive.
 I've tried various ways to get them to co-exist to no avail.
 Here's what I'm trying to accomplish;
 
 30 GB HD total
 
 First 24 GB = XP
 
 Last 6 GB = 4.9
 
 Installed XP first, then 4.9, said NONE at the boot menu during install.

There is your problem right there.   
You should have selected the full MBR.
Then everything would have fallen in place with none of that 
other fixboot stuff at all.

Just make sure your XP is fully installed first and boots OK
Then install FreeBSD and select the MBR (not 'none' and not 'standard')

After that, when you boot, it will come up and prompt something like:
  F1 = Dos  
  F2 = FreeBSD

Hit the appropriate function key and it boots.  Skip pressing a key
and it boots to the system it was most previously in.

If you have more than just XP and FreeBSD, such as the machine I am
currently typing on has a Dell Maintenance slice, then the function
key selection will look a little different, but essentially the same.
If your XP is using an NTFS file system the prompt might be ???  as in
  F1 = ???  (Dell Maintenance)
  F2 = ???  (XP NTFS slice)
  F3 = FreeBSD  (Obviously, FreeBSD)

That can be a little annoying, but can be lived with.  If you
can't live with it, once you get things all done, you can install
a more elaborate boot loader that will allow you to fix up the
labels, such as grub.

This all works just fine if you just do the right thing and don't try 
to outguess it.

 Went to reboot and bsd had taken over either the boot sector or the mbr.
 
 Tried xp recovery console, fixmbr, fixboot, nothing worked, bsd continues
 to boot up by default.

Yes, because you did not install the MBR at install time.  So, the none
effectively only knows how to boot FreeBSD.

jerry

 
 What I want is to have the nt boot loader give the choice to boot into
 bsd by using the boot1 - bootsect.bsd method in boot.ini.



 
 What I'm I doing wrong here?
 
 Thanks,
 Joel
 ___
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.9-RELEASE + XP Pro problem

2004-02-20 Thread gaf
Joel Gudknecht wrote:

Hello All,

I'm having a hell of a time getting XP Pro and 4.9 on the same drive.
I've tried various ways to get them to co-exist to no avail.
Here's what I'm trying to accomplish;
30 GB HD total

First 24 GB = XP

Last 6 GB = 4.9

Installed XP first, then 4.9, said NONE at the boot menu during install.

Went to reboot and bsd had taken over either the boot sector or the mbr.

Tried xp recovery console, fixmbr, fixboot, nothing worked, bsd continues
to boot up by default.
What I want is to have the nt boot loader give the choice to boot into
bsd by using the boot1 - bootsect.bsd method in boot.ini.
What I'm I doing wrong here?

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

You have to mark BootMgr and not none. I have done the same installation 
and it worked perfect
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


No Email or FTP

2004-02-20 Thread Grant Peel
Hi all,

In FreeBSD 4.4 and 4.7, is there a way to shut off email and or ftp
privledges? (Other than using quota that is). Using sendmail.

-Grant


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


Re: power point

2004-02-20 Thread Jerry McAllister
 
 hi,
 is there a way to convert ms powerpoint presentation into jpegs?
 or to view it under Freebsd?

Install Openoffice.  It has a presenter that can open Powerpoint
files to show them or incorporate them in to presentations.

You might have to tinker around to get things like you are used
to, but it should work.

You might prefer installing Openoffice as a precompiled package
because it is very large and takes a long time and a lot of 
resources to build from ports.  Go to:
http://projects.imp.ch/openoffice/
They have a package for FreeBSD
download it to /usr/local  and run pkg-add on the .tgz file.

Then run /usr/local/OpenOffice.org1.1.0/program/soffice
Unfortunately, the instructions incorrectly says to run openoffice
instead of soffice to get the setup going.

Also, the install allows you to replace the installation path.
I suggest you leave it as /usr/local, but change that OpenOffice.org1.1.0
part to something a little more friendly.

The essential callable binaries will be put in /usr/local/bin so 
you will need to have that in your path and do a rehash.

Also, there are two files - one is soffice.cfg and I don't remember
the other at the moment (and am not near my system with openoffice)
that it will complain it can't find when you try to run something.
Just go to the directory they are expected to be in .../openoffice/conf
I think, and do  touch soffice.cfg   and the same to the other one.
An empty file is OK.   You may add config things later if you discover
the need.

Also, don't wory about when it complains some Java stuff isn't present
so certain features won't be available.  I haven't found anything
that won't work because of it.   Probably something obsure or cutsie.

Have fun,

jerry

 Thank you
 Martin
 
 ___
 [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]


Removing system user

2004-02-20 Thread meimi
Hello all,
  I have read some document about server hardening. It suggests me removing
the following users:
operator, games, news, uucp
and following groups:
operator, staff
  I can guess that games is used for playing and news is used for reading
news in news group. How about the other? Their descriptions in passwd are
not clear.
  Am I safe to remove them in normal server environment (web, mail, ftp,
DNS, SSH)?

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


Re: USB keyboard rollover problem

2004-02-20 Thread Brian Candler
On Fri, Feb 20, 2004 at 02:49:43PM +, Brian Candler wrote:
 Additional information: if I reboot my laptop into Windows 98 (forgot I had
 that partition!), the keyboard works properly with no rollover problem. So
 it looks suspiciously like FreeBSD is not initialising it properly or
 communicating correctly.

Here's what I get if I compile in and turn on USB keyboard debugging in
the kernel, and type asd as
a down, s down, a up, d down: this generates asds on screen.

Feb 20 15:21:21 vaio /kernel: 0x428 (1064) released
Feb 20 15:21:21 vaio /kernel: 
Feb 20 15:21:26 vaio /kernel: 0x4 (4) pressed  a
Feb 20 15:21:26 vaio /kernel: 4 
Feb 20 15:21:26 vaio /kernel: 0x16 (22) presseds
Feb 20 15:21:26 vaio /kernel: 4 22 
Feb 20 15:21:26 vaio /kernel: 0x404 (1028) released
Feb 20 15:21:26 vaio /kernel: 0x416 (1046) released
Feb 20 15:21:26 vaio /kernel: 22 
Feb 20 15:21:26 vaio /kernel: 0x7 (7) pressed  d
Feb 20 15:21:26 vaio /kernel: 0x16 (22) presseds
Feb 20 15:21:26 vaio /kernel: 7 22 
Feb 20 15:21:26 vaio /kernel: 0x416 (1046) released
Feb 20 15:21:26 vaio /kernel: 7 
Feb 20 15:21:27 vaio /kernel: 0x407 (1031) released
Feb 20 15:21:27 vaio /kernel: 

I replaced ukbd.c with the latest (1.46) from cvsweb and rebuilt; no
difference. I also set the debug level to 10 instead of 1, and all I got
were a stream of extra messages of the form

Feb 20 15:48:13 vaio /kernel: ukbd_intr: status=0

There doesn't seem to be a USB mailing list, so if nobody has any better
suggestions I suppose I'd better file a bug report...

Cheers,

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


problem with SCSI disk

2004-02-20 Thread RJ45

Hello FreeBSD 5.2/alpha

I have 3 scsi disk, one of the disks I don;t know why is not working.
it is not seen by sysinstall and when I try to do 

sauron# disklabel -e da2
disklabel: /dev/da2: no valid label found

GEOM: create disk da2 dp=0xfccfe068
da2 at isp0 bus 0 target 2 lun 0
da2: MAXTOR ATLAS10K4_36WLS DFL0 Fixed Direct Access SCSI-3 device 
da2: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
Enabled
da2: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)


the disk isseen by the kernel.

how come I am not able to label it ?

any hints?
thank you

Rick



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


tac for freebsd !! ?

2004-02-20 Thread sweetleaf
I am trying to install some window fonts per... 
http://www.paulandlesley.org/linux/xfree4_tt.html

The problem is that tac is not installed and i cant find it in the 
packages or ports. Is tac even available for freebsd 5.x?

# tail +2 fonts.scale | tac  fonts.dir

tac: Command not found.

I am running 5.1/i386  currently if that matters.

Thanks and have a good day.



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


freebsd not boot

2004-02-20 Thread Pat Saunders
Hi,
I am trying to run freebsd 4.9 on a PC / IDE architecture. 
I have one IDE drive and two 3COM 3c90 Network Cards and CD-ROM
The PC will be a dedicated FreeBSD box.
I have installed freebsd v4.9 , using the whole 4G disk which is bootable
and installed
'Standard MBR - no boot manager' and disabled all the drivers (SCSI) that I
do not use.
The problem is when I reboot nothing happens apart from another hard reset.
The PC then does a Hard reset and the same recursive process occurs again.
No, useful messages appear at all !!! 
I have created bootable floppies which I can boot from but I am not sure
what to perform
next , apart from re-install with different options which result in the same
depressing results.
I am not sure what to do regarding the 'Fixit' option as most shell commands
do not
work.
Any help would be appreciated.
Pat

Patrick Saunders
Software Support Engineer

Vivista Limited - www.vivista.co.uk
Email: [EMAIL PROTECTED]

Work:   +44 (0) 7002 91
DDI:+44 (0) 01225894028
Mobile: +44 (0) your number
Fax:+44 (0) 7002 92




**
The information contained in this e-mail message is intended
only for the individuals named above.  If you are not the 
intended recipient, you should be aware that any 
dissemination, distribution, forwarding or other duplication 
of this communication is strictly prohibited.  The views 
expressed in this e-mail are those of the individual author 
and not necessarily those of Vivista Limited.  
Prior to taking any action based upon this e-mail message 
you should seek appropriate confirmation of its authenticity.
If you have received this e-mail in error, please immediately 
notify the sender by using the e-mail reply facility.
**


_

This message has been checked for all known viruses on behalf of Vivista by 
MessageLabs. 

http://www.messagelabs.com or Email: [EMAIL PROTECTED]

Vivista formerly Securicor Information Systems for further information 
http://www.vivista.co.uk  

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


Re: Embarrassing typo [was: Re: New]

2004-02-20 Thread Kevin D. Kinsey, DaleCo, S.P.
Benjamin Walkenhorst wrote:

On Thu, 19 Feb 2004 16:19:25 +0100
Benjamin Walkenhorst [EMAIL PROTECTED] wrote:
 

FreeBSD is very similar to windows, in many ways, from a user's point
of view. 
   

I'm sorry, FreeBSD is in not quite similar to windows. What I meant to
say was: very similar to Linux, from a user's point of view
Kind regards,

Benjamin

 

I actually knew exactly what you intended, and
read it that way.
It does make for interesting analysis as a type
of Freudian slip, though
;-)

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


Re: Embarrassing typo [was: Re: New]

2004-02-20 Thread Aaron Peterson
 It does make for interesting analysis as a type
 of Freudian slip, though

i was able to resist the temptation myself, but i was just waiting for
somebody here to say it :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


quick mozilla question

2004-02-20 Thread jr315
running freeBSD 5.2 release.
installed mozilla from packages. When I try to run I
get the following message:

sh# mozilla
/libexec/ld-elf.so.1: Shared object libintl.so.5 not
found
/libexec/ld-elf.so.1: Shared object libintl.so.5 not
found

any ideas

__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quick mozilla question

2004-02-20 Thread Lowell Gilbert
jr315 [EMAIL PROTECTED] writes:

 running freeBSD 5.2 release.
 installed mozilla from packages. When I try to run I
 get the following message:
 
 sh# mozilla
 /libexec/ld-elf.so.1: Shared object libintl.so.5 not
 found
 /libexec/ld-elf.so.1: Shared object libintl.so.5 not
 found
 
 any ideas

That's from gettext.  The mozilla package was linked against a gettext
version that is older than the one you have installed.  Perhaps you
can find a newer mozilla package, but if not you're probably better
off building mozilla from ports.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quick mozilla question

2004-02-20 Thread Chris Meyers
On Fri, 2004-02-20 at 10:29, jr315 wrote:
 running freeBSD 5.2 release.
 installed mozilla from packages. When I try to run I
 get the following message:
 
 sh# mozilla
 /libexec/ld-elf.so.1: Shared object libintl.so.5 not
 found
 /libexec/ld-elf.so.1: Shared object libintl.so.5 not
 found
 
 any ideas

Someone here had the exact same error the other day. The problem was
gettext had been updated, but the ports/packages that depended on it
(pretty much everything) hadn't. So gettext updated libintl.so.5 to
libintl.so.6 so mozilla and gvim and evolution and almost everything
complained with the same error you are seeing.

I'm not sure if this is your problem. Since you installed mozilla from
packages rather than ports it may be. The package may have been built
with the older version of gettext. A portupgrade mozilla may solve the
problem.

Chris


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


Re: No Email or FTP

2004-02-20 Thread Matthew Seaman
On Fri, Feb 20, 2004 at 10:20:26AM -0500, Grant Peel wrote:

 In FreeBSD 4.4 and 4.7, is there a way to shut off email and or ftp
 privledges? (Other than using quota that is). Using sendmail.

Yes -- those can both be done.

To stop a user FTP'ing into the machine, add their username to the
/etc/ftpusers file.  Confusingly that's the list of people not
permitted to be ftp users...  See ftpusers(5) for some more fine
grained controls you can have via that file.  Note that this stops the
users accessing their accounts on the FreeBSD box via any local FTP
server -- it doesn't stop them from running an FTP client and
downloading stuff from remote sites.  If it's the latter that you
want, then that's much harder to achieve.  You can create a unix group
for all of the people permitted to run ftp clients (ftp, fetch, wget,
any web browsers, etc.), set the group ownership of those binaries to
the ftp-allowed group and change the permissions to mode 0750.  Even
so, if the user can compile or otherwise obtain their own copy of one
of those clients there's not a lot you can do to stop them using it.

You can set up ipfw(8) or some other packet filter to prevent anyone
making outgoing ftp connections to arbitrary sites -- you could also
provide an FTP proxy service on your firewall (use ipfw rules to force
everyone to use the proxy, or implement some form of transparent
proxying) which requires authentication from the user.  Squid can do
that sort of thing, as can the fw-tk stuff (although you'll have to
write some scripts to wrap around the components provided via fw-tk).
Both available in ports.

As for e-mail: to prevent a user sending or receiving e-mail, you need
to use the access DB feature.  Look at /usr/share/sendmail/cf/README,
particularly the sections under 'blacklist_recipients' and the stuff
under the heading Finer control by using tags for the LHS of the
access map.  It's also possible to force your users to authenticate
before they can submit a message to sendmail(8), but that's not
generally done as it's too intrusive.  It also entails recompiling
sendmail with SASL support and quite a bit of setup work.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


openssl-0.9.7c failing - make: don't know how to make i_ofb64.c.

2004-02-20 Thread Noah
FreeBSD 4.8-STABLE

apologies in advance to address this issue on a general freeBSD mail list

any clues why openssl-0.9.7c is failing to build from /usr/ports


here are the build errors:


--- snip ---

cc: -rpath: linker input file unused since linking not done
cc: /usr/local/lib: linker input file unused since linking not done
cc -I.. -I../.. -I../../include -fPIC -DOPENSSL_THREADS -pthread -D_REENTRANT -D
_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DTERMIOS -DL_ENDIAN -
O -pipe -march=pentiumpro -Wl,-rpath,/usr/local/lib -Wall -DSHA1_ASM -DMD5_ASM -
DRMD160_ASM -c rc5ofb64.c
cc: -rpath: linker input file unused since linking not done
cc: /usr/local/lib: linker input file unused since linking not done
ar  r ../../libcrypto.a rc5_skey.o rc5_ecb.o asm/r586-elf.o rc5cfb64.o rc5ofb64.
o
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
making all in crypto/idea...
cc -I.. -I../.. -I../../include -fPIC -DOPENSSL_THREADS -pthread -D_REENTRANT -D
_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DTERMIOS -DL_ENDIAN -
O -pipe -march=pentiumpro -Wl,-rpath,/usr/local/lib -Wall -DSHA1_ASM -DMD5_ASM -
DRMD160_ASM -c i_cbc.c
cc: -rpath: linker input file unused since linking not done
cc: /usr/local/lib: linker input file unused since linking not done
cc -I.. -I../.. -I../../include -fPIC -DOPENSSL_THREADS -pthread -D_REENTRANT -D
_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DTERMIOS -DL_ENDIAN -
O -pipe -march=pentiumpro -Wl,-rpath,/usr/local/lib -Wall -DSHA1_ASM -DMD5_ASM -
DRMD160_ASM -c i_cfb64.c
cc: -rpath: linker input file unused since linking not done
cc: /usr/local/lib: linker input file unused since linking not done
make: don't know how to make i_ofb64.c. Stop
*** Error code 1

Stop in /usr/ports/security/openssl/work/openssl-0.9.7c/crypto.
*** Error code 1

Stop in /usr/ports/security/openssl/work/openssl-0.9.7c.
*** Error code 1

Stop in /usr/ports/security/openssl/work/openssl-0.9.7c.
*** Error code 1

Stop in /usr/ports/security/openssl.

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


Re: Removing system user

2004-02-20 Thread Matthew Seaman
On Fri, Feb 20, 2004 at 11:51:03PM +0800, meimi wrote:

   I have read some document about server hardening. It suggests me removing
 the following users:
 operator, games, news, uucp
 and following groups:
 operator, staff
   I can guess that games is used for playing and news is used for reading
 news in news group. How about the other? Their descriptions in passwd are
 not clear.
   Am I safe to remove them in normal server environment (web, mail, ftp,
 DNS, SSH)?

You can certainly remove those users and groups, but it's unlikely to
gain you very much and quite likely to cause you some problems.  It
will certainly make it harder for you to do routine updates on your
system, possibly including some security patches.

So long as you don't alter the entries in the master.passwd and group
files for those entities, you're pretty safe.  Those IDs exist mostly
to be the owners of various files: note that the shell has been set to
/sbin/nologin and the password for those accounts has been locked and
that they have no special privileges despite the low UID and GID
numbers -- as such they are rather less dangerous than the account you
use to log in via.

All in all, I wouldn't bother touching those accounts.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: 4.9-RELEASE + XP Pro problem

2004-02-20 Thread Jud

On Fri, 20 Feb 2004 10:13:35 -0500 (EST), Jerry McAllister
[EMAIL PROTECTED] said:
  
  Hello All,
  
  I'm having a hell of a time getting XP Pro and 4.9 on the same drive.
  I've tried various ways to get them to co-exist to no avail.
  Here's what I'm trying to accomplish;
  
  30 GB HD total
  
  First 24 GB = XP
  
  Last 6 GB = 4.9
  
  Installed XP first, then 4.9, said NONE at the boot menu during install.
 
 There is your problem right there.   
 You should have selected the full MBR.
 Then everything would have fallen in place with none of that 
 other fixboot stuff at all.
 
 Just make sure your XP is fully installed first and boots OK
 Then install FreeBSD and select the MBR (not 'none' and not 'standard')
[snip]

Actually, you should choose to install a standard MBR and *not* to use
the FreeBSD boot loader in order to accomplish what you describe below.

  What I want is to have the nt boot loader give the choice to boot into
  bsd by using the boot1 - bootsect.bsd method in boot.ini.

Read the following FAQ carefully.  If you try it and are unsuccessful,
come on back here and let us know what happened.

URL:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER

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


log files

2004-02-20 Thread Derek Burns / Bend-Pak
How can I find the path to my log files? I am on a windows xp client and I need to 
find the path to the log files on my freebsd 4.7 web server. We are both on the same 
network.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.9-RELEASE + XP Pro problem

2004-02-20 Thread HOLLOW, CHRISTOPHER
Just make sure your XP is fully installed first and boots OK
Then install FreeBSD and select the MBR (not 'none' and not 'standard')

 [snip]

 Actually, you should choose to install a standard MBR and *not* to use
 the FreeBSD boot loader in order to accomplish what you describe
Why not choose to use the Boot Loader?  Won't it then load the F1/F2 
boot menu allowing the user to choose which OS they want to boot? 
That's the way I have my 4.8/W2K box config'd.

HTH,

Christopher Hollow

Jud wrote:
On Fri, 20 Feb 2004 10:13:35 -0500 (EST), Jerry McAllister
[EMAIL PROTECTED] said:
Hello All,

I'm having a hell of a time getting XP Pro and 4.9 on the same drive.
I've tried various ways to get them to co-exist to no avail.
Here's what I'm trying to accomplish;
30 GB HD total

First 24 GB = XP

Last 6 GB = 4.9

Installed XP first, then 4.9, said NONE at the boot menu during install.
There is your problem right there.   
You should have selected the full MBR.
Then everything would have fallen in place with none of that 
other fixboot stuff at all.

Just make sure your XP is fully installed first and boots OK
Then install FreeBSD and select the MBR (not 'none' and not 'standard')
[snip]

Actually, you should choose to install a standard MBR and *not* to use
the FreeBSD boot loader in order to accomplish what you describe below.

What I want is to have the nt boot loader give the choice to boot into
bsd by using the boot1 - bootsect.bsd method in boot.ini.


Read the following FAQ carefully.  If you try it and are unsuccessful,
come on back here and let us know what happened.
URL:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER
Jud
___
[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: log files

2004-02-20 Thread Jez Hancock
On Fri, Feb 20, 2004 at 09:29:08AM -0800, Derek Burns / Bend-Pak wrote:
 How can I find the path to my log files? I am on a windows xp client
 and I need to find the path to the log files on my freebsd 4.7 web
 server. We are both on the same network.

The logfile path for apache is configured in the httpd.conf -
/usr/local/etc/apache/httpd.conf by default.  You could check there.

The default httpd-access|error logfiles are placed in
/var/log/httpd-access|error.log for apache, although if you're running a
vhost your custom logfile might be placed somewhere else.

In short - ask the admin of the httpd server.

:P

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SOLVED: Storigen ES Reboots and LCD types

2004-02-20 Thread Joe Lewis
Found the problem with booting the Storigen 1U servers :

They are based on the Tyan Thunder S2510 (Serverworks III) motherboards, 
and they have DSDT tables that are not initialized properly.  Adding the 
following line to the /boot/loader.conf file fixed it :

  acpi_dsdt_load=YES

There is also a way to reset this in the hints file (a dsdt variable), 
but I have not done this.

And, with the LCD questions, one of the servers had a refurbished LCD, 
that still had the original manufacturer's name and model number 
(Phew!).  It is a Matrix Orbital LK162 (R200).  Does anyone know how to 
identify and control the stupid card in between the LCD and the 
motherboard?  I want to display data to that LCD, but the controller is 
not allowing me to do so.

Joe

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


Re: log files

2004-02-20 Thread Kevin D. Kinsey, DaleCo, S.P.
Derek Burns / Bend-Pak wrote:

How can I find the path to my log files? I am on a windows xp client and I need to 
find the path to the log files on my freebsd 4.7 web server. We are both on the same 
network.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


 

You indeed are on a Windows
client; please wrap text at 80
characters for those on text-only
MUA's.  ;-)
Most logs are in /var/log.  Some
configurations of Apache (you
are running Apache?) store logs
in other places --- you can check
your httpd.conf file to see where.
You have SSH access, I presume?
(Seems like you asked about
this recently.)
Log in via SSH, and open your files
in your editor of choice.  For example:
$ee /var/log/httpd-error.log

ee could be pico, nano, vi, vim,
whatever...
HTH,

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


flash plugin BSD vs linux

2004-02-20 Thread Osmany Guirola Cruz
Hi people
 I have a little problem whith the flash plugin on my BSD box. I installed the flash 
plugin port whithout problem but these not work , it showme a black screen in the 
place of the plugin and  no picture no animation no nothing :-(. i try mozilla and 
epiphany as browsers. i installed the linux-mozillafirebird port and the linux 
flash-plugin port and.. IT WORKS whitout problem .. WHY? HOW CAN I SOLVE THESE 
PROBLEM?
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot loop in FreeBSD 5.2-RELEASE after install

2004-02-20 Thread Mike Newell
On Fri, 20 Feb 2004, Tony Frank wrote:

tfrank I saw the crash/assert type scenario if the boot blocks are not installed
tfrank properly.
tfrank Ie the MBR is updated with the bootmgr (F1 .. bit) but the 2nd/3rd stages
tfrank were corrupted somehow.
tfrank (In my case I accidentally overwrote the blocks with some experiementation)
tfrank You can reinstall boot blocks using bsdlabel (or disklabel on 4.9)
tfrank If you can boot from floppy/CD, get into fixit mode.
tfrank Then run:
tfrank bsdlabel -B da0s1 (assuming da0 is the disk you are trying to boot from)

I had tried re-writing the MBR in a number of ways.  This one didn't
succeed either...  Sigh...

It's clear I'm getting to the /boot/loader program and it's running; it
just keeps looping with no indication of an error (until it runs out of
heap, which is the assertion failure).

Do you know if there's a method of bypassing the loader program and
directly booting the kernel?  I tried stopping the second stage boot and
booting /boot/kernel/kernel.  The boot program spins for a (long) while
loading it, but I'm guessing something's missing 'cause once it transfers
control to the kernel the system freezes.

tfrank Have you tried 4.9-RELEASE on this system?

No, I have several other 5.2 systems (built from these same CDs) and I
kind of wanted to minimize the number of variants.  This IS the only
dual-drive SCSI-only box I have going though...  Maybe I should just slap
an IDE drive into the box (there's space and even cabling available) and
install to that???

tfrank I understand that 5.2.1-RC2 ISO is also available which might be another 
option.

I know - it came out the weekend after I downloaded and burned the 5.2
ISO.  G :-)

Thanks!

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


Re: flash plugin BSD vs linux

2004-02-20 Thread Kenneth Culver
Quoting Osmany Guirola Cruz [EMAIL PROTECTED]:

Hi people
I have a little problem whith the flash plugin on my BSD box. I 
installed the flash plugin port whithout problem but these not work , 
it showme a black screen in the place of the plugin and  no picture 
no animation no nothing :-(. i try mozilla and epiphany as 
browsers. i installed the linux-mozillafirebird port and the linux 
flash-plugin port and.. IT WORKS whitout problem .. WHY? HOW CAN 
I SOLVE THESE PROBLEM?


It works with the linux browser because the plugin is for linux. You can make
this work with freebsd native browsers by doing this:
cd /usr/ports/www/linuxpluginwrapper
make
make install
Ken
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tac for freebsd !! ?

2004-02-20 Thread Dan Nelson
In the last episode (Feb 20), sweetleaf said:
 I am trying to install some window fonts per... 
 http://www.paulandlesley.org/linux/xfree4_tt.html
 
 The problem is that tac is not installed and i cant find it in the 
 packages or ports. Is tac even available for freebsd 5.x?
 
 # tail +2 fonts.scale | tac  fonts.dir
 
 tac: Command not found.

You can use tail -r instead.

-- 
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: 4.9-RELEASE + XP Pro problem

2004-02-20 Thread Jerry McAllister
 
 
 On Fri, 20 Feb 2004 10:13:35 -0500 (EST), Jerry McAllister
 [EMAIL PROTECTED] said:
   
   Hello All,
   
   I'm having a hell of a time getting XP Pro and 4.9 on the same drive.
   I've tried various ways to get them to co-exist to no avail.
   Here's what I'm trying to accomplish;
   
   30 GB HD total
   
   First 24 GB = XP
   
   Last 6 GB = 4.9
   
   Installed XP first, then 4.9, said NONE at the boot menu during install.
  
  There is your problem right there.   
  You should have selected the full MBR.
  Then everything would have fallen in place with none of that 
  other fixboot stuff at all.
  
  Just make sure your XP is fully installed first and boots OK
  Then install FreeBSD and select the MBR (not 'none' and not 'standard')
 [snip]
 
 Actually, you should choose to install a standard MBR and *not* to use
 the FreeBSD boot loader in order to accomplish what you describe below.

You are wrong here.   During the install you are offered three options:

BootMgr   Install the FreeBSD Boot Manager
Standard  Install a standard MBR (no boot manager)
None  Leave the Master Boot Record untouched

You want to choose the first one to install the FreeBSD Boot Manager
The standard boot record will only boot FreeBSD and nothing else.

The terminology is a little confusing here, but you want the FreeBSD
boot _manager_ not just the standard boot _record_  - two different
sector positions on the disk.  The boot _manager_ choosed which
boot _record_ to start booting with.

jerry

 
   What I want is to have the nt boot loader give the choice to boot into
   bsd by using the boot1 - bootsect.bsd method in boot.ini.
 
 Read the following FAQ carefully.  If you try it and are unsuccessful,
 come on back here and let us know what happened.
 
 URL:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER
 
 Jud
 

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


Re: tac for freebsd !! ?

2004-02-20 Thread Lowell Gilbert
sweetleaf [EMAIL PROTECTED] writes:

 I am trying to install some window fonts
 per... http://www.paulandlesley.org/linux/xfree4_tt.html
 
 The problem is that tac is not installed and i cant find it in the
 packages or ports. Is tac even available for freebsd 5.x?
 
 # tail +2 fonts.scale | tac  fonts.dir
 
 tac: Command not found.

rev(1)

But in this case, tail -r would be more efficient.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.9-RELEASE + XP Pro problem

2004-02-20 Thread Jerry McAllister
 
 
 On Fri, 20 Feb 2004 10:13:35 -0500 (EST), Jerry McAllister
 [EMAIL PROTECTED] said:
   
   Hello All,
   
   I'm having a hell of a time getting XP Pro and 4.9 on the same drive.
   I've tried various ways to get them to co-exist to no avail.
   Here's what I'm trying to accomplish;
   
   30 GB HD total
   
   First 24 GB = XP
   
   Last 6 GB = 4.9
   
   Installed XP first, then 4.9, said NONE at the boot menu during install.
  
  There is your problem right there.   
  You should have selected the full MBR.
  Then everything would have fallen in place with none of that 
  other fixboot stuff at all.
  
  Just make sure your XP is fully installed first and boots OK
  Then install FreeBSD and select the MBR (not 'none' and not 'standard')
 [snip]
 
 Actually, you should choose to install a standard MBR and *not* to use
 the FreeBSD boot loader in order to accomplish what you describe below.

Oops, I see I have perpetuated the terminology confusion by saying
the full MBR.   It should be the full Boot Manager.
Still, it is not the standard MBR nor the None which was the
point I was trying to get at.   

Do we need a terminology housecleaning.  It is as bad as slice and partition.

jerry

   What I want is to have the nt boot loader give the choice to boot into
   bsd by using the boot1 - bootsect.bsd method in boot.ini.
 
 Read the following FAQ carefully.  If you try it and are unsuccessful,
 come on back here and let us know what happened.
 
 URL:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER
 
 Jud
 ___
 [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: 4.9-RELEASE + XP Pro problem

2004-02-20 Thread Bob Johnson
Date: Fri, 20 Feb 2004 08:54:24 -0600
From: Joel Gudknecht [EMAIL PROTECTED]
Subject: 4.9-RELEASE + XP Pro problem
Message-ID: [EMAIL PROTECTED]
Hello All,

I'm having a hell of a time getting XP Pro and 4.9 on the same drive.
[...]

Installed XP first, then 4.9, said NONE at the boot menu during install.

Went to reboot and bsd had taken over either the boot sector or the mbr.

Tried xp recovery console, fixmbr, fixboot, nothing worked, bsd continues
to boot up by default.
I would expect the XP recovery stuff to get you back to XP.  I've used 
that under W2K.  But you don't want to get back to XP quite yet...

What I want is to have the nt boot loader give the choice to boot into
bsd by using the boot1 - bootsect.bsd method in boot.ini.
OK.  This is from memory of what I did a year or so ago, so consider it 
an approximate guide. You obviously already know some of it:

1) While you are still in FreeBSD, make a copy of /boot/boot1 on an 
MS-DOS floppy.

2) Use the FreeBSD fdisk utility to mark the XP partition as the only 
active partition.  That should get you booting into XP.

3) Copy boot1 from FreeBSD into the root XP directory, and edit XP's 
(hidden) bootloader configuration file to include an entry that points 
to boot1.  While you are at it, give Windows a proper name, such as 
Windows XP Virus in the boot menu.

That should be about it.  Details that you will need can mostly be found 
in an old FAQ that explains how to dual boot FreeBSD and Windows NT 
somewhere on the FreeBSD site.  Like maybe here:

http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER

What I'm I doing wrong here?

I don't know why you can't get back to XP with the tools you've tried, 
but there is no need to install the FreeBSD boot manager.  XP's loader 
is prettier, so you might as well use it, as described above.  If you 
have already installed the FreeBSD boot manager, you might want to write 
a standard MBR back to the disk and then use the XP loader.

Good luck.

- Bob

Thanks,
Joel


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


log files

2004-02-20 Thread Derek Burns / Bend-Pak
Sorry, I know where the log files themselves are, What I am trying to do is get them 
to report the browsing info as well as the referrer info.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


xv question

2004-02-20 Thread marlon corleone
is there any alternative for 'xv' that can take screenshot for .avi .mpg and 
other movie format?

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


RE: flash plugin BSD vs linux

2004-02-20 Thread Osmany Guirola Cruz
Sorry .. but i installed both the linuxflash plugin port and the 
bsd(flashplugin-mozilla-0.4.10_5 ) port and i tested the bsd port whit mozilla and 
epiphany ..and due to this instalation does not work i have to install the linux 
ports(flash and firebird) to see sites whith flash ..

-Original Message- 
From: Kenneth Culver [mailto:[EMAIL PROTECTED] 
Sent: Fri 2/20/2004 1:07 PM 
To: Osmany Guirola Cruz 
Cc: [EMAIL PROTECTED] 
Subject: Re: flash plugin BSD vs linux



Quoting Osmany Guirola Cruz [EMAIL PROTECTED]:

 Hi people
 I have a little problem whith the flash plugin on my BSD box. I
 installed the flash plugin port whithout problem but these not work ,
 it showme a black screen in the place of the plugin and  no picture
 no animation no nothing :-(. i try mozilla and epiphany as
 browsers. i installed the linux-mozillafirebird port and the linux
 flash-plugin port and.. IT WORKS whitout problem .. WHY? HOW CAN
 I SOLVE THESE PROBLEM?


It works with the linux browser because the plugin is for linux. You can make
this work with freebsd native browsers by doing this:

cd /usr/ports/www/linuxpluginwrapper
make
make install

Ken



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


[no subject]

2004-02-20 Thread Lowell Gilbert
Reply-To  'freebsd-questions' [EMAIL PROTECTED]
Subject: Re: 4.9-RELEASE + XP Pro problem
References: [EMAIL PROTECTED]
From: Lowell Gilbert [EMAIL PROTECTED]
Date: 20 Feb 2004 13:54:54 -0500
In-Reply-To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Lines: 22
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Jerry McAllister [EMAIL PROTECTED] writes:

 You want to choose the first one to install the FreeBSD Boot Manager
 The standard boot record will only boot FreeBSD and nothing else.
 
 The terminology is a little confusing here, but you want the FreeBSD
 boot _manager_ not just the standard boot _record_  - two different
 sector positions on the disk.  The boot _manager_ choosed which
 boot _record_ to start booting with.

To reduce the confusion:  the standard boot record will boot whatever
is marked as the active slice, not just FreeBSD.  If you have a tool
that can change the active slice, you don't technically need to change
the Master Boot Record (MBR) to boot something different.  This is
rarely useful, although occasionally someone will want to set up the
disk so that it always boots one particular slice if booting from the
hard disk, and boot from a floppy to boot other slices.

Also, the boot manager gets installed to the MBR; you can't have it
installed at the same time as the standard boot record.  This is why
the boot manager is so minimally featured; it fits completely into the
MBR, and so has to stay within 512 bytes.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: flash plugin BSD vs linux

2004-02-20 Thread Kenneth Culver
Quoting Osmany Guirola Cruz [EMAIL PROTECTED]:

Sorry .. but i installed both the linuxflash plugin port and the 
bsd(flashplugin-mozilla-0.4.10_5 ) port and i tested the bsd port 
whit mozilla and epiphany ..and due to this instalation does not work 
i have to install the linux ports(flash and firebird) to see sites 
whith flash ..

There must be something wrong with your installation because using FreeBSD
native mozilla-firefox along with the linuxpluginwrapper port allows me to see
flash content just fine.
Ken

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


Re: freebsd not boot

2004-02-20 Thread Vulpes Velox
On Fri, 20 Feb 2004 16:21:43 -
Pat Saunders [EMAIL PROTECTED] wrote:

 Hi,
 I am trying to run freebsd 4.9 on a PC / IDE architecture. 
 I have one IDE drive and two 3COM 3c90 Network Cards and CD-ROM
 The PC will be a dedicated FreeBSD box.
 I have installed freebsd v4.9 , using the whole 4G disk which is
 bootable and installed
 'Standard MBR - no boot manager' and disabled all the drivers (SCSI)
 that I do not use.
 The problem is when I reboot nothing happens apart from another hard
 reset. The PC then does a Hard reset and the same recursive process
 occurs again. No, useful messages appear at all !!! 
 I have created bootable floppies which I can boot from but I am not
 sure what to perform
 next , apart from re-install with different options which result in
 the same depressing results.
 I am not sure what to do regarding the 'Fixit' option as most shell
 commands do not
 work.
 Any help would be appreciated.
 Pat

Well more info on the hardware would be useful...

How far does it get befor it reboots?

Given that you went throught removing all the scsi drivers, I am
guessing this means you made a custom kernel config, could you post
that too.

It sounds sorta like something important got removed from the kernel
or something...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: flash plugin BSD vs linux

2004-02-20 Thread Osmany Guirola Cruz
Ok i will try 

-Original Message- 
From: Kenneth Culver [mailto:[EMAIL PROTECTED] 
Sent: Fri 2/20/2004 2:05 PM 
To: Osmany Guirola Cruz 
Cc: [EMAIL PROTECTED] 
Subject: RE: flash plugin BSD vs linux



Quoting Osmany Guirola Cruz [EMAIL PROTECTED]:

 Sorry .. but i installed both the linuxflash plugin port and the
 bsd(flashplugin-mozilla-0.4.10_5 ) port and i tested the bsd port
 whit mozilla and epiphany ..and due to this instalation does not work
 i have to install the linux ports(flash and firebird) to see sites
 whith flash ..

There must be something wrong with your installation because using FreeBSD
native mozilla-firefox along with the linuxpluginwrapper port allows me to see
flash content just fine.

Ken




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


Re: Sendmail rule questions

2004-02-20 Thread Mark Frank
* On Thu, Feb 19, 2004 at 07:20:13PM + Matthew Seaman wrote:
 On Thu, Feb 19, 2004 at 01:11:55PM -0500, Chuck Swiger wrote:
  Benjamin Meade wrote:
  Just wondering if sendmail (not procmail) can reject messages from a 
  specific user that are above a certain size?
  
  You can control the max message size on a sitewide basis via:
  
  define(`confMAX_MESSAGE_SIZE', `2100')dnl
  
  ...but I don't believe you can do so on a per-user basis, no.
 
 The only way I could think of for doing this would be to create a
 second set of mailer definitions with the 'M=' (Maximum message size)
 setting altered appropriately, and custom parsing rules to force the
 messages sent from a particular address to be delivered via those
 mailers.  Needless to say, that's going to be a pig of a job to set up
 and configure correctly.  You would be better off setting up some sort
 of Milter or indeed forcing all of the messages to be processed
 through procmail(8).

Also in the milter vein, if you're conversant with Perl you could try 
MIMEDefang (it's in ports.)  You could probably find a workable example 
for what you want to do from the MIMEDefang mailing list archives.

http://lists.roaringpenguin.com/pipermail/mimedefang/

-- 
Mark Frank
Director of Technical Services - eDoxs Corp.
The fix is only temporary...unless it works. - Red Green
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


configuring xl device

2004-02-20 Thread Darryl Hoar
Greetings,
I have a box with 5.1-release on it.  I had it configured and connected to
my lan.  The
connection was to a switch.  ifconfig -a showed it as autosense.  All was
well with the
world.  Relocated this box to another building (same lan).  It is connected
to a 10/100
hub.  Connected it and no joy.  Wouldn't talk over the network.  Double
checked everything.
Then I thought maybe autosense wasn't working so well.  Manually configured
it
ifconfig xl0 192.168.1.73 netmask 255.255.255.0 media 100basetx mediaopt
half-duplex.

That didn't help.  Double checked the hub and the port was enabled.
Replaced the drop
cable.  Nope.  Not gonna go.  Get a no route to host.

I would appreciate ideas here.

-Darryl

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


RE: configuring xl device

2004-02-20 Thread Derrick Ryalls
 
 Greetings,
 I have a box with 5.1-release on it.  I had it configured and 
 connected to my lan.  The connection was to a switch.  
 ifconfig -a showed it as autosense.  All was well with the 
 world.  Relocated this box to another building (same lan).  
 It is connected to a 10/100 hub.  Connected it and no joy.  
 Wouldn't talk over the network.  Double checked everything. 
 Then I thought maybe autosense wasn't working so well.  
 Manually configured it ifconfig xl0 192.168.1.73 netmask 
 255.255.255.0 media 100basetx mediaopt half-duplex.
 
 That didn't help.  Double checked the hub and the port was 
 enabled. Replaced the drop cable.  Nope.  Not gonna go.  Get 
 a no route to host.
 
 I would appreciate ideas here.
 

My guess is that you need a gateway setup.  Try doing something like 'route
add default xxx.xxx.xxx.xxx' where the xxx's represent your gateway ip.  I
am not entirely sure if I have the syntax of route add done correctly, so
check with your local man page first.

HTH

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


RE: configuring xl device

2004-02-20 Thread Darryl Hoar
I should know that it is always the patch cable.
Even when it shouldn't be.

Replaced the patch cable, and it started talking
just fine on the network.

Sorry for the wasted bandwidth.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Darryl Hoar
 Sent: Friday, February 20, 2004 1:51 PM
 To: [EMAIL PROTECTED]
 Subject: configuring xl device
 
 
 Greetings,
 I have a box with 5.1-release on it.  I had it configured and 
 connected to
 my lan.  The
 connection was to a switch.  ifconfig -a showed it as 
 autosense.  All was
 well with the
 world.  Relocated this box to another building (same lan).  
 It is connected
 to a 10/100
 hub.  Connected it and no joy.  Wouldn't talk over the 
 network.  Double
 checked everything.
 Then I thought maybe autosense wasn't working so well.  
 Manually configured
 it
 ifconfig xl0 192.168.1.73 netmask 255.255.255.0 media 
 100basetx mediaopt
 half-duplex.
 
 That didn't help.  Double checked the hub and the port was enabled.
 Replaced the drop
 cable.  Nope.  Not gonna go.  Get a no route to host.
 
 I would appreciate ideas here.
 
 -Darryl
 
 ___
 [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: 4.9-RELEASE + XP Pro problem

2004-02-20 Thread Derrick Ryalls
 I'm having a hell of a time getting XP Pro and 4.9 on the 
 same drive. I've tried various ways to get them to co-exist 
 to no avail. Here's what I'm trying to accomplish;
 
 30 GB HD total
 
 First 24 GB = XP
 
 Last 6 GB = 4.9
 
 Installed XP first, then 4.9, said NONE at the boot menu 
 during install.
 
 Went to reboot and bsd had taken over either the boot sector 
 or the mbr.
 
 Tried xp recovery console, fixmbr, fixboot, nothing worked, 
 bsd continues to boot up by default.
 
 What I want is to have the nt boot loader give the choice to 
 boot into bsd by using the boot1 - bootsect.bsd method in boot.ini.
 
 What I'm I doing wrong here?
 

I just did a dual boot setup with XP and 5.2.

I chose none intentionally, installed FreeBSD, then as I was rebooting, put
in my GAG disk and installed GAG as my boot loader.  It found both my
FreeBSD partition and my XP partitions.  I set it up, and I can safely boot
into either o/s fairly easily.

Gag is available on sourceforge.

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


X freezes problem

2004-02-20 Thread Aaron Sloan
Hello.

Got a little problem figuring out what is causing my puter to lock up hard.  Running 
4.9 with the latest cvs and ports upgraded except a broken openoffice portupgrade..  I 
will be working in KDE 3.2 with gxine running and sylpheed-claws. The screen saver 
kicks in and runs fine for awhile, then the puter locks up hard and I have to reset. I 
cannot ctrl-alt-backspace or ctrl-esc or even ctrl-alt-delete to bring it back around. 
What log files should I be looking in to find a possible cause to this? It has just 
started doing this after the gettext port problem which I seemed to have fixed with 
help off this list.
Running an ATI Radeon card in case that helps...?

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


cron or ipfw problem!

2004-02-20 Thread Marwan Sultan
Hello bsd,

  I have FreeBSD 4.8R, NATd, ipfw enabled.

  I want to add a rule to ipfw which activate from 3AM to 3PM : says:
  ipfw 05000 add deny all from 192.168.1.21 to any

  So I created a shell script lets say deny.sh says the above rule and
  I chmod +x the script.
  
  Second shell script lets say enable.sh to delete this ipfw which sure
  says ipfw delete 05000

  So in this case I have to shell scripts one will Activate the
  ipfw rule (add) and will deactivate it (delete).

  How to run the scripts? thro crontab I fixed my crontab to 
  0 3 * * * /path/deny.sh
  0 15 * * * /path/enable.sh

  Am i doing something wrong? is it a stupid thing?

  The crontab runs at the schedualed times and I can see in /var/log/cron
  /usr/sbin/cron[18525]: (root) CMD (/path/deny.sh)

  But the ipfw will not be added! why? the email log says: ipfw: not found

  why? is it a crontab mistake? shell script mistake? ipfw?

  I tried many many other commands in the shell script such as mkdir,
  rm-rf whatever.. all works, except this ipfw?

  Any advise? Help? better ideas?

  Thank you
--
Marwan Sultan

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


Re: log files

2004-02-20 Thread Nathan Kinkade
On Fri, Feb 20, 2004 at 10:45:04AM -0800, Derek Burns / Bend-Pak wrote:
 Sorry, I know where the log files themselves are, What I am trying to
 do is get them to report the browsing info as well as the referrer
 info.

You'll have better luck if you make your replies on a given topic in the
same thread, rather than as a new thread.  For those whose mail clients
support threading it helps to organize things.

If I understand your question, then you should take a look at:

http://httpd.apache.org/docs/logs.html

Specifically take a look at the LogFormat directive in the httpd.conf
file.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: xv question

2004-02-20 Thread Nathan Kinkade
On Fri, Feb 20, 2004 at 06:47:25PM +, marlon corleone wrote:
 is there any alternative for 'xv' that can take screenshot for .avi .mpg 
 and other movie format?

If you have ImageMagick installed, take a look at the the import(1)
command.  It will take screen shots and save the output in many differnt
formats depending on how you launch it.  For example,

$ import screen.jpg

... will turn the cursor into a cross-hair and it will take a screen
capture of whatever window you click on in JPEG format.  Not sure if
this is quite what you are looking for based on your question.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: 4.9-RELEASE + XP Pro problem

2004-02-20 Thread Jerry McAllister
 
  I'm having a hell of a time getting XP Pro and 4.9 on the 
  same drive. I've tried various ways to get them to co-exist 
  to no avail. Here's what I'm trying to accomplish;
  
  30 GB HD total
  
  First 24 GB = XP
  
  Last 6 GB = 4.9
  
  Installed XP first, then 4.9, said NONE at the boot menu 
  during install.
  
  Went to reboot and bsd had taken over either the boot sector 
  or the mbr.
  
  Tried xp recovery console, fixmbr, fixboot, nothing worked, 
  bsd continues to boot up by default.
  
  What I want is to have the nt boot loader give the choice to 
  boot into bsd by using the boot1 - bootsect.bsd method in boot.ini.
  
  What I'm I doing wrong here?
  
 
 I just did a dual boot setup with XP and 5.2.
 
 I chose none intentionally, installed FreeBSD, then as I was rebooting, put
 in my GAG disk and installed GAG as my boot loader.  It found both my
 FreeBSD partition and my XP partitions.  I set it up, and I can safely boot
 into either o/s fairly easily.
 
 Gag is available on sourceforge.

If you want to use Gag, that's fine.  It isn't necessary
if you don't mind limited labeling in the Boot Manager prompts.
That works fine too.

jerry

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


Re: cron or ipfw problem!

2004-02-20 Thread Ion-Mihai Tetcu
On Fri, 20 Feb 2004 23:33:45 +0300
Marwan Sultan [EMAIL PROTECTED] wrote:

 Hello bsd,
 
   I have FreeBSD 4.8R, NATd, ipfw enabled.
 
   I want to add a rule to ipfw which activate from 3AM to 3PM : says:
   ipfw 05000 add deny all from 192.168.1.21 to any

The following entries in my crontab work:

00 08 * * 1-5 /sbin/ipfw set enable 5  /sbin/ipfw -dS show
45 18 * * 1-5 /sbin/ipfw set disable 5 6 7 8  /sbin/ipfw set enable 9   /sbin/ipfw 
-dS show

maybe you should use the full path for ipfw in your script ?



-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: cron or ipfw problem!

2004-02-20 Thread Marty Landman
At 03:33 PM 2/20/2004, Marwan Sultan wrote:

  I want to add a rule to ipfw which activate from 3AM to 3PM : says:
  ipfw 05000 add deny all from 192.168.1.21 to any
  How to run the scripts? thro crontab I fixed my crontab to
  0 3 * * * /path/deny.sh
  0 15 * * * /path/enable.sh
Marwan, are these scripts running as root? Perhaps you could modify the 
scripts to do

ipfw -a list

when they end, and put their outputs in a file e.g.

0 3 * * * /path/deny.sh  /root/ipfwJob
0 15 * * * /path/enable.sh  /root/ipfwJob
Also add

echo deny (or enable) starting

to the top of each script then post back with the contents of /root/ipfwJob 
after they've both run.

Marty Landman   Face 2 Interface Inc 845-679-9387
This Month's New Quiz --- Past Superbowl Winners
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron or ipfw problem!

2004-02-20 Thread Nathan Kinkade
On Fri, Feb 20, 2004 at 11:33:45PM +0300, Marwan Sultan wrote:
 Hello bsd,
 
   I have FreeBSD 4.8R, NATd, ipfw enabled.
 
   I want to add a rule to ipfw which activate from 3AM to 3PM : says:
   ipfw 05000 add deny all from 192.168.1.21 to any
 
   So I created a shell script lets say deny.sh says the above rule and
   I chmod +x the script.
   
   Second shell script lets say enable.sh to delete this ipfw which sure
   says ipfw delete 05000
 
   So in this case I have to shell scripts one will Activate the
   ipfw rule (add) and will deactivate it (delete).
 
   How to run the scripts? thro crontab I fixed my crontab to 
   0 3 * * * /path/deny.sh
   0 15 * * * /path/enable.sh
 
   Am i doing something wrong? is it a stupid thing?
 
   The crontab runs at the schedualed times and I can see in /var/log/cron
   /usr/sbin/cron[18525]: (root) CMD (/path/deny.sh)
 
   But the ipfw will not be added! why? the email log says: ipfw: not found
 
   why? is it a crontab mistake? shell script mistake? ipfw?
 
   I tried many many other commands in the shell script such as mkdir,
   rm-rf whatever.. all works, except this ipfw?
 
   Any advise? Help? better ideas?
 
   Thank you
 --
 Marwan Sultan

It would be useful to see the contents of the script.  Two things come
to mind:
1) Did you specificy the full path to ipfw in your script?
2) Just to be sure, is the cron job in root's crontab, or possibly a
regular users?

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


ipfw: setsockopt(IP_FW_DEL): Invalid argument

2004-02-20 Thread Budi Kusmiantoro
Hello...

ipfw allows user to specify a list of rules in a file
and then access it with an absolute path.

example: ipfw /etc/rules

Deleting a non-existent rule will make the ipfw stops
processing the file immediately.  May be I am missing
something here, but I still don't see the reason why
deleting a non-existent rule is considered to be a
stopper.  

Is there any security impact if we let the ipfw keeps
continue processing the rest of the file?

/Budi

__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PDFslide on FreeBSD

2004-02-20 Thread Mike Heffner
Hi all,

Has anyone gotten pdfslide[1] to work on FreeBSD? By work, I mean output a
readable PDF; I get multiple lines of:

Non-PDF special ignored!


and the PDF output is just completely black. A similar setup works in
Mandrake, but I haven't figured out what the problem in FreeBSD is.


[1] http://sarovar.org/projects/pdfslide/


Mike

-- 
  Mike Heffner   [EMAIL PROTECTED]
 [EMAIL PROTECTED]



pgp0.pgp
Description: PGP signature


Re: Removing system user

2004-02-20 Thread Thomas Beer
I would not delete them. A normal user, e.g., has to
be member of the group staff to su to root, etc.

Cheers Tom

 On Fri, Feb 20, 2004 at 11:51:03PM +0800, meimi wrote:

   I have read some document about server hardening. It suggests me
 removing
 the following users:
 operator, games, news, uucp
 and following groups:
 operator, staff
   I can guess that games is used for playing and news is used for
 reading
 news in news group. How about the other? Their descriptions in passwd
 are
 not clear.
   Am I safe to remove them in normal server environment (web, mail, ftp,
 DNS, SSH)?

 You can certainly remove those users and groups, but it's unlikely to
 gain you very much and quite likely to cause you some problems.  It
 will certainly make it harder for you to do routine updates on your
 system, possibly including some security patches.

 So long as you don't alter the entries in the master.passwd and group
 files for those entities, you're pretty safe.  Those IDs exist mostly
 to be the owners of various files: note that the shell has been set to
 /sbin/nologin and the password for those accounts has been locked and
 that they have no special privileges despite the low UID and GID
 numbers -- as such they are rather less dangerous than the account you
 use to log in via.

 All in all, I wouldn't bother touching those accounts.

   Cheers,

   Matthew

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


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


RE: Boot loop in FreeBSD 5.2-RELEASE after install - FIXED!

2004-02-20 Thread Mike Newell
Well THAT'S weird...

I wondered if there might be some strange data left on the drive (I had a
4.7-RELEASE install on it prior to this), so I stopped the system in POST
and entered the Adaptec system utilities.  I then did a low-level format of
the drive.  Reinstalled and Hey Presto - booted up fine!  I wonder if the
/boot/loader program found some bad data left over from a prior install that
it didn't validate and that corrupted the boot process?

Dunno, but it's up now.  THANKS!!

Mike

 -Original Message-
 From: Tony Frank [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 19, 2004 10:08 PM
 To: Mike Newell
 Cc: Tony Frank; [EMAIL PROTECTED]
 Subject: Re: Boot loop in FreeBSD 5.2-RELEASE after install


 Hi,

 On Thu, Feb 19, 2004 at 09:48:04PM -0500, Mike Newell wrote:
  On Wed, 18 Feb 2004, Tony Frank wrote:
  tfrank While I cannot perhaps comment on your problem, you can
 try either pressing
  tfrank 'pause' key or 'scrolllock' which might help depending
 on where the problems
  tfrank are occuring.
  They don't work.  Fortunately I was able to:
 
1. Hook a null modem to the serial port and my laptop.
2. Run hyperterm on my laptop to view serial port data.
3. During the initial boot load hit ESC to get the Boot: promt,
   then do -h to switch to serial console.
4. Capture the stuff on the serial console.
 
  What it does is repeatedly go through the BTX boot loader, saying
  something like (this is from memory):
 
BTX loader...
BIOS Drive A is disk 0
BIOS Drive C is disk 1
BIOS Drive D is disk 2
 
BTX loader...
BIOS Drive A is disk 3
BIOS Drive C is disk 4
BIOS Drive D is disk 5
 
BTX loader...
 
  and so on.  Eventually it runs out of drive numbers and starts saying
  Can't figure out our boot device a few times, then crashes with an
  assert error.  Looks like the loader is just looping until it
 runs out of
  heap.

 That suggests that it may be confused somehow.
 I saw the crash/assert type scenario if the boot blocks are not installed
 properly.
 Ie the MBR is updated with the bootmgr (F1 .. bit) but the 2nd/3rd stages
 were corrupted somehow.
 (In my case I accidentally overwrote the blocks with some
 experiementation)
 You can reinstall boot blocks using bsdlabel (or disklabel on 4.9)
 If you can boot from floppy/CD, get into fixit mode.
 Then run:
 bsdlabel -B da0s1 (assuming da0 is the disk you are trying to boot from)

  If I try to boot directly into the kernel the cursor changes from a
  blinking underscore to a solid block and the system just locks up.
 
  In no case is there an error message or any other indication that
  something is weird.

 Have you tried 4.9-RELEASE on this system?

 I understand that 5.2.1-RC2 ISO is also available which might be
 another option.

 Regards,

 Tony


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


Re: Removing system user

2004-02-20 Thread Jerry McAllister
 
 I would not delete them. A normal user, e.g., has to
 be member of the group staff to su to root, etc.

It is group wheel they need to be in.   I suppose someone
might have made staff work too, but wheel is the biggie.

jerry

 
 Cheers Tom
 
  On Fri, Feb 20, 2004 at 11:51:03PM +0800, meimi wrote:
 
I have read some document about server hardening. It suggests me
  removing
  the following users:
  operator, games, news, uucp
  and following groups:
  operator, staff
I can guess that games is used for playing and news is used for
  reading
  news in news group. How about the other? Their descriptions in passwd
  are
  not clear.
Am I safe to remove them in normal server environment (web, mail, ftp,
  DNS, SSH)?
 
  You can certainly remove those users and groups, but it's unlikely to
  gain you very much and quite likely to cause you some problems.  It
  will certainly make it harder for you to do routine updates on your
  system, possibly including some security patches.
 
  So long as you don't alter the entries in the master.passwd and group
  files for those entities, you're pretty safe.  Those IDs exist mostly
  to be the owners of various files: note that the shell has been set to
  /sbin/nologin and the password for those accounts has been locked and
  that they have no special privileges despite the low UID and GID
  numbers -- as such they are rather less dangerous than the account you
  use to log in via.
 
  All in all, I wouldn't bother touching those accounts.
 
  Cheers,
 
  Matthew
 
  --
  Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
Savill Way
  PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
  Tel: +44 1628 476614  Bucks., SL7 1TH UK
 
 
 ___
 [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: Boot loop in FreeBSD 5.2-RELEASE after install - FIXED!

2004-02-20 Thread Tony Frank
Hi,

On Fri, Feb 20, 2004 at 04:49:00PM -0500, Mike Newell wrote:
 Well THAT'S weird...
 
 I wondered if there might be some strange data left on the drive (I had a
 4.7-RELEASE install on it prior to this), so I stopped the system in POST
 and entered the Adaptec system utilities.  I then did a low-level format of
 the drive.  Reinstalled and Hey Presto - booted up fine!  I wonder if the
 /boot/loader program found some bad data left over from a prior install that
 it didn't validate and that corrupted the boot process?
 
 Dunno, but it's up now.  THANKS!!

Good to hear it's working!

Perhaps if there was a mismatch between boot1/boot2 or something.
I'm not expert on the internals so I might leave this one there.

Take care,

Tony

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


dialup question ?

2004-02-20 Thread Roberto Pereyra
Hi all !

A question:

I want to configure a simple dial-up server and have this ppp.conf

--
default:

pap:
  set debug phase lcp chat
  set timeout 0 set debug phase lcp chat
  enable pap
  set ifaddr 192.168.0.1 192.168.0.101-192.168.0.104 255.255.255.0
  enable proxy
  accept dns
  set dns 192.168.0.1
  load server
  set radius /etc/radius.conf


My dial-up server (192.168.0.170) is not the internet gateway (192.168.0.1)

The line:

  set ifaddr 192.168.0.1 192.168.0.101-192.168.0.104 255.255.255.0

is right ? the first ip must be the system gateway or must be the dial-up server ip ?

Thanks in advance

roberto


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


Re: method to test for link before dhclient at boot?

2004-02-20 Thread James Long
On Thu, Feb 19, 2004 at 08:54:55PM -0500, Duane Winner wrote:
 
 I'm wondering if anybody knows a technique for this problem:
 
 I
 want the boot process to bypass DHCP so that it will boot faster

Have you tried putting

dhclient_flags=-1

in /etc/rc.conf  ?

That should accomplish much of what you want, without a lot of futzing.

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


Re: power point

2004-02-20 Thread Alex de Kruijff
On Fri, Feb 20, 2004 at 10:38:28AM -0500, Jerry McAllister wrote:
  
  hi,
  is there a way to convert ms powerpoint presentation into jpegs?
  or to view it under Freebsd?
 
 Install Openoffice.  It has a presenter that can open Powerpoint
 files to show them or incorporate them in to presentations.
 
 You might have to tinker around to get things like you are used
 to, but it should work.

It takes about 8 to 12 hours to compile it.

-- 
Alex

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


Re: power point

2004-02-20 Thread Chris
On Friday 20 February 2004 05:12 pm, Alex de Kruijff wrote:
 On Fri, Feb 20, 2004 at 10:38:28AM -0500, Jerry McAllister wrote:
   hi,
   is there a way to convert ms powerpoint presentation into jpegs?
   or to view it under Freebsd?
 
  Install Openoffice.  It has a presenter that can open Powerpoint
  files to show them or incorporate them in to presentations.
 
  You might have to tinker around to get things like you are used
  to, but it should work.

 It takes about 8 to 12 hours to compile it.

Incorrect - install the binery package of OOo and your going in under 30 
minutes.

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


Re: KDE

2004-02-20 Thread Alex de Kruijff
On Fri, Feb 20, 2004 at 05:04:05AM -0600, [EMAIL PROTECTED] wrote:
 Hi,
 Type startx and get message: Virtual height (0) is too small for hardware.  Screen 
 found but none have a usable configuration.  
 Have tried all the display settings--don't know if monitor is the problem.
 Thanks,
 Jerry

I don't know this to and can only quess (based up on this information).
My quess would be that your video card is wronly configured.

-- 
Alex

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


Re: configuring xl device

2004-02-20 Thread Alex de Kruijff
Dear Darryl,

Could you check if Outlook has a option to cut the text at the word that
have a letter at char 72. You now have it at ca. 100 and some of us have
a screen that is 80 char width. And that doesn't result in something
thats that readable

On Fri, Feb 20, 2004 at 01:50:44PM -0600, Darryl Hoar wrote:
 Greetings,
 I have a box with 5.1-release on it.  I had it configured and connected to
 my lan.  The
 connection was to a switch.  ifconfig -a showed it as autosense.  All was
 well with the
 world.  Relocated this box to another building (same lan).  It is connected
 to a 10/100
 hub.  Connected it and no joy.  Wouldn't talk over the network.  Double
 checked everything.
 Then I thought maybe autosense wasn't working so well.  Manually configured
 it
 ifconfig xl0 192.168.1.73 netmask 255.255.255.0 media 100basetx mediaopt
 half-duplex.

If you have a hub then you need to now the speed of the other network
card. The hub wil use the slowest speed and mode. Or you could replace
it with a switch. There are cheap version with 8 entries. If you can
borrow one, then that would make diagnostic some what easier.

 That didn't help.  Double checked the hub and the port was enabled.
 Replaced the drop
 cable.  Nope.  Not gonna go.  Get a no route to host.
 
 I would appreciate ideas here.

-- 
Alex

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


Re: problem with SCSI disk

2004-02-20 Thread anubis
On Sat, 21 Feb 2004 1:56 am, RJ45 wrote:
 Hello FreeBSD 5.2/alpha

 I have 3 scsi disk, one of the disks I don;t know why is not
 working. it is not seen by sysinstall and when I try to do

 sauron# disklabel -e da2
 disklabel: /dev/da2: no valid label found

 GEOM: create disk da2 dp=0xfccfe068
 da2 at isp0 bus 0 target 2 lun 0
 da2: MAXTOR ATLAS10K4_36WLS DFL0 Fixed Direct Access SCSI-3
 device da2: 40.000MB/s transfers (20.000MHz, offset 8, 16bit),
 Tagged Queueing Enabled
 da2: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)


 the disk isseen by the kernel.

 how come I am not able to label it ?


if you go ls /dev/da* do you see it there?
Did you fdisk before disklabel?

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


  1   2   >