Re: Configuring IPFW IP range [FreeBSD-questions] {offlist}

2010-04-05 Thread Carmel NY
On Sun, 4 Apr 2010 19:11:42 -0500 (CDT), Robert Bonomi
bon...@mail.r-bonomi.com articulated:

  From owner-freebsd-questi...@freebsd.org  Sun Apr  4 08:12:11 2010
  Date: Sun, 4 Apr 2010 09:11:47 -0400
  From: Carmel NY carmel...@hotmail.com
  To: freebsd-questions@freebsd.org
  Subject: Configuring IPFW IP range
 
  This is my first attempt at configuring IPFW. I have it up and
  running; however, I am not quite sure how to accomplish configuring
  it to block an IP range.
 
  Assume an IP range: 219.128.0.0 to 219.137.255.255
 
  That is an actual range: CHINANET Guangdong province network
 
  I want to block the entire range. I am not sure how to do it in
  IPFW. I have read the 'man' pages; however, I am not getting the
  syntax correct since I cannot get the range added.
 
 
 CIDR ranges have to: (a) start on a 'power of 2' address, (b) be a
 'power of two' in size, and (c) be no larger than the 'power of 2'
 factor for the starting address.  This range is _not_ that way [fails
 (b)], so you'll have to do it with multiple entries.
 
 i.e., one for 219.128.0.0/13 which will catch 219.128.0.0 -
 219.135.255.255 and a 2nd for 219.136.0.0/15 which will catch
 219.136.0.0 - 219.137.255.255
 
 Life can get messier, when rule 3 comes into play,  consider the block
 219.130.0.0 to 219.139.255.255
 
 219.130.0.0 is on a /15 boundary, so that's the max block size you
 can use for tht starting address.
