Re: bsdlabel editing to create a single partition

2007-04-22 Thread L Goodwin
Got it, thanks!

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On 21/04/07, L Goodwin  wrote:
 I want to dedicate the entire disk to a single FreeBSD partition (da1s1a), 
 and
  am a little confused about editing partitions via bsdlabel -e .

 Prior to editing, it looks like this:
 
 # /dev/da1s1:
 8 partitions:
 #  size   offsetfstype [fsize bsize bps/cpg]
 a: 17908300   16unused00
 c: 17908316 0unused00# raw part, don't edit
 

 I gather that I should change the following field values for c::
 fstype: 4.2BSD
 fsize: 2048
 bsize: 16384

 Questions:
 1) Do I change the size value for a: or leave at current size?

NO

  2) Do I leave the c: line alone (in place) and if YES does
 its size and offset values need to be edited?

Leave it alone.


 If someone could show me what it should look like when done, I'd appreciate 
 it.

 When I leave the c: entry in place, I get /dev/da1s1a and /dev/da1s1c in 
 /dev/.
 Should I delete the c: entry? Here's what I have now:
 
  # /dev/da1s1:
  8 partitions:
  #  size   offsetfstype [fsize bsize bps/cpg]
  a: 17908300   164.2BSD204816384
  c: 17908316 0unused0  0# raw part, don't edit
  
 


Don't edit the bsdlabel at all, just:
# newfs -U /dev/da1s1a
and it will automatically fill out the fsize, bsize, and bps/cpg
fields.  You can then add a line to fstab, mount it, fill it with
text files containing the word corn ever and over.

c: should nearly never be touched, and definitely never in
the course of simply setting up a disk for use.

-- 
--


   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anti Spam

2007-04-22 Thread jdow

I'd also add to your remarks, Martin, that the list has people who serve
as few as one person to one fellow who is mostly quiet these days who
quite literally worked on a setup handling over a million addresses.
Martin is one of the stalwarts on the group. (I've mostly been quiet for
the last several months due to lack of time.) Martin's advice is well
worth the reading.

{^_^}   Joanne
- Original Message - 
From: Martin Hepworth [EMAIL PROTECTED]




Grant

I'd look at your SA setup, make sure you're running v 3.1.8 abd have
saupdate-ed recently.

Also make sure you're running the URI-RBLs, dcc and razor2.

Third party rules from www.rulesemporium.com are a must are as is  the the
imageinfo plugin.

You could always ask on the spamassassin users list for advice on tuning 
you
setup and get some of the spam you get analysed by  those of us running 
well

tuned SA setups so you know which extra rulesets will help.

Go on as on the SA users list, we're a friendly bunch and will help you 
with

your problem.

--
Martin

On 4/20/07, Grant Peel [EMAIL PROTECTED] wrote:


Hi all,

I am posting this question here because I know there are alot of ISPs
using FreeBSD (including me) and am hoping to get feedback, either 
directly

to me or to the list.

We are wrestling (as I am sure many are), with spam. Up until now we have
been employing Spamassassin locally and using some 3rd party Anti-Spam
servervices that are getting less and less reliable as the weeks go by.

We are considering two hardware solutions, Easyantispam and Barracuda.
Barracuda is very expensive, so the most likely candidate is 
Easyantispam.

Does anyone out there have thought on either or both of these? Usability?
Reliability? Total Cost of ownership? Integration issues?

Any thoughts will be appreciated,

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


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


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


Azureus Build Error

2007-04-22 Thread Warren Liddell
Running FreeBSD 6.2-STABLE .. Azureus as always fials with the following (any 
ideas/suggestions welcomed)
---

===  Building for azureus-3.0.1.0
Buildfile: build.xml

init:
[mkdir] Created dir: /usr/ports/net-p2p/azureus/work/build

compile:
[javac] Compiling 2510 source files 
to /usr/ports/net-p2p/azureus/work/build

[javac] 
/usr/ports/net-p2p/azureus/work/org/gudy/azureus2/pluginsimpl/local/utils/resourcedownloader/ResourceDownloaderFactoryImpl.java:66:
 
