Re: Downgrading a port

2013-05-09 Thread Polytropon
On Thu, 9 May 2013 18:03:22 +0200, b...@todoo.biz wrote:
> I wanted to know if there is a way to simply downgrade a package
> I have installed with pkgng ? 

There is no such thing as a "simple downgrade". :-)

The primary goal of the new pkg system is to provide as
"bleeding edge" possible in binary precompiled form, with
the ability of binary upgrades. Switching to older versions
has not been a direct concern, I think.


> I know that there is portdowngrade, but I will have to reinstall
> all ports architecture to be able to install this. 

Correct. The portdowngrade program relies on the ports infra-
structure and requires you to build things yourself. I think
this will be the easiest way to go.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: X11 screen grabber from cmd line

2013-05-09 Thread Polytropon
On Thu, 9 May 2013 20:41:45 +0200, Matthias Apitz wrote:
> Do we have something in the ports which could do a screen shoot of $DISPLAY, 
> but
> from the cmd line of an alpha console, and save it as PNG or JPEG?

% xwd -out screen.xwd
% convert screen.xwd screen.png
-or-
% convert screen.xwd screen.jpg

But if you've got installed ImageMagic (the "convert" command)
anyway, you can also use

% import screen.jpg
-or-
% import screen.png

For a whole screen capture, "xwd -root" or "import -screen" can
be used.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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"


is there any books about network with FreeBSD

2013-05-09 Thread Aric

Hi
  all.
  is there some books about network, such as gateway,vpn,turnnel,bridge!
  the books is more about netwok, no server or the basic Unix telnologic  or 
only a little server and basic command 
 
  thanks !
--

 ---Aric Liang
mail: leea...@126.com
MSN: leea...@live.cn

 
___
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: X11 screen grabber from cmd line

2013-05-09 Thread Lena
> Do we have something in the ports which could do a screen shoot
> of $DISPLAY, but from the cmd line of an alpha console,
> and save it as PNG or JPEG?

#!/bin/sh
xwd -display :0 | xwdtopnm | ppmtojpeg -optimize > $1.jpg

~ # pkg_which xwd
xwd-1.0.5
~ # pkg_which xwdtopnm
netpbm-10.35.89
~ # pkg_which ppmtojpeg
netpbm-10.35.89

___
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: WANTED: Tool to verify installed package/port consistancy

2013-05-09 Thread John Levine
I expect the reason you won't find a port verifier is that the usual
way to recover from a situation like yours is to reinstall them all:

# portupgrade --all --force

This might take longer than trying to verify them, but it has the
advantage of not needing a lot of attention (use -DBATCH to skip
config steps) and when you're done, the packages have all been updated
and fixed.

Doing a general port verifier is a pain because the scripts called from
make install can run arbitrary programs.

R's,
John

___
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: Cdorked.A

2013-05-09 Thread pete wright
On Thu, May 9, 2013 at 2:52 PM, Joshua Isom  wrote:
> On 5/9/2013 12:19 PM, Per olof Ljungmark wrote:
>>
>> Hi,
>>
>> Is Apache on FreeBSD affected?
>>
>> Thanks,
>
>
> Technically, Apache isn't the problem.  The hole's in cPanel probably, not
> Apache.  The attackers replace Apache, probably patching the source code and
> replacing the host's with a trojaned copy.  If they're patching the source
> code, then yes, FreeBSD, Windows, OS X, Solaris, OpenBSD, et al are possibly
> infected.
>

I am not sure that is the case from the research I have been doing on
this topic.  For example there are reports of it being detected on
lighttpd, nginx and systems that do not use cpanel:


http://www.welivesecurity.com/2013/05/07/linuxcdorked-malware-lighttpd-and-nginx-web-servers-also-affected/


If anyone has a better rundown of this it would be great if you could
point me in the right direction.  I am having problems finding a
proper examination/explanation of this backdoor.


cheers,
-pete


--
pete wright
www.nycbug.org
@nomadlogicLA
___
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: VIMAGE in GENERIC kernel

