Re: some kind of binary sed(1) command

2012-02-02 Thread Matthias Apitz
El día Thursday, February 02, 2012 a las 01:51:56AM -0600, Robert Bonomi escribió: > > From owner-freebsd-questi...@freebsd.org Thu Feb 2 00:27:33 2012 > > Date: Thu, 2 Feb 2012 07:22:36 +0100 > > From: Matthias Apitz > > To: freebsd-questions@freebsd.org > > Subject: some kind of binary sed(1

Re: Clang and ports

2012-02-02 Thread Matthew Seaman
On 02/02/2012 07:41, Joshua Isom wrote: > I know that build cluster lists some ports that have problems with > clang, but it doesn't say if they're tested or not. I set up a clang > jail to test out things before switching to clang for general use. When > I try running mencoder to encode a file t

HowTo easy use IPFW

2012-02-02 Thread Коньков Евгений
this is the mine script which helps me keep my firewall very clean and safe. It is easy to understand even if you have a thousands rules, I think =) please comment. PS. If anybody may, please put into ports tree. thank you. usr-local-etc-firewall.rar Description: Binary data __

Re: some kind of binary sed(1) command

2012-02-02 Thread Robert Bonomi
> From: Matthias Apitz > > El dia Thursday, February 02, 2012 a las 01:51:56AM -0600, Robert Bonomi > escribio: > > Thanks, but the attached script (based on your content and saved to a > script file) just gives: *sigh* the code worked wih gnu sed. BSD sed is a whole lot more finicky with reg

Re: OpenMP on FreeBSD

2012-02-02 Thread Anton Shterenlikht
On Wed, Feb 01, 2012 at 04:29:59PM -0800, Dennis Glatting wrote: > On Thu, 2012-02-02 at 00:09 +, Anton Shterenlikht wrote: > > I'm new to OpenMP. I wonder > > if there are any special considerations > > when running OpenMP on FreeBSD? > > > > I run OpenMP. No special consideration. Here's a

help needed for connecting internet with ZTE ac 8700 USB cdma ( EvDO) modem

2012-02-02 Thread Subhasish Chakraborty
I am new to Free bsd and installed PC-BSD 9 recently in my desktop. Its a dual boot with windows 7 and I use ZTE ac8700 to connect to internet. From windows the Usb stick is working fine ahe driver for windows need phone no #777 , username and password to connect . I tested the device and its worki

Re: carp+devd+ifstated on master problem

2012-02-02 Thread peter knezel
Hello Damien, of course, the tnewpass was my copy error - newpass is OK and is in config files everywhere. And the carp interfaces' advskew, vhid and pass are already in /etc/rc.conf.local. What I simply would like to try is run scripts if carp interfaces change. Actually my real aim is to synch

Re: some kind of binary sed(1) command

2012-02-02 Thread Nikos Vassiliadis
On 2/2/2012 8:22 AM, Matthias Apitz wrote: Hello, I have a normal ASCII file wich has in some places two lines of '*', separated by an empty line, i.e. \n *\n \n *\n \n and I want to substitute the \n between the star lines by \f; the 'binary' s

Re: help needed for connecting internet with ZTE ac 8700 USB cdma ( EvDO) modem

2012-02-02 Thread Erich Dollansky
Hi, On Thursday 02 February 2012 16:53:11 Subhasish Chakraborty wrote: > > In my my PC-BSD /etc/ppp/ppp.conf file looks like . > can you also try do start ppp manually and enter the commands directly? It seems that your only problem is the connection to the ISP. The rest seems to work. set d

Re: carp+devd+ifstated on master problem

2012-02-02 Thread Damien Fleuriot
We're using ifstated to send nagios passive alerts in case a lagg or carp's interface's state should become degraded. Find below the config we're using: carp_up = "carp410.link.up && carp13.link.up" carp_down = "carp410.link.down && carp13.link.down" carp_unknown = "carp410.link.unknown ||

Re: carp+devd+ifstated on master problem

2012-02-02 Thread peter knezel
I have looked a bit into the ifstated.conf file and realized, that it does not behave as I want. So currently the setting is the following: cat /usr/local/etc/ifstated.conf init-state one net = '( "ifconfig -a -u |grep carp0 > /dev/null" every 3 && "ifconfig -a -u |grep carp1 > /dev/null" every

Re: carp+devd+ifstated on master problem

2012-02-02 Thread peter knezel
Hello Damoen, thanks for the mail - yesterday I somehow skipped the mail to freebsd forum when replying to you. Some minutes ago i have found another error in my script: run "/sbin/ifconfig_carp0 vhid 1 pass newpass 192.xx.xx.1/24" run "/sbin/ifconfig carp1 vhid 2 pass newpass 192.xx.xx.2/24" ru