cannot resolve symbol
[javac] symbol  : method toURI ()
[javac] location: class java.net.URL
[javac] return( new 
ResourceDownloaderFileImpl( null, new File( url.toURI(;
[javac] 
   
^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error

BUILD FAILED
/usr/ports/net-p2p/azureus/work/build.xml:22: Compile failed; see the compiler 
error output for details.

Total time: 1 minute 7 seconds
*** Error code 1

Stop in /usr/ports/net-p2p/azureus.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Porting a driver from RELENG_6 to RELENG_6_2

2007-04-22 Thread Andriy Babiy
 I have a Marvell Yukon 88E8050 Gigabit Ethernet which came with my
 motherboard. When looking for it's driver I found that RELENG_6
 supports it, and the driver is located at sys/dev/msk/ But I am using
 RELENG_6_2.

 Is it advisable to take this driver from RELENG_6 to RELENG_6_2? Is
 there some established method to get a diff of this driver alone and
 apply it to RELENG_6_2?

Have you tried searching http://www.marvell.com/ for the driver? They 
provide the binary i386 driver for their Gigabit Ethernet Cards (myk), 
though I'm not sure about the card you mentioned.

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


best programming language for console/sql application?

2007-04-22 Thread Zhang Weiwu

Dear list

This is OT. I am a 4 year php developer and is very familiar with 
javascript and awk (familiar = knows and used all functions and features 
of the language itself) and I am a 5 year FreeBSD user. Being frustrated 
for the lack of a good console-based issue tracking tool (like mantis or 
bugzilla), I think I should start to write my own. I'll either start 
from scratch or (better) write a frontend for mantis which I used for years.


  1. If someone has already started, I should try join him/her rather
 than reinventing the wheel. So if someone knows any person who is
 starting to work on a slim console-based issue tracker, please let
 me know. I already did quit a few searches. I know someone is
 working on a console front-end of G-Forge, but a big software like
 G-Forge is not what I am thinking of.
  2. If I start my own, I think I'll be using a console widget library
 (ncurse? because it's famous), an SQL database (no problem) and a
 programming language. I never developed console application
 before, so here asking for suggestions on what programming
 language to choose. Non of my known language php/javascript/awk
 are suitable so I guess I have to learn a new language anyway. The
 language better be easy to learn and work with (C++ is out), not
 necessarily have complicated calculation feature (like the
 graphical report mantis makes), not necessarily OOP. I have perl
 and tcl in my head now, can you make some recommendations?

Thanks!

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


Re: mspaint-like application?

2007-04-22 Thread Roland Smith
On Sun, Apr 22, 2007 at 05:50:28PM +0300, Ghirai wrote:
 Hello,
 
 Even though this is not necessarily a pure FreeBSD question,
 i'd like to know if there are any mspaint-like applications
 in the ports collection?
 
 I don't need anything as complex as gimp,
 i just want to make quick edits, adding arrows, etc
 on images, then saving in a couple popular formats.

ImageMagick will do that, but from the command line. 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpNK7d1CRvEG.pgp
Description: PGP signature


mspaint-like application?

2007-04-22 Thread Ghirai
Hello,

Even though this is not necessarily a pure FreeBSD question,
i'd like to know if there are any mspaint-like applications
in the ports collection?

I don't need anything as complex as gimp,
i just want to make quick edits, adding arrows, etc
on images, then saving in a couple popular formats.

I wanted to install kolourpaint; i found out that it
was included in kdegraphics, which has quite a few rather big
dependencies.

Thanks.

-- 
Best regards,
Ghirai.

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


Re: best programming language for console/sql application?

2007-04-22 Thread Mike Jeays
On Sunday 22 April 2007 06:32, Zhang Weiwu wrote:
 Dear list

 This is OT. I am a 4 year php developer and is very familiar with
 javascript and awk (familiar = knows and used all functions and features
 of the language itself) and I am a 5 year FreeBSD user. Being frustrated
 for the lack of a good console-based issue tracking tool (like mantis or
 bugzilla), I think I should start to write my own. I'll either start
 from scratch or (better) write a frontend for mantis which I used for
 years.

1. If someone has already started, I should try join him/her rather
   than reinventing the wheel. So if someone knows any person who is
   starting to work on a slim console-based issue tracker, please let
   me know. I already did quit a few searches. I know someone is
   working on a console front-end of G-Forge, but a big software like
   G-Forge is not what I am thinking of.
2. If I start my own, I think I'll be using a console widget library
   (ncurse? because it's famous), an SQL database (no problem) and a
   programming language. I never developed console application
   before, so here asking for suggestions on what programming
   language to choose. Non of my known language php/javascript/awk
   are suitable so I guess I have to learn a new language anyway. The
   language better be easy to learn and work with (C++ is out), not
   necessarily have complicated calculation feature (like the
   graphical report mantis makes), not necessarily OOP. I have perl
   and tcl in my head now, can you make some recommendations?

 Thanks!

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

I would recommend any of Perl, Python and Ruby.  Python is excellent for 
writing clean, self-documenting code, and is my current favourite.  TCL is 
more verbose, and does not have the excellent OO features to be found in 
Python and Ruby. Python is very easy to learn - it even seems a bit naive to 
begin with, but it is actually very powerful.

OT as you said, and the stuff of flamewars!

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


Monitor and X

2007-04-22 Thread Richard Knebel

Hi,

I am trying to set up m y computer to use X in 6.2
I edited the xorg.conf file with my monitors Horiz and Vert freq, but  
whenever I try and do startX

I get this message

Out of Range Hfreq 81 khz
 VFreq 65 hz

Thanks
Rick

Rick Knebel
[EMAIL PROTECTED]



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


Re: Proliant G5 and E200i controller

2007-04-22 Thread Ivan Voras
[EMAIL PROTECTED] wrote:
 I have purchased a new Proliant G5 server with the E200i RAID controller.
 
 FreeBSD is not recognizing the the drives.  The ciss module for the
 controller is not loaded.  Do I need to do something special to make
 FreeBSD recognize the controller?

Which version of FreeBSD? I had it running fine with 6.2-release.




signature.asc
Description: OpenPGP digital signature


Re: Monitor and X

2007-04-22 Thread Derek Ragona

At 11:19 AM 4/22/2007, Richard Knebel wrote:

Hi,

I am trying to set up m y computer to use X in 6.2
I edited the xorg.conf file with my monitors Horiz and Vert freq, but
whenever I try and do startX
I get this message

Out of Range Hfreq 81 khz
 VFreq 65 hz

Thanks
Rick

Rick Knebel
[EMAIL PROTECTED]


You need to post back with at least the monitor settings you have in your 
xorg.conf file.


-Derek 
--

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Disassembler for freebsd?

2007-04-22 Thread Ghirai
Hello list,

Has anyone tried to use ldasm and/or lida on FreeBSD?

Are there any alternatives, besides hte?

Thanks.

-- 
Best regards,
Ghirai.

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


Re: bsdlabel editing to create a single partition

2007-04-22 Thread Jerry McAllister
On Sat, Apr 21, 2007 at 09:58:11PM -0500, [EMAIL PROTECTED] wrote:

 On 21/04/07, L Goodwin [EMAIL PROTECTED] wrote:
 I want to dedicate the entire disk to a single FreeBSD partition 
 (da1s1a), and
  am a little confused about editing partitions via bsdlabel -e 
  slicename.
 
 Prior to editing, it looks like this:
 
 # /dev/da1s1:
 8 partitions:
 #  size   offsetfstype [fsize bsize bps/cpg]
 a: 17908300   16unused00
 c: 17908316 0unused00# raw part, don't edit
 
 
 I gather that I should change the following field values for c::
 fstype: 4.2BSD
 fsize: 2048
 bsize: 16384
 
 Questions:
 1) Do I change the size value for a: or leave at current size?
 
 NO
 
  2) Do I leave the c: line alone (in place) and if YES does
 its size and offset values need to be edited?
 
 Leave it alone.
 
 
 If someone could show me what it should look like when done, I'd 
 appreciate it.
 
 When I leave the c: entry in place, I get /dev/da1s1a and /dev/da1s1c in 
 /dev/.
 Should I delete the c: entry? Here's what I have now:
 
  # /dev/da1s1:
  8 partitions:
  #  size   offsetfstype [fsize bsize bps/cpg]
  a: 17908300   164.2BSD204816384
  c: 17908316 0unused0  0# raw part, don't 
  edit
  
 
 
 Don't edit the bsdlabel at all, just:
 # newfs -U /dev/da1s1a
 and it will automatically fill out the fsize, bsize, and bps/cpg
 fields.  You can then add a line to fstab, mount it, fill it with
 text files containing the word corn ever and over.

Almost, but not quite right, if I understand what is being said.
You do want to do a bsdlabel and some minor editing as indicated below.

First, did you do an 'fdisk -I da1'
   or'fdisk -IB da1'if you want it bootable.

The presence of the 16 in the offset field of the a: line makes me
think that you did not.   So, do the fdisk.

(If you do not do the fdisk, then the bsdlabel must be done to da1 and 
not da1s1 plus the newfs would be 'newfs /dev/da1a and not /dev/da1s1a  
which will make it one of those dangerously dedicated disks, which I 
don't recommend)

 
 c: should nearly never be touched, and definitely never in
 the course of simply setting up a disk for use.

That is true.   Do not change anything on the c: line.
In your case you might want to dup that c: line and then 
change it to an a: line, change the type to BSD4.2 and put in 
the fsize, bsize and bps/cpg, though I think the system plugs
in reasonable values if you don't put anything for them.

If you intend to make the file system use all the space, then
make the offset on that a: partition be '0' and the size be
the same as the full size in the c: line.   On the other hand
you could just put '*' in the size and offset fields for
the a: line.   Then it will make the one partition that covers
all the usable space.

Then, when you get that bsdlabel -e  done,  you go ahead
and do the newfs.newfs /dev/da1s1a  

NOTE, if you want to make the partition bootable, then after
doing the fdisk -IB da1you must do
  bsdlabel  -w -B da1s1   before doing the  bsdlabel -e da1s1.

So, the order is:

   fdisk -I da1or fdisk  -IB da1  for a bootable slice

   bsdlabel -w da1s1   or   bsdlabel -w -B  da1s1  for bootable partition

   bsdlabel -e da1s1  

   newfs /dev/da1s1a

jerry


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


Re: Azureus Build Error

2007-04-22 Thread RW
On Sun, 22 Apr 2007 18:48:04 +1000
Warren Liddell [EMAIL PROTECTED] wrote:

 Running FreeBSD 6.2-STABLE .. Azureus as always fials with the
 following (any ideas/suggestions welcomed)

I had this problem. It went away when I updated my java version to 1.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mspaint-like application?

2007-04-22 Thread Frank Staals

Ghirai wrote:

Hello,

Even though this is not necessarily a pure FreeBSD question,
i'd like to know if there are any mspaint-like applications
in the ports collection?

I don't need anything as complex as gimp,
i just want to make quick edits, adding arrows, etc
on images, then saving in a couple popular formats.

I wanted to install kolourpaint; i found out that it
was included in kdegraphics, which has quite a few rather big
dependencies.

Thanks.

  
You might want to try xpaint, allthough I dislike working with it ( but 
then again I also dislike(d) working in M$ paint  )


--
-Frank Staals


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


Re: mspaint-like application?

2007-04-22 Thread Bill Campbell
On Sun, Apr 22, 2007, Frank Staals wrote:
Ghirai wrote:
Hello,

Even though this is not necessarily a pure FreeBSD question,
i'd like to know if there are any mspaint-like applications
in the ports collection?

I don't need anything as complex as gimp,
i just want to make quick edits, adding arrows, etc
on images, then saving in a couple popular formats.

I wanted to install kolourpaint; i found out that it
was included in kdegraphics, which has quite a few rather big
dependencies.

Thanks.

  
You might want to try xpaint, allthough I dislike working with it ( but 
then again I also dislike(d) working in M$ paint  )

There's ``gimp'' which provides extensive image processing
capabilities.

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

``But how is this legal plunder to be identified? Quite simply. See if the
law takes from some persons what belongs to them, and gives it to other
persons to whom it does not belong. See if the law benefits one citizen at
the expense of another by doing what the citizen himself cannot do without
committing a crime.'' -- Frederic Bastiat, The Law
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Monitor and X

2007-04-22 Thread Richard Knebel
here is the xorg.conf file. It almost seems that the message is  
coming from my monitor.


Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section Module
Load  dbe
Load  dri
Load  extmod
Load  glx
Load  record
Load  xtrap
Load  freetype
Load  type1
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
HorizSync 24-81
VertRefresh   48-75


EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option SWcursor  # [bool]
#Option HWcursor  # [bool]
#Option NoAccel   # [bool]
#Option ShadowFB  # [bool]
#Option UseFBDev  # [bool]
#Option Rotate# [str]
#Option VideoKey  # i
#Option FlatPanel # [bool]
#Option FPDither  # [bool]
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section Module
Load  dbe
Load  dri
Load  extmod
Load  glx
Load  record
Load  xtrap
Load  freetype
Load  type1
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection
IW   /etc/X11/xorg.conf (Read  
only)
 Row 108  Col 12:35  Ctrl-K H for help


Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
HorizSync 24-81
VertRefresh   48-75


EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option SWcursor  # [bool]
#Option HWcursor  # [bool]
#Option NoAccel   # [bool]
#Option ShadowFB  # [bool]
#Option UseFBDev  # [bool]
#Option Rotate# [str]
#Option VideoKey  # i
#Option FlatPanel # [bool]
#Option FPDither  # [bool]
#Option CrtcNumber# i
#Option FPScale   # [bool]
#Option FPTweak   # i
Identifier  Card0
Driver  nv
VendorName  nVidia Corporation
BoardName   NV25 [GeForce4 Ti 4200]
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 24
Modes1280x1024
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
 

Re: mspaint-like application?

2007-04-22 Thread Anthony Michael Agelastos

On Apr 22, 2007, at 10:50 AM, Ghirai wrote:

Hello,

Even though this is not necessarily a pure FreeBSD question,
i'd like to know if there are any mspaint-like applications
in the ports collection?

I don't need anything as complex as gimp,
i just want to make quick edits, adding arrows, etc
on images, then saving in a couple popular formats.

Depending on your quick edits, you may also want to look at
graphics/xfig (www.xfig.org)
graphics/inkscape (www.inkscape.org)


I wanted to install kolourpaint; i found out that it
was included in kdegraphics, which has quite a few rather big
dependencies.

Xfig does not have too many dependencies.

I hope this helps.


Thanks.

--  
Best regards,

Ghirai.

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


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


Re: Monitor and X

2007-04-22 Thread Derek Ragona

At 01:38 PM 4/22/2007, Richard Knebel wrote:
here is the xorg.conf file. It almost seems that the message is coming 
from my monitor.


Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section Module
Load  dbe
Load  dri
Load  extmod
Load  glx
Load  record
Load  xtrap
Load  freetype
Load  type1
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
HorizSync 24-81
VertRefresh   48-75


EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option SWcursor  # [bool]
#Option HWcursor  # [bool]
#Option NoAccel   # [bool]
#Option ShadowFB  # [bool]
#Option UseFBDev  # [bool]
#Option Rotate# [str]
#Option VideoKey  # i
#Option FlatPanel # [bool]
#Option FPDither  # [bool]
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section Module
Load  dbe
Load  dri
Load  extmod
Load  glx
Load  record
Load  xtrap
Load  freetype
Load  type1
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection
IW   /etc/X11/xorg.conf (Read 
only) 
Row 108  Col 12:35  Ctrl-K H for help


Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
HorizSync 24-81
VertRefresh   48-75


EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option SWcursor  # [bool]
#Option HWcursor  # [bool]
#Option NoAccel   # [bool]
#Option ShadowFB  # [bool]
#Option UseFBDev  # [bool]
#Option Rotate# [str]
#Option VideoKey  # i
#Option FlatPanel # [bool]
#Option FPDither  # [bool]
#Option CrtcNumber# i
#Option FPScale   # [bool]
#Option FPTweak   # i
Identifier  Card0
Driver  nv
VendorName  nVidia Corporation
BoardName   NV25 [GeForce4 Ti 4200]
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 24
Modes1280x1024
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport  

Re: mspaint-like application?

2007-04-22 Thread Andrew Pantyukhin

On 4/22/07, Ghirai [EMAIL PROTECTED] wrote:

Hello,

Even though this is not necessarily a pure FreeBSD question,
i'd like to know if there are any mspaint-like applications
in the ports collection?

I don't need anything as complex as gimp,
i just want to make quick edits, adding arrows, etc
on images, then saving in a couple popular formats.

I wanted to install kolourpaint; i found out that it
was included in kdegraphics, which has quite a few rather big
dependencies.


These have just been ported:
http://www.freshports.org/graphics/mtpaint/
http://www.freshports.org/graphics/rgbpaint/

Very basic, but so is MS Paint.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disassembler for freebsd?

2007-04-22 Thread Ghirai

 Hello list,
 Has anyone tried to use ldasm and/or lida on FreeBSD?
 Are there any alternatives, besides hte?
 Thanks.

It seems that objdump is linked statically with bfdlib,
and it doesn't support pe files.

My question would be how to get objdump to
diassemble pe files?

I've searched around and i've only found
log discussions/rants about why the gnu people
statically link libraries and such...

I'd appreciate if anyone could point me in the right direction.

Thanks.

-- 
Best regards,
Ghirai.

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


Re: mspaint-like application?

2007-04-22 Thread Lowell Gilbert
Ghirai [EMAIL PROTECTED] writes:

 Even though this is not necessarily a pure FreeBSD question,
 i'd like to know if there are any mspaint-like applications
 in the ports collection?

 I don't need anything as complex as gimp,
 i just want to make quick edits, adding arrows, etc
 on images, then saving in a couple popular formats.

There are many such programs, but they lack the layers capability,
which I find helpful for annotating photos as you describe.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeMat 3.0 doesn't call functions and help

2007-04-22 Thread Thierry Thomas
Le Jeu 19 avr 07 à  1:00:38 +0200, Vittorio De Martino [EMAIL PROTECTED]
 écrivait :
  I have just upgraded FreeMAT to 3.1, which fixes the inv() problem, and
  which should fix this Help on line bug too; could you please check it?
 
 
 Yes, with the new version 3.1 inv now works fine. Unfortunately the Help on 
 line still doesn't work. I think that something worsened because with this 
 new port now I cannot use the help on line even as root (in the previous 
 version Help online as root worked quite well).

Could you please script (1) a session with only `truss FreeMat', just
calling the help and exiting? Then please send me the compresed log of
this session.

If you had created some symlinks, please don't forget to remove them.

Regards,
-- 
Th. Thomas.


pgpOva26l9Rr7.pgp
Description: PGP signature


A slicing question

2007-04-22 Thread Derek Tattersall
I have a machine with a large hard drive which is not completely
partioned (in the MSDOS sense).  I would like to take some of this
unallocated space and make it a slice, label it and newfs it, but I am
not sure if I can do this without screwing up the existing slice scheme.
Are there any suggestions for the _RIGHT_ way to do this so I don't kill
the existing scheme?

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


What to backup for named?

2007-04-22 Thread Joe Kraft
After a recent disk failure, I left myself a note to add the DNS/DHCP 
info to my backup.


I have a small, over-engineered for my education, network of 10 
computers in my house.  I run BIND with dynamic zones on my FreeBSD 
server, I also use the DNS service on my Win2k-AD server.  They both are 
designated as slaves for each other.


What do I need to backup?  Are just the configuration files from 
/var/namedb/etc/namedb enough to recreate everything if my FBSD server 
dies?  Or are there some database files I should be keeping also?


I tried googling, but either this is way to easy of a question or I'm 
not looking in the right places.


Thanks for any insight,
Joe.

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


Problem with OpenVPN and ethernet bridging

2007-04-22 Thread James Long
I'm trying to get my feet wet with an ethernet bridging setup 
under OpenVPN.

I have two hosts on a 10.0.0.0/24 network that I want to 
connect: dl360 is the server, and t30 is the client.  These
hosts are resolvable by /etc/hosts.  TLS seems to be working
from certs I created at cacert.org.

The goal is to bridge the t30 client to the second ethernet
NIC of the dl360 server.

The client is assigned an IP from the bridged LAN correctly, 
but the client cannot ping the 172.16.16.1 IP on the server's 
ethernet interface.  tcpdump shows traffic going out the 
tap0 interface on the client (ARP traffic, that is, trying to
ARP for 172.16.16.1).  tcpdump on the server's physical bge0
shows incoming traffic destined for UDP port 1194 on the server, 
but no traffic on the server's tap0 or bridge0 interfaces.

The OpenVPN docs, examples, and instructions are highly linux-
centric, so I'm having to read between the lines a lot.  Based on
http://www.mired.org/home/mwm/papers/FreeBSD-OpenVPN-Bridging.html
I am not assigning IPs to the server's tap and bridge interfaces,
as that page claims that such is unnecessary under FreeBSD.

So my troubleshooting is focusing on the server side, since I
can see that VPN traffic is reaching the public interface, but
OpenVPN is not mapping that traffic onto the ethernet bridge.

For now, I am creating the tap and bridge interfaces manually.
Despite having:

openvpn_enable=YES
openvpn_if=tap bridge

in /etc/rc.conf, I find that OpenVPN does not create the 
bridge interface.  I am running this script by hand, followed
by running /usr/local/etc/rc.d/openvpn start:

ifconfig tap0 create
ifconfig bridge0 create
ifconfig bridge0 addm bge1 addm tap0 up


Here's ifconfig on the server:

bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:08:02:a0:c6:9d
inet 10.0.0.22 netmask 0xff00 broadcast 10.0.0.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active
bge1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 
1500
options=98VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:08:02:a0:c6:9e
inet 172.16.16.1 netmask 0xff00 broadcast 172.16.16.255
media: Ethernet autoselect (none)
status: no carrier
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet 127.0.0.1 netmask 0xff00 
tap0: flags=8942BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:bd:87:77:8b:00
Opened by PID 49835
bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether b6:1d:6a:ae:be:a4
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0
member: tap0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP
member: bge1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP

Here's the openvpn.conf on the server:

local dl360
port 1194
proto udp

dev tap0
ca cacert.org.crt
cert dl360.crt
key dl360.key  # This file should be kept secret

dh dh1024.pem

ifconfig-pool-persist ipp.txt

server-bridge 172.16.16.1 255.255.255.0 172.16.16.50 172.16.16.100

keepalive 10 120

persist-key
persist-tun

status openvpn-status.log

log  openvpn.log

verb 3
- - -


And here's the openvpn.conf on the client:

client

dev tap
proto udp
remote dl360 1194
resolv-retry infinite
nobind

persist-key
persist-tun

ca cacert.org.crt
cert t30.crt
key t30.key

log-append openvpn.log
verb 3
- - -

I have set net.inet.ip.forwarding set to 1 on the server to ensure
that packets are forwarded between interfaces.

What am I missing on the server side that's preventing me from pinging
from 172.16.16.50 to 172.16.16.1?  The client is running 6.2-STABLE 
circa March 13, and the server is 7.0-CURRENT circa late April 21.

Thank you!

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


Re: A slicing question

2007-04-22 Thread Jerry McAllister
Hi,

 I have a machine with a large hard drive which is not completely
 partioned (in the MSDOS sense).  I would like to take some of this
 unallocated space and make it a slice, label it and newfs it, but I am
 not sure if I can do this without screwing up the existing slice scheme.
 Are there any suggestions for the _RIGHT_ way to do this so I don't kill
 the existing scheme?

You should be able to use fdisk and allocate the remaining unallocated 
space - if it is truly unallocated - to a FreeBSD type slice.

If you want to check this, boot to FreeBSD.  If you don't already have
a FreeBSD installed, then boot from the disc-2 install CD and choose
the fixit option.   Then do 'fdisk devname'  where devname is the device
name of the disk as it shows up in dmesg.   It will give you a summary
of what it thinks is on the disk - which part of allocated and to what 
and which part is unallocated.   The information is mostly useful to
make sure things are as you expect and as a confidence builder.

Then, you can use fdisk manually to create a slice in unallocated space
or it is probably easiest to use sysinstall.   When you bring up and
run sysinstall, it will allow you to turn than unallocated space in to
a FreeBSD slice, make it bootable, write a FreeBSD MBR and then carve
that newly created FreeBSD slice in to partitions and choose mount points
and run the necessary newfs.  You can go on to install from there or
just leave it as empty FreeBSD type partitions.

jerry

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


RE: What to backup for named?

2007-04-22 Thread Tamouh H.

 
 After a recent disk failure, I left myself a note to add the 
 DNS/DHCP info to my backup.
 
 I have a small, over-engineered for my education, network of 
 10 computers in my house.  I run BIND with dynamic zones on 
 my FreeBSD server, I also use the DNS service on my Win2k-AD 
 server.  They both are designated as slaves for each other.
 
 What do I need to backup?  Are just the configuration files 
 from /var/namedb/etc/namedb enough to recreate everything if 
 my FBSD server dies?  Or are there some database files I 
 should be keeping also?
 
 I tried googling, but either this is way to easy of a 
 question or I'm not looking in the right places.
 
 Thanks for any insight,
 Joe.
 


Yup, that is what we backup. The named.conf and all records created along.

Tamouh


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


PCIe NIC for FreeBSD 5.5

2007-04-22 Thread Olivier Nicole
Hi,

I have been askedto install FreeBSD on a server, but I had no saying
on the procurement of the server.

It ends up to be an HP 380G5, with onboard Broadcom based NIC that is
not supported and only PCIe extension slots.

I am wondering what NIC I could buy that would be PCIe, x4 or x8, and
supported by FreeBSD 5.5.

Best regards,

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