2013-05-09 Thread markham breitbach
   I was talking with BZ about this a few months ago, and it does not look
   terribly likely to happen any time soon, although I am still willing to
   pay good money for anyone willing and able to fix the problems with it.
   ---
   [1]Markham Breitbach
   Network Operations
   SSi   People, Ideas, Technology
   - - - - - - - - - - - - - - - - - - - - -
   +1 867 669 7500 work
   +1 867 669 7510 fax
   [2]markham_breitb...@ssimicro.com
   [3]www.ssimicro.com
   356B Old Airport Road
   Yellowknife , NT X1A 3T4
   Canada
   - - - - - - - - - - - - - - - - - - - - -
   Visit some of our other networks
   [4]www.qiniq.com   &   [5]www.airware.ca
   On 13-05-09 3:50 PM, [6]b...@todoo.biz wrote:

Hi,

I just wanted to know if there were any plans to have VIMAGE function / features
 included in GENERIC kernels sometimes soon ?


Sincerely yours.


�?���?���?���?���?���?���?���?���?���?���?���?��

BSD - BSD - BSD - BSD - BSD - BSD - BSD - BSD -

�?���?���?���?���?���?���?���?���?���?���?���?��

PGP ID --> 0x1BA3C2FD

___
[7]freebsd-questions@freebsd.org mailing list
[8]http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [9]"freebsd-questions-unsubscr...@freebsd.org"

References

   1. http://www.ssimicro.com/
   2. mailto:markham_breitb...@ssimicro.com
   3. http://www.ssimicro.com/
   4. http://www.qiniq.com/
   5. http://www.airware.ca/
   6. mailto:b...@todoo.biz
   7. mailto:freebsd-questions@freebsd.org
   8. http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   9. mailto:freebsd-questions-unsubscr...@freebsd.org
___
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"

WANTED: Tool to verify installed package/port consistancy

2013-05-09 Thread Ronald F. Guilmette

The subject line pretty much says it all.

As I explained here the other day, numerous of my installed ports
have semi-mysteriously had their corresponding +CONTENTS files
just disappear.  I do have a backup of my /var partition, from which
I could, in theory, fetch replacements for the specific +CONTENTS
files that went missing, but I know of no way to be able to check
those backed-up +CONTENTS files to make sure that they are at all
consistant with what I actually have installed in the way of ports/
packages on this system at the present time.

Looking at the +CONTENTS files that were not "disappeared" and that
are still present on the system in question, it is abundantly clear
that each of these contains two valuable things relative to the
installed package/port that it corresponds to, i.e.:

1)  A list of all of the installed files corresponding to the
specific port/package in question, and

 2) For each installed file that is part of the package/port in
question, an MD5 checksum value corresponding to that specific
installed file.