Re: Unable to upgrade packages on FreeBSD

2012-02-02 Thread Bernt Hansson
2012-02-01 19:16, David Jackson skrev: I did not save them, there is really no way to save a copy of them unless I copy them by hand. I take it you are new to FreeBSD. May I introduce you to script man script(1) ___ freebsd-questions@freebsd.org mail

Re: help needed for connecting internet with ZTE ac 8700 USB cdma ( EvDO) modem

2012-02-02 Thread Erich Dollansky
Hi, ok, I saw that I made a mistake. Check what I have added. On Thursday 02 February 2012 20:07:41 Subhasish Chakraborty wrote: > On Thu, Feb 2, 2012 at 4:02 PM, Erich Dollansky < > erichfreebsdl...@ovitrap.com> wrote: > > > Hi, > > > > On Thursday 02 February 2012 16:53:11 Subhasish Chakrabort

Re: help needed for connecting internet with ZTE ac 8700 USB cdma ( EvDO) modem

2012-02-02 Thread Erich Dollansky
Hi, try set ctsrts on Check the man pages for ppp. You see there several commands and options which might will help you. I really cannot tell why my modem works. It was just a strange trial and error sequence until it started to work. ppp does not detect that there is a carrier. The command

Re: Unable to upgrade packages on FreeBSD

2012-02-02 Thread Waitman Gobble
On Thu, Feb 2, 2012 at 5:18 AM, Bernt Hansson wrote: > 2012-02-01 19:16, David Jackson skrev: > > > I did not save them, there is really no way to save a copy of them unless >> I >> copy them by hand. >> > > I take it you are new to FreeBSD. May I introduce you to script > man script(1) > >

ath and how to control wireless light

2012-02-02 Thread Chris Whitehouse
Hello I have FreeBSD 9R amd64 installed on a HP G60 laptop. This machine has a combined wireless switch and led. The switch turns the wifi on and off but the light stays red. The light is supposed to show red for wireless off and blue for wireless on. I found some sysctls that control it: d

Re: Fixating boot drive

2012-02-02 Thread Warren Block
On Wed, 1 Feb 2012, bsali...@gmail.com wrote: I'm sure this has been asked before. I'm booting a freebsd system from a USB stick. It is currently at da0 but if I add physical SATA drives, it moves to da2 and further depending on number of drives. How can I fix the usb disk to be at da32 or some

Re: Clang and ports

2012-02-02 Thread Pierre-Luc Drouin
On Thu, Feb 2, 2012 at 2:41 AM, Joshua Isom wrote: > I know that build cluster lists some ports that have problems with clang, > but it doesn't say if they're tested or not. I set up a clang jail to test > out things before switching to clang for general use. When I try running > mencoder to en

Re: HowTo easy use IPFW

2012-02-02 Thread Jason Hellenthal
You are welcome to create a port and submit it for reccomendation... For that you should review the documents etc... at http://freebsd.org/docs Good Luck On Thu, Feb 02, 2012 at 11:33:14AM +0200, Коньков Евгений wrote: > this is the mine script which helps me keep my firewall very clean and saf

Re: HowTo easy use IPFW

2012-02-02 Thread Jerry
On Thu, 2 Feb 2012 12:10:14 -0500 Jason Hellenthal articulated: > For that you should review the documents etc... at > http://freebsd.org/docs Which will get you a big: 404 - Not Found You could start here though: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-concepts.html

Asymmetric NFS Performance

2012-02-02 Thread Tim Daneliuk
Server:FBSD 8.2-STABLE / MTU set to 15000 Client:Linux Mint 12 / MTU set to 8192 NFS Mount Options: rw,soft,intr Problem: Throughput copying from Server to Client is about 2x that when copying a file from client to server. The client does have a SSD whereas the server h

Re: uname ?

2012-02-02 Thread Chad Perrin
On Thu, Feb 02, 2012 at 03:09:00PM +0800, joeb1 wrote: > It looks to me that the uname -m and uname -p always have the same > value, such as "i386". > > Is there some fine-grained difference or some un-documented difference > between them > or some combination were the values would be differen

Re: uname ?

2012-02-02 Thread Yuri Pankov
On Thu, Feb 02, 2012 at 11:30:51AM -0700, Chad Perrin wrote: > On Thu, Feb 02, 2012 at 03:09:00PM +0800, joeb1 wrote: > > It looks to me that the uname -m and uname -p always have the same > > value, such as "i386". > > > > Is there some fine-grained difference or some un-documented difference