219.130.0.0/15   catches 219.130.0.0 - 219.131.255.255
 next, you can start with 219.132.0.0, which is a /14, and block a /14
 wth 219.132.0.0/14   catches 219.132.0.0 - 219.135.255.255
 now, 219.136.0.0 is a /13  so you could block that big with just more
 rule, if needed, (BUT, you only need another /14, to cover the
 remainder of the group of 10 /16s that the initial block includes.
 thus, lastly: 219.136.0.0/14   catches 219.136.0.0 - 219.139.255.255

Thanks! It was suggested that I try 'ipcalc' by another poster. I did,
and it works excellently. In any case, I do have to familiarize myself
more fully with IP addressing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Configuring IPFW IP range

2010-04-04 Thread Carmel NY
This is my first attempt at configuring IPFW. I have it up and running;
however, I am not quite sure how to accomplish configuring it to block
an IP range.

Assume an IP range: 219.128.0.0 to 219.137.255.255

That is an actual range: CHINANET Guangdong province network

I want to block the entire range. I am not sure how to do it in IPFW. I
have read the 'man' pages; however, I am not getting the syntax correct
since I cannot get the range added.


-- 
Carmel
carmel...@hotmail.com

|===
|===
|===
|===
|

Slurm, n.:
The slime that accumulates on the underside of a soap bar when
it sits in the dish too long.

Rich Hall, Sniglets
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Configuring IPFW IP range

2010-04-04 Thread Carmel NY
On Sun, 04 Apr 2010 11:02:29 -0400, Ashley ash...@cpufight.com
articulated:

 On 04/04/2010 09:11 AM, Carmel NY wrote:
  This is my first attempt at configuring IPFW. I have it up and
  running; however, I am not quite sure how to accomplish configuring
  it to block an IP range.
 
  Assume an IP range: 219.128.0.0 to 219.137.255.255
 
  That is an actual range: CHINANET Guangdong province network
 
  I want to block the entire range. I am not sure how to do it in
  IPFW. I have read the 'man' pages; however, I am not getting the
  syntax correct since I cannot get the range added.
 Carmel,
 
 Have you tried something like what's mentioned in this excerpt quoted 
 below?:
 
 Network-based filtering works similarly, and the network
 notation there utilizes either bitmasks or netmasks, for instance:
 
 add 2000 allow all from 192.168.0.0/16 to any
 add 2100 deny all from any to 10.0.0.0:255.0.0.0
 
 The first rule allows all traffic from the network whose IP range
 is 192.168.0.0-192.168.255.255. It uses a bitmask to indicate this. A
 bitmask specifies how many bits from the network address (192.168.0.0)
 should remain the same for matching packets. In this instance, the
 first 16 bits out of the 32 bit address will remain the same, and as
 the first 16 bits happen to be the first two octets, 192.168, all
 addresses whose source addresses have the first two octets as 192.168
 will be matched by this rule. The second rule accomplishes a similar
 thing using netmasks. The netmask indicate how many bits from the
 indicated network address should be used for rule matching. In the
 above example, for rule two, the netmask is 255.0.0.0. Its first
 octet is set with high bits; in other words, the first 8 bits are set
 high. This indicates to ipfw(8) that only packets with the first 8
 bits of the network address (10.0.0.0) should be matched. As the
 first 8 bits of the network address equal 10, then all packets whose
 destination address have a 10 for the first octet (all addresses
 between 10.0.0.0 and 10.255.255.255) will be matched by this rule,
 and then dropped, as indicated by the action.
 
 
 (This excerpt from http://www.freebsd-howto.com/HOWTO/Ipfw-HOWTO)

Thanks Maciej Suszko and Ashley. I used the ipcalc tool. I thought I
had seen something like that before; however, I was not able to recall
the name of the utility. I really have to study up on IPs and
networking.

-- 
Carmel
carmel...@hotmail.com

|===
|===
|===
|===
|

BACHELOR: A man who chases women and never Mrs. one.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


IPFW and Fail2Ban

2010-04-03 Thread Carmel NY
I am having an exceedingly hard time finding documentation on Fail2Ban
on FreeBSD. In fact, documentation on Fail2Ban seems rather sparse to
begin with.

In any case, does Fail2Ban work with the IPFW firewall on FreeBSD? Does
it do it natively, or does it require a special configuration?

I presently have 'denyhost' up and running. If I get Fail2Ban working
correctly, I assume I can remove 'denyhost'. Again, I am assuming that
the two program would interact badly with each other.

-- 
Carmel
carmel...@hotmail.com

|===
|===
|===
|===
|

Your fault - core dumped
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: IPFW and Fail2Ban

2010-04-03 Thread Carmel NY
On Sat, 3 Apr 2010 06:49:33 -0600, Adam Vande More
amvandem...@gmail.com articulated:

 On Sat, Apr 3, 2010 at 4:29 AM, Carmel NY carmel...@hotmail.com
 wrote:
 
  I am having an exceedingly hard time finding documentation on
  Fail2Ban on FreeBSD. In fact, documentation on Fail2Ban seems
  rather sparse to begin with.
 
  In any case, does Fail2Ban work with the IPFW firewall on FreeBSD?
  Does it do it natively, or does it require a special configuration?
 
  I presently have 'denyhost' up and running. If I get Fail2Ban
  working correctly, I assume I can remove 'denyhost'. Again, I am
  assuming that the two program would interact badly with each other.
 
 
 I don't know anything about fail2ban so can't help you there.  Is
 there something wrong with denyhosts?

Nothing at all, I am just exploring other avenues. Fail2Ban can
potentially block more attacks than denyhosts can though.

-- 
Carmel
carmel...@hotmail.com

|===
|===
|===
|===
|

Money is better than poverty, if only for financial reasons.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


network freebsd computers

2009-09-22 Thread Carmel NY
Most of my networking experience is based on a Windows. Networking two
or more PCs together in a Window's environment is easy. Unfortunately,
I am not getting anywhere accomplishing the same with multiple FreeBSD
machines. I can get them networked with Window's machines; however, not
with each other.

Where can I find a go How-To on how to accomplish this?
-- 
Carmel
car...@hotmail.com

It is common sense to take a method and try it. If it fails, admit it
frankly and try another. But above all, try something.

Franklin D. Roosevelt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: network freebsd computers

2009-09-22 Thread Carmel NY
On Tue, 22 Sep 2009 13:46:53 -0400
Mikel King mikel.k...@olivent.com wrote:

 
 On Sep 22, 2009, at 1:39 PM, Carmel NY wrote:
 
  Most of my networking experience is based on a Windows. Networking
  two or more PCs together in a Window's environment is easy.
  Unfortunately, I am not getting anywhere accomplishing the same
  with multiple FreeBSD machines. I can get them networked with
  Window's machines; however, not
  with each other.
 
  Where can I find a go How-To on how to accomplish this?
  -- 
  Carmel
  car...@hotmail.com
 
 Carmel,
 
   Could you perhaps describe what it is you want to accomplish?
 I might be able to direct you to a nice how-to or even walk you
 through it...

Sorry, I should have been more informative.

Presently, I have Samba set up on my FreeBSD machines. Windows can
access the shared directories without any problems. I also have Putty
installed on the Windows machines so I can directly access the FreeBSD
boxes when required.

I want the same functionality between the FreeBSD boxes. Eventually, at
least one of them will be run headless; the mail server in particular.

I can find a virtual cornucopia of information on networking Windows
machines; Microsoft even includes a wizard to accomplish it. However,
there does not seem to be as much information regarding non-Windows
products.

At present, all machines are connected, either wired or wireless,
through a linksys router.


-- 
Carmel
car...@hotmail.com

Syntactic sugar causes cancer of the semicolon.

Epigrams in Programming, ACM SIGPLAN Sept. 1982
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: network freebsd computers

2009-09-22 Thread Carmel NY
On Tue, 22 Sep 2009 20:52:47 +0300
Peter peterp...@aboutsupport.com wrote:

[snip]

 Maybe you are looking for this ?
 
 http://www.freebsddiary.org/nfs.php

That article is quite dated. However, I will investigate it ASAP.

Thanks!

-- 
Carmel
car...@hotmail.com

BLISS is ignorance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: network freebsd computers

2009-09-22 Thread Carmel NY
On Tue, 22 Sep 2009 12:25:38 -0600 (MDT)
Warren Block wbl...@wonkity.com wrote:

[snip]

 It's still a little unclear.  If you want the FreeBSD systems to 
 participate in the Windows networking, look at mount_smbfs and Samba.

I want to be able to access a FreeBSD box from another FreeBSD box. I
rarely access a Windows machine from FreeBSD as it is just easier to do
it the other way around.

Anyway, I have been given a few ideas to follow upon.

Thanks!
-- 
Carmel
car...@hotmail.com

SAFETY I can live without Someone I love But not without Someone I need.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: network freebsd computers

2009-09-22 Thread Carmel NY
On Tue, 22 Sep 2009 14:53:17 -0400
Jerry McAllister jerr...@msu.edu wrote:

[snip]

 Am I missing something or would ssh, scp and directing your Xwindows
 display from the headless machine to a desktop X server cover
 everything you are asking for?

I was just playing around with ssh. Would it be possible to store
multiple keys in the ~/.ssh/authorized_keys file?

-- 
Carmel
car...@hotmail.com

Lady Luck brings added income today. Lady friend takes it away tonight.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: network freebsd computers

2009-09-22 Thread Carmel NY
On Tue, 22 Sep 2009 14:08:21 -0500
David Kelly dke...@hiwaay.net wrote:

[snip]

 It would, but he's approaching the problem with Windows-colored
 glasses.

I am not sure what that is even suppose to mean, so I'll just ignore it.

-- 
Carmel
car...@hotmail.com

Beware of friends who are false and deceitful.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: network freebsd computers

2009-09-22 Thread Carmel NY
On Tue, 22 Sep 2009 21:08:44 +0200
Roland Smith rsm...@xs4all.nl wrote:

 On Tue, Sep 22, 2009 at 01:39:53PM -0400, Carmel NY wrote:
  Most of my networking experience is based on a Windows. Networking
  two or more PCs together in a Window's environment is easy.
  Unfortunately, I am not getting anywhere accomplishing the same
  with multiple FreeBSD machines. I can get them networked with
  Window's machines; however, not with each other.
 
 FYI, syncronizing files between FreeBSD and other UNIX-like systems
 is quite easy with rsync [http://www.samba.org/rsync/]. This is also
 quite easy to automate (e.g. running rsync from cron).

I use rsync quite often. It is not relevant to this discussion however.
 
 For simple and fast data exchange, nothing beats netcat. [nc(1)]
 For remote backups I tend to pipe the output of dump(8) through netcat
 on one machine, and pipe the output from a listening netcat on
 another machine to a file. Suppose I want to backup machine 'foo' to
 machine 'bar'. On 'bar' I would start the following command: 
  'nc -l 65000 |bzip2 -c foo-root-20090922.dump.bz2'.
 On 'foo' I would then start the following command as root: 
  'dump -0 -a -C 8 -L -u -f - /|nc bar 65000'

Useful information; however, not relevant.

 Typically I would be doing this sitting behind one of those machines
 with the X window system running and a local terminal and a terminal
 running ssh to the other machine open.

I have not experimented with that yet. If needed, would I be able to
run a program that required a GUI on the remote machine, or would I
need to install and load all the X programs also?

-- 
Carmel
car...@hotmail.com

The person who marries for money usually earns every penny of it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Postfix error after updating to openssl-0.9.8k_5

2009-09-20 Thread Carmel NY
I just install the updated openssl-0.9.8k_3 to openssl-0.9.8k_5 and
then rebuilt postfix-current-2.7.20090712,4 and
cyrus-sasl-saslauthd-2.1.23. Now when Postfix starts, I am receiving
this error message:

Sep 20 08:15:51 scorpio postfix/smtpd[4050]: sql_select option missing
Sep 20 08:15:51 scorpio postfix/smtpd[4050]: auxpropfunc error no mechanism 
available

The /var/log/messages log is also filled with these error messages.
However, I cannot discover anything inappropriately happening with
Postfix. It appears to working correctly and I have no indication of
mail being lost or refused.

I do not use MySQL with Postfix.

cat /usr/local/lib/sasl2/smtpd.conf

# Global Parameters
log_level: 0
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN

This is on a FreeBSD-7.2 system. Has anyone else experienced this
phenomena?

-- 
Carmel
car...@hotmail.com

Your boyfriend takes chocolate from strangers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Firefox: Video but no audio

2009-06-30 Thread Carmel NY
On Tue, 30 Jun 2009 05:52:03 +0530
Manish Jain invalid.poin...@gmail.com wrote:

 Do you have problems with sound only on Firefox ? If your problem is 
 that you can't get sound with any application, then please see the 
 output of 'cat /dev/sndstat'. If you get nothing, then you probably 
 don't have an appropriate sound driver loaded.
 
 If you have an Intel-based board, try putting snd_ich_load=YES and 
 snd_hda_load=YES into your /boot/loader.conf
 
 If your problem is Firefox-specific, then try editing 
 Tools-Options. On the Applications tab, see whether you have an 
 entry for MP3 Format Sounds and that it set to something reasonable.

Sound works fine with everything except firefox.

I am not sure what version of FF you are referring to. I have no menu
listing for TOOLS  OPTIONS listed. I do have an EDIT 
PREFERENCES; however, there is nothing about sound listed there.

-- 
Carmel
car...@hotmail.com

The sudden sight of me causes panic in the streets. They have yet to
learn - only the savage fears what he does not understand.

The Silver Surfer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Firefox: Video but no audio

2009-06-29 Thread Carmel NY
FreeBSD-7.2

Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.0.11) Gecko/2009062122 
Firefox/3.0.11

I am having a problem getting Firefox to play audio. For instance, on
Youtube, it will display the video portion fine; however, there is no
audio present. Also, when I visit sites that have background music, it
does not work with Firefox either. In fact, that is how it responds to
every site I have tried it on.

Is there a plug-in that I have not installed?

-- 
Carmel
car...@hotmail.com

A mouse is a device used to point at the xterm you want to type in.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Firefox: Video but no audio

2009-06-29 Thread Carmel NY
On Mon, 29 Jun 2009 20:57:01 +0200
dan mesli...@yahoo.fr wrote:

 On Monday 29 June 2009 18:19:21 Carmel NY wrote:
  FreeBSD-7.2
 
  Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.0.11)
  Gecko/2009062122 Firefox/3.0.11
 
  I am having a problem getting Firefox to play audio. For instance,
  on Youtube, it will display the video portion fine; however, there
  is no audio present. Also, when I visit sites that have background
  music, it does not work with Firefox either. In fact, that is how
  it responds to every site I have tried it on.
 
  Is there a plug-in that I have not installed?
 
 Do you mean that the Flash plugin outputs no sound ? Which plugin are
 you currently using ? Gnash or linux-flash ?

linux-flashplugin-9.0r159 used in conjunction with firefox-3.0.11,1

The video is great; however, there is no audio.

-- 
Carmel
car...@hotmail.com

A prohibitionist is the sort of man one wouldn't care to drink with --
even if he drank.

Mencken
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Adding data to existing CD/DVD

2009-06-27 Thread Carmel NY
On Fri, 26 Jun 2009 16:40:46 -0400
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote:

 You need to *not* fixate the disk, and on subsequent sessions you need
 to tell mkisofs where to start the new image.  The burning command
 also needs to know that it's a multi-session disk.  See the -C
 option for mkisofs, and the -multi option for cdrecord.
 
 My crib sheet for burning disks provides an example:
 
 # first session
 TZ=UTC-5 mkisofs -R $filenames |cdrecord -v driveropts=burnfree -multi
 -data -tao -
 
 #other sessions
 OFST=`cdrecord -msinfo`
 echo $OFST
 TZ=UTC-5 mkisofs -M $dv -C $OFST -R $filenames |cdrecord -v
 driveropts=burnfree -tao -multi -data -eject -
 
OK, using your instructions, I am able to create the disk just fine.
However, when I attempt to add data to it, it bombs out.

I created a script and then used it to try and add two files to the
disk using your instructions.

This is the output:

$ Update-CD.sh Joker-1.csv k3b.txt
Joker-1.csv k3b.txt
0,11702
Cdrecord-Clone 2.01 (i386-unknown-freebsd7.2) Copyright (C) 1995-2004 J\ufffdrg 
Schilling
TOC Type: 1 = CD-ROM
cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
mkisofs: Invalid argument. Open by 'devname' not supported on this OS. Cannot 
open SCSI driver.
mkisofs: Invalid argument. Unable to open previous session image -C
scsidev: '3,0,0'
scsibus: 3 target: 0 lun: 0
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 0
Device type: Removable CD-ROM
Version: 0
Response Format: 1
Vendor_info: 'PHILIPS '
Identifikation : 'DVD8801 '
Revision   : 'GW02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x002B 
Profile: 0x001B 
Profile: 0x001A 
Profile: 0x0016 
Profile: 0x0015 
Profile: 0x0014 
Profile: 0x0013 
Profile: 0x0011 
Profile: 0x0010 
Profile: 0x000A 
Profile: 0x0009 (current)
Profile: 0x0008 
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at 
ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96R RAW/R16 RAW/R96R
Drive buf size : 1073152 = 1048 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data  unknown length
Total size:0 MB (00:00.00) = 0 sectors
Lout start:0 MB (00:02/00) = 0 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, high Beta category (A+) (3)
  ATIP start of lead in:  -11634 (97:26/66)
  ATIP start of lead out: 359846 (79:59/71)
Disk type:Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
cdrecord: WARNING: Total disk size unknown. Data may not fit on disk.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
Starting to write CD/DVD at speed 32 in real TAO mode for multi session.
Last chance to quit, starting real write0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
cdrecord: Premature EOF on stdin.
cdrecord: Input buffer error, aborting.
cdrecord: fifo had 1 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

As you can see, nothing was written. I am using brand new CD/R disks
that work on other platforms so I don't think that is the problem.
since I can create the original disc, I can obviously write to one. do
you have any ideas what the problem might be?

Thanks!

-- 
Carmel
car...@hotmail.com

WARNING TO ALL PERSONNEL: Firings will continue until morale improves.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Adding data to existing CD/DVD

2009-06-26 Thread Carmel NY

I have tried both xfburn and cdrecord; however, I cannot figure out how
to add data to an existing CD, or create a CD that I can later add data
to. It seems that once the CD is written to, this disc is closed. I
have seen a few options that allow writing to the disk multiple times;
however, they are then only viewable on a FreeBSD system. I need to
create discs that are viewable on multiple OS's and that I can add data
to after the initial burn. Using mkisofs creates an ISO that makes
adding data to impossible as far as I can tell.

On windows, it is easily done. I just cannot get a handle on how to do
it on FreeBSD. Maybe I need a different program?

-- 
Carmel
car...@hotmail.com

If you wish to live wisely, ignore sayings -- including this one.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem starting slapd

2009-06-23 Thread Carmel NY
FreeBSD-7.2
openldap-server-2.4.16_1

I just installed this port. For some reason it will not start
correctly. I have all of the information entered in the /etc/rc.conf
file and the slapd.conf and ldap.conf files are configured correctly.

There is no 'PID' file created. Below is what I receive when I attempt
to start or stop the program.

/usr/local/etc/rc.d # ./slapd start
Starting slapd.
/usr/local/etc/rc.d # ./slapd stop 
slapd not running? (check /var/run/openldap/slapd.pid).
/usr/local/etc/rc.d # ls /var/run/openldap
ldapi=
/usr/local/etc/rc.d # 

There is a 'socket' created, but that is it. I a pulling my hair out,
what is left of it, trying to figure out what the problem is. Any
suggestions?

Thanks!

-- 
Carmel
car...@hotmail.com

I would have made a good pope.

Richard Nixon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem starting slapd

2009-06-23 Thread Carmel NY
On Tue, 23 Jun 2009 16:46:42 +0200
Peter Boosten pe...@boosten.org wrote:

 Check permissions on /var/run/openldap

drwxr-xr-x   2 ldapldap 512B Jun 23 10:57 openldap/

They appear to be correct. I might add, that I did a complete deinstall
of the port, removed the /usr/local/etc/openldap directory and the
start up script and then reinstalled the port. The only thing I have not
done is remove DB46 and reinstall that. I really don't think that would
effect anything anyway.

-- 
Carmel
car...@hotmail.com

Do not do unto others as you would they should do unto you. Their
tastes may not be the same.

George Bernard Shaw
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem starting slapd (FIXED)

2009-06-23 Thread Carmel NY
On Tue, 23 Jun 2009 11:03:16 -0400
Carmel NY carmel...@hotmail.com wrote:

 On Tue, 23 Jun 2009 16:46:42 +0200
 Peter Boosten pe...@boosten.org wrote:
 
  Check permissions on /var/run/openldap
 
 drwxr-xr-x   2 ldapldap 512B Jun 23 10:57 openldap/
 
 They appear to be correct. I might add, that I did a complete
 deinstall of the port, removed the /usr/local/etc/openldap directory
 and the start up script and then reinstalled the port. The only thing
 I have not done is remove DB46 and reinstall that. I really don't
 think that would effect anything anyway.

FIXED! Apparently, I had a corrupted schema file. Replaced it and now
all is well.

-- 
Carmel
car...@hotmail.com

Don't eat yellow snow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


gmplayer cannot show video in xfce4

2009-06-19 Thread Carmel NY
When I start mplayer (gmplayer) from within xfce4 and attempt to play a
video, I receive an error message. The audio portion works fine however.

The screen-shot of the error message is viewable here:

http://imagebin.ca/view/OdMEXlY.html

What is strange is that the video was working until I modified the
PolicyKit.conf file. This is the modification I added. I substituted
'me' for the actual users name.

match action=org.freedesktop.hal.storage.mount-removable
  match user=me
return result=yes/
  /match
/match

match action=org.freedesktop.hal.storage.mount-fixed
  match user=me
return result=yes/
  /match
/match

match user=me
return result=yes/
/match 

If I remove the modifications, I cannot mount a CD. Is there something
else I should be or not be doing here?

-- 
Carmel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gmplayer cannot show video in xfce4

2009-06-19 Thread Carmel NY
On Fri, 19 Jun 2009 17:08:59 +0200
Paul B. Mahol one...@gmail.com wrote:

 Somehow hal manages to break -vo xv ? Try with mplayer and see full
 error message.
 What video driver are you using?

I am using the 'nv' driver.

Using mplayer from the console does not produce an error. Of course,
all I get is the audio track. No error message is displayed.

So, if I use hal I lose the ability to view videos? That kind of sucks.
Obviously, someone must know about it so I assume submitting a bug
report would be a waste of time.

-- 
Carmel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gmplayer cannot show video in xfce4

2009-06-19 Thread Carmel NY
On Fri, 19 Jun 2009 19:05:13 +0200
Paul B. Mahol one...@gmail.com wrote:

 Not from console; from xterm. And if xv is not available, x11 is just
 fine(but slow).

This is everything:

MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 75, 
Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing Answer_Lady.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG2  320x240  (aspect 2)  25.000 fps  1379.2 kbps (172.4 kbyte/s)
==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000-176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 320x240 = 320x240 Planar YV12 
New_Face failed. Maybe the font path is wrong. 2 ??% ??% ??,?% 0 0 
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.


Now, the video did display and the audio is present. So why does it work
from an xterm display but not otherwise?

-- 
Carmel
car...@hotmail.com

The man who runs may fight again.

Menander
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Files in /var/ftp/etc directory.

2009-06-17 Thread Carmel NY
This is probably a dumb question; however, since I don't know the
answer I figured I might as well ask.

On a new installation of FreeBSD-7.2, I opted to set up an anonymous
FTP server. I just noticed that there are three files in the '/etc'
directory.

1) ftpmold
2) group
3) pwd.db