I searched within the /usr/ports/ports-mgmt directory, to see if there
might be any tools there that could be applied to a given +CONTENTS file
(or to all of them) to simply verify the presence and (MD5 checksum)
validity of each file of a given installed port/package, but the only
things whose pkg-descr files make them seem like they might be relevant
(i.e. pchecker & portlint) turn out to be tools meant for utterly
different purposes. :-(

Having found nothing useful, I stareted to write a small script of my own
to simply chcek that all files of an installed package/port exist, and that
they have the "right" MD5 checksums, but then I paused halfway through
when I realized that i am probably just re-inventing the wheel here.

It occurs to me that *something*, i.e. some tool(s) within the FreeBSD
panoply, *must* already be reading and/or otherwise making use of those
MD5 checksums within the +CONTENTS files.  Otherwise, why would they even
be there?  So my question really comes down to this: What pre-existing
software tools are available that can and do check the MD5 checksums, as
given the the +CONTENTS file(s), of various files associated with some
given installed port or package?

It is inconceivable to me that there no already existing tool within
FreeBSD that is already doing this exact job.


Regards,
rfg
___
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: Cdorked.A

2013-05-09 Thread Joshua Isom

On 5/9/2013 12:19 PM, Per olof Ljungmark wrote:

Hi,

Is Apache on FreeBSD affected?

Thanks,


Technically, Apache isn't the problem.  The hole's in cPanel probably, 
not Apache.  The attackers replace Apache, probably patching the source 
code and replacing the host's with a trojaned copy.  If they're patching 
the source code, then yes, FreeBSD, Windows, OS X, Solaris, OpenBSD, et 
al are possibly infected.

___
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"


VIMAGE in GENERIC kernel

2013-05-09 Thread b...@todoo.biz
Hi, 

I just wanted to know if there were any plans to have VIMAGE function / 
features included in GENERIC kernels sometimes soon ? 


Sincerely yours. 


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

BSD - BSD - BSD - BSD - BSD - BSD - BSD - BSD -

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

PGP ID --> 0x1BA3C2FD

___
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: X11 screen grabber from cmd line

2013-05-09 Thread ill...@gmail.com
On 9 May 2013 17:33, ill...@gmail.com  wrote:

>
> On 9 May 2013 14:41, Matthias Apitz  wrote:
>
>>
>> Hello,
>>
>> Do we have something in the ports which could do a screen shoot of
>> $DISPLAY, but
>> from the cmd line of an alpha console, and save it as PNG or JPEG?
>> Thx
>>
>> matthias
>>
>
> I use a simple script:
> > cat scripts/screenshot
> #!/bin/sh
> xwd -root | xwdtopnm | pnmtopng > screenshot_${1}.png
>
> which uses x11/xwd & graphics/netpbm
>
> --
> --
>

I just realised you might mean the text console, in which case
ignore that.  Look at the -p & -P options to vidcontrol(1).

-- 
--
___
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: X11 screen grabber from cmd line

2013-05-09 Thread Antonio Olivares
ImageMagick port can do this using command import.

$ which import
/usr/local/bin/import
$ import --help
Version: ImageMagick 6.8.0-7 2013-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features:

Usage: import [options ...] [ file ]

Image Settings:
  -adjoin  join images into a single multi-image file
  -border  include window border in the output image
  -channel typeapply option to select image channels
  -colorspace type alternate image colorspace
  -comment string  annotate image with comment
  -compress type   type of pixel compression when writing the image
  -define format:option
   define one or more image format options
  -density geometryhorizontal and vertical density of the image
  -depth value image depth
  -descend obtain image by descending window hierarchy
  -display server  X server to contact
  -dispose method  layer disposal method
  -dither method   apply error diffusion to image
  -delay value display the next image after pausing
  -encipher filename   convert plain pixels to cipher pixels
  -endian type endianness (MSB or LSB) of the image
  -encoding type   text encoding type
  -filter type use this filter when resizing an image
  -format "string" output formatted image characteristics
  -frame   include window manager frame
  -gravity direction   which direction to gravitate towards
  -identifyidentify the format and characteristics of the image
  -interlace type  None, Line, Plane, or Partition
  -interpolate method  pixel color interpolation method
  -label stringassign a label to an image
  -limit type valueArea, Disk, Map, or Memory resource limit
  -monitor monitor progress
  -page geometry   size and location of an image canvas
  -pause value seconds delay between snapshots
  -pointsize value font point size
  -quality value   JPEG/MIFF/PNG compression level
  -quiet   suppress all warning messages
  -regard-warnings pay attention to warning messages
  -respect-parentheses settings remain in effect until parenthesis boundary
  -sampling-factor geometry
   horizontal and vertical sampling factor
  -scene value image scene number
  -screen  select image from root window
  -seed value  seed a new sequence of pseudo-random numbers
  -set property value  set an image property
  -silent  operate silently, i.e. don't ring any bells
  -snaps value number of screen snapshots
  -synchronize synchronize image to storage device
  -taint   declare the image as modified
  -transparent-color color
   transparent color
  -treedepth value color tree depth
  -verbose print detailed information about the image
  -virtual-pixel method
   Constant, Edge, Mirror, or Tile
  -window id   select window with this id or name

Image Operators:
  -annotate geometry text
   annotate the image with text
  -colors valuepreferred number of colors in the image
  -crop geometry   preferred size and location of the cropped image
  -encipher filename   convert plain pixels to cipher pixels
  -geometry geometry   preferred size or location of the image
  -helpprint program options
  -monochrome  transform image to black and white
  -negate  replace every pixel with its complementary color
  -repage geometry size and location of an image canvas
  -quantize colorspace reduce colors in this colorspace
  -resize geometry resize the image
  -rotate degrees  apply Paeth rotation to the image
  -strip   strip image of all profiles and comments
  -thumbnail geometry  create a thumbnail of the image
  -transparent color   make this color transparent within the image
  -trimtrim image edges
  -type type   image type

Miscellaneous Options:
  -debug eventsdisplay copious debugging information
  -helpprint program options
  -list type   print a list of supported option arguments
  -log format  format of debugging information
  -version print version information

By default, 'file' is written in the MIFF image format.  To
specify a particular image format, precede the filename with an image
format name and a colon (i.e. ps:image) or specify the image type as
the filename suffix (i.e. image.ps).  Specify 'file' as '-' for
standard input or output.
$



Best Regards,


Antonio

On Thu, May 9, 2013 at 1:41 PM, Matthias Apitz  wrote:
>
> Hello,
>
> Do we have something in the ports which could do a screen shoot of $DISPLAY, 
> but
> from the cmd line of an alpha console, and save it as PNG or JPEG?
> Thx
>
> matthias
> --
> Sent from my FreeBSD

X11 screen grabber from cmd line

2013-05-09 Thread Matthias Apitz

Hello,

Do we have something in the ports which could do a screen shoot of $DISPLAY, but
from the cmd line of an alpha console, and save it as PNG or JPEG?
Thx

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
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: question on manpages/hier(7)

2013-05-09 Thread Paul Beard

On May 9, 2013, at 10:39 AM, Dan Nelson  wrote:

> I don't have a /usr/local/share/man/ directory at all, and have 7300 files in
> /usr/local/man/man?/ , so I'd say /usr/local/man/ is the correct location :)

I wish it were that simple here. /etc/manpath.config is unmodified so I have no 
idea how this is getting all futzed up. 

I am finding files in /usr/local/share/man/man1 that were updated yesterday 
with others dating back to 2007. 


--
Paul Beard

Are you trying to win an argument or solve a problem? 

___
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: question on manpages/hier(7)

2013-05-09 Thread Dan Nelson
In the last episode (May 09), Paul Beard said:
> Where should site-specific, ie local, man pages live?
> 
> For instance, I have: 
> 
> /usr/local/man/man1/php.1.gz
> /usr/local/share/man/man1/php.1.gz
> 
> -rw-r--r--  1 root  wheel  3597 May  6 00:38 /usr/local/man/man1/php.1.gz
> -rw-r--r--  1 root  wheel  3383 Dec 20 19:54 
> /usr/local/share/man/man1/php.1.gz
> 
> My understanding is that the older one is in the right place. The newer
> one is registered as belonging to php5.4-14 while the old one is orphaned.

I don't have a /usr/local/share/man/ directory at all, and have 7300 files in
/usr/local/man/man?/ , so I'd say /usr/local/man/ is the correct location :)
 

-- 
Dan Nelson
dnel...@allantgroup.com
___
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"


question on manpages/hier(7)

2013-05-09 Thread Paul Beard
Where should site-specific, ie local, man pages live?

For instance, I have: 

/usr/local/man/man1/php.1.gz
/usr/local/share/man/man1/php.1.gz

-rw-r--r--  1 root  wheel  3597 May  6 00:38 /usr/local/man/man1/php.1.gz
-rw-r--r--  1 root  wheel  3383 Dec 20 19:54 /usr/local/share/man/man1/php.1.gz

My understanding is that the older one is in the right place. The newer one is 
registered as belonging to php5.4-14 while the old one is orphaned. 

I learn from lsof that the file that is actually opened and displayed is this 
one:
/usr/local/man/cat1/php.1.gz

But that's in /usr/local/man, not /usr/local/share/man. So it's in /usr/local 
but why not in /usr/local/share? And it's orphaned. Should it be? 

I have just completed a several day cleanup of my local ports installation so 
I'm a little mystified at this. I also rebuilt my kernel and world so I should 
be up-to-date there too. 


--
Paul Beard

Are you trying to win an argument or solve a problem? 

___
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"


Cdorked.A

2013-05-09 Thread Per olof Ljungmark
Hi,

Is Apache on FreeBSD affected?

Thanks,
___
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: compatibility SCO

2013-05-09 Thread Dimitar Vassilev
2013/5/9 grillo 

> I need use Microsoft Cobol Compiler and runtime developed for Xenix/Unix
> system V SCO using NETBSD or FreeBSD, it is possible? have binary
> compatibility ? environment compatibility ?
> thank you
>
> __**_
> 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 "
>
yes
http://www.manualpages.de/NetBSD/NetBSD-5.1/man8/compat_sco.8.html
http://forums.freebsd.org/archive/index.php/t-7604.html
___
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"


compatibility SCO

2013-05-09 Thread grillo
I need use Microsoft Cobol Compiler and runtime developed for 
Xenix/Unix system V SCO using NETBSD or FreeBSD, it is possible? have 
binary compatibility ? environment compatibility ?

thank you

___
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"


Downgrading a port

2013-05-09 Thread b...@todoo.biz
Hello, 


I wanted to know if there is a way to simply downgrade a package I have 
installed with pkgng ? 

I know that there is portdowngrade, but I will have to reinstall all ports 
architecture to be able to install this. 



Sincerely yours. 

G.B. 


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

BSD - BSD - BSD - BSD - BSD - BSD - BSD - BSD -

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

PGP ID --> 0x1BA3C2FD

___
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: Typo in portmaster man page?

2013-05-09 Thread Masoom Shaikh




- Original Message -
> From: Jerry 
> To: FreeBSD 
> Cc: 
> Sent: Thursday, 9 May 2013 5:15 PM
> Subject: Re: Typo in portmaster man page?
> 
> On Thu, 09 May 2013 06:06:42 -0500
> Bryan Drewery articulated:
> 
>>  (I'm not the original author on portmaster). Personally the manpage
>>  really confuses me. There's been bigger issues to tackle first though
>>  so I have not touched the manpage much.
> 
> You do realize that the "man" in "manpage" is an acronym 
> for, "Much
> About Nothing".

that interpretation of yours might be insulting to man page authors :(

> 
> -- 
> Jerry ♔
> 
> Disclaimer: off-list followups get on-list replies or get ignored.
> Please do not ignore the Reply-To header.
> __
> 
> ___
> 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"
> 
___
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: Login.conf Limits not Applying for Postfix

2013-05-09 Thread Eric S Pulley

> Hey list,
>
> I have a pretty low resource usage for users on my system, thus I have
> some low limits set in my /etc/login.conf. Particularly "openfiles," which
> is set to 128 for the default class. However, I started getting errors
> from Postfix saying it has hit this limit:
> "postfix/proxymap[97907]: warning: could allocate space for only 128 open
> files"
>
> So I added a new class in my /etc/login.conf:
>
> postfix:\
> :openfiles=1024:\
> :tc=default:
>
> Yes, I did run `cap_mkdb /etc/login.conf` (multiple times, in fact). I
> stopped and restarted the postfix daemon. I've even rebooted the system
> entirely since then, to no avail (It sends half the mail at a time - but
> the error appears again once mail starts building up). Am I missing
> something? Do I need to set the postfix user into the postfix login class
> somehow?

Yes see http://www.freebsd.org/doc/en/books/handbook/users-modifying.html
>
> My full /etc/login.conf is here: http://pastebin.ca/2376936


___
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: ZFS on MBR does not boot at all

2013-05-09 Thread uki
I had to set up ZFS on MBR lately.
Since I'm lazy I wrote a script for that.
Maybe it would suit your needs (it's very simple though).
https://bitbucket.org/ukaszg/freebsd-zfs-on-mbr-installer


2013/5/9 Giorgos Keramidas :
> On Sun, 05 May 2013 17:56:49 -0500, Joshua Isom  wrote:
>> On 5/5/2013 3:20 PM, Giorgos Keramidas wrote:
>>> Hi David,
>>>
>>> Thanks for following up with what the real problem was.  I updated the
>>> Wiki to include this:
>>>
>>>  Note that partition order is important. It seems that zfsboot
>>>  requires the freebsd-zfs partition to be the first, so make sure you
>>>  add if first, before your swap partition.
>>>
>>> Cheers,
>>> Giorgos
>>
>> What?  I've been using this set up for years.
>>
>> =>   34  976773101  ada1  GPT  (465G)
>>  34128 1  freebsd-boot  (64k)
>> 1628388608 2  freebsd-swap  (4.0G)
>> 8388770  968384365 3  freebsd-zfs  (461G)
>>
>> =>   34  976773101  ada2  GPT  (465G)
>>  34128 1  freebsd-boot  (64k)
>> 1628388608 2  freebsd-swap  (4.0G)
>> 8388770  968384365 3  freebsd-zfs  (461G)
>
> That's ok for GPT partitions.  The original post was about an MBR
> partition table.
>
> Some modern laptops (mine is one) do not boot successfully from a disk
> with a GPT partition scheme, unless the boot loader is EFI-capable
> (which ours isn't).  So you have to use an MBR-style partition table.
>
> In those cases the note is still useful to see.
>
>
> ___
> 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"



-- 
Pozdrawiam,
Łukasz Gruner
___
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: Typo in portmaster man page?

2013-05-09 Thread Jerry
On Thu, 09 May 2013 06:06:42 -0500
Bryan Drewery articulated:

> (I'm not the original author on portmaster). Personally the manpage
> really confuses me. There's been bigger issues to tackle first though
> so I have not touched the manpage much.

You do realize that the "man" in "manpage" is an acronym for, "Much
About Nothing".

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: ZFS on MBR does not boot at all

2013-05-09 Thread Giorgos Keramidas
On Sun, 05 May 2013 17:56:49 -0500, Joshua Isom  wrote:
> On 5/5/2013 3:20 PM, Giorgos Keramidas wrote:
>> Hi David,
>>
>> Thanks for following up with what the real problem was.  I updated the
>> Wiki to include this:
>>
>>  Note that partition order is important. It seems that zfsboot
>>  requires the freebsd-zfs partition to be the first, so make sure you
>>  add if first, before your swap partition.
>>
>> Cheers,
>> Giorgos
>
> What?  I've been using this set up for years.
>
> =>   34  976773101  ada1  GPT  (465G)
>  34128 1  freebsd-boot  (64k)
> 1628388608 2  freebsd-swap  (4.0G)
> 8388770  968384365 3  freebsd-zfs  (461G)
>
> =>   34  976773101  ada2  GPT  (465G)
>  34128 1  freebsd-boot  (64k)
> 1628388608 2  freebsd-swap  (4.0G)
> 8388770  968384365 3  freebsd-zfs  (461G)

That's ok for GPT partitions.  The original post was about an MBR
partition table.

Some modern laptops (mine is one) do not boot successfully from a disk
with a GPT partition scheme, unless the boot loader is EFI-capable
(which ours isn't).  So you have to use an MBR-style partition table.

In those cases the note is still useful to see.


___
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: Typo in portmaster man page?

2013-05-09 Thread Bryan Drewery
On 5/9/2013 3:25 AM, Leslie Jensen wrote:
> 
> When reading the portmaster man page I just came to wonder if this isn't
> a typo?
> 
> 
> [--force-config|-G] [-aftv] -F
>  fetch distfiles only
> 
> 
> 
> Shouldn't the -F be to the far left?
> 
> Thanks
> 
> /Leslie

It seems consistent with how the other feature modes are documented.

(I'm not the original author on portmaster). Personally the manpage
really confuses me. There's been bigger issues to tackle first though so
I have not touched the manpage much.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: Fresh installation 9.1

2013-05-09 Thread Trond Endrestøl
On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote:

> > HI All,
> >
> I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying to
> make this FreeBSD machine as a router .
> This is my rc.conf
> 
> ifconfig_rl0 = "inet 192.168.100.101 netmask 255.255.255.0"
> ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0"
> 
> gateway_enable = "YES"
> ifconfig_rl0 = "DHCP"
> ifconfig_re0 = "DHCP"
> 
> defaultrouter = "192.168.100.1"
> ipv6_activate_all_interfaces = "YES"
> sshd_enable = "YES"
> synchronous_dhclient="YES"
> 
> Please help me to establish a IPv4 router.
> Both the interfaces are connected to to different laptops with a static IP
> address.

You should place a # in front of the two lines:

> ifconfig_rl0 = "DHCP"
> ifconfig_re0 = "DHCP"

Next, you probably shouldn't place spaces before and after the equal 
signs.

> Laptop 1 = 192.168.100.102  ( connected to interface rl0) gateway  -
> 192.168.100.1
> 
> Laptop 2 = 192.168.200.102 ( connected to interface re0)
> ping from Laptop1 -> rl0 is successful
> but ping from Laptop1 -> re0 is not successful.
> 
> After this I want to know also How to make this as IPv6 router?

See 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html.

You probably should create a ULA prefix or two, and assign these to 
your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help 
you.

Something along these lines might help you achieve what you want:

ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64"
ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64"
ipv6_gateway_enable="YES"

Finally you probably should configure and enable Router Advertisement 
and Host Auto Configuration as explained in section 32.11.6 of 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
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"

Typo in portmaster man page?

2013-05-09 Thread Leslie Jensen


When reading the portmaster man page I just came to wonder if this isn't 
a typo?



[--force-config|-G] [-aftv] -F
 fetch distfiles only



Shouldn't the -F be to the far left?

Thanks

/Leslie


___
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: xorg-server-1.7.7_6,1 crashes (from ports head)

2013-05-09 Thread Matthias Apitz
El día Wednesday, May 08, 2013 a las 02:58:18PM -0700, Waitman Gobble escribió:

> > Please be kind and give me some hints about best options I have:
> >
> > - Do we have another Xserver in the ports to try?
> > - Should I post a bug report in our Gnats?
> > - Should I go to the lists.x.org?
> > - Any options of the Xorg server to test or to get debug messages of the
> >   crash?
> > - Anything else?
> >
> > I have already ordered a new 2 GByte ddr2 RAM to change the memory, but
> > as well it could be the video card or anthing else...
> >

> 
> What video driver are you using on that machine?

Hi,

The full Xorg.0.log was attached to the original posting in freebsd-x11,
see here for details:

http://lists.freebsd.org/pipermail/freebsd-x11/2013-May/013040.html

The video driver is:

(II) LoadModule: "intel"
(II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 2.7.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
...
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, IGD_GM, IGD_G, 965G,
G35,
965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
Mobile Intel? GM45 Express Chipset,
Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41

Meanwhile I have changed the RAM in the netbook, it does not help
either;

Thanks

matthias
-- 
Matthias Apitz   |  /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
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"


Are the procedure with portmaster exactly the same when one is using pkgng

2013-05-09 Thread Leslie Jensen


I'm specifically thinking of the directories that has to be emptied or 
deleted.


Thanks

/Leslie



Using portmaster to do a complete reinstallation of all your ports:
   1. portmaster --list-origins > ~/installed-port-list
   2. Update your ports tree
   3. portmaster -ty --clean-distfiles
   4. portmaster --check-port-dbdir
   5. portmaster -Faf
   6. pkg_delete -a
   7. rm -rf /usr/local/lib/compat/pkg
   8. Back up any files in /usr/local you wish to save,
  such as configuration files in /usr/local/etc
   9. Manually check /usr/local and /var/db/pkg
  to make sure that they are really empty
   10. Re-install portmaster
   11. portmaster `cat ~/installed-port-list`

-
___
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"