Re: Unable to upgrade packages on FreeBSD

2012-02-02 Thread Eduardo Morras
At 19:16 01/02/2012, David Jackson wrote: They seem to have failed because they couldn't find the package on the download site. Other errors I got were that the package it had downloaded had an "unrecognized format". I did not save them, there is really no way to save a copy of them unless I c

FreeBSD 9 buildworld with clang failure

2012-02-02 Thread Dean E. Weimer
I am trying to rebuild everything in a development machine with clang to test for production, and ran into a problem on the buildworld process. This machine was already rebuilt from source using gcc, here are the options I have set in make.conf and src.conf. The lines I added to enable clang,

Re: OpenMP on FreeBSD

2012-02-02 Thread Dennis Glatting
On Thu, 2 Feb 2012, Anton Shterenlikht wrote: On Wed, Feb 01, 2012 at 04:29:59PM -0800, Dennis Glatting wrote: On Thu, 2012-02-02 at 00:09 +, Anton Shterenlikht wrote: I'm new to OpenMP. I wonder if there are any special considerations when running OpenMP on FreeBSD? I run OpenMP. No

Re: FreeBSD 9 buildworld with clang failure

2012-02-02 Thread ill...@gmail.com
On 2 February 2012 14:43, Dean E. Weimer wrote: > I am trying to rebuild everything in a development machine with clang to > test for production, and ran into a problem on the buildworld process.  This > machine was already rebuilt from source using gcc, here are the options I > have set in make.c

OT: Slackware: Starting Servers at Boot

2012-02-02 Thread Chris Maness
I have been using FreeBSD for so long I forgot how to configure services and startup. I now also have a Slack box. What file do I edit to so that services like named start automagically? I am aware lines can be uncommented in inetd.conf, but I want the service running without spawning from inetd

Re: OT: Slackware: Starting Servers at Boot

2012-02-02 Thread Waitman Gobble
On Feb 2, 2012 12:22 PM, "Chris Maness" wrote: > > I have been using FreeBSD for so long I forgot how to configure > services and startup. I now also have a Slack box. What file do I > edit to so that services like named start automagically? I am aware > lines can be uncommented in inetd.conf,

Re: OT: Slackware: Starting Servers at Boot

2012-02-02 Thread Noel
On 2/2/2012 2:22 PM, Chris Maness wrote: > I have been using FreeBSD for so long I forgot how to configure > services and startup. I now also have a Slack box. What file do I > edit to so that services like named start automagically? I am aware > lines can be uncommented in inetd.conf, but I wan

Re: OT: Slackware: Starting Servers at Boot

2012-02-02 Thread Chris Maness
On Thu, Feb 2, 2012 at 1:01 PM, Waitman Gobble wrote: > > On Feb 2, 2012 12:22 PM, "Chris Maness" wrote: >> >> I have been using FreeBSD for so long I forgot how to configure >> services and startup.  I now also have a Slack box.  What file do I >> edit to so that services like named start automa

Re: OT: Slackware: Starting Servers at Boot

2012-02-02 Thread Waitman Gobble
On Feb 2, 2012 1:09 PM, "Chris Maness" wrote: > > On Thu, Feb 2, 2012 at 1:01 PM, Waitman Gobble wrote: > > > > On Feb 2, 2012 12:22 PM, "Chris Maness" wrote: > >> > >> I have been using FreeBSD for so long I forgot how to configure > >> services and startup. I now also have a Slack box. What

mail server config

2012-02-02 Thread AN
I'm getting ready to install a new mail server. I want to configure sendmail+clamav+spamassassin+mimedefang. Does anyone have some pointers or howto docs to share? I read somewhere that spamassassin-milter has security issues. Is mime-defang a better option or should I consider something e

Re: mail server config

2012-02-02 Thread Walt Elam
> I'm getting ready to install a new mail server. I want to configure > sendmail+clamav+spamassassin+**mimedefang. I believe postfix is considered to be much more secure and better then sendmail overall. I have a mail server and find that postfix was pretty easy to setup and configure. In additi

Re: OT: Slackware: Starting Servers at Boot

2012-02-02 Thread Nikola Pavlović
On Thu, Feb 02, 2012 at 01:21:41PM -0800, Waitman Gobble wrote: > On Feb 2, 2012 1:09 PM, "Chris Maness" wrote: > > > > > > After more searching it turns out that all that one needs to do is > > make the rc.bind executable in the rc.d directory. Wow, that is as > > straight forward as it comes. >