I know what the first one is, but what are the other two for? They are
visible and down loadable to any visitor who accesses the site. Is this
normal or is this something I should be concerned about? Can I just
delete the two files I am unsure of?

Thanks!

-- 
Carmel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem with bash script

2009-06-16 Thread Carmel NY
I am attempting to write a simple Bash script that will find all the
'*.pem' files in a directory structure and move them to another
directory. It seems to work until I get to the copy part where it fails.

My scripting skills are not that good. Perhaps someone could tell me
what I am doing wrong.

This is the script:

#! /usr/bin/env bash

# Save the field separator
oIFS=$IFS

# Set it to line breaks
IFS=$'\n'

for i in $(find ./ -name *.pem -print); do

# Get the basename
BN=$(basename $i)

# copy the file to another directory using the base name
cp $i /usr/home/tmp/$BN

done

# Reset the IFS variable
IFS=$oIFS

exit


-- 
Carmel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with bash script

2009-06-16 Thread Carmel NY
On Tue, 16 Jun 2009 15:56:15 +0200
Bertram Scharpf li...@bertram-scharpf.de wrote:

 Hi,
 
 Am Dienstag, 16. Jun 2009, 09:09:09 -0400 schrieb Carmel NY:
  [...] It seems to work until I get to the copy part where it fails.
  
  My scripting skills are not that good. Perhaps someone could tell me
  what I am doing wrong.
  
  # copy the file to another directory using the base name
  cp $i /usr/home/tmp/$BN
 
 Please provide the error message next time.
 
 I guess the filenames contain spaces. Try
 
   cp $i /usr/home/tmp/$BN
 
 Bertram

I am an idiot. The problem was that the directory did not exist. It was
suppose to be $HOME/tmp/$BN.

However, I rarely use find and was not aware of the '-exec' function. I
use that and it worked fine.

Thanks to everyone for their assistance.

-- 
Carmel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org