Re: VIRUS in ISO images?

2002-10-05 Thread Charles Pelletier

norton tends to call anything a virus that it doesn't recognize. you should
definitely do some research on-google for info on that subject.
--charlie pelletier
--litmus(mp3.com/litmus)
- Original Message -
From: Hanspeter Roth [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 04, 2002 5:58 PM
Subject: Re: VIRUS in ISO images?


   On Oct 04 at 23:13, Olivier Boniteau spoke:

  I've taken a virus (bloodhound.mbr) in the following
  mirror:

 Where is the virus claimed to be located?

 I had an installation with the FreeBSD boot selector. And one
 scanner (maybe norton 2 or 4) claimed there were a virus in the MBR.
 When I booted from another disk that scanner installation didn't
 complain about any virus...

 -Hanspeter

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




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



Re: grub boot loader or freebsd boot loader

2002-10-05 Thread Oliver Fromme

Gary W. Swearingen [EMAIL PROTECTED] wrote:
  I would like to see people support and develop the FreeBSD boot loader
  or some other loader with a decent license.
  
  The combination of the GPL'd GRUB (or GAG) boot loader and the kernel is
  too likely to be considerd by some judge or jury as a derivative of both
  parts which is sufficiently unworthy of any of the GPL's nebulous excape
  clauses to avoid partial or even total infection.  (Especially when a
  dangerously-dedicated-disk install is considered.)

Why would you want to install a bootmanager on a dangerously-
dedicated disk?  Apart from that, dangerously-dedicated has
been deprecated, AFAIK.

The kernel can certainly not be considered a derivative of
any bootloader; they don't have anything in common, neither
do they share any code.  Remember that you can boot FreeBSD
from the NT boot loader, for example, which isn't even open
source and certainly has a more restrictive license than
GRUB.  (Microsoft certainly didn't have supporting Linux or
BSD in mind when they created their boot loader, while
FreeBSD is even mentioned in the GRUB documentation, IIRC).

I'd be much more concerned about other GPL'ed parts of the
base system.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

All that we see or seem is just a dream within a dream (E. A. Poe)

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



Re: floppy disk

2002-10-05 Thread Oliver Fromme

Gary W. Swearingen [EMAIL PROTECTED] wrote:
  [huge quote]
grep: /etc/vfstab: No such file or directory
  ...
  
  Anyway, I just wanted to guess that vfstab means Virtual FileSystem
  TABle, which I think is an (optional?) feature of FreeBSD 5.0 (AKA

No.  /etc/vfstab is the filesystem table on several SysV-
derived UNIX systems, such as Solaris.  It does not exist
on FreeBSD.

Therefore it seems that the mount command on that machine
has been replaced by a script designed to run on a system
like Solaris.  Maybe some funny root-kit.

Not that I want to cause any concern ...  :-)

My advice would be to re-install the mount command.  Better
yet, find out whether the machine was compromised, and if
so, re-install the complete system.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

All that we see or seem is just a dream within a dream (E. A. Poe)

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



Re: dma

2002-10-05 Thread Charles Pelletier

NT available on macs? really? wow.
what'll they think of next?
jk, anyways, no..freebsd is not a windows application, or an app for an
operating system at all; it itself is an operating system.

--charlie pelletier
--litmus(mp3.com/litmus)
- Original Message -
From: Kris Kennaway [EMAIL PROTECTED]
To: flightline_ [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, October 04, 2002 8:22 PM
Subject: Re: dma





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



Re: burncd error

2002-10-05 Thread Oliver Fromme

Kevin Oberman [EMAIL PROTECTED] wrote:
  I suspected that both -allow-lowercase and -allow-multidot were
  implicit in -r, but I had never actually tried it.

No, they're not implicit, but they're not necessary either.

Let me explain ...

Standard ISO9660 filesystems have several limitations.  For
example, every filename has a maximum length of 31 characters
(even though it's common to use only 8+3 because of old DOS-
compatibility), only upper-case letters, numbers and under-
scores, there must be exactly one dot (which must not be the
first character of the name), a non-empty filename extension
(after that dot), and a non-empty version number.  Also note
that ISO9660 does not support some of the standard UNIX UFS
features, such as permission modes, ownership etc.

There are several options to mkisofs that cause it to ignore
some of those restrictions.  This usually works most of the
time, but might not work with an operating system (or other
software) that enforces strict ISO9660 conformance.  These
options include -allow-lowercase, -allow-multidot, -d, -D,
-L, -N, -relaxed-filenames, -U, -no-iso-translate.

However, when you use the -R or -r option to create a rock-
ridge extension, you actually have a second directory
hierarchy laid over the existing ISO9660 directory hierachy
(this is somewhat simplified, but the net effect is just
that).  Basically that means that, if you mount the CD with
a rockridge-capable operating system (such as FreeBSD), you
don't see the ISO9660 filenames at all, but only the rock-
ridge filenames.  Obviously, there is no restriction on the
filenames in the rockridge extension, as it was specifically
designed to store information for UNIX filesystems, including
permissions and ownerships.  The above-mentioned options
(-allow-lowercase etc.) don't have any effect on the rock-
ridge extension.

Conversely, if you mount the CD with a non-rockridge-capable
system (such as DOS), you only see the ISO9660 filenames with
all of their limitations, possibly relaxed by the above-
mentioned options (provided that it works, as those options
produce non-standard CDs).  If you expect emergency cases
where you must be able to read a rockridge CD with DOS but
still be able to reconstruct the real filenames somehow,
mkisofs offers the -T option.  It creates a simple text file
called TRANS.TBL in every directory which contains a mapping
between the ISO9660 filenames and the rockridge filenames,
one per line.

You can even go a step further and let mkisofs create Joliet
and Apple (HFS) extensions on the CD.  You will then have
four different kinds of directory descriptions on the CD for
the same content.  The cool thing is that every operating
system picks the one most suitable for itself.

   The remarkable thing was actually, that when I used the wrong option,
   mkisofs says it doesn't recognise the option, quits the program, and
   returns to the prompt in my xterm, but now my xterm shows up with
   unrecognisable characters (normally for me: root@hostname, now something
   like: %^(%^%(%^()_)_*).
   
   Did I hit a bug?

Indeed, it sounds like a bug.  It seems that cdrecord fails
to send the proper reset/init termcap sequences in that
particular case, so the terminal is left in some unusual
state.  Actually I'm surprised that mkisofs would use
termcap control sequences anyway.  It doesn't really need
to, IMO.

BTW, you can manually reset an xterm by pointing your mouse
pointer inside it, then press (and hold) the Ctrl key, then
press the middle mouse button.  This causes an xterm menu
to pop up.  Select full reset from that menu.

Also, typing reset, tput reset init and/or stty sane
might help in some situations.  If the terminal settings
are seriously broken so that the enter key doesn't work
anymore, use Ctrl-J instead of enter (you might even have
to type the command blindly if the terminal echo was turned
off).

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

All that we see or seem is just a dream within a dream (E. A. Poe)

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



Re: Thingie #2 - system upgrade methods.

2002-10-05 Thread Oliver Fromme

Kevin Stevens [EMAIL PROTECTED] wrote:
  When there is a point release of -STABLE, there seem to be several methods
  for doing a binary upgrade, but none seem to fit my preference, and I
  wanted to post and see if I'm missing something.
  [...]

First of all, there are ways to do what you want, but they
might not be suitable for newbies, because there are more
things that could break if you don't know exactly what you
are doing.

  What I've been doing is downloading the boot floppies for the release,
  booting from it/them, and selecting binary upgrade via FTP.  Once this is
  done things go rather smoothly.  But it does require that I have a floppy
  drive installed and physical access to the console, which isn't always
  expedient.
  
  What I'd prefer to do is to get the whole floppy creation process out of
  the mix.

You could download the release manually with an FTP mirror
program (such as /usr/ports/ftp/omi), for example:

# omi -s ftp.freebsd.org -r /pub/FreeBSD/releases/i386/4.7-RELEASE \
  -l /usr/local/tmp/4.7-RELEASE

(-s specifies the server, -r the remote directory, -l the
local directory which is the target of mirroring.  Of course
there should be enough free space.)

The release consists of a bunch of subdirectories (bin, man,
doc etc.), each of which contains a simple shell script
called install.sh.  You can simply run those shell scripts,
one after another, in single user mode to perform a binary
update.  You don't have to use sysinstall at all.

However, doing that will OVERWRITE some files in /etc, /var
and elsewhere.  Therefore you must make a backup before.
(The upgrade won't touch /usr/local, /home or any other
parts which are not part of the base system, but it never
hurts to have a backup of them anyway.)

A good idea is probably to make a backup of /etc, restore
it afterwards, and then run mergemaster (make sure that you
also have /usr/src updated).  Mergemaster will also take
care of running MAKEDEV in /dev in case any device nodes
have changed.

  What I don't understand is why it isn't possible to simply download the
  newrev version of sysinstall, and run *that* on the current system,

You _can_ do that.  Sysinstall is on the second floppy
(mfsroot.flp).  You have to mount the floppy image (you
don't need a physical floppy disk, since you can use
vnconfig(8) to mount a filesystem image file).  It
contains the MFS-root filesystem, which you have to
copy, uncompress and mount in turn.  Then you can copy
sysinstall from it.

# vnconfig -c vn0 mfsroot.flp
# mount -o ro /dev/vn0c /mnt
# cp /mnt/mfsroot.gz .
# umount /mnt
# vnconfig -u vn0
# gunzip mfsroot.gz
# vnconfig -c vn0 mfsroot   # (no .flp!)
# mount -o ro /dev/vn0c /mnt
# cp /mnt/stand/sysinstall .
# umount /mnt
# vnconfig -u vn0
# rm mfsroot

But again, that's not a standard procedure, and it is
particularly not recommended for newbies.  If something
breaks, you 're pretty much on your own.

Also, it is always a good thing to have access to the
system console.  You don't necessarily have to be present
in front of the machine, as it is possible to access the
console remotely via a serial connection (COM1) using a
terminal server or a modem.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

All that we see or seem is just a dream within a dream (E. A. Poe)

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



Re: linux_base vs linux_base-6?

2002-10-05 Thread Alex Kiesel

On Sat, 2002-10-05 at 04:25, Gary W. Swearingen wrote:
 Alex Kiesel [EMAIL PROTECTED] writes:
 
  I've not been able to run acroread or sybase-11.0.3 with linux-base-7.
 
 You might have better luck with acroread4 or acroread5.

I had, but I wanted to run acroread5.

 Of those two, I find only acroread4 works on my linux-base-7.1, but from
 the error message, it looks like it didn't like my OS upgrade and
 re-making acroread5 would probably fix it.  In any case, the main

Re-making acroread5 did not help; the error message says anything about
some incompatible FreeBSD stuff, so I suppose the start-script is
broken.

Alex


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



Re: booting question

2002-10-05 Thread

no, it didn't help.
it's still trying to boot from da0s1a insted of da0s1e.


 # The root device and filesystem type can be compiled in;
 # this provides a fallback option if the root device cannot
 # be correctly guessed by the bootstrap code, or an override if
 # the RB_DFLTROOT flag (-r) is specified when booting the kernel.
 #
 options ROOTDEVNAME=\ufs:da0s2e\

  (I've no idea why, but /boot.config in this case doesn't work)

 If it's not mounted, how can it be read?

 
  Regards, (? ?)
  Ilia Chipitsine ( ???)
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 



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



Re: XDMCP -- FreeBSD / Solaris -- will this work?????

2002-10-05 Thread Matthew Seaman

On Fri, Oct 04, 2002 at 07:32:33PM +, Weston M. Price wrote:

 I have question regarding the nature of XDMCP. What I would like to
  do is sit down at my FreeBSD workstation and have the option of
  logging into my Solaris machine or my FreeBSD machine via XDMCP. I
  use KDE 3.0.3 as my desktop manager and I can login to my FreeBSD
  machine via the Solaris machine but not the other way around. I am
  not really sure if I am even trying to do something remotely
  possible. I mean, I would think it would should be viable because I
  can go one way, but not the other. I know that this question is not
  necessarily germane to this list, however, if anyone has this sort
  of configuration I would appreciate any help you can provide.

XFree86 supports XDMCP, but the FreeBSD ports disable that
functionality on security grounds.  The principal objection is that a
remote X session (as obtained through XDMCP, for example) allows all
sorts of potentially sensitive data across the network in plain text
--- it's at least as snoopable as using telnet(1).  The preferred
method of remote X display is by tunnelling through ssh(1), but that
doesn't permit the sort of remote login you're talking about.

To re-enable the XDMCP functionality, you need to be running a display
manager (xdm(1) or kdm(1)) and you need to edit some config files in
/usr/X11R6/lib/X11.  This describes what you need to modify to make
things work with xdm(1) --- I assume that kdm(1) would be pretty
similar if that's what you're using.

/usr/X11R6/lib/X11/xdm/Xaccess

You need to uncomment one of the CHOOSER lines as shown in the
comments in the file.  The most convenient and least secure
option is:

*  CHOOSER BROADCAST

/usr/X11R6/lib/X11/xdm/xdm-config

Comment out the last line to make the X server listen out for
XDMCP broadcasts.

Now, logout and restart your X server --- Ctr-Alt-Bksp from the
console usually does the trick.  You should see a chooser window,
rather than the usual login screen.

Note: be sure that your X server is configured to listen for network
connections, or this won't have a hope of working. 'netstat -a' or
'fstat | grep X' should show that the X server is listening on port
6000.  (startx(1) turns off listening on network ports by default.
xdm(1) leaves that on --- you can turn this off for xdm(1) by adding
'-nolisten tcp' to the end of the :0 line in
/usr/X11R6/lib/X11/xdm/Xservers).

Note also: You should keep backups of your customised files: if you
update your XFree86-clients port, it has a nasty tendency to wipe out
your modifications without asking.

Cheers,

Matthew

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

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



SAP R/3 / DB2 UDB on FreeBSD

2002-10-05 Thread Tatsu

Hello freebsd-questions,

  I need to install SAP WAS 6.10 on FreeBSD for my Master Thesis
  paper. Unfortunately there is no Oracle ver. only DB2 UDB v.7.2 for
  Linux. Did anyone have any expirience with such a database or maybe
  the whole software pack (SAP WAS 6.10 on Linux and IBM DB2 UDB)
  on FreeBSD ? Any help needed.

  Thanks in advance.

-- 
Dib: Sorry... I'm late... Horrible nightmare visions!
Ms. Bitters: It's called life, Dib. Sit down!
- from Invader Zim
 

 Tatsu  mailto:[EMAIL PROTECTED]


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



OPTIMIZING FreeBSD for Server Services

2002-10-05 Thread Odhiambo Washington


I'd like pointers for the above subject, if there is any ;-)



-Wash

-- 
Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


I've known him as a man, as an adolescent and as a child -- sometimes
on the same day.

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



Re: booting question

2002-10-05 Thread Jud

10/5/2002 5:14:51 AM,  ??? [EMAIL PROTECTED] wrote:

no, it didn't help.
it's still trying to boot from da0s1a insted of da0s1e.


 # The root device and filesystem type can be compiled in;
 # this provides a fallback option if the root device cannot
 # be correctly guessed by the bootstrap code, or an override if
 # the RB_DFLTROOT flag (-r) is specified when booting the kernel.
 #
 options ROOTDEVNAME=\ufs:da0s2e\

  (I've no idea why, but /boot.config in this case doesn't work)

 If it's not mounted, how can it be read?

 
  Regards, (? ?)
  Ilia Chipitsine ( ???)

Just curious - I think the technical level of this discussion is probably 
way beyond me, but what does /etc/fstab say?

Jud



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



block icmp with ipfw

2002-10-05 Thread master

hi all i would like to know the syntax of ipfw to block icmp ping ? (echo
and reply)
thx


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



Re: dma

2002-10-05 Thread Nick Tonkin

 FreeBSD is an operating system, as is, maybe, Windows
 
 To use FreeBSD, you must either quit using Windows, or
 set up a dual boot arrangement.  You cannot use one OS
 on top of another operating system.

Wrong, wrong, wrong. You can run FreeBSD on Windows or Windows on FreeBSD,
using VMware (the linux port thereof, with linux binary compatibility, in
the latter case). There's also Wine, which allows you to run Windows
programs on FreeBSD.

- nick


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



Getting X to recognise a UK keyboard

2002-10-05 Thread David Gerard


I have this Compaq Internet keyboard, UK version. The system knows it's a
UK keyboard at the console, but X doesn't seem to have a clue and keys give
their UK characters.

Here's the keyboard bits from XF86Config:

Identifier  Keyboard1
Driver  Keyboard
Option XkbRules   xfree86
Option XkbModel   pc105
Option XkbLayout  gb

Changing pc105 to compaq does nothing either.

So, what can I do to get it to behave? Short of messing with Xmodmap or
something.


- d.



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



Re: OPTIMIZING FreeBSD for Server Services

2002-10-05 Thread Gerard Samuel

For beginners -
man 7 tuning

Odhiambo Washington wrote:

I'd like pointers for the above subject, if there is any ;-)



-Wash

  


-- 
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/




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



Re: block icmp with ipfw

2002-10-05 Thread Patrick O'Reilly

From: master [EMAIL PROTECTED]

 hi all i would like to know the syntax of ipfw to block icmp ping ?
(echo
 and reply)

ipfw add 123 deny ip from any to any icmtypes 8

man ipfw and search for icmptypes .

---
Regards,
Patrick O'Reilly.
______
   / _ )__ __ (_)_ __ ___ _/ / __
  / __/ -_) _) /  ~  ) -_), ,-/ -_) _)
 /_/  \__/_//_/_/~/_/\__/ \__/\__/_/
http://www.perimeter.co.za



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



Re: block icmp with ipfw

2002-10-05 Thread Jack L. Stone

At 03:41 PM 10.5.2002 +0200, Patrick O'Reilly wrote:
From: master [EMAIL PROTECTED]

 hi all i would like to know the syntax of ipfw to block icmp ping ?
(echo
 and reply)

ipfw add 123 deny ip from any to any icmtypes 8

man ipfw and search for icmptypes .

---
Regards,
Patrick O'Reilly.
______

 but if you still want to ping OUT
${fwcmd} add pass icmp from any to any icmptypes 8 out via ${oif}

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: grub boot loader or freebsd boot loader

2002-10-05 Thread Michael Marilynn Endsley

I have been using AiR-BOOT and it works great, is free, and loads in 
mbr/floppy.
By far the best one I have used over the years.
Mike

ps- please don't use lilo ;)

I have and use:
FreeBSD 4.6, OS/2 Warp3  4, OpenBSD3.1,
Mandrake 8.1,SuSE 7.3, Win3.1 - 2000Pro
ICQ# 54186124
bp40mm



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002



Re: grub boot loader or freebsd boot loader

2002-10-05 Thread Michael Marilynn Endsley

Guess I could leave the URL for air-boot ;)
http://en.ecomstation.ru/kiewitzsoft/air-boot.php

I have and use:
FreeBSD 4.6, OS/2 Warp3  4, OpenBSD3.1,
Mandrake 8.1,SuSE 7.3, Win3.1 - 2000Pro
ICQ# 54186124
bp40mm



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002



Re: Getting X to recognise a UK keyboard

2002-10-05 Thread Matthew Seaman

On Sat, Oct 05, 2002 at 11:29:28PM +1000, David Gerard wrote:
 
 I have this Compaq Internet keyboard, UK version. The system knows it's a
 UK keyboard at the console, but X doesn't seem to have a clue and keys give
 their UK characters.
 
 Here's the keyboard bits from XF86Config:
 
 Identifier  Keyboard1
 Driver  Keyboard
 Option XkbRules   xfree86
 Option XkbModel   pc105
 Option XkbLayout  gb
 
 Changing pc105 to compaq does nothing either.

Does that 'Identifier  Keyboard1' line have a corresponding

InputDeviceKeyboard1 CoreKeyboard

line in the ServerLayout section of XF86Config? I ask only because if
that keyboard is the only keyboard attached to your system, I'd expect
it to be referred to as 'Keyboard0' in both the ServerLayout and the
appropriate InputDevice sections.

Cheers,

Matthew

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

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



'wrong' version of perl for ports??

2002-10-05 Thread Nick Tonkin


hello,

I just built a new perl (5.8.0) from source on a new clean install of
FreeBSD. Now some (but not all) ports fail to build with this error:

Error: you don't have the right version of perl in /usr/bin.
*** Error code 1

Where can I tell FreeBSD that I have new perl? Or are there some binaries
on the system made with 5.005 or something?

- nick

   
Nick Tonkin   {|8^)



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



Re: 'wrong' version of perl for ports??

2002-10-05 Thread cas

Nick Tonkin wrote:
 hello,
 
 I just built a new perl (5.8.0) from source on a new clean install of
 FreeBSD. Now some (but not all) ports fail to build with this error:
 
 Error: you don't have the right version of perl in /usr/bin.
 *** Error code 1
 
 Where can I tell FreeBSD that I have new perl? Or are there some binaries
 on the system made with 5.005 or something?
 
 - nick
 
    
 Nick Tonkin   {|8^)
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


usually when I build ports.. I type this command..

use.perl system (5.005)

then when I'm done.. I do..

use.perl ports (5.8)

no problems yet :-)


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



Re: 'wrong' version of perl for ports??

2002-10-05 Thread cas

Nick Tonkin wrote:
 hello,
 
 I just built a new perl (5.8.0) from source on a new clean install of
 FreeBSD. Now some (but not all) ports fail to build with this error:
 
 Error: you don't have the right version of perl in /usr/bin.
 *** Error code 1
 
 Where can I tell FreeBSD that I have new perl? Or are there some binaries
 on the system made with 5.005 or something?
 
 - nick
 
    
 Nick Tonkin   {|8^)
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

woops.. that's 'use.perl port' my bad.


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



Xine and .AVI files.

2002-10-05 Thread Yann Golanski

I am getting the following erros while trying to view an AVI file with
the lastest port of Xine. Does anyone know what the problem is? 

xine_play: xine open /cdrom/01___THE.AVI, start pos = 0, start time = 0 (sec)
demux_elem: stop...ignored
xine: using input plugin file for this MRL (/cdrom/01___THE.AVI).
using input plugin 'file' for MRL '/cdrom/01___THE.AVI'
demux_avi: input capabilities = 649
demux_avi: 43486 frames
system layer format 'AVI' detected.
demux_avi: video format = divx
demux_avi: video frame size 512 x 384
demux_avi: audio format[0] = 0x55
demux_avi: audio type MPEG layer 2/3 (wFormatTag 0x55)
demux_avi: start pos is 0, start time is 0
demux_avi: video codec is 'DivX 5 format'
xine: set_speed 4
xine_stop
xine_stop: stopping demuxer
video_out: freeing frame backup
libmpeg2: blasting out current frame on close
metronom: video discontinuity #12, type is 0, disc_off is 0
video_decoder: new pts 0
metronom: video discontinuity #13, type is 3, disc_off is 0
video_decoder: using decoder ffmpeg video decoder 
using video decoder plugin 'ffmpeg video decoder'
yuv2rgb: using generic scale_line with interpolation
ffmpeg: error decompressing frame
[repeated lots]
200 frames delivered, 178 frames skipped, 0 frames discarded
[...]

-- 
[EMAIL PROTECTED]  -=*=-  www.kierun.org
PGP:   www.kierun.org/pgp/key-kierun
PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318
IRC:   nick kierun, server spod.uk.amiganet.org, channel #sanctus

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



Re: burncd error

2002-10-05 Thread parv

in message [EMAIL PROTECTED],
wrote Oliver Fromme thusly...

 Kevin Oberman [EMAIL PROTECTED] wrote:
   I suspected that both -allow-lowercase and -allow-multidot were
   implicit in -r, but I had never actually tried it.
 
 No, they're not implicit, but they're not necessary either.
 
 Let me explain ...

thanks for the info.


 You can even go a step further and let mkisofs create Joliet and
 Apple (HFS) extensions on the CD.  You will then have four
 different kinds of directory descriptions on the CD for the same
 content.  The cool thing is that every operating system picks the
 one most suitable for itself.

you forgot to mention one thing that having multiple OS
compatibility layers will result in much lower available space than
expected.

i once tried all those layers  after 500 MB or so, file system
full messages were being generated... until somebody clued me in to
use as minimum options to use as possible.  those messages are in
the (-questions, i think) archive somewhere.


  - parv

-- 


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



IBM 600E installation with FreeBSD 3.5

2002-10-05 Thread ram.gopal

Greetings,

I tried to install FreeBSD 3.5 on IBM 600E Laptop ,  the following error message pops 
up but 4.4 is working properly on the same type of machine.
===
/boot.config: -P
Keyboard: yes
-
BTX loader 1.00 BTX versionis 1.01
Console: internal video/keyboard
BIOS drive A: is disk0
BIOS drive C: is disk1

FreeBSD/i386 bootstrap loader, Revision 0.7 638/65535kB
([EMAIL PROTECTED], Thu Jul 20 01:51:51 GMT 2000) 
Can't work out which disk we are booting from.
Guessed BIOS device 0x8b not found by probes, defaulting to disk0:
 
=

Thanks in advance for your cooperation.
Regards
Ramg

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



compile kernel - copy it to another machine?

2002-10-05 Thread Nathan Kinkade

Will it work to compile a kernel on one machine and then copy/boot that
kernel on another machine with different hardware?  I've been trying to
do this, but I can't get the kernel to boot on the machine to which it
was copied.  I've made sure that the kernel config file is crafted
specifically to the hardware of the machine to which I am copying it.  I
would like to do this because one of my machines is many orders faster
than the other and can compile a kernel in a matter of a few minutes,
whereas the other machine (a P166) might take an hour.  I have found a
few pages where people talk of this, but no specific caveats or
examples.  Does anyone have any input on this?

Thanks,
Nathan

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



Re: compile kernel - copy it to another machine?

2002-10-05 Thread Todd Robinson

I've been able to do it with the default Generic Kernel in an emergency, but
not otherwise...didn't even try it.

- Original Message -
From: Nathan Kinkade [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 05, 2002 1:16 PM
Subject: compile kernel - copy it to another machine?


 Will it work to compile a kernel on one machine and then copy/boot that
 kernel on another machine with different hardware?  I've been trying to
 do this, but I can't get the kernel to boot on the machine to which it
 was copied.  I've made sure that the kernel config file is crafted
 specifically to the hardware of the machine to which I am copying it.  I
 would like to do this because one of my machines is many orders faster
 than the other and can compile a kernel in a matter of a few minutes,
 whereas the other machine (a P166) might take an hour.  I have found a
 few pages where people talk of this, but no specific caveats or
 examples.  Does anyone have any input on this?

 Thanks,
 Nathan

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



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



Re: compile kernel - copy it to another machine?

2002-10-05 Thread Nathan Kinkade

On Sat, 5 Oct 2002 13:29:21 -0400 (EDT)
Tim Kellers [EMAIL PROTECTED] wrote:

 I have several custom kernel source files that I compile on my fastest
 machine and make installkernel on my slower desktop and server
 machines.
 
 Granted, the kernel files are bigger than normal --I keep many options
 that are not specifically required in the sourcfe files that I don't
 need; it just keeps me a bit more sane to only change machine specific
 options.
  I have all of /usr/src exported from the machine I use to compile and
  I
 have the exported /usr/src mounted on the machine on which I want to
 install.
 
 I use the same method to make buildworld, too.  It's very helpful
 when upgrading the 18 odd workstations we have in our computer labs,
 too.
 
 I know there may be pitfalls in this type of mass install but, so far,
 I've been bitten by very few bugs.
 
 
 Tim Kellers
 CPE/NJIT

What sort of pitfalls could be expected?  The reason this issue has come
up for me is I've been working on getting a diskless workstation going. 
The diskless workstation will boot off NICs boot-ROM and will load the
kernel compiled on my faster machine, but as soon as the kernel finishes
loading the machine just reboots.  I can't find documentation anywhere
that speaks of problems associated with compiling on one machine and
then distributing that kernel to other, possibly heterogenous, machines.
It appears that the `make' process somehow factors in machine specific
information, exclusive of that in the kernel config file.  Is this
accurate?

Nathan  

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



Why not move out of the city? Website developers move to Show Low, AZ !

2002-10-05 Thread Tim Les


Live in the White Mountains of Arizona, Beautiful homes for as low as $100,000 
Why not move out of the city? 
As a website developer you can work from home, right? Have you thought about living 
anywheere you want - getting out of the city? For more information on super, private 
getaways at 
5500' to 8000' elevation in Arizona, check out our websites. For way under $200,000, 
we have 40 
beautiful lakes, enjoy snow in the winter, long empty roads for motorcycling, 4 golf 
courses and 
the privacy of this remote area on the edge of one of the last frontiers. 

Nestled between the Apache and Navajo Reservations, we have two cinemas, a little 
airport, 
Sunrise Ski Resort (makes its own snow), a super Wal-Mart (!), millions of stars 
without the 
street lights and only 5,000 residents in the largest stand of Ponderosa Pine in the 
United 
States. Any price high or low - real low ($45,000) to suit your getaway preference - 
many retired 
police and fireman live here - super safe! 

For more information contact Tim  Les at: [EMAIL PROTECTED] you can leave an 
address, 
your preferences and we will send you active listings or email you .rtf files of 
active listings. Yes, 
there is high speed cable data service available here. 

Click on these links to see just a few pictures and active listings, we have. 
www.wd43.com/x/gigi 
#50861 
www.wd43.com/x/foxtrot 
# 52137 
www.wd43.com/x/nadean 
#50664 
www.wd43.com/x/rose 
#51691 
www.wd43.com/x/ashley 
#50663 
www.wd43.com/x/miskiel 
#50925 
www.wd43.com/x/mcarty 
#51537 
www.wd43.com/x/pershall 
#51690 
www.wd43.com/x/lonelybear 
#51908 
www.wd43.com/x/whitemountains 
general info 
www.wd43.com/x/church 
#51246 
www.wd43.com/x/claypool 
#51401 
www.wd43.com/x/showlow 
#52004 #51982 
#51983 #51980 
www.wd43.com/x/trish 
#51981 
www.wd43.com/x/phantom 
#51988 
www.wd43.com/x/gene 
#52004 
www.wd43.com/x/bulgaria 
#52173 
Warmest Regards, 
Leslie Byrne  Tim Fliegel
D  H Realtors of Pinetop-Lakeside
[EMAIL PROTECTED] 

PS: We speak French and Sign Language 

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



Basic CVS question

2002-10-05 Thread Pookie

As I understand it 4.7 is out. Inj my cvsupfile the tag would be:
RELEG_4_7 or RELEG_4

Im not sure which it is. 



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



Re: Setting up a web server the proper way

2002-10-05 Thread Kent Stewart



James Earl wrote:
 In reading the tuning manpage I came across the section entitled STRIPING DISKS, 
and it suggests you should only stripe partitions that require serious I/O 
performance, typicallly /var, /home, or custom partitions used to hold databases and 
web pages.
 
 I only have a single drive to begin with, but I would like to partition it in such a 
way that will allow for easy upgrading in the future (ie. adding additional web 
storage).
 
 The comment from the STRIPING DISKS section made me wonder if I should create a 
separate, custom partition that points to wherever Apache normally stores its web 
pages (I realize this can be changed too)?
 
 I'd appreciate any other suggestions from those of you who have gone through the 
motions of setting up a web server from scratch and learned what would have been nice 
to do differently.

They seem to be updating Apache more often right now. If you link to 
your data, it doesn't disappear when you upgrade Apache. There have 
been some that have updated and had Apache's install wipe out ../data.

Kent

-- 
Kent Stewart
Richland, WA

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


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



Re: Basic CVS question

2002-10-05 Thread Giorgos Keramidas

Pookie [EMAIL PROTECTED] wrote:
: As I understand it 4.7 is out. Inj my cvsupfile the tag would be:
: RELEG_4_7 or RELEG_4

Hopefully this explains it all:

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


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



Re: Missing ports

2002-10-05 Thread Kris Kennaway

On Sat, Oct 05, 2002 at 10:26:20AM -0700, Diego Castro wrote:
 Another port that is missing is
 
 /usr/ports/converters/mimepp


Revision 1.11, Tue Sep 17 06:14:05 2002 UTC (2 weeks, 4 days ago) by ijliao
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED 
That one was removed to:

cant be fetched for a long time, only evaluation-version available
so, remove it

PR: 33655
Submitted by:   Miguel Mendez [EMAIL PROTECTED]


You can check on http://cvsweb.freebsd.org for the upgrade history of
ports (and other parts of FreeBSD)

Kris


msg04016/pgp0.pgp
Description: PGP signature


USB Printing

2002-10-05 Thread Gerard Samuel

Well after almost a year and a half of using FreeBSD, Im going to 
attempt to hook up a printer.
I have a HP DeskJet 640C and all I have is a usb cable for it.
The handbook doesn't discuss usb printing.
I came across a thread in the mailing list about using apsfilter to 
setup a usb printer.
Are there any other options to setting up a usb printer??
Is there anything to look for or watch out for that I should be aware 
of??  (besides making sure I have the correct kernel/device nodes)

Thanks for any insight you may provide...

-- 
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/



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



using PERL on FreeBSD to get data from MS Access... any ideas?

2002-10-05 Thread Nathan Vidican

Has anyone successfully been able to work with Microsoft Access
database-stored data from PERL on a FreeBSD box?

Here's the deal:

We've got a rather large Microsoft Access Database, the database is used
to keep track of several leagues, their teams and players involved and all
stats regarding any of the above. We need to find a way to securely access
and display the data about the team/player stats on a per-league basis over
the internet. Posting the entire database out onto public domain would allow
anyone to download the whole thing and in essence 'steal' all the work done
to create the project over the years. This is something that the DB creator
obviously doesn't want to happen.
Any ideas on how we might be able to create pages on the server-side
(FreeBSD/Apache) of the webserver to dynamically display stats and such
information to the public? I understand fully what's rewquired on the
programming side as far as interfaces/etc, (could do this no problem if the
database was in mysql personally). The short version: need to find a
server-side solution (prefereably using PERL:DBI) which will allow a CGI
application to access a Microsoft Access database.

--
Nathan Vidican
[EMAIL PROTECTED]




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



Re: Basic CVS question

2002-10-05 Thread Ceri Davies

On Sat, Oct 05, 2002 at 03:52:27PM -0400, Fuzzy wrote:
 
 On Sat, 5 Oct 2002, Giorgos Keramidas wrote:
 
  Pookie [EMAIL PROTECTED] wrote:
  : As I understand it 4.7 is out. Inj my cvsupfile the tag would be:
  : RELEG_4_7 or RELEG_4
 
  Hopefully this explains it all:
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
 
 but that does not mention 4.7 ... would releng_4_6 (or releng_4_6_2)
 actually be getting the 4.7.rc? updates?

No.  For that you want RELENG_4.

Ceri

-- 
you can't see when light's so strong
you can't see when light is gone

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



ipfilter and bandwidth

2002-10-05 Thread layder

Hi

Does ipfilter allow bandwidth limitation like ipfw does?
And what the difference between them?
What the chain is more preferrable: ipfw/natd or ipfilter/ipnat (ipfw
supports bandwidth control)

Thanks for advice.



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



cdda2wav and xcdroast problem

2002-10-05 Thread James McNaughton

The problem shows when using xcdroast or cdda2wav as a normal
user. The process quits with an error regarding permissions:

/  /  /  0%Fatal error:  did not drop root privilege.
1/ 2/ 1/  0   0%child reader sem request failed

W Child exited with 1

Versions:

cdrtools-1.11.a28 
xcdroast-0.98.a.10 

This happens in xcdroast or using cdda2wav from the CLI.

Anyone know what's going on?

TIA



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



RE: ipfilter bandwidth

2002-10-05 Thread layder

got it. ;)

Thanks for answer so fast ;)



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



Panasonic CD-ROM not recognized

2002-10-05 Thread Joe Verba

Hello,
Being the pack rat that I am, I couldnt bring myself
to throw out an HP NetServer that we were replacing at
work, so I am trying to install FreeBSD on it at home.
Here is my problem, I found the posting for getting
the harddrive recognized, however, the cd-rom is not
getting recognized during bootup.  I found the
document on increasing the probing time, however,
being new to your product (and very limited in my
Unix-ese) I have no idea on how to increase this time.
 Also if this sounds like I am chasing the wrong fix
can you please make a recommendation.
Here are the servers specs:
100MHz, 133MHz and 166MHz Pentium processors
 
Cache 
 256KB external write-back cache (standard) 
 
Memory 
 Up to 192MB 
 
Expansion Slots 
 Six I/O expansion slots; One PCI, Four EISA bus
master slots, One shared PCI/EISA 
 
SCSI 
 Integrated dual-channel EISA Fast SCSI-2 controller 
 
Mass Storage Subsystem 
 Three front-accessible shelves 
One quad-speed SCSI CD-ROM (standard) 
One 3.5-inch, 1.44MB flexible disk drive (standard) 


the CD-ROM is a Toshiba xm540ta


thanks for your time

Joe

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

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



Re: Panasonic CD-ROM not recognized

2002-10-05 Thread Jack L. Stone

At 02:58 PM 10.5.2002 -0700, Joe Verba wrote:
Hello,
Being the pack rat that I am, I couldnt bring myself
to throw out an HP NetServer that we were replacing at
work, so I am trying to install FreeBSD on it at home.
Here is my problem, I found the posting for getting
the harddrive recognized, however, the cd-rom is not
getting recognized during bootup.  I found the
document on increasing the probing time, however,
being new to your product (and very limited in my
Unix-ese) I have no idea on how to increase this time.
 Also if this sounds like I am chasing the wrong fix
can you please make a recommendation.

You didn't saye at what stage you were... have you made an installation,
but the OS doesn't see the CD-ROM? Or, did you just run through a trial
install and see you have the problem?? All other hardware is installed
except the CD-ROM???

Need more info from you...

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



adding a path to gcc to find #include something.h type includes

2002-10-05 Thread Wayne Lubin

Hi,

I grabbed the prc-tools development environment for
the palmos. The problem is the palm has a bunch of its
own header files and a lot of code includes them in
the #includethefile.h type of include. But the files
live in the palmdev folder, but gcc doesn't look there
by default of course. I tried to play with the -I
switch like so

gcc -c -I /usr/local/palmdev/ -o Main.o Main.c

but that doesn't work. The man page says something
about using -I- along with -I to get it to do what I
want, but I did not understand the man page. Anyone
know what I should do? Is there a way to add the path
to gcc itself so that I wouldn't even have to do it
each time on the command line? Thanks.

Wayne

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

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



Re: adding a path to gcc to find #include something.h type includes

2002-10-05 Thread Adam Weinberger

did you install the prc-tools port, or the prc-tools-gcc port? or did
you not install from the ports tree?

what error message are you getting?

can you give an example of the #include directive?

do the header files even exist within /usr/local/palmdev?

some more info would be a big help.

-Adam


 (10.05.2002 @ 1548 PST): Wayne Lubin said, in 0.9K: 
 Hi,
 
 I grabbed the prc-tools development environment for
 the palmos. The problem is the palm has a bunch of its
 own header files and a lot of code includes them in
 the #includethefile.h type of include. But the files
 live in the palmdev folder, but gcc doesn't look there
 by default of course. I tried to play with the -I
 switch like so
 
 gcc -c -I /usr/local/palmdev/ -o Main.o Main.c
 
 but that doesn't work. The man page says something
 about using -I- along with -I to get it to do what I
 want, but I did not understand the man page. Anyone
 know what I should do? Is there a way to add the path
 to gcc itself so that I wouldn't even have to do it
 each time on the command line? Thanks.
 
 Wayne
 
 __
 Do you Yahoo!?
 Faith Hill - Exclusive Performances, Videos  More
 http://faith.yahoo.com
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 end of adding a path to gcc to find #include something.h type includes from 
Wayne Lubin 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


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



Re: adding a path to gcc to find #include something.h type includes

2002-10-05 Thread Wayne Lubin

I installed prc-tools from the ports. I am using
freebsd 4.6.

so I made a little work directory and downloaded some
palm code and tried to compile Main.c as shown below.
Main.c has the following includes

#include BuildDefines.h
#include PalmOS.h

I get the error mesagaes

Main.c:13: BuildDefines.h: No such file or directory
Main.c:17: PalmOS.h: No such file or directory

In other words it is not finding the files. But these
files are in 

/usr/local/palmdev/sdk-3.5/include

In fact, PalmOS.h and BuildDefines.h include more
files that are in
/usr/local/palmdev/sdk-3.5/include/Core/

So there are a bunch of header files for palm
programming that are based at
/usr/local/palmdev/sdk-3.5  and may be stuck even
deaper in folders contained in
/usr/local/palmdev/sdk-3.5/include/

Seems like there has to be a way to add a search path
to gcc to look for included files that are of the type
#include thefile.h.  It would be a pain if I had to
manually put all the needed files into /usr/include.

Hope this is enough info. Let me know if you need
more. Thanks.

Wayne


--- Adam Weinberger [EMAIL PROTECTED] wrote:
 did you install the prc-tools port, or the
 prc-tools-gcc port? or did
 you not install from the ports tree?
 
 what error message are you getting?
 
 can you give an example of the #include directive?
 
 do the header files even exist within
 /usr/local/palmdev?
 
 some more info would be a big help.
 
 -Adam
 
 
  (10.05.2002 @ 1548 PST): Wayne Lubin said, in
 0.9K: 
  Hi,
  
  I grabbed the prc-tools development environment
 for
  the palmos. The problem is the palm has a bunch of
 its
  own header files and a lot of code includes them
 in
  the #includethefile.h type of include. But the
 files
  live in the palmdev folder, but gcc doesn't look
 there
  by default of course. I tried to play with the -I
  switch like so
  
  gcc -c -I /usr/local/palmdev/ -o Main.o Main.c
  
  but that doesn't work. The man page says something
  about using -I- along with -I to get it to do what
 I
  want, but I did not understand the man page.
 Anyone
  know what I should do? Is there a way to add the
 path
  to gcc itself so that I wouldn't even have to do
 it
  each time on the command line? Thanks.
  
  Wayne
  
  __
  Do you Yahoo!?
  Faith Hill - Exclusive Performances, Videos  More
  http://faith.yahoo.com
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body
 of the message
  
  end of adding a path to gcc to find #include
 something.h type includes from Wayne Lubin 
 
 
 --
 Oh good, my dog found the chainsaw.
 -Lilo, Lilo  Stitch
 Adam Weinberger
 [EMAIL PROTECTED]
 http://vectors.cx
 


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

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



netscape: locale `C' not supported.

2002-10-05 Thread David Carter

Hi,

I have tried on and off for about a year to get netscape communicator 4.x
running without success.  The best I can do is Netscape Gold 3.04 which is
ok but not accepted by all sites (in particular some of the Yahoo ones).

The error I get is:

netscape: locale `C' not supported.

If the $XNLSPATH directory does not contain the proper config
files,
Netscape will crash the first time you try to paste into a text
field.  (This is a bug in the X11R5 libraries against which this
program was linked.)

Since neither X11R4 nor X11R6 come with these config files, we
have
included them with the Netscape distribution.  The normal place
for these files is /usr/X11/lib/X11/nls/.
If you can't create that
directory, you should set the $XNLSPATH environment variable to
point at the place where you installed the files.

Bus error (core dumped)


I have surfed the web for hours trying to find a solution to this
problem.  I have ktrace'd the process but can't find out what is wrong.

PLEASE HELP ME THIS PROBLEM IS DRIVING ME CRAZY!!!

David Carter-Hitchin
([EMAIL PROTECTED] or [EMAIL PROTECTED])


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



contributing applications

2002-10-05 Thread Atom 'Smasher'

i've got a tiny app that i'd like to contribute

who should i talk to?

how should it be documented?



...atom

Void-If-Detached
http://smasher.suspicious.org/fs1r  Yamaha FS1R

Democracy is a form of government that substitutes election
 by the incompetent many for appointment by the corrupt few.
-- G. B. Shaw



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



Presentacion de La Sociedad Digital / A Sociedade Digital.

2002-10-05 Thread La Sociedad Digital

Presentacion de La Sociedad Digital.
(texto version española/texto version portuguesa).

Boletín 1 / Octubre de 2002.

LA SOCIEDAD DIGITAL - PORTAL IBEROAMERICANO DE LA SOCIEDAD DE LA
INFORMACIÓN.
http://www.sociedaddigital.org

PRESENTACION:

La Sociedad Digital se ha constituido en el principal Portal de la
Sociedad de la Información en Ibero América, comprendiendo en la
actualidad cerca de quince secciones con un total de documentos
estimable en aproximadamente 800, que cubren las áreas más
importantes de la Sociedad de la Información. Ello ha sido posible
gracias al aporte y la preocupación de un conjunto de especialistas
de uno y otro lado del Atlántico, concentrados en este proyecto
abierto que comenzó a ser construido en su expresión virtual en
octubre de 2001. En la actualidad, la mayor parte de las secciones
del Portal se encuentran operativas. El proyecto se viene
desarrollando de conformidad con las coordenadas propias de su
primera fase: constitución ordenada de un reservorio de información
actualizada de elevadas trascendencia para la comprensión de la
sociedad en Red conjuntamente con aportes propios producto de
investigación colectiva por parte de los equipos de La Sociedad
Digital o de aportes individuales de los miembros de su Board de
Directores, en el marco de sus respectivas especialidades.

--
-

ESTRUCTURA:

Las actuales secciones disponibles del Proyecto Portal de la
Sociedad de la Información http://www.sociedaddigital.org son las
siguientes:


--


NOVEDADES:

Las incorporaciones documentales más recientes en el Portal:


--


EVENTOS CIENTÍFICOS A DESTACAR:


--
---

INFORMACIONES DEL BOARD:



--
--

PROYECTOS EN DESARROLLO:

En este momento, La Sociedad Digital se encuentra desarrollando
varios proyectos nuevos, los que se encuentran en diferentes etapas
de progreso. En síntesis:

(a) Los aspectos operativos: el Portal se encuentra en remodelación,
para una presentación en el futuro que pueda considerarse más
amigable en su relación con el usuario, y que permitirá un
despliegue de mayor agilidad de su contenido documental, así como la
correlación temática de sus contenidos.

(b) El sistema estadístico: dentro de los proyectos de investigación
oportunamente planteados se diseñó un completo sistema estadístico
que pudiera ser considerado como uno de los más completos del mundo,
reuniendo y conciliando información de al menos veinte fuentes
confiables de información, para permitir conocer los principales
indicadores de la Sociedad de la Información, al menos en tres
grandes niveles de desagregación: contexto mundial, contexto
continental y situación de los países. Los indicadores mencionados
comprenden accesibilidad, desarrollo de telecomunicaciones,
infraestructura de Internet, comercio electrónico, lenguajes en la
Red e indicadores representativos de ciencia y tecnología. El
trabajo continúa y se estima que estará disponible en red en
aproximadamente dos meses.

(c) Estudio del estado de la Sociedad de la Información en América
Latina: este proyecto de investigación, de naturaleza colectiva y
abierta, ha culminado su fase de diseño y de términos de referencia.
En el decurso del mes de junio comenzará a ser operativo, y se
espera llegar con un diagnóstico adecuado hacia fines del presente
año y convertirlo en un aporte independiente y trascendente para ser
presentado en la Cumbre de la Sociedad de la Información en Junio de
2003. Informaciones y contribuciones en info sociedaddigital.org 

(d) Colección de estudios e información sobre aspectos prácticos del
comercio electrónico: se constituirá en una de las secciones del
Portal, considerada de alta utilidad. Se continúa trabajando en la
clasificación de la biblioteca virtual aportada por el Consejero
Hugo Gallegos de Perú y la sección se encontrará en Red en
aproximadamente veinte días.

-
--

Usted recibe este mensaje porque su dirección de correo electrónico
está incluida dentro de las más de 100.000 que conforman LA SOCIEDAD
DIGITAL, construida por referencias o bien por la relevancia de su
trabajo, comunidad científica donde se discuten ideas, visiones,
experiencias, prácticas e información sobre temas relacionados con
La Sociedad de la Información, en especial en Ibero América,
impulsada por la Asociación Civil sin fines de lucro La Sociedad
Digital.

Si quiere tramitar el ALTA o la BAJA, o remitir una dirección de
correo electrónico a la comunidad, envíe un mensaje a
[EMAIL PROTECTED]

Si desea dar a conocer algún artículo, estudio u otro texto de su
autoría o recomendarnos un 

Re: USB Printing

2002-10-05 Thread Cliff Sarginson

On Sat, Oct 05, 2002 at 04:13:17PM -0400, Gerard Samuel wrote:
 Well after almost a year and a half of using FreeBSD, Im going to 
 attempt to hook up a printer.
 I have a HP DeskJet 640C and all I have is a usb cable for it.
 The handbook doesn't discuss usb printing.
 I came across a thread in the mailing list about using apsfilter to 
 setup a usb printer.
 Are there any other options to setting up a usb printer??
 Is there anything to look for or watch out for that I should be aware 
 of??  (besides making sure I have the correct kernel/device nodes)
 
 Thanks for any insight you may provide...
 
I apsfilter is the right way to go - it works ! Read the manual page
carefully and you should have no problems. Your printer is in the list 
of recognised devices (I just checked) .. which does not necessarily
mean it will work, but it should do. Just follow the bouncing ball.
A few other things, you will of course need usb/usblpt support in your
kernel, mine is shown below.. you of course do not need all of these
and you may need ohci instead of uhci .. depends on controller .. I
don't think it matters if you compile both .. look in LINT.
There used to be a typo in SETUP for apsfilter where it refers to a
parallel port as the connection even though you chose USB .. just carry
on if it is still there .. the whole setup works.

Don't forget you will have to give the printer a name so be aware of
either using the flag -P to lpr, or export the PRINTER environment
variable with the name of the printer (I do this in /etc/profile..which
may not be the right place if you have multiple printers/users etc).

I have commented the ones you definitely need..
# USB support
device  uhci# UHCI PCI-USB interface (needed or OHCI)
device  usb # USB Bus (required)
device  ugen# Generic (good idea to have this)
device  uhid# Human Interface Devices (don't think you need 
this..but ?)
#device ukbd# Keyboard
device  ulpt# Printer (needed)
device  ums # Mouse
device  uscanner# Scanners

Good Luck !
-- 
Regards
   Cliff Sarginson 
   The Netherlands

   Email: [EMAIL PROTECTED]
   Tel  : +31 (0)10 4764595

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



Re: IBM 600E installation with FreeBSD 3.5

2002-10-05 Thread Chip Norkus

On Sat Oct 05, 2002; 12:39PM -0400 [EMAIL PROTECTED] propagated the following:
 Greetings,
 
 I tried to install FreeBSD 3.5 on IBM 600E Laptop ,  the following error message 
pops up but 4.4 is working properly on the same type of machine.

Hi.  I've got a 600E.  Make sure you've got the absolute latest BIOS
updates from IBM.  Also, you probably won't have any luck getting the sound
working. :/  Good luck!

 ===
 /boot.config: -P
 Keyboard: yes
 -
 BTX loader 1.00 BTX versionis 1.01
 Console: internal video/keyboard
 BIOS drive A: is disk0
 BIOS drive C: is disk1
 
 FreeBSD/i386 bootstrap loader, Revision 0.7 638/65535kB
 ([EMAIL PROTECTED], Thu Jul 20 01:51:51 GMT 2000) 
 Can't work out which disk we are booting from.
 Guessed BIOS device 0x8b not found by probes, defaulting to disk0:
  
 =
 
 Thanks in advance for your cooperation.
 Regards
 Ramg
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-wd
-- 
chip norkus; unix geek and programmer;  [EMAIL PROTECTED]
question = (to) ? be : !be; --Shakespeare http://telekinesis.org/

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



Re: contributing applications

2002-10-05 Thread Adam Weinberger

please see the Porter's Handbook, available at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html

and, manpages are always the way to go, if you're providing
documentation.

-Adam


 (10.05.2002 @ 1613 PST): Atom 'Smasher' said, in 0.5K: 
 i've got a tiny app that i'd like to contribute
 
 who should i talk to?
 
 how should it be documented?
 
   ...atom
 end of contributing applications from Atom 'Smasher' 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


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



Re: block icmp with ipfw

2002-10-05 Thread Giorgos Keramidas

On 2002-10-05 08:51, Jack L. Stone wrote:
 At 03:41 PM 10.5.2002 +0200, Patrick O'Reilly wrote:
 From: master [EMAIL PROTECTED]
   hi all i would like to know the syntax of ipfw to block icmp ping?
   (echo and reply)
 
  ipfw add 123 deny ip from any to any icmtypes 8

  but if you still want to ping OUT
 ${fwcmd} add pass icmp from any to any icmptypes 8 out via ${oif}

That will negate the effect of any firewall rules that block icmp
packets though, i.e. it's the opposite of what was asked :-)

-- 
[EMAIL PROTECTED] -==- FreeBSD: The Power to Serve
FreeBSD 5.0-CURRENT #3: Wed Oct  2 04:55:42 EEST 2002


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



Re: grub boot loader or freebsd boot loader

2002-10-05 Thread Gary W. Swearingen

Oliver Fromme [EMAIL PROTECTED] writes:

 Why would you want to install a bootmanager on a dangerously-
 dedicated disk?  Apart from that, dangerously-dedicated has
 been deprecated, AFAIK.

The second sentence is not relevant as DD is still supported, but I
shouldn't have added my parenthetical mention of DD.  If you're using
GRUB or GAG to boot, then you'll need a partition table, so you won't
have a DD disk, by definition.  (Make it a one-slice install, then.)

 The kernel can certainly not be considered a derivative of
 any bootloader; they don't have anything in common, neither
 do they share any code.  Remember that you can boot FreeBSD
 from the NT boot loader, for example, which isn't even open
 source and certainly has a more restrictive license than
 GRUB.  (Microsoft certainly didn't have supporting Linux or
 BSD in mind when they created their boot loader, while
 FreeBSD is even mentioned in the GRUB documentation, IIRC).

Nobody said the kernel would be considered a derivative of any
bootloader, but a CD which contains both is a derivative of both.  The
question is under what conditions the GPL infects the other parts of
that derivative CD (or .tgz, etc.), making the publishing of it illegal.
(The real question is how confident we are about how certain people
might answer the previous question.)  There is no question that the
loader+kernel forms derivative work; the problem is that people don't/
can't understand what the GPL has to say about escape clauses for
particular derivatives works, especially when they use linking, and
especially because it makes some kind of sense to find that the loader
and kernel are not independent since the GPL uses the word loosely.

And remember that you may boot FreeBSD from the NT boot loader, but
you'd better not publish a CD containing both.  (Nobody says there's a
legal problem with using a GPL'd loader locally, but making it part of
the core of the distributed OS is too risky.)

 I'd be much more concerned about other GPL'ed parts of the
 base system.

Why is that not mere aggregation, and allowed by the GPL?  (And if you
are concerned about that, you shouldn't find it hard to believe that
others will be concerned about the loader, even if in error.)

(Seeing your TLD, I wonder how software license issues are complicated by
the fact that many of the owners of open source software offer their
license under non-USA law.  And whether the local laws of the licensee
AND licensor are involved.  Arggh...)

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



Help with net.inet.ip.intr_queue_maxlen

2002-10-05 Thread Steve Francis

Can someone help me with net.inet.ip.intr_queue_maxlen tuning?

Firstly, its the size of the IP input queue, per the source.

So does that mean after the NIC has received the packet, the interupt
from the NIC has been processed and the packet retrieved from the NIC,
then the packet is placed in this queue, before the IP stack looks at it?
i.e. its unrelated to interupt coalescing or polling, or NIC
performance, as they have already occurred in order to put the packet
into the queue. Yes?

I am getting incrementing net.inet.ip.intr_queue_drops at around 8,000
pps (increasing drops at rate of 10 or so per second.)
Yet, if my statement above about what the queue is, is correct, then it
just means that the system was busy doing stuff before it had a chance
to process the incoming packets, so there was no room for new ones to
enter the queue. But as the system was only 50% busy, then if I increase
the input queue, I should be able to avoid these drops, correct? At
least until the system gets a lot busier.

Is there a sane upper recommended limit to the queue length?

Or am I way off base here?
Thanks


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



Re: contributing applications

2002-10-05 Thread DaleCo, S.P.---'the solutions people'

Probably, you should read the Porter's Handbook.  It would answer
many questions.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ind
ex.html

Thanks for your willingness to contribute!

Kevin Kinsey
DaleCo, S.P.

- Original Message -
From: Atom 'Smasher' [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 05, 2002 6:13 PM
Subject: contributing applications


 i've got a tiny app that i'd like to contribute

 who should i talk to?

 how should it be documented?



 ...atom

 Void-If-Detached
 http://smasher.suspicious.org/fs1r  Yamaha FS1R

 Democracy is a form of government that substitutes election
 by the incompetent many for appointment by the corrupt few.
 -- G. B. Shaw



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



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



Re: block icmp with ipfw

2002-10-05 Thread Jack L. Stone

At 09:41 PM 10.5.2002 +0300, Giorgos Keramidas wrote:
On 2002-10-05 08:51, Jack L. Stone wrote:
 At 03:41 PM 10.5.2002 +0200, Patrick O'Reilly wrote:
 From: master [EMAIL PROTECTED]
   hi all i would like to know the syntax of ipfw to block icmp ping?
   (echo and reply)
 
  ipfw add 123 deny ip from any to any icmtypes 8

  but if you still want to ping OUT
 ${fwcmd} add pass icmp from any to any icmptypes 8 out via ${oif}

That will negate the effect of any firewall rules that block icmp
packets though, i.e. it's the opposite of what was asked :-)

-- 
[EMAIL PROTECTED] -==- FreeBSD: The Power to Serve
FreeBSD 5.0-CURRENT #3: Wed Oct  2 04:55:42 EEST 2002


then answer the poster's question. I don't have the same other rule in
conflict

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: Panasonic CD-ROM not recognized

2002-10-05 Thread Josh Paetzel

On Sat, Oct 05, 2002 at 05:34:23PM -0500, Jack L. Stone wrote:
 At 02:58 PM 10.5.2002 -0700, Joe Verba wrote:
 Hello,
 Being the pack rat that I am, I couldnt bring myself
 to throw out an HP NetServer that we were replacing at
 work, so I am trying to install FreeBSD on it at home.
 Here is my problem, I found the posting for getting
 the harddrive recognized, however, the cd-rom is not
 getting recognized during bootup.  I found the
 document on increasing the probing time, however,
 being new to your product (and very limited in my
 Unix-ese) I have no idea on how to increase this time.
  Also if this sounds like I am chasing the wrong fix
 can you please make a recommendation.
 
 You didn't saye at what stage you were... have you made an installation,
 but the OS doesn't see the CD-ROM? Or, did you just run through a trial
 install and see you have the problem?? All other hardware is installed
 except the CD-ROM???
 
 Need more info from you...
 
 Best regards,
 Jack L. Stone,
 Administrator
 
 SageOne Net
 http://www.sage-one.net
 [EMAIL PROTECTED]
 

The most important piece of info is going to be what scsi controller you have.

Josh


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



Re: block icmp with ipfw

2002-10-05 Thread Giorgos Keramidas

On 2002-10-05 19:39, Jack L. Stone [EMAIL PROTECTED] wrote:
 At 09:41 PM 10.5.2002 +0300, Giorgos Keramidas wrote:
 On 2002-10-05 08:51, Jack L. Stone wrote:
  At 03:41 PM 10.5.2002 +0200, Patrick O'Reilly wrote:
  From: master [EMAIL PROTECTED]
hi all i would like to know the syntax of ipfw to block icmp ping?
(echo and reply)
  
   ipfw add 123 deny ip from any to any icmtypes 8
 
   but if you still want to ping OUT
  ${fwcmd} add pass icmp from any to any icmptypes 8 out via ${oif}
 
 That will negate the effect of any firewall rules that block icmp
 packets though, i.e. it's the opposite of what was asked :-)

 then answer the poster's question. I don't have the same other rule in
 conflict

Pardon me sounding a bit offensive, if I did.  I meant that there is
no good rule that allows outgoing pings but blocks incoming ones.  You
can probably use something that depends on ipfw states, but icmp is
not really good at keeping states and dynamic rules will eat more
resources than simply blocking all icmps.


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



Mutt and Filters

2002-10-05 Thread Bryan Cassidy

OK. I am going to try this one last time. I really want to keep using
Mutt because it's small, fast and I like console based apps anyways. I
am new at this stuff ok. I have asked a couple places on the net many
times in the last 2 weeks and still can't get it to work. I am
starting over. I want Mutt to Filter out my e-mails into groups. Like
for this mailing list I want ALL e-mails sent, and replied to on
this list to be sent to a sertain group I dont know maybe called
FreeBSD-Questions. When I open Mutt I don't want to see all e-mails in
the main window if I have e-mail waiting and already downloaded. I
want to see a group called FreeBSD-Questions in the main window where
when I highlight it and click enter I will see all e-mails for the
mailing list. I have subscribed to a couple others but you get my
point. I am using Mutt 1.4 with the default version of Sendmail that
comes with FreeBSD 4.6.2, and Fetchmail 6.1.0 . I have like 300+
e-mails a day for many things and I really need to add this feature
into Mutt like now. It's driving me crazy. I could switch to something
like Sylpheed but I don't need a big GUI apps if I can get the
features I want in Mutt. A couple people have told me what to do to
get this feature working in Mutt but so far nothing. I need to start
over cause someone is forgetting to tell me to do something.

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



Re: adding a path to gcc to find #include something.h type includes

2002-10-05 Thread Wayne Lubin

But PalmOS.h includes header files who as well are not
in standard locations.

Wayne


--- Giorgos Keramidas [EMAIL PROTECTED] wrote:
 On 2002-10-05 16:09, Wayne Lubin
 [EMAIL PROTECTED] wrote:
 
  #include BuildDefines.h
  #include PalmOS.h
 
  I get the error mesagaes
 
  Main.c:13: BuildDefines.h: No such file or
 directory
  Main.c:17: PalmOS.h: No such file or directory
 
  In other words it is not finding the files. But
 these
  files are in
 
  /usr/local/palmdev/sdk-3.5/include
 
 Use -I/usr/local/palmdev/sdk-3.5/include then...
 
 -- 
 [EMAIL PROTECTED] -==- FreeBSD: The Power to
 Serve
 FreeBSD 5.0-CURRENT #3: Wed Oct  2 04:55:42 EEST
 2002
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

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



chroot problem

2002-10-05 Thread Joseph Davida

Any ideas why I am getting:

$ chroot /usr/compat/linux /bin/sh
chroot: /usr/compat/linux: Operation not permitted

I am Using FreeBSD 4.6.2-RELEASE.


Cheers,

Joe

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



Re: adding a path to gcc to find #include something.h type includes

2002-10-05 Thread Giorgos Keramidas

On 2002-10-05 17:58, Wayne Lubin [EMAIL PROTECTED] wrote:
 --- Giorgos Keramidas [EMAIL PROTECTED] wrote:
  On 2002-10-05 16:09, Wayne Lubin
  [EMAIL PROTECTED] wrote:
  
   In other words it is not finding the files. But these
   files are in
  
   /usr/local/palmdev/sdk-3.5/include
 
  Use -I/usr/local/palmdev/sdk-3.5/include then...

 But PalmOS.h includes header files who as well are not
 in standard locations.

You'll have to add more than one -I options then.
One for each non-standard location.


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



Re: Mutt and Filters

2002-10-05 Thread Giorgos Keramidas

On 2002-10-05 19:58, Bryan Cassidy [EMAIL PROTECTED] wrote:
 OK. I am going to try this one last time. I really want to keep using
 Mutt because it's small, fast and I like console based apps anyways. I
 am new at this stuff ok. I have asked a couple places on the net many
 times in the last 2 weeks and still can't get it to work. I am
 starting over. I want Mutt to Filter out my e-mails into groups. Like
 for this mailing list I want ALL e-mails sent, and replied to on
 this list to be sent to a sertain group I dont know maybe called
 FreeBSD-Questions.

Look at procmail or maildrop from the ports.  You can tell Sendmail to
forward all the incoming mail to procmail, let procmail sort it out
using rules of your own making into separate folders, and then use
mutt, pine, or any other mailer to read mail from those folders.

-- 
[EMAIL PROTECTED] -==- FreeBSD: The Power to Serve
FreeBSD 5.0-CURRENT #3: Wed Oct  2 04:55:42 EEST 2002

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



Re: Mutt and Filters

2002-10-05 Thread Scott Robbins

On Sat, Oct 05, 2002 at 07:58:08PM -0500, Bryan Cassidy wrote:
 OK. I am going to try this one last time. I really want to keep using
 Mutt because it's small, fast and I like console based apps anyways. I
 am new at this stuff ok. I have asked a couple places on the net many
 times in the last 2 weeks and still can't get it to work. I am
 starting over. I want Mutt to Filter out my e-mails into groups. 


That particular part is fairly easy. If you don't mind, I'll send you to
my mutt page at
http://home.nyc.rr.com/computertaijutsu/mutt.html which explains about
using Procmail. Personally, I  think it's a pretty clear explanation of 
what you'd have to do to get it working.



I don't know, however, how to get it to open so that
it opens to FreeBSD. However, for example--I have it set so that if I
open it, I can see my various mailboxes, and can then arrow down (or
pick a number, as they're numbered in sequence) to open that particular
box. 

There's also Xbuffy (the mutt page I gave above gives a link to it)
which will, when in X, show you how many messages are in each box. In
console mode, it just shows you the size--for example, my
In-bsdquestions, with 6 messages shows a size of 22936, nylug with two
messages shows a size of 12345 (I'm not making that one up.) :0

After a little while, you get pretty good at judging from that how many
(approximately) messages you have.  

That answers all but the issue of having it open to the bsdquestions
mailbox, but it would only be two or three more keystrokes--when it
opens I hit 11 for the box and then one or two enters to open it.

HTH a little

-- 

Scott

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Buffy: Okay, that was too close for comfort. Not that slaying is 
ever comfy, but... you know what I mean. 



msg04052/pgp0.pgp
Description: PGP signature


Re: using PERL on FreeBSD to get data from MS Access... any ideas?

2002-10-05 Thread Josh Paetzel

On Sat, Oct 05, 2002 at 04:19:10PM -0400, Nathan Vidican wrote:
 Has anyone successfully been able to work with Microsoft Access
 database-stored data from PERL on a FreeBSD box?
 
 Here's the deal:
 
 We've got a rather large Microsoft Access Database, the database is used
 to keep track of several leagues, their teams and players involved and all
 stats regarding any of the above. We need to find a way to securely access
 and display the data about the team/player stats on a per-league basis over
 the internet. Posting the entire database out onto public domain would allow
 anyone to download the whole thing and in essence 'steal' all the work done
 to create the project over the years. This is something that the DB creator
 obviously doesn't want to happen.
 Any ideas on how we might be able to create pages on the server-side
 (FreeBSD/Apache) of the webserver to dynamically display stats and such
 information to the public? I understand fully what's rewquired on the
 programming side as far as interfaces/etc, (could do this no problem if the
 database was in mysql personally). The short version: need to find a
 server-side solution (prefereably using PERL:DBI) which will allow a CGI
 application to access a Microsoft Access database.
 
 --
 Nathan Vidican
 [EMAIL PROTECTED]
 

Google turned this up, I've never used it.

http://www.wdvl.com/Authoring/Languages/Perl/PerlfortheWeb/simple_query.html

Josh

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



Re: chroot problem

2002-10-05 Thread Josh Paetzel

On Sat, Oct 05, 2002 at 07:57:18PM -0500, Joseph Davida wrote:
 Any ideas why I am getting:
 
 $ chroot /usr/compat/linux /bin/sh
 chroot: /usr/compat/linux: Operation not permitted
 
 I am Using FreeBSD 4.6.2-RELEASE.
 
 
 Cheers,
 
 Joe
 

Permissions issue perhaps?  What happens if you try it as root?

Josh


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



Re: Mutt and Filters

2002-10-05 Thread Giorgos Keramidas

On 2002-10-05 21:08, Scott Robbins [EMAIL PROTECTED] wrote:
 That particular part is fairly easy. If you don't mind, I'll send you to
 my mutt page at
 http://home.nyc.rr.com/computertaijutsu/mutt.html which explains about
 using Procmail. Personally, I  think it's a pretty clear explanation of
 what you'd have to do to get it working.

 I don't know, however, how to get it to open so that it opens to
 FreeBSD. However, for example--I have it set so that if I open it, I
 can see my various mailboxes, and can then arrow down (or pick a
 number, as they're numbered in sequence) to open that particular
 box.

If you have a mailbox configured in your .muttrc that is called =foo
you can always fire up mutt with:

% mutt -f =foo

That should do the trick.

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



Re: chroot problem

2002-10-05 Thread Kris Kennaway

On Sat, Oct 05, 2002 at 07:57:18PM -0500, Joseph Davida wrote:
 Any ideas why I am getting:
 
 $ chroot /usr/compat/linux /bin/sh
 chroot: /usr/compat/linux: Operation not permitted
 
 I am Using FreeBSD 4.6.2-RELEASE.

You can only chroot as the superuser.

Kris



msg04056/pgp0.pgp
Description: PGP signature


OpenSSH 3.4 and security

2002-10-05 Thread Steven Lake

Hi all.  Haven't had a chance to do much looking up on this, so
you will have to forgive me asking this question, but here goes.

Have they fixed the issues that originally plagued OpenSSH 2.9
through 3.3?  The one that called for the huge security bulliten?  I
don't remember what it was, but I remember it was something big.  Also,
while I'm at it.  Is there a newer version than 3.4?  I didn't see one in
the ports, but that doesn't nessisarily mean there isn't one.

Thanks everyone.


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



Tunefs tutorial?

2002-10-05 Thread Lucky Green

Is there a tutorial that explains the various tunefs options, ideally
with examples as to what the optimal settings are for various drives? I
read the man page, but it just shows what the various options can do,
not what their ideal settings are under various circumstances.

Thanks,
--Lucky Green



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



Re: IBM 600E installation with FreeBSD 3.5

2002-10-05 Thread John Bleichert

On Sat, 5 Oct 2002, Chip Norkus wrote:

 Date: Sat, 5 Oct 2002 18:51:20 -0500
 From: Chip Norkus [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: IBM 600E installation  with FreeBSD 3.5
 
 On Sat Oct 05, 2002; 12:39PM -0400 [EMAIL PROTECTED] propagated the following:
  Greetings,
  
  I tried to install FreeBSD 3.5 on IBM 600E Laptop ,  the following error message 
pops up but 4.4 is working properly on the same type of machine.
 
 Hi.  I've got a 600E.  Make sure you've got the absolute latest BIOS
 updates from IBM.  Also, you probably won't have any luck getting the sound
 working. :/  Good luck!
 

That does sound like an aged BIOS. How old is the 600e? Also, I was able 
to get sound working only with the onboard modem disabled (ps2.exe or 
win32 thinkpad utility). 

  ===
  /boot.config: -P
  Keyboard: yes
  -
  BTX loader 1.00 BTX versionis 1.01
  Console: internal video/keyboard
  BIOS drive A: is disk0
  BIOS drive C: is disk1
  
  FreeBSD/i386 bootstrap loader, Revision 0.7 638/65535kB
  ([EMAIL PROTECTED], Thu Jul 20 01:51:51 GMT 2000) 
  Can't work out which disk we are booting from.
  Guessed BIOS device 0x8b not found by probes, defaulting to disk0:
   
  =
  
snip

The BIOS on my 600e didnt assign drive letters like this. Why is it 
reading a:? Possibly you need to re-write your MBR?

Good luck - JB



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


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



Re: OpenSSH 3.4 and security

2002-10-05 Thread Kris Kennaway

On Sat, Oct 05, 2002 at 09:48:45PM -0500, Steven Lake wrote:
   Hi all.  Haven't had a chance to do much looking up on this, so
 you will have to forgive me asking this question, but here goes.
 
   Have they fixed the issues that originally plagued OpenSSH 2.9
 through 3.3?  The one that called for the huge security bulliten?

Yes, of course.  This is all documented in the security advisory.

Kris



msg04060/pgp0.pgp
Description: PGP signature


Re: Mutt and Filters [pine procmail]

2002-10-05 Thread Peter Leftwich

On Sat, 5 Oct 2002, Scott Robbins wrote:
 On Sat, Oct 05, 2002 at 07:58:08PM -0500, Bryan Cassidy wrote:
  OK. I am going to try this one last time. I really want to keep using
  Mutt because it's small, fast and I like console based apps anyways. I
  am new at this stuff ok. I have asked a couple places on the net many
  times in the last 2 weeks and still can't get it to work. I am
  starting over. I want Mutt to Filter out my e-mails into groups.
 That particular part is fairly easy. If you don't mind, I'll send you to
 my mutt page at http://home.nyc.rr.com/computertaijutsu/mutt.html which explains 
about
 using Procmail. Personally, I  think it's a pretty clear explanation of
 what you'd have to do to get it working.

I haven't used mutt before, but I have used procmail for many many years.
There are many recipes (incremental filtering rules) available on the
Internet.  Procmail works on a per-incoming-email basis.

Another option is to use a MUA (emailer) such as Pine which, at least as of
version 4.33, allows the user to process an inbox or other folder in bulk.
That is, when the user goes to read the inbox, the messages are filtered
all at once (simpler but more cpu-intensive and takes more time).

 I don't know, however, how to get it to open so that
 it opens to FreeBSD. However, for example--I have it set so that if I
 open it, I can see my various mailboxes, and can then arrow down (or
 pick a number, as they're numbered in sequence) to open that particular
 box.

 There's also Xbuffy (the mutt page I gave above gives a link to it)
 which will, when in X, show you how many messages are in each box. In
 console mode, it just shows you the size--for example, my
 In-bsdquestions, with 6 messages shows a size of 22936, nylug with two
 messages shows a size of 12345 (I'm not making that one up.) :0

Check out the frm command which is part of elm 2.5 -- the man page begins
with this:

NAME
   frm,nfrm  -  list from and subject of selected messages in
   mailbox or folder
SYNOPSIS
   frm [-hMnQqStv] [-s status] [folder | username] ...
   nfrm [-hnQqStv] [-s status] [folder | username] ...
DESCRIPTION
   Frm outputs one line per message of the form:
   from [subject]
   where from is the name of the person the message is  from,
   and subject is the subject of the message, if present.  If
   the message is from you, the from portion will  read  ``To
   user'',  where `user' is the user the message was sent to.
   This happens when you receive a copy of a letter you sent.

 After a little while, you get pretty good at judging from that how many
 (approximately) messages you have.

 That answers all but the issue of having it open to the bsdquestions
 mailbox, but it would only be two or three more keystrokes--when it
 opens I hit 11 for the box and then one or two enters to open it.

PINE (at least as of version 4.33) lets you set an option (hit 'm' for main
menu, then 's' setup then 'c' config then 'w' for whereis then type the
word initial to find initial-keystroke-list.

Mine does 'i /n ^w /n ^v' or go to inbox, whereis, last line (rather
than open PINE to the main menu OR to message #1, oldest).

 HTH a little
 Scott

 PGP keyID EB3467D6
 ( 1B48 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6 )
 gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
 Buffy: Okay, that was too close for comfort. Not that slaying is ever comfy, but... 
you know what I mean.

Buffy's cute.  =)

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



THOUSANDS OF FREE STREAMING VIDEOS

2002-10-05 Thread geward

CHECK IT OUT!

FREE ADULT PERSONALS AT FREEMATCHADS.COM

ONE YEAR 100% FREE MEMBERSHIP
TOTALLY FREE OVER 100,000 STREAMING VIDEOS

CLICK BELOW TO GET STARTED

http://www.freematchads.com

9702gVKL9-831OhlI8196Xbyg2-181WnQh6695NsQV0-177qvGv8716TdLZ6-326ntl62

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



directory structuer for a web server

2002-10-05 Thread Kirk Bailey

where should one properly place the directory for the web pages in a web server,
and is there a standard name for it? I have a box with several domains in it, so
I created /www off of root, ant /www/www.foo.foo for each domain under /www but
I suspect this is not a standard solution. Any advice?

-- 

end

Respectfully,
 Kirk D Bailey


+-Thou Art Free. -Eris---+
| http://www.howlermonkey.net  mailto:[EMAIL PROTECTED] |
| KILL spam dead!  http://www.scambusters.org/stopspam/#Pledge |
| http://www.tinylist.org  ++   mailto:[EMAIL PROTECTED] |
+--Thinking| NORMAL |Thinking--+
   ++
---
Introducing NetZero Long Distance
Unlimited Long Distance only $29.95/ month!
Sign Up Today! www.netzerolongdistance.com

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



Re: Mutt and Filters

2002-10-05 Thread Cliff Sarginson

On Sat, Oct 05, 2002 at 07:58:08PM -0500, Bryan Cassidy wrote:
 OK. I am going to try this one last time. I really want to keep using
 Mutt because it's small, fast and I like console based apps anyways. I
 am new at this stuff ok. I have asked a couple places on the net many
 times in the last 2 weeks and still can't get it to work. I am
 starting over. I want Mutt to Filter out my e-mails into groups. Like
 for this mailing list I want ALL e-mails sent, and replied to on
 this list to be sent to a sertain group I dont know maybe called
 FreeBSD-Questions

You need to use procmail for the filtering and the FCC option of Mutt to
get a saved copy of your reply, although I am not sure how you use FCC to 
get a saved copy of your reply to a different mailbox (i.e. the on you
are looking at at the time). Keeping all your mailboxes in a seperate
directory .. say called Mail ... You may need to export the environment
variables MAIL and MAILDIR to get you into the right place from wherever
you run mutt. Then using the c command you can get a list of the
mailboxes and select the one you want to look at. You set the mailboxes
as subscribed then they will appear as in a list and you get cute
little lines and arrows showing all messages in a thread according to
subject.

Sorry not to explain further, but you really *must* study the mutt
documentation and learn a bit about basic use of procmail .. there are
millions of what procmail refers to as recipes on the net...and there is
a tutorial for it.

Procmail is as big a mess as sendmail is, but for this kind of fairly 
simple filtering it does the job. Also you can put a rule in it to use
something like spamassassin which will help you filter out spam
according to a set of rules. It's in the ports.

I don't know how you point sendmail into using procmail since I use a
sane MTA called postfix.

Basically mutt does not have inbuilt filtering, so you have to use an
external agent like procmail. I think there are others (maildrop ??) but
I know little about them.
 
-- 
Regards
   Cliff Sarginson 
   The Netherlands

   Email: [EMAIL PROTECTED]
   Tel  : +31 (0)10 4764595

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



Re: USB Printing

2002-10-05 Thread Gerard Samuel

Well after a bit of head banging, I finally got the test page to print.
The hardware end was no problem, but apsfilter was giving me a bit of a 
headache.
After a couple times of installing the port and playing with options, I 
think its ok now, since I got that
funky test page.
Someone wrote me suggesting CUPS, but from a quick look at the setup, 
driver support didn't seem too large.
I may be wrong, but Ill investigate further.

Thanks all.

Cliff Sarginson wrote:

On Sat, Oct 05, 2002 at 04:13:17PM -0400, Gerard Samuel wrote:
  

Well after almost a year and a half of using FreeBSD, Im going to 
attempt to hook up a printer.
I have a HP DeskJet 640C and all I have is a usb cable for it.
The handbook doesn't discuss usb printing.
I came across a thread in the mailing list about using apsfilter to 
setup a usb printer.
Are there any other options to setting up a usb printer??
Is there anything to look for or watch out for that I should be aware 
of??  (besides making sure I have the correct kernel/device nodes)

Thanks for any insight you may provide...



I apsfilter is the right way to go - it works ! Read the manual page
carefully and you should have no problems. Your printer is in the list 
of recognised devices (I just checked) .. which does not necessarily
mean it will work, but it should do. Just follow the bouncing ball.
A few other things, you will of course need usb/usblpt support in your
kernel, mine is shown below.. you of course do not need all of these
and you may need ohci instead of uhci .. depends on controller .. I
don't think it matters if you compile both .. look in LINT.
There used to be a typo in SETUP for apsfilter where it refers to a
parallel port as the connection even though you chose USB .. just carry
on if it is still there .. the whole setup works.

Don't forget you will have to give the printer a name so be aware of
either using the flag -P to lpr, or export the PRINTER environment
variable with the name of the printer (I do this in /etc/profile..which
may not be the right place if you have multiple printers/users etc).

I have commented the ones you definitely need..
# USB support
device  uhci# UHCI PCI-USB interface (needed or OHCI)
device  usb # USB Bus (required)
device  ugen# Generic (good idea to have this)
device  uhid# Human Interface Devices (don't think you need 
this..but ?)
#device ukbd# Keyboard
device  ulpt# Printer (needed)
device  ums # Mouse
device  uscanner# Scanners

Good Luck !
  


-- 
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/




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



Re: contributing applications

2002-10-05 Thread Atom 'Smasher'

 please see the Porter's Handbook, available at:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html

 and, manpages are always the way to go, if you're providing
 documentation.
=

actually, this thing is a script, less than 500Bytes, so there's no need
to make a port i think?

also, what format are the man pages done in?

are they just ascii text, with bold and underline acceptable? compressed?


...atom

Void-If-Detached
http://smasher.suspicious.org/fs1r  Yamaha FS1R

Never have the armies of the North brought peace,
 prosperity, or democracy to the peoples of Asia,
 Africa, or Latin America. In the future, as in the
 past five centuries, they can only bring to these
 peoples further servitude, the exploitation of their
 labor, the expropriation of their riches, and the denial
 of their rights. It is of the utmost importance that the
 progressive forces of the West understand this.
-- Samir Amin,
director of Forum du Tiers Monde in Dakar, Senegal



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



mtools eject CD? CD-R?

2002-10-05 Thread Peter Leftwich

Is it possible to eject a (mounted or unmounted) CD or DVD from the command
line?  Does a CD-R have to be specially mounted before using mkisofs or
burncd?  Appreciate any answers!

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



usb compact flash card reader issues

2002-10-05 Thread mpd

Hi,

I'm attempting to get a Kodak usb compact flash card reader to
mount under FreeBSD (4.7-PRERELEASE). The device is recognized
when I plug it into a port:

uhci0: VIA 83C572 USB controller port 0x6800-0x681f irq 9 at device 7.2 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ugen0: SHUTTLE SCM Micro USBAT-02 , rev 1.00/0.05, addr 2 -

From what I've read, it should attach to the da device to allow
mounting. I'm not seeing any of this. From my kernel conf:


# SCSI peripherals
device  scbus   # SCSI bus (required)
device  da  # Direct Access (disks)
device  pass# Passthrough device (direct SCSI access)

# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  uhid# Human Interface Devices
device  umass   # Disks/Mass storage - Requires scbus and da


Output of camcontrol devlist -v:
#camcontrol devlist -v
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)

Output of usbdevs -v:
#usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
 port 1 powered
 port 2 addr 2: power 100 mA, config 1, SCM Micro USBAT-02 (0x1010), SHUTTLE(0x04e6), 
rev 0.05

Has anyone been able to get one of these to work? How did you do it?

thanks,

mike
-- 
___
 
I TOLD EVERYONE WE SHOULD HAVE A WITCH-HUNT BUT THEY WANTED TO HAVE
A GOOD OLD-FASHIONED BOOK BURNING INSTEAD!
- Pokey the Penguin from POKEY WAS CORRECT

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



Event Trigger

2002-10-05 Thread Lord Raiden

Hi.  I'm looking for a simple way to implement a trap and trigger so to 
speak.  I'm wanting to setup the system so that the moment it detects a 
certain event in the system, it immediately executes another script or 
program to do something else, but not before, not after.  I thought about 
Cron, but the thing is, I don't know when these events will happen so since 
they're so random, I need something to identify them then immediately run 
another script or program at that exact moment.  Any suggestions?


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



/dev/urandom is randomly cool

2002-10-05 Thread Peter Leftwich

I was sorting through my /usr/X11R6/bin/startx text-file and noticed:

mcookie=`dd if=/dev/urandom bs=16 count=1 2/dev/null | hexdump -e \\%08x\\`

I started playing around with `cat /dev/urandom` and `head -1 /dev/urandom`
so my question is... How can I use the head -1 method and change the output
into just [A-Za-z0-9] and no spaces or punctuation?  And specify length?

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



I screwed up my home KDE files

2002-10-05 Thread Brian Astill

I did a silly thing - doh!
I was working froom the console as su-root, then wanted to do some gui things 
so withour thinking I entered startx and   KDE has never forgiven me 
sob

I rescued one or two essential files where ownership had been changed from 
myself-wheel to root-wheel, but this was never enough and KDE has become less 
and less reliable.  It stopped holding my preference for 6 desktops, and gave 
me 4 instead - but when I used Control Centre to change back to 6 that not 
only worked, but the backgrounds and the apps in all 6 desktops were restored 
just fine (go figure).  It's latest trick is to lose all the KPPP account 
information.

Upgrading from KDE2.2.2.2 to KDE3 hasn't solved the problem.

Everything in KDE as root continues to work just fine and I am sending this 
message from kmail as root (sorry!).

Q.  How can I rescue the situation and get my own home KDE files back again.
I wondered about saving data files, then deleting user-myself, deleting the 
myself-home directory, then adding user-myself again (and then putting the 
data files back later).  Would FBSD4.6 cough if I deleted a user and then 
promptly reinstated them?
Is there a better way to resolve the problem I have?

TIA.



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



Re: mtools eject CD? CD-R?

2002-10-05 Thread Edwin Groothuis

On Sat, Oct 05, 2002 at 10:05:16PM -0700, Peter Leftwich wrote:
 Is it possible to eject a (mounted or unmounted) CD or DVD from the command
 line?  Does a CD-R have to be specially mounted before using mkisofs or
 burncd?  Appreciate any answers!

If it's mounted, unmount it first!

If it's unmount, cdcontrol eject will eject the drive (assuming you
have one, otherwise specify the right device.

An unburned cd can't be mounted before it's burned.

Edwin
-- 
Edwin Groothuis  |Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED]|Weblog: http://www.mavetju.org/weblog/weblog.php 
bash$ :(){ :|:};:   | Interested in MUDs? http://www.FatalDimensions.org/

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



egrep sawfish|gnome-panel

2002-10-05 Thread Peter Leftwich

# ps -auxww | egrep -i '{sawf|gnome}'

I couldn't remember how to use egrep or `grep -e` so in two commands...

# ps -auxww | grep -i sawfish ; ps -auxww | grep -i gnome\-
root  2303  0.0  0.9  7688 4744  v0  S10:37PM   0:00.75 sawfish
root  2508  0.0  1.4  9924 7036  v0  I10:37PM   0:00.56 rep 
/usr/X11R6/libexec/sawfish/2.0.pre1/i386-pc-freebsd4/sawfish-menu

root  2302  0.0  1.4 11444 7420  v0  S10:37PM   0:00.29 gnome-session
root  2304  0.0  2.1 14472 10716  v0  S10:37PM   0:00.61 gnome-panel
root  2323  0.0  1.3 11432 6652  ??  Is   10:37PM   0:00.15 gnome-smproxy 
--sm-config-prefix /.gnome-smproxy-r2Q2HA/ --sm-client-id 
10658bcac20001033878285001105
root  2325  0.0  1.5 11792 7800  ??  SNs  10:37PM   0:00.95 gnome-settings-daemon 
--sm-config-prefix /gnome-settings-daemon-QQ9wsv/ --sm-client-id 
10658bcac200010338782850011050001 gnome-settings-daemon
root  2523  0.0  1.8 13032 9312  ??  Ss   10:38PM   0:00.43 gnome-panel 
--sm-config-prefix /gnome-panel-YwD8Tx/ --sm-client-id 
10658bcac200010338782860011050003

Here's the pressing question!  I am currently running startx.  It isn't
clear if my wm is sawfish or metacity, but one thing is certain: I have no
gnome-panel!  Just a background and I can middle-click for a menu :(

Is there a way to run binaries from within an xterm?  The DISPLAY variable
becomes a problem, because I don't want the X/GUI app to run within the
terminal of course.  I thought `exec gaim` for example would be similar to
Start  Run... to run a binary within the x session, no?

Also, `top` shows me that gnome-panel IS running, so why don't I see it?

Hopelessly lost, thanks for any guidance!

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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