fixating USB Storage

2012-02-02 Thread bsali...@gmail.com
Hi, How can I fix a USB storage device to always have the same device name such as da9 irrespective of other da? devices present. Here is the device # usbconfig -u 4 -a 2 dump_info ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Thanks ___

Re: fixating USB Storage

2012-02-02 Thread bsali...@gmail.com
Please ignore, I forgot that I asked this before. Thanks. On Thu, Feb 2, 2012 at 4:38 PM, bsali...@gmail.com wrote: > Hi, > > How can I fix a USB storage device to always have the same device name > such as da9 irrespective of other da? devices present. > > Here is the device > # usbconfig -u 4 -

freebsd package update / upgrade

2012-02-02 Thread alexus
What's the procedure on updating packages (not ports), can someone point me (preferably in a handbook) or else where is fine too... -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-qu

the WD USB 3.0 "My Book" Essential

2012-02-02 Thread Henry Olyer
Has anyone gotten one to work? Either as a USB 2.x or 3.x? Yes, I know that to do 2.x one must use a different cable. I do that. Because I am wondering what's going on. Possibly I just happened to buy a drive that's DOA, I don't know, and I'm not say that, YET. I'd like to hear from other pur

Re: freebsd package update / upgrade

2012-02-02 Thread Erich Dollansky
Hi, On Friday 03 February 2012 08:52:07 alexus wrote: > What's the procedure on updating packages (not ports), can someone > point me (preferably in a handbook) or else where is fine too... it is also done with portupgrade. You just have to use -P or -PP. Check the manual to find out more. Eric

Possible move back to FreeBSD

2012-02-02 Thread Chris
Hi I have been using Debian for a few years now (previous BSD user) and I'm considering moving back. Admittedly, I have gotten used to the simplicity of using apt-get to update the system. What will pull me back is if there is an equivalent to use. I do not intend on custom kernels, and I don

Re: Possible move back to FreeBSD

2012-02-02 Thread mikel king
On Feb 3, 2012, at 12:34 AM, Chris wrote: > Hi > > I have been using Debian for a few years now (previous BSD user) and I'm > considering moving back. > > Admittedly, I have gotten used to the simplicity of using apt-get to update > the system. > > What will pull me back is if there is an eq

Re: Possible move back to FreeBSD

2012-02-02 Thread Erich Dollansky
Hi, On Friday 03 February 2012 12:34:57 Chris wrote: > Hi > > I have been using Debian for a few years now (previous BSD user) and I'm > considering moving back. > > Admittedly, I have gotten used to the simplicity of using apt-get to update > the system. > > What will pull me back is if ther

Re: Possible move back to FreeBSD

2012-02-02 Thread Chris
Allow me to apologize for top posting. I am familliar with pkg_add. I guess I'm more concerned with updating userland when sec fixes ate released. Sent from my HTC. - Reply message - From: "Erich Dollansky" Date: Thu, Feb 2, 2012 11:44 pm Subject: Possible move back to FreeBSD To: Cc:

Re: Possible move back to FreeBSD

2012-02-02 Thread Chris
Heya Mikel! Yeah, its been a spell. Lookin to climb back onboard. Talk soon. Sent from my HTC. - Reply message - From: "mikel king" Date: Thu, Feb 2, 2012 11:40 pm Subject: Possible move back to FreeBSD To: "Chris" Cc: "FreeBSD questions" On Feb 3, 2012, at 12:34 AM, Chris wrote:

Re: Possible move back to FreeBSD

2012-02-02 Thread Erich Dollansky
Hi, On Friday 03 February 2012 12:49:41 Chris wrote: > Allow me to apologize for top posting. > where should be the problem? > I am familliar with pkg_add. I guess I'm more concerned with updating > userland when sec fixes ate released. portupgrade -P or -PP will do the job then. Erich > > S

Re: Possible move back to FreeBSD

2012-02-02 Thread Adam Vande More
On Thu, Feb 2, 2012 at 11:34 PM, Chris wrote: > I have been using Debian for a few years now (previous BSD user) and I'm > considering moving back. > > Admittedly, I have gotten used to the simplicity of using apt-get to > update the system. > > What will pull me back is if there is an equivalent

Re: Possible move back to FreeBSD

2012-02-02 Thread Chris
Outstanding, thank you. Curious though, how is Gnome looking these days (meaning, is it v3 or 2.x). I have read of the craziness of 3 and the introduction of Unity (albeit that is ubuntu). If 3 is used (or when) I assume it would be closer to what I currently have under Sid (and that would be