Re: NATD: net.inet.ip.fw.default_to_accept=1 vs firewall_type=OPEN

2013-10-10 Thread Michael Ross
On Fri, 11 Oct 2013 04:38:45 +0200, Chris Stankevitz  
chrisstankev...@gmail.com wrote:



Hello,

Handbook section 31.9 describes the setup of NAT.

Section 31.9.3 suggests net.inet.ip.fw.default_to_accept=1 during
the first attempts to setup a firewall and NAT gateway.

Section 31.9.5 suggests I specify a predefined firewall ruleset that
allows anything in with firewall_type=OPEN

Question: What is the difference between these two configurations (or
where can I go to learn the difference between the two)?

Thank you,

Chris


Hello,

ipfw always has one default rule, standard is

65535 deny ip from any to any

If you set net.inet.ip.fw.default_to_accept=1, you get

65535 allow ip from any to any

instead.


Specifing firewall_type=OPEN gives you an additional rule

65000 allow ip from any to any


Now, if for example you execute ``ipfw flush'', thus deleting all rules,
this deletes rule 65000, but the default rule stays in effect.
With ...default_to_accept=0 ( standard setting ) you now have disabled  
all network connections and locked yourself out if you're working remote.



HTH,
Michael
___
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: Any BASIC Gurus around?

2013-06-17 Thread Michael Ross


I'm no BASIC Guru,
but this one line caught my eye while scrolling through your mail:


2010 IF ABS(H1. THEN GOTO 2040


Missing parenthesis?


Regards,

Michael
___
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: MySQL hangs server completely

2013-05-22 Thread Michael Ross
On Wed, 22 May 2013 15:52:45 +0200, Alejandro Imass aim...@yabarana.com  
wrote:



Hi,

We've been having this problem with a customer for a while and it
seems that some funky query makes MySQL use 100% of CPU. Nevertheless,
even though you can see in top that it's only 1 CPU in 100% (out of 8)
the server eventually becomes useless and stops responding completely.

So my question is, how does a user process hang the whole server? What
system resources could MySQL be draining to make the server stop
responding completely?



In laymans terms - can't do better - MySQL racing itself to obtain a (  
table | memory | file ) lock?


I know I can death-stall the MySQL server at a customer's site if I give  
it a big enough query ( like, DROPping a table, recreating it and pushing  
backup data inside ) while cron's hourly backup-dump is running on the  
database. Just the MySQL server, the machine itself hasn't stalled yet -  
but I'm sitting at the console while doing this, so I don't know what  
would eventually happen if I'd let it sit for a while.



Regards,

Michael
___
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: List Spam Filtering

2013-05-11 Thread Michael Ross
On Thu, 09 May 2013 02:26:26 +0200, Julian H. Stacey j...@berklix.com  
wrote:



Hi questions@ ( spammer not cc'd )

Reference:

From:   Aaron Seligman aselig...@altitudedigitalpartners.com
Reply-to:   aselig...@altitudedigitalpartners.com
Date:   Wed, 08 May 2013 18:59:07 + (UTC)
Subject:Re: Display  Video Campaigns-Inventory Needed
Message-id: 1368039547.0568389241738...@mf7.sendgrid.net



Happy hump-day,

We have an opportunity with an RTB partner to monetize

INT Geo's; UK, CAN, AUS

Video: (Pre-roll, mid-roll and post-roll)



If list write access was changed to Subscribers Only:
  - List could silently discard such spam.
  - Postmaster@  ( webmaster@ weeding web archives) would have less  
work.
  - Less individual need to select spam phrases to copy to personal  
filters
( less time searching WTF dialect American above meant in English  
;-).


Newbies would be told subscribe before posting in all of:
/etc/motd
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Automatic list bounce response.
Only clueless, lazy,  spammers might be lost. A net gain.

Cheers,
Julian



I'm curious how much spam you get through this list.

Just counted, and I have about 2 Spams per week for the last month,
that's more than usual.


Regards,

Michael
___
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: use of the kernel and licensing

2013-03-31 Thread Michael Ross

On Sun, 31 Mar 2013 16:31:43 +0200, Polytropon free...@edvax.de wrote:


On Sun, 31 Mar 2013 09:39:29 -0400, Joe wrote:

Does one have to file legal paper work with the government to be issued
a copyright on software?


With _which_ government? :-)

Basic understanding of copyright is: The stuff _you_ write
happens automatically under _your_ copyright, because you
are the creator. There is nothing you need to do to achieve
the copyright - it's yours by acting. At the moment you
write something like (C) Joe Sixpack 2012 it's set in
stone.

There might be other ways to prove (!) copyright, e. g. when
one of your files appears in someone else's work, but now
with the originator line saying (C) Nick Nosewhite 2013.
In case of a court trial which involves copyright, you can
prove from your CVS log of creation (or whatever source
management system or even file system you use) that _you_
have been writing that code, nobody else.




Does any software not having a copyright statement or any license
comments included in the source mean that it's public domain?


I would assume this. Imagine a snippet of code with no author
mentioned in it (or in the source it comes from, or any file
it is accompanied by), how would you be able to conclude
something _else_ than this is public domain with _no_
copyright holder?


I think you are wrong here.

quoting http://en.wikipedia.org/wiki/Public_domain_software:
Under the Berne Convention, which most countries have signed, an author  
automatically obtains the exclusive copyright to anything they have  
written, and local law may similarly grant copyright, patent, or trademark  
rights by default. The Berne Convention also covers programs. Therefore, a  
program is automatically subject to a copyright, and if it is to be placed  
in the public domain, the author must explicitly disclaim the copyright  
and other rights on it in some way.


Note the wording explicitly disclaim.

While German law has something like a triviality threshold which may  
well apply to very small code snippets,

i'd say no included license by default means all rights reserved.


Regards,

Michael
___
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: Client Authentication

2013-03-26 Thread Michael Ross
On Tue, 26 Mar 2013 22:56:37 +0100, Daniel O'Callaghan  
da...@clari.net.au wrote:



On 27/03/2013 4:18 AM, Joseph Olatt wrote:

Any ideas/suggestions on this will be appreciated.  Thanks,

-- Doug

A little while back I wrote a system to do a simple Two Factor
Authentication and dynamic manipulation of PF (Packet Filter) Tables. I
created it to prevent brute-force attacks on the servers that I have
exposed on the Internet.
I'm happy to share a program I wrote which slows down the brute force  
attackers.
It simply counts the SYN packets from a given IP and limits the rate per  
minute by dropping the packet if they are coming too fast.


Uses ipfw divert sockets, so would work if you prefer ipfw over pf.


Me Me Me! ...ahem.
I do prefer IPFW over PF and would very much like to try it out,
so please do share.

Regards,

Michael
___
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: Client Authentication

2013-03-26 Thread Michael Ross
On Wed, 27 Mar 2013 01:37:36 +0100, Daniel O'Callaghan  
da...@clari.net.au wrote:



On 27/03/2013 10:37 AM, Michael Ross wrote:
I'm happy to share a program I wrote which slows down the brute force  
attackers.
It simply counts the SYN packets from a given IP and limits the rate  
per minute by dropping the packet if they are coming too fast.


Uses ipfw divert sockets, so would work if you prefer ipfw over pf.


Me Me Me! ...ahem.
I do prefer IPFW over PF and would very much like to try it out,
so please do share.

OK, here 'tis

https://secure.clari.net.au/ratelimit2.tgz

Danny


Thanks!

I'd like to be able to change the time window:

http://gurder.ross.cx/misc/ratelimit.patch



Regards,

Michael
___
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: No sound with Thinkpad X60

2013-03-15 Thread Michael Ross
On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison  
four.harris...@googlemail.com wrote:



Hi list,

I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip.

This is what I see in dmesg:

hdac0: Intel 82801G HDA Controller mem 0xee24-0xee243fff irq 17 at  
device 27.0 on pci0

hdacc0: Analog Devices AD1981HD HDA CODEC at cad 0 on hdac0
hdaa0: Analog Devices AD1981HD Audio Function Group at nid 1 on hdacc0
pcm0: Analog Devices AD1981HD (Analog) at nid 5 and 25,8 on hdaa0
hdacc1: Conexant (0x2bfa) HDA CODEC at cad 1 on hdac0
unknown: Conexant (0x2bfa) HDA CODEC Modem Function Group at nid 2 on  
hdacc1 (no driver attached)


and from sndstat:

FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: Analog Devices AD1981HD (Analog) (play/rec) default

and from mixer:

Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to 100:100
Mixer speaker  is currently set to 100:100
Mixer cd   is currently set to   1:1
Mixer rec  is currently set to   1:1
Mixer igainis currently set to  42:42
Mixer ogainis currently set to 100:100
Mixer monitor  is currently set to  67:67
Recording source: cd

But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially  
accidentally install Pulseaudio, but have subsequently deleted it and  
reinstalled everything that depended on it without the Pulseaudio  
dependency.


Any thoughts on what I'm doing wrong?

Thanks in advance.


Possibly not helping a lot:

I have a T510 thinkpad with Intel HDA audio, running Windows 7.
I need to have the audio driver *and* the modem driver installed for any  
sound to work.

So possibly the modem part has to be initialised or something.
You have no driver attached on your modem, so maybe that's worth looking  
at.


You could also try if sound works from a terminal without running Gnome at  
all,

just to be sure it's not some Gnome configuration thing.

Regards,

Michael
___
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: No sound with Thinkpad X60

2013-03-15 Thread Michael Ross
On Sat, 16 Mar 2013 00:28:27 +0100, Peter Harrison  
four.harris...@googlemail.com wrote:



Friday, 15 March 2013 at 18:48:24 +0100, Michael Ross said:

On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison
four.harris...@googlemail.com wrote:

 Hi list,

 I've a problem with sound on a Thinkpad X60, which has an Intel HDA  
chip.


 This is what I see in dmesg:

 hdac0: Intel 82801G HDA Controller mem 0xee24-0xee243fff irq 17  
at

 device 27.0 on pci0
 hdacc0: Analog Devices AD1981HD HDA CODEC at cad 0 on hdac0
 hdaa0: Analog Devices AD1981HD Audio Function Group at nid 1 on  
hdacc0

 pcm0: Analog Devices AD1981HD (Analog) at nid 5 and 25,8 on hdaa0
 hdacc1: Conexant (0x2bfa) HDA CODEC at cad 1 on hdac0
 unknown: Conexant (0x2bfa) HDA CODEC Modem Function Group at nid 2  
on

 hdacc1 (no driver attached)

 and from sndstat:

 FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
 Installed devices:
 pcm0: Analog Devices AD1981HD (Analog) (play/rec) default

 and from mixer:

 Mixer vol  is currently set to 100:100
 Mixer pcm  is currently set to 100:100
 Mixer speaker  is currently set to 100:100
 Mixer cd   is currently set to   1:1
 Mixer rec  is currently set to   1:1
 Mixer igainis currently set to  42:42
 Mixer ogainis currently set to 100:100
 Mixer monitor  is currently set to  67:67
 Recording source: cd

 But I have no sound. This is using Gnome 2.32 on 9.1-R. I did  
initially

 accidentally install Pulseaudio, but have subsequently deleted it and
 reinstalled everything that depended on it without the Pulseaudio
 dependency.

 Any thoughts on what I'm doing wrong?

 Thanks in advance.

Possibly not helping a lot:

I have a T510 thinkpad with Intel HDA audio, running Windows 7.
I need to have the audio driver *and* the modem driver installed for any
sound to work.
So possibly the modem part has to be initialised or something.
You have no driver attached on your modem, so maybe that's worth  
looking

at.

You could also try if sound works from a terminal without running Gnome  
at

all,
just to be sure it's not some Gnome configuration thing.

Regards,

Michael


Thanks Michael.

Tried turning gnome off. Still no sound from the console. Is there a  
FreeBSD kernel module for the modem?




Don't know.
But stepping back, do you have snd_hda loaded?
( Silly me, should have been the first question. )

Found this:
http://www.bmichelsen.no/blog/2012/01/28/configuring-freebsd-for-x60s/

Regards,

Michael
___
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: FreeBSD 9 and Windows XP

2013-03-09 Thread Michael Ross

On Sat, 09 Mar 2013 21:27:45 +0100, Polytropon free...@edvax.de wrote:

On Sat,  9 Mar 2013 12:07:41 -0800 (PST),  
leeoliveshackelf...@surewest.net wrote:

Good afternoon, FreeBSD enthusiasts.  Can FreeBSD 9.1 be
installed on a computer on which Windows XP currently
resides?


Yes.




If so, how can this installation be done?


First of all, you need a tool to make disk space available;
you can do this by adding an additional hard disk, or by
resizing the Windows partition. As Windows does not
seem to provide native tools to do this


I may misremember, but Win7 does have a functional shrink drive in the  
drive administration console,

and I do think that was there in XP already.


Michael
___
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: Performance Related Question

2013-02-27 Thread Michael Ross
On Wed, 27 Feb 2013 23:05:44 +0100, Frederico Costa fredpo...@mufley.com  
wrote:



Hi everyone...

I have a kind of interesting question when comes to performance of
FreeBSD in different HW. i am not trying to come up with a scientific
reason for measuring performance. :-)

It is just a curiosity, and of course to see if i understand it and
improve performance of my systems.

i am running 2 systems at the moment, lets call them S1 and S2,
running FreeBSD 9.1-RELEASE-p1 amd64:

S1:
Intel Core2 Duo E6550 @ 2.33GHz
2GB RAM
500GB disk (not important probably just for reference)

S2:
2x Dual-Core AMD Opteron 2216 2.4GHz
14GB Ram
320GB disk (not important probably just for reference)

Both the systems are running more or less the same sw, apache, imap
server, postfix, and the needed perl/php/python and running very light
  load. Also both are using a GENERIC kernel and not running X, they are
just text based :-)

 From cpubenchmark.net the cpu performance index are for s1: 1501 and
s2: 1518, so very similar.

As i felt the AMD system seemed slower when comes to compiling, i just
done a performance test which was make buildworld on both of
systems from scratch and the times are:

S1: 2h 12m
S2: 2h 59m



If I read you right, you didn't ``make -jX buildworld'',
with X being the number of processes to spawn,
so you used just one core on either machine.

Buildworld does a lot of I/O, so disk speed is relevant.


Regards,

Michael
___
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: Performance Related Question

2013-02-27 Thread Michael Ross
On Wed, 27 Feb 2013 23:38:34 +0100, Frederico Costa fredpo...@mufley.com  
wrote:



On 2013-02-27 22:27, Michael Ross wrote:

If I read you right, you didn't ``make -jX buildworld'',
with X being the number of processes to spawn,
so you used just one core on either machine.
 Buildworld does a lot of I/O, so disk speed is relevant.


Yes, i just made make buildworld.

So i should use make -j2 on the S1(dual core) and -j4 on S2 (2xdualcore)?

And it also makes sense what you say about the I/O.

i will start another to see the results.



Maybe try higher settings.
Handbook ( http://www.freebsd.org/doc/handbook/makeworld.html ) says:


	However, since much of the compiling process is I/O bound rather than CPU  
bound, it is also useful on single CPU machines.


On a typical single-CPU machine, run:
# make -j4 buildworld

	make(1) will then have up to 4 processes running at any one time.  
Empirical evidence posted to the mailing lists shows this generally gives  
the best performance benefit.


	On a multi-CPU machine using an SMP configured kernel, try values between  
6 and 10 and see how they speed things up.






Thanks

fred


On Wed, 27 Feb 2013 23:05:44 +0100, Frederico Costa
fredpo...@mufley.com  wrote:


Hi everyone...
 I have a kind of interesting question when comes to performance of
FreeBSD in different HW. i am not trying to come up with a scientific
reason for measuring performance. :-)
 It is just a curiosity, and of course to see if i understand it and
improve performance of my systems.
 i am running 2 systems at the moment, lets call them S1 and S2,
running FreeBSD 9.1-RELEASE-p1 amd64:
 S1:
Intel Core2 Duo E6550 @ 2.33GHz
2GB RAM
500GB disk (not important probably just for reference)
 S2:
2x Dual-Core AMD Opteron 2216 2.4GHz
14GB Ram
320GB disk (not important probably just for reference)
 Both the systems are running more or less the same sw, apache, imap
server, postfix, and the needed perl/php/python and running very light
  load. Also both are using a GENERIC kernel and not running X, they  
are

just text based :-)
  From cpubenchmark.net the cpu performance index are for s1: 1501 and
s2: 1518, so very similar.
 As i felt the AMD system seemed slower when comes to compiling, i just
done a performance test which was make buildworld on both of
systems from scratch and the times are:
 S1: 2h 12m
S2: 2h 59m


 If I read you right, you didn't ``make -jX buildworld'',
with X being the number of processes to spawn,
so you used just one core on either machine.
 Buildworld does a lot of I/O, so disk speed is relevant.
  Regards,
 Michael

___
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


Does your 9.1-STABLE still hang on reboot?

2013-02-20 Thread Ross
Hi.

I am talking about this PR:
http://www.freebsd.org/cgi/query-pr.cgi?pr=172952cat=%20jb

It should be fixed in STABLE, but I want to make sure it's safe to
upgrade my 9.0 systems to 9.1-STABLE now.
___
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: packages listing

2013-02-09 Thread Ross
pkg_tree -t -q

On Sun, Feb 10, 2013 at 8:52 AM, Dánielisz László
laszlo_daniel...@yahoo.com wrote:
 Hi Everybody,

 Do you have any idea how can I list those installed packages that are not 
 required by any other?

 Thx!
 Laszlo
 ___
 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: using /etc/portsnap.conf

2013-01-02 Thread Michael Ross

On Thu, 03 Jan 2013 00:43:36 +0100, Fbsd8 fb...@a1poweruser.com wrote:


Walter Hurry wrote:

On Wed, 02 Jan 2013 12:27:41 -0500, Fbsd8 wrote:


When issuing the portsnap command will it automatically read the
/etc/portsnap.conf file or is the -f option mandatory?
 It will use /etc/portsnap.conf by default. No need for -f unless you  
need to use a different config file.
 By the way, in answer to your question in another thread, you don't  
have to extract the whole tree if you don't want to. Use 'portsnap  
fetch' the first time around, and then portsnap extract the port you  
want. See 'man portsnap', and remember to cater for the dependencies.




My /ect/portsnap.conf looks like this.

# $FreeBSD: src/etc/portsnap.conf,v 1.5.2.1.2.1 2009/10/25 01:10:29  
kensmith Exp $


# Default directory where compressed snapshots are stored.
# WORKDIR=/var/db/portsnap

# Default location of the ports tree
# (target for update and extract).
# PORTSDIR=/usr/ports

# Server or server pool from which to fetch updates.  You can change
# this to point at a specific server if you want, but in most cases
# using a nearby server won't provide a measurable improvement in
# performance.
SERVERNAME=portsnap.FreeBSD.org

# Trusted keyprint.  Changing this is a Bad Idea unless you've received
# a PGP-signed email from security-offi...@freebsd.org telling you to
# change it and explaining why.
KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330

# List of INDEX files to build and the DESCRIBE file to use for each
#INDEX INDEX-6 DESCRIBE.6
#INDEX INDEX-7 DESCRIBE.7
INDEX INDEX-8 DESCRIBE.8

# Example of ignoring parts of the ports tree.  If you know that you
# absolutely will not need certain parts of the tree, this will save
# some bandwidth and disk space.  See the manual page for more details.
#
# WARNING: Working with an incomplete ports tree is not supported and
# can cause problems due to missing dependencies.  If you have REFUSE
# directives and experience problems, remove them and update your tree
# before asking for help on the mailing lists.
#
  REFUSE arabic chinese french german hebrew hungarian japanese
  REFUSE korean polish portuguese russian ukrainian vietnamese
#
# The following is complete list of all the port categories .
#
# REFUSE accessibility archivers astro audio benchmarks biology cad
# REFUSE comms converters databases deskutils devel dns editors emulators
# REFUSE finance ftp games graphics irc java lang mail math mbone misc
# REFUSE multimedia net net-im net-mgmt net-p2p news palm ports-mgmt  
print

# REFUSE science security shells textproc www
# REFUSE x11 x11-clocks x11-drivers x11-fm x11-fonts x11-servers
# REFUSE x11-themes x11-toolkits x11-wm
# REFUSE sysutils
#
  REFUSE accessibility archivers astro audio benchmarks biology cad
  REFUSE comms converters databases deskutils devel dns editors emulators
  REFUSE finance ftp games graphics irc java lang mail math mbone misc
  REFUSE multimedia net net-im net-mgmt net-p2p news palm ports-mgmt  
print

  REFUSE science security shells textproc www
  REFUSE x11 x11-clocks x11-drivers x11-fm x11-fonts x11-servers
  REFUSE x11-themes x11-toolkits x11-wm
# REFUSE sysutils

This should only populate /usr/ports/sysutils

But its not being used because everything is being populated in  
/usr/ports.


I do portsnap fetch followed by portsnap extract

What am I doing wrong here?

I even tried portsnap extract -f /etc/portsnap.conf with no joy.



Just guessing:

Try without the spaces at the beginning of the REFUSE lines?



Michael
___
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: Changes to kern.geom.debugflags?

2012-12-27 Thread Chris Ross

On Dec 25, 2012, at 6:25 PM, Marius Strobl wrote:
 So, does anyone know if something has gone unstable in the sparc64 zfsboot 
 in recent months?  If I boot from the cdrom again and load the July zfsboot 
 via gpart bootcode, it boots correctly again.
 
 
 Please see
 http://www.freebsd.org/cgi/getmsg.cgi?fetch=0+0+/usr/local/www/db/text/2012/freebsd-sparc64/20121223.freebsd-sparc64
 and provide debug information.

 I built the world with DEBUG_FLAGS=-g, and installed new zfsboot and zfsloader 
on my sparc64.  However, ctrace isn't helpful:

 FreeBSD/sparc64 ZFS boot block
   Boot path:   /pci@1c,60/scsi@2/disk@1,0:a
Consoles: Open Firmware console  
ERROR: Last Trap: Division by Zero

{1} ok ctrace
No saved state
{1} ok 

 Anything else you can suggest to get debugging information out of zfsloader?

  - Chris

___
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: Changes to kern.geom.debugflags?

2012-12-25 Thread Chris Ross

On Dec 25, 2012, at 18:25 , Marius Strobl mar...@alchemy.franken.de wrote:
 
 Please see
 http://www.freebsd.org/cgi/getmsg.cgi?fetch=0+0+/usr/local/www/db/text/2012/freebsd-sparc64/20121223.freebsd-sparc64
 and provide debug information.

  Thank you.  I can rebuild everything with DEBUG_FLAGS=-g.  But do I need to 
do that in only boot?

  And, that message says:

 Please use debug versions of the loaders and report the output of
 `ctrace` on the boot monitor prompt. Building debug versions is
 most easily done via `make DEBUG_FLAGS=-g` in path/to/src/boot
 when building natively. You can also add the same when cross-
 compiling but then you'll end up with debug versions of everything.
 In both cases, make sure to not have any old object files in place.

  But, I'm not sure what the boot monitor prompt refers to, where i'm 
supposed to enter ctrace.  When the boot crashes, I'm left at the open prom.  
Is that where I'm supposed to enter ctrace?  Apologies if so, I just haven't 
known of that OBP command previously.

  Thank you.  I'll try to come up with the debugging output you're requesting.  
And more directions would be appreciated.

- Chris

___
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: Changes to kern.geom.debugflags?

2012-12-24 Thread Chris Ross

On Dec 23, 2012, at 16:56 , Chris Ross cross+free...@distal.com wrote:
 I had brought up a machine months ago with freebsd-9-stable.  I configured it 
 to boot off of a single disk, with ZFS, expecting I would likely later attach 
 the other disk to the zpool.  I tried to do that today, but find that I can't 
 write the bootloader to either disk.
 
 gpart: /dev/da0a: Operation not permitted
 
   [...]

  Okay.  It occurred to me today what was likely the problem.  I was running, 
even when single user, off of the zfs pool on the disks I was trying to write 
the bootloader to.

  I tar'd up /boot after my recent install from a Dec 22 9-stable, and moved it 
off-host.  Then, I booted off of the July stable-9 CD-ROM I have in the 
machine, and was able to write bootblocks (with gpart bootcode) and a 
bootloader (dd if=/boot/zfsloader of=/dev/${disk}a bs=512 oseek=1024 
conv=notrunc).

  Now, the new problem.  When I try to boot my sparc64 with these bits, I see:

 FreeBSD/sparc64 ZFS boot block
   Boot path:   /pci@1c,60/scsi@2/disk@0,0:a
Consoles: Open Firmware console  
ERROR: Last Trap: Division by Zero

{1} ok

  So, does anyone know if something has gone unstable in the sparc64 zfsboot in 
recent months?  If I boot from the cdrom again and load the July zfsboot via 
gpart bootcode, it boots correctly again.

  Thanks.  Any feedback appreciated.

   - Chris

___
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


Changes to kern.geom.debugflags?

2012-12-23 Thread Chris Ross

  I had brought up a machine months ago with freebsd-9-stable.  I configured it 
to boot off of a single disk, with ZFS, expecting I would likely later attach 
the other disk to the zpool.  I tried to do that today, but find that I can't 
write the bootloader to either disk.

  Google searching shows what I used last time, that if you get a:

gpart: /dev/da0a: Operation not permitted

  you need to run

sysctl kern.geom.debugflags=0x10

  But, that doesn't change anything for me now.  I can write the boot label 
(using gpart bootcode -p /boot/zfsboot ${disk}) to neither disk, getting the 
same error in both cases.

  Has something changed recently?  I'm currently using a Dec 22 9-stable 
codebase, built locally with GENERIC kernel.

 - Chris

___
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


Sound lag in Wine

2012-12-20 Thread Ross
Hello.

I installed David Naylor's wine-fbsd64-1.5.18.
Installed Steam, bought Counter-Strike 1.6 and CS: CZ.

However, when I run these games I experience a sound lag (maybe a
half-second — second).

I googled the topic, the soultion is to switch to Alsa, which is not
supported in wine-fbsd64-1.5.18…

Is there anything I can do to get rid of the lag?
___
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: FreeBSD 8.3 with LSI MegaRAID 9265-8i

2012-10-05 Thread Michael Ross

On Fri, 05 Oct 2012 04:26:01 +0200, Joe Mays m...@win.net wrote:

Well, this is a real problem. I have nothing where I am to build and  
burn an ISO, and I am trying to work with someone several states away  
through an IKVM switch. The server-to-be is on a port on the switch and  
I need them to download the ISO via FTP and burn it to a disc and drop  
it in the tray. Right now I'll happily pay $50 to to anyone who can  
provide me with an ISO of 8.3 stable in a location that I can provide to  
the person in missouri so he can download it and create the DVD. I'm  
serious. Paypal is at the ready.


Possible option?:
Have the person at the remote and plug an usb stick into the machine,
install onto that, and continue from there?


Michael


- Original Message - From: Rick Miller  
vmil...@hostileadmin.com

To: Joe Mays m...@win.net
Sent: Thursday, October 04, 2012 9:55 PM
Subject: Re: FreeBSD 8.3 with LSI MegaRAID 9265-8i



On Thu, Oct 4, 2012 at 9:38 PM, Joe Mays m...@win.net wrote:

Which ISO? The driver didn't make it into 8.3-RELEASE. Do you have a
stable/8 iso that was made sometime after the 8.3 release?



No, I was trying to install from 8.3 RELEASE. Where do I get a .iso of  
8.3
STABL:E that will include the new mfi driver? I can't find one on the  
ftp

site.


There is no ISO to download.  The most recent stable/8 code at
http://svn.freebsd.org/base/stable/8/ includes the driver.  Check it
out and build a release ISO based on that code.  Reference the URL
below, but don't pay any mind to patching sysinstall, kernel
config, or Executing/Using the kernel sections and it'll guide you
in building a release.  Once the release is built, run mkisofs on it
and you'll have your ISO.

http://blog.hostileadmin.com/2012/10/01/building-freebsd-with-multiple-kernels/

Also consider reading the release(7) manpage at
http://www.freebsd.org/cgi/man.cgi?query=releaseapropos=0sektion=0manpath=FreeBSD+8.3-RELEASEarch=defaultformat=html
for information on building a release.

-- Take care
Rick Miller


___
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: /tmp filesystem full

2012-08-22 Thread Michael Ross

On Wed, 22 Aug 2012 12:59:13 +0200, Andy Wodfer wod...@gmail.com wrote:


Hi,
I have about 500MB in my /tmp and it seems to be too small when the
periodic LOCATE script runs every week.

What's the best way to increase the size of /tmp ? Could I simply remove  
it

and create a symbolic link ln -s to say /usr/tmp instead (where I have
several hundred GBs free)?

PS! This is on a live server and I would like to keep downtime and  
problems

to a minimum. :-)

Cheers,
Andy


If it's just locate.updatedb filling it up temporarily,
perhaps you can solve this by ommitting part of your filesystem from the  
locate index.


See /etc/locate.rc


Regards,

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


ruby: Cannot create main thread

2012-08-21 Thread Ross
Hi

I have an old machine running 7.3-STABLE. I tried to install
portupgrade from ports, but installation failed on ruby dependency
with message Cannot create main thread. I then just pkg_add'ed ruby.
Now when I simply run ruby in the console it dies with the same
message. What could be the reason? How do I make it work?

KERNCONF file:

include GENERIC

ident   MASCOT

# To make an SMP kernel, the next line is needed
options SMP # Symmetric MultiProcessor Kernel

device  intpm
device  smbus
device  smb
options IPFIREWALL  # Firewall
options IPFIREWALL_VERBOSE  # Print information about
options IPFIREWALL_FORWARD
options IPSTEALTH   # Support stealth forwarding
options IPDIVERT# Divert IP sockets
options DUMMYNET# Bandwidth limiter

# netgraph options
options HZ=1000
options NETGRAPH
options NETGRAPH_PPPOE
options NETGRAPH_SOCKET
options NETGRAPH_CISCO
options NETGRAPH_ECHO
options NETGRAPH_FRAME_RELAY
options NETGRAPH_HOLE
options NETGRAPH_KSOCKET
options NETGRAPH_LMI
options NETGRAPH_RFC1490
options NETGRAPH_TTY
options NETGRAPH_ASYNC
options NETGRAPH_BPF
options NETGRAPH_ETHER
options NETGRAPH_IFACE
options NETGRAPH_KSOCKET
options NETGRAPH_L2TP
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_PPP
options NETGRAPH_PPTPGRE
options NETGRAPH_TEE
options NETGRAPH_UI
options NETGRAPH_VJC
___
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


Locally modifying ports

2012-07-23 Thread Chris Ross

  So, I've been a NetBSD user for many years, and am looking more
at FreeBSD now.  Trying to build myself a system, I find that I have a
long-held delta to a package on my NetBSD system, and I keep it
in a patch-local-* file in NetBSD pkgsrc.

  I can't figure out if FreeBSD ports has a way to keep and automatically
apply local patches to ports.  I want to modify the way the internals of
a package/port operate, and not in a way that makes sense to move up-
stream.  It's just my preference.

  Is there a way in FreeBSD ports to keep a make this change to the
source code after extracting and before compiling type of thing in the
tree?

  Thanks

  - Chris

___
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: fsck on FAT32 filesystem?

2012-07-22 Thread Michael Ross
On Sun, 22 Jul 2012 23:01:41 +0200, Robert Bonomi  
bon...@mail.r-bonomi.com wrote:




I haven't had occasion to dissect a copy of format in years, I don't know
if it still defaults to one write attemptto every sector on the disk.




By default in Windows Vista, the format command writes zeros to the whole  
disk when a full format is performed.


http://support.microsoft.com/kb/941961/en-us


With the addition of the passes-switch, this seems to imply one write  
attempt per sector, but I didn't find any explicit statement to that  
accord.



___
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: fsck on FAT32 filesystem?

2012-07-19 Thread Michael Ross

Am 19.07.2012, 13:27 Uhr, schrieb Jakub Lach jakub_l...@mailplus.pl:


This topic went totally off, but anyway there are interesting bits,
do you say that e.g. Gutmann method is totally unneeded?



You may be interested in the epilogue to Gutmann's paper:

http://www.cs.auckland.ac.nz/~pgut001/pubs/secure_del.html#Epilogue

Quote:
For any modern PRML/EPRML drive, a few passes of random scrubbing is the  
best you can do. As the paper says, A good scrubbing with random data  
will do about as well as can be expected. This was true in 1996, and is  
still true now.



Nice picture:
http://en.wikipedia.org/wiki/File:MFM_AFM_JANUSZ_REBIS_INFOCENTRE_PL_HDD_MAGNETIC_MEMORY_EVOLUTION.png



--
View this message in context:  
http://freebsd.1045724.n5.nabble.com/fsck-on-FAT32-filesystem-tp5727015p5728126.html

Sent from the freebsd-questions mailing list archive at Nabble.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

___
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 about gmirror priorities

2012-07-06 Thread Michael Ross

Hi,

the manpage says for ``gmirror label'':

The order of components is important,
because a component's priority is based on its position
(starting from 0 to 255).


so I would expect to have different priorities for the components,
yet both are listed with a priority of 0:


gmirror list

Geom name: gm0
State: COMPLETE
Components: 2
Balance: load
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 1162650455
Providers:
1. Name: mirror/gm0
   Mediasize: 320072932864 (298G)
   Sectorsize: 512
   Mode: r2w2e5
Consumers:
1. Name: ad4
   Mediasize: 320072933376 (298G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 2769583838
2. Name: ad6
   Mediasize: 320072933376 (298G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 540951176


Where is my misunderstanding?

Regards,

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


Kerberos. Can I get a ticket for several principals?

2012-07-02 Thread Ross
Hello. This is what I have:

ross@coffin /home/ross pts/2 sudo ktutil list
FILE:/etc/krb5.keytab:

Vno  Type Principal
  5  des-cbc-md5  nfs/coffin.local@LOCAL
  5  des-cbc-md4  nfs/coffin.local@LOCAL
  5  des-cbc-crc  nfs/coffin.local@LOCAL
  5  aes256-cts-hmac-sha1-96  nfs/coffin.local@LOCAL
  5  des3-cbc-sha1nfs/coffin.local@LOCAL
  5  arcfour-hmac-md5 nfs/coffin.local@LOCAL

krb4:/etc/srvtab:

Vno  Type Principal
  5  des-cbc-md5  nfs/coffin.local@LOCAL
  5  des-cbc-md4  nfs/coffin.local@LOCAL
  5  des-cbc-crc  nfs/coffin.local@LOCAL


ross@coffin /home/ross pts/2 kinit
ross@LOCAL's Password:


ross@coffin /home/ross pts/2 klist
Credentials cache: FILE:/tmp/krb5cc_1001
Principal: ross@LOCAL

  Issued   Expires  Principal
Jul  2 13:21:00  Jul  3 13:21:00  krbtgt/LOCAL@LOCAL


The question is: how do I get a ticket for both krbtgt and nfs/coffin.local?
___
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


sshd and Kerberos

2012-06-29 Thread Ross
Hello.

I setup NIS, Kerberos and Kerberized NFS (v3) server.
All the required daemons are running.

/usr/home is exported from the server with sec=krb5i

And there is a client machine. I uncommented these two lines in
/etc/pam.d/system and sshd:
authsufficient  pam_krb5.so no_warn try_first_pass
passwordsufficient  pam_krb5.so no_warn try_first_pass

Now, if I do a local login to the client (on the text console)
everything works fine, I get the Kerberos tickets and have access to
mounted /usr/home

But if I ssh into the client from server I do log in, but I don't get
any ticket and access to /usr/home is denied.

How to make sshd pam module create Kerberos tickets on login?
___
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: Is ZFS production ready?

2012-06-24 Thread Ross Cameron
On Thu, Jun 21, 2012 at 4:44 PM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:

  One interesting feature of ZFS if it's block checksum: all reads and
 writes include block checksum, so it can easily detect situations where,
 for example, data is quietly corrupted by RAM.


 you may be shocked but you are sometimes wrong. i already demostrated it
 and checksumming doesn't get any errors, and do write wrong data with right
 checksums :)

 it's quite easy to explain if one understand hardware details.

 Checksumming will protect you from

 - failed SATA/SAS port, on-disk controller that returns bad data as good.
 This is actually really rare case. i never seen that, but maybe it happens.

 - some types of DRAM failure - but not all. Actually just a small fraction
 because DRAM failure like that would bring your system to crash so quickly
 that you are unlikely to get big data corruption.

 Common case with DRAM memory is that after you write to it, keeps right
 data some time and RARELY flips some bit later in spite of refresh.

 With this type you may run your machine for hours, even days or longer.
 And ZFS would calculate proper checksum of wrong data and will write it to
 disk.


 This is the reason i keep few failed DIMMs - for testing how different
 software behaves on broken machine.

 UFS resulted in few corrupted files after half a day of heavy work and 4
 crashes. fsck always recovered things well (of course unexpected
 softupdate inconsistency)

 ZFS survived 2 crashes. After third it panicked on startup.

 Of course - no zfs_fsck.
 And no possibility of making really good zfs_fsck because of data layout,
 at least not easy.



  This feature is very important for databases.

 is data integrity not important for the rest? :)

 Still - disks itself perform quite heavy ECC and both SATA and SAS ports.


While I don't dispute you're test's findings I would like to point out that
you are SPECIFICALLY testing for something that the original designers of
ZFS (SUN now Oracle) point out VERY clearly as being an issue that you
should avoid in you're deployed environments.

The filesystem is designed to protect the ON DISK data and being a highly
memory intensive filesystem should ALWAYS be deployed on hardware with
memory error correction build in (aka ECC RAM deployed across multiple
banks).

The filesystem comes from an hardware/OS environment that is HEAVILY BIASED
towards self healing as they put it and as a result things like memory
module issues would:
1) Either be corrected by the ECC modules
2) Be reported to the administrator of said system as soon as they
occur (well on a system where you have such reporting setup correctly)

As a result you're argument is mootwhilst you're findings are indeed
still valid.

UFS2 being MUCH lighter on RAM requirements is, well frankly, quite
possibly not even interacting with the damaged sections of the memory
modules in you're test and I am almost certain that if we were to ask
around on this mailing list enough examples of UFS/UFS2 corruption due to
faulty RAM are VERY VERY likely to come up.
No filesystem (or other code for that matter) would be able to detect
RAM content corruption (as this is NOT a filesystem's job) and correct it
for you as frankly the kernel wouldn't know if the data in the buffers is
correct or not without the application storing said data being coded to
check for these conditions (I know of a patch to the Linux kernel that does
indeed look for faulty RAM segments and works around them but I am
*mostly*positive that no general purpose OS in current deployment does
so as I have
noticed that this behavior was VERY CPU intensive).

Also (debate encouraged here) due to the COW nature of ZFS a zfs_fsck
command is basically entirely unnecessary as 1) The last successfully
completed write to the file will be intact and
2) Scrubbing the on disk content performs a much better filesystem
maintenance than an fsck does and this can also be done online without
impacting uptimes of you're systems/data availability.
On my systems I specifically trigger a scrub (via the ZFS init script)
whenever my systems are uncleanly shut down as I am willing to tolerate a
slightly slower but available system in such conditions.

While UFS2 is indeed an wonderfully reliable filesystem it (as with all
things) is not suited to all tasks, there are many instances where I can
see the features of ZFS far outweighing the detractions (as do I see the
same for the converse state of affairs).

While all the above is purely based on my understanding of ZFS (and I am
one of the people working on a port to GNU/Linux - admittedly not directly
but I spend a LOT of my time reading/cleaning up the code fork that I do
use) and SUN's (now Oracle's) design/deployment documents,...it is still my
opinion and I would encourage a debate on these opinions.
___
freebsd-questions@freebsd.org mailing list

Trigger action on link state change

2012-06-15 Thread Michael Ross


Hi all,

i was wondering if there is any ready-made method to trigger an action as  
soon as a link changes state.

Along the lines of
onifdown_em0=/run/this/script
in rc.conf

Background:
Discussing physical data security with a client yesterday: The machine has  
to run 24/7. The filesystem is encrypted on boot, but this doesn't help a  
lot if anybody brings an AC generator to steal the machine *AND* the UPS.  
Best point in time to lock the machine I could think of was when somebody  
pulls the NIC cable.


Regards,

Michael
___
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: How to indicate source directory in other than /usr/src?

2012-05-29 Thread Michael Ross

Am 29.05.2012, 12:10 Uhr, schrieb Thomas Mueller muelle...@insightbb.com:

How does one indicate a system source directory location when in other  
than /usr/src?


That could be necessary when in another directory, for instance running  
ndiscvt.


Or one could be building FreeBSD for a USB stick and want to do the  
heavy work on a hard drive; I could also want to build and install ports  
on the USB stick but do the heavy work on the hard drive.


I couldn't find a variable named SRCDIR anywhere in the documentation,  
in contrast to PORTSDIR, which I did find.


I may also want to build 10-CURRENT from 9-STABLE system without giving  
up the 9-STABLE source tree; I would need both source trees, but then  
after the first successful build of 10-CURRENT, I could use that to  
build updated versions.





I often use nullfs for this kind of thing:

mount -t nullfs /where/your/sources/are /usr/src
mount -t nullfs /some/dir/for/objects /usr/obj


Michael
___
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: Updating /src from command line

2012-05-22 Thread Michael Ross

Am 22.05.2012, 21:43 Uhr, schrieb Jos Chrispijn ker...@webrz.net:

I want to compile my kernel and I read that for this I need to have the  
complete /SRC tree installed.
If I do this via sysinstall, I get either a display that the chosen  
server is not available or these are not available for FreeBSD 9.

Is there a way to update /src by CVSUP or otherwise?

thanks,
Jos Chrispijn



I do it like this:

Copy, read and modify
/usr/src/share/examples/cvsup/stable-supfile
to, e.g.
/root/stable-supfile

then
csup /root/stable-supfile


HTH Michael
___
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: Updating /src from command line

2012-05-22 Thread Michael Ross

Am 22.05.2012, 21:59 Uhr, schrieb Michael Ross g...@ross.cx:


Am 22.05.2012, 21:43 Uhr, schrieb Jos Chrispijn ker...@webrz.net:

I want to compile my kernel and I read that for this I need to have the  
complete /SRC tree installed.
If I do this via sysinstall, I get either a display that the chosen  
server is not available or these are not available for FreeBSD 9.

Is there a way to update /src by CVSUP or otherwise?

thanks,
Jos Chrispijn



I do it like this:

Copy, read and modify
/usr/src/share/examples/cvsup/stable-supfile


Sorry, that is

/usr/share/examples/cvsup/stable-supfile

of course.
___
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: eliminate character with sed

2012-05-20 Thread Michael Ross

Am 20.05.2012, 18:08 Uhr, schrieb Tim Dunphy bluethu...@gmail.com:


Hello list,

 I have a few php config files that have the windows delimiter
character in them  ('^M') that I would like to get rid of. I'm trying
to use sed to do it, and for some reason I am not having any luck.

Here's the line that I'm trying to use:

 #sed -i '.bak' 's/^M//g' config.php

However when I have a look at the backup file that's been created with
this command, it looks like there was no effect:

?php ^M/*   Global Variables   */^Mif(!defined('DS'))^M
define('DS',DIRECTORY_SEPARATOR);^M^M
if(!defined(_MAINSITEPATH_))^M
define(_MAINSITEPATH_,dirname(__FILE__).DS);^M

I was wondering is someone had a tip on how to run this command
effectively in this situation.

Thanks!
tim



Maybe you can use /usr/ports/converters/dosunix.

Usage:
  dosunix INPUTFILE OUTPUTFILE

DosUnix converts files from DOS text format to Unix text format
by replacing each carriage return  newline pair with a single
newline character.

does not do backups, though.


Michael
___
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: 2 distinct DSL lines with same endpoint (8-STABLE)

2012-01-09 Thread Michael Ross
Am 09.01.2012, 21:20 Uhr, schrieb Christoph Egger  
christ...@christoph-egger.org:



Hi all!

  I'm having a FreeBSD 8 gateway that is supposed to do NAT/firewall
stuff with internet coming through 2 distinct DSL modems from the same
carrier. Unfortunately I can only run ppp on one of these lines as the
endpoint address for both lines are the same so bringing up the second
line fails in

| PPp ON elephant Warning: tun1: AIFADDR X.X.X.X - Y.Y.Y.Y returns -1
| Warning: iface add: ioctl(SIOCAIFADDR, X.X.X.X - Y.Y.Y.Y): File exists
| Error: ipcp_InterfaceUp: unable to set ip address

Where Y.Y.Y.Y is already also used for the other ppp connection.

  This seems to be a known Problem with FreeBSD ppp (google turns up
some results) but I haven't found any usefull workarounds. Can anyone
suggest some way to get this kind of setup working?

Regards

Christoph



Maybe netgraph will do?
___
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: 2 distinct DSL lines with same endpoint (8-STABLE)

2012-01-09 Thread Michael Ross

Am 09.01.2012, 21:47 Uhr, schrieb Michael Ross g...@ross.cx:

Am 09.01.2012, 21:20 Uhr, schrieb Christoph Egger  
christ...@christoph-egger.org:



Hi all!

  I'm having a FreeBSD 8 gateway that is supposed to do NAT/firewall
stuff with internet coming through 2 distinct DSL modems from the same
carrier. Unfortunately I can only run ppp on one of these lines as the
endpoint address for both lines are the same so bringing up the second
line fails in

| PPp ON elephant Warning: tun1: AIFADDR X.X.X.X - Y.Y.Y.Y returns -1
| Warning: iface add: ioctl(SIOCAIFADDR, X.X.X.X - Y.Y.Y.Y): File  
exists

| Error: ipcp_InterfaceUp: unable to set ip address

Where Y.Y.Y.Y is already also used for the other ppp connection.

  This seems to be a known Problem with FreeBSD ppp (google turns up
some results) but I haven't found any usefull workarounds. Can anyone
suggest some way to get this kind of setup working?

Regards

Christoph



Maybe netgraph will do?


Part two of message:


ng_one2many
http://www.freebsd.org/cgi/man.cgi?query=ng_one2manysektion=4apropos=0manpath=FreeBSD+8.2-RELEASE

or maybe

ng_bridge
http://www.freebsd.org/cgi/man.cgi?query=ng_bridgesektion=4apropos=0manpath=FreeBSD+8.2-RELEASE


Michael




___
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: FreeBSD Kernel Internals Documentation

2012-01-04 Thread Michael Ross

Am 04.01.2012, 23:00 Uhr, schrieb Mario Lobo l...@bsd.com.br:


On Wednesday 04 January 2012 17:47:52 Lyubomir Grigorov wrote:
Mainly to Jerry and Chad, but anyone contributing to the flame and OT  
fest,


How I feel whenever I see people argue on the internet

http://i.imgur.com/biopQ.gif
--
Lyubomir Grigorov (bgalakazam)


Yes! humor.

I think open-sore is really cute, intelligent and funny.



http://ars.userfriendly.org/cartoons/?id=19990206




More so than
winblows or micro$hit.

Even with nicknames we get better results!.

I believe we could all profit from being able to laugh at that too.

___
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: freebsd server limits question

2012-01-03 Thread Ross Cameron
Hi there Huhammet

What are the contents of the following files on you're CentOS 6.x shards ?
   /etc/security/limits.confand
   /etc/security/limits.d/90-nproc.conf

What version of MongoDB are you running, is it from packages (if so who's)
or is it self compiled?

Have you tried running the MongoDB shards on the most recent CentOS 5.x
release?
If so what differences do you note, if any? This could help diagnose
the source of you're problems.

Also what is the current stack size of you're MongoDB shards (set via the
-s parameter) ?

And lastly what is the system load like at the heaviest transaction points
(vmstat and iostat can help you out there) ?

If this is a branded name server set what is the exact model and hardware
configuration?

Are you running 32bit or 64bit instances of MongoDB on 32bit or 64bit
CentOS 6.x ?



Regards,...
Ross Cameron
eMail : ross.came...@unix.net
Phone : +27 (0)79 491-9954



On Mon, Jan 2, 2012 at 9:12 PM, Muhammet S. AYDIN whalb...@gmail.comwrote:

 Hello everyone.

 My first post here and I'd like to thank everyone who's involved within the
 FreeBSD project. We are using FreeBSD on our web servers and we are very
 happy with it.

 We have an online messaging application that is using mongodb. Our members
 send messages to the voice show's (turkish version) contestants. Our two
 mongodb instances ended up in two centos6 servers. We have failed. So hard.
 There were announcements and calls made live on tv. We had +30K/sec
 visitors to the app.

 When I looked at the mongodb errors, I had thousands of these:
 http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
 I'm telling you about centos. Well, we are making the switch from centos to
 freebsd FreeBSD. I would like to know what are our limits? How we can set
 it up so our FreeBSD servers can handle min 20K connections (mongodb's
 connection limit)?

 Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open
 to suggestions. Please help me out here so we don't fail deadly, again.

 ps. this question was asked in the forums as well however as someone
 suggested in the forums, i am posting it here too.

 --
 Muhammet S. AYDIN
 http://compector.com
 http://mengu.net
 ___
 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: Legacy releases of freeBSD

2011-12-18 Thread Michael Ross

Am 16.12.2011, 21:00 Uhr, schrieb Vong Bui vong...@embarqmail.com:


Hello,
I am trying to learn Unix by using freeBSD and wanted to obtain an  
older version of freeBSD, such as version 3.5, to accompany a book  
about freeBSD published around 1999. Can you point me to where the iso  
images can be found, if they are available for download.


Thank you



ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/


Regards,

Michael
___
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: Certain users can't start python

2011-12-12 Thread Michael Ross
Am 12.12.2011, 11:26 Uhr, schrieb David Demelier  
demelier.da...@gmail.com:



2011/12/12 Michael Ross g...@ross.cx:

Hello,

I am ... stuck.

I've been trying to setup mercurials web frontend with apache,
but apache won't start python.
Not as cgi-script, not with mod_python.

Investigating, I found this not only to be a problem with apache.

Situation now:
Users michael and root can run python.
All others can't:

   Could not find platform independent libraries prefix
   Could not find platform dependent libraries exec_prefix
   Consider setting $PYTHONHOME to prefix[:exec_prefix]
   ImportError: No module named site


For troubleshooting, I cloned michael to an new user dummy,
i. e. I created the user, copied all .dotfiles from michael over,
adjusted permissions.
dummy can't start python either.



How did dou clone the account ? Does account has a full correct home
path in /etc/passwd ?


Created with adduser, copied .cshrc .profile  the lot over.
Yes, it has a correct home dir.
I can ssh into it from another machine without trouble.







Changing accounts with su does not help:
   dummy$ su -l michael
   dummy$ su -m michael
*both* can run python,

   michael$ su -l dummy
   michael$ su -m dummy
*both* can not run python.

Setting PYTHONHOME does not help -- the libraries are found (probably,
the error messages disappear), the ImportError remains.

It's been a couple of long days and maybe I'm missing something obvious?
Any input would be greatly appreciated.

8.2 stable, python 2.7.2.
As for python, I tried reinstalling. No change.

TIA

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


cheers,

___
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: Certain users can't start python

2011-12-12 Thread Michael Ross

Am 12.12.2011, 13:22 Uhr, schrieb Tomasz Kowalczyk kowalczf...@gmail.com:


On Monday 12 of December 2011 06:31:46 Michael Ross wrote:

Hello,

I am ... stuck.

I've been trying to setup mercurials web frontend with apache,
but apache won't start python.
Not as cgi-script, not with mod_python.

Investigating, I found this not only to be a problem with apache.

Situation now:
Users michael and root can run python.
All others can't:

Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
ImportError: No module named site


For troubleshooting, I cloned michael to an new user dummy,
i. e. I created the user, copied all .dotfiles from michael over,
adjusted permissions.
dummy can't start python either.


Is user 'dummy' in same groups that 'michael' is ?


No, it wasn't. I forgot to add it to the wheel group. (Missing  
something obvious alright).



I think it can be something with permissions, maybe files in
/local/lib/python2.7/ got strange permissions ?


That was it: /usr/local/lib/python2.7 was chmodded 770.
No idea why.

Thanks!


Basically module 'site' (site.py in detail) is loaded by interpreter on  
early

start, so if it can't read it , python will raise this error.
___
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


Certain users can't start python

2011-12-11 Thread Michael Ross

Hello,

I am ... stuck.

I've been trying to setup mercurials web frontend with apache,
but apache won't start python.
Not as cgi-script, not with mod_python.

Investigating, I found this not only to be a problem with apache.

Situation now:
Users michael and root can run python.
All others can't:

Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
ImportError: No module named site


For troubleshooting, I cloned michael to an new user dummy,
i. e. I created the user, copied all .dotfiles from michael over,
adjusted permissions.
dummy can't start python either.

Changing accounts with su does not help:
dummy$ su -l michael
dummy$ su -m michael
*both* can run python,

michael$ su -l dummy
michael$ su -m dummy
*both* can not run python.

Setting PYTHONHOME does not help -- the libraries are found (probably,
the error messages disappear), the ImportError remains.

It's been a couple of long days and maybe I'm missing something obvious?
Any input would be greatly appreciated.

8.2 stable, python 2.7.2.
As for python, I tried reinstalling. No change.

TIA

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


Switching default gateways

2011-12-07 Thread Ross
I have a host with two uplinks. One is the default gateway. I want the
system to automatically switch to the other one if it detects problems
with the first one. How do I do this?
___
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: Disable automatic Fallback IP on 9.0-RC2 when a hostname cannot be resolved

2011-11-26 Thread Michael Ross

Am 26.11.2011, 16:44 Uhr, schrieb Moritz Wilhelmy mor...@wzff.de:


Hello,

my 9.0-RC2 installation on furnace.wzff.de keeps connecting to wzff.de
if a hostname cannot be resolved. E.g. telnet foobar 25 connects me to
the SMTP server on wzff.de, same thing for another jail that uses a
subdomain of barfooze.de and tries to connect to barfooze.de if it can't
find a suitable DNS or /etc/hosts record.

I dislike when computers try to be smart like this, and I can't really
think how this is useful, and it also doesn't happen on another machine
that has a subdomain of something set as hostname and is running 8.2, so
I want to disable it. Can anyone give me a hint how to do it?



Add e. g. ``search local'' to /etc/resolv.conf.
The behaviour is explained in man resolv.conf, search.

Or disable wildcard entries in your dns server config.

Regards,

Michael
___
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: Unprintable 8-bit characters

2011-11-08 Thread Michael Ross

Am 09.11.2011, 01:42 Uhr, schrieb Conrad J. Sabatier conr...@cox.net:


Pardon me if this may seem like a stupid question, but this is
something that's been bugging me for a long time, and none of my
research has turned up anything useful yet.

I've been trying to understand what the deal is with regards to the
displaying of the extended 8-bit character set, i.e., 8-bit characters
with the MSB set.

More specifically, I'm trying to figure out how to get the ls command
to properly display filenames containing characters in this extended
set.  I have some MP3 files, for instance, whose names contain certain
European characters, such as the lowercase u with umlaut (code 0xfc
in the Latin set, according to gucharmap), that I just can't get ls to
display properly.  These characters seem to be considered by ls as
unprintable, and the best I've been able to produce in the ls
output is backslash interpretations of the characters using either the
-B or -b options, otherwise the default ? is displayed in their place.


Unsure if I understand you correctly.
(extended 8-bit character set with MSB? utf-16?)
I'm confused by this charset stuff in general.

Assuming you want \0xfc displayed as ü,


cat test.py  python test.py  ls -l


#!/usr/local/bin/python
# -*- coding: utf-8 -*-

f=open('\xfc','w')
f.close()
total 2

-rw-r--r--  1 michael  wheel  29  9 Nov 02:43 test.py
-rw-r--r--  1 michael  wheel   0  9 Nov 02:44 ü


here is what works for me:

in my login class in /etc/login.conf:

:charset=ISO-8859-1:\
:lang=de_DE.ISO8859-1:\

``cap_mkdb /etc/login.conf'' after changes


in /etc/rc.conf:

scrnmap=iso-8859-1_to_cp437
font8x8=cp850-8x8
font8x14=cp850-8x14
font8x16=cp850-8x16


and in /etc/ttys, console type is set to ``cons25l1''


Regards,

Michael
___
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: Get list of ethernet devices

2011-11-07 Thread Michael Ross

Am 07.11.2011, 02:19 Uhr, schrieb Warren Block wbl...@wonkity.com:




ifconfig_DEFAULT=DHCP

It's not well documented.  I'd also suggest using SYNCDHCP as more  
likely to work predictably on unknown equipment.


Wow. That's *a lot* easier than what I came up with.

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: Get list of ethernet devices

2011-11-07 Thread Michael Ross
Am 07.11.2011, 02:24 Uhr, schrieb Marco Steinbach  
c...@executive-computing.de:



I'd be interested in testing the results (or possible steps thereto) of  
your efforts in creating a customized, bootable FreeBSD USB stick image,  
if that's feasible.




I am not creating an image at all.

What I did is:
- Download memstick image from freebsd.org, copy to stick
- Plug stick and external drive into computer
- Boot from stick, install to external drive

Worked like a charm.

Next I'll create packages from the software on the server,
pkg_info | cut -d   -f 1 | xargs pkg_create -b
copy them over to the external drive and pkg_add them.

I guess I could just dd the result to another drive, stick or to an image  
file.



Michael
___
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: Burning CD

2011-11-07 Thread Michael Ross

Am 07.11.2011, 22:47 Uhr, schrieb Polytropon free...@edvax.de:


On Mon, 7 Nov 2011 12:59:23 -0800 (PST), C Horman wrote:

Do you have any free software suggestions for burning a CD
in Windows XP if this is the issue?


Sorry, I'm not a Windows person and I don't use 10 years
old software, so I can't give you any suggestion here. :-)


I am,
I do,
and I can :-)

http://www.imgburn.com/


Regards, Michael
___
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


Get list of ethernet devices

2011-11-06 Thread Michael Ross

Moin,

I'm setting up a system on an external USB drive,
serving as fallback in case of a server failure:

Customer takes USB drive, plugs it into any of his PCs and boots of it.

Now I am looking for a good method to configure the network:

I could just start dhclient on any NIC which could possibly be there,
thus cramming rc.conf with
ifconfig_em0=DHCP
ifconfig_em1=DHCP
ifconfig_fxp0=DHCP
and so on.

Or I could grep ifconfig or dmesg output for ethernet interfaces and  
dhclient these.


Both sound like a very messy solution.

So I would step beyond my current area of expertise, grep some source from  
sysinstall, bsdinstall or somewhere and do it in C.
But I'm kind of hoping anybody can point me to a readymade solution yet  
unknown to me.



Regards,

Michael


___
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: -Stable periodic updates

2011-11-05 Thread Michael Ross

Am 05.11.2011, 07:23 Uhr, schrieb Conrad J. Sabatier conr...@cox.net:


Again, go back and read the Handbook sections on using csup, updating
your src and ports trees, etc.  No one is interested in repeating
information that is already available in a complete and detailed form.


Available if you are proficient in English.
The spanish translation is lacking the parts he asks about, and then some.


Regards,

Michael
___
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: -Stable periodic updates

2011-11-05 Thread Michael Ross

Am 05.11.2011, 15:36 Uhr, schrieb Zantgo zan...@gmail.com:


I will say my question clear.
If I have FreeBSD-8.2-stable, updated 2011/05/18, what I want to do is  
update the current, as for example 2011/11/01. I am willing to read me a  
manual that tells me how to do  
this.___



I do it like this:

put this in stable-supfile:

*default host=cvsup.de.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8
*default delete use-rel-suffix

*default compress

src-all

execute:

csup stable-supfile
cd /usr/src
make buildworld
make buildkernel
make installkernel
mergemaster -p
make installworld
mergemaster -a
reboot


You now have updated to a current 8-STABLE.
This is, if 8.3 would exist, you would now have 8.3-STABLE.
If you just want security patches for 8.2 and not go to 8.3 if it comes  
out,

you have to define tag=RELENG_8_2


This is not the same as tag=HEAD.
tag=HEAD gives you CURRENT, which is 9.0-RC1 i believe.
Do not confuse these.


http://www.freebsd.org/doc/en/books/handbook/cvsup.html
http://www.freebsd.org/doc/en/books/handbook/cvs-tags.html
http://www.freebsd.org/doc/en/books/handbook/makeworld.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


UFS journal size

2011-09-21 Thread Ross
Quoting the manpage:

 -s jsize  Specifies size of the journal if only one provider is
   used for both data and journal.  The default is one
   gigabyte.  Size should be chosen based on provider's
   load, and not on its size; recommended minimum is twice
   the size of the physical memory installed.  It is not
   recommended to use gjournal for small file systems
   (e.g.: only few gigabytes big).

My question is: if I have 4 or 8 GB of RAM should I create 8 or even
16 GB journals?.. This seems huge especially if the fs size without
journal is only 10 gigs. Or the recommended minimum is for systems low
on RAM?
___
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: Is there way to get filename for specific LBA?

2011-08-31 Thread Ross
On Wed, Aug 31, 2011 at 4:11 PM,  per...@pluto.rain.com wrote:
 Ross basarev...@gmail.com wrote:

 Aug 31 05:13:24 da kernel: ad6: WARNING - READ_DMA UDMA ICRC error
 (retrying request) LBA=107491647

 That message is reporting a problem in communication between the
 drive and the controller (or, perhaps, between the controller and
 main memory), not a problem reading the media, so the LBA is likely
 not all that useful (esp. since, if you got no other messages, the
 retry succeeded so no data was lost).

 What does

  egrep 'ad[0-9]|ata' /var/run/dmesg.boot

 report?


atapci0: Intel ICH7 SATA300 controller port
0x20b8-0x20bf,0x20cc-0x20cf,0x20b0-0x20b7,0x20c8-0x20cb,0x20a0-0x20af
mem 0xe0284000-0xe02843ff irq 19 at device 31.2 on pci0
atapci0: [ITHREAD]
ata2: ATA channel 0 on atapci0
ata2: [ITHREAD]
ata3: ATA channel 1 on atapci0
ata3: [ITHREAD]
ad4: 238475MB Seagate ST9250315AS 0001SDM1 at ata2-master UDMA100 SATA
ad6: 476940MB Seagate ST9500325AS 0001SDM1 at ata3-master UDMA100 SATA
Trying to mount root from ufs:/dev/ad6s1a


 #  dd if=/dev/ad6 of=/dev/null bs=1m seek=107491647 count=1
 dd: /dev/null: Inappropriate ioctl for device

 Another question: why does it fail?

 seek= applies to the output file, so it tried to do a seek on
 /dev/null :)  You probably wanted skip= (or iseek=).


Thank you :) I have read the man page now.

smartd also reports this:

Aug 31 10:41:04 da smartd[886]: Device: /dev/ad6, Failed SMART usage
Attribute: 184 End-to-End_Error.

I found this explanation: http://kb.acronis.com/content/9119

So disk is dying? Or is it cable. I have no physical access to the
server at the moment.
But still, is there a way to get the filename for LBA?
___
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 way to get filename for specific LBA?

2011-08-30 Thread Ross
Aug 31 05:13:24 da kernel: ad6: WARNING - READ_DMA UDMA ICRC error
(retrying request) LBA=107491647


#  dd if=/dev/ad6 of=/dev/null bs=1m seek=107491647 count=1
dd: /dev/null: Inappropriate ioctl for device

Another question: why does it fail?


# dd if=/dev/ad6 of=/var/tmp/ bs=1m seek=107491647 count=1
1+0 records in
1+0 records out
1048576 bytes transferred in 0.026658 secs (39334650 bytes/sec)

So no errors. I looked at bsdlabel — it's partition f, /home. But what
is the file name?
___
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: how can I use portmaster to update but skip a package

2011-08-26 Thread Ross
On Sat, Aug 27, 2011 at 5:33 AM, Antonio Olivares
olivares14...@gmail.com wrote:
 Dear folks,

 I am trying to update one of my machines and I ran portmaster -a and got 
 errors:

 http://forums.freebsd.org/showthread.php?p=145268

 I overcome most by unselecting GNUTLS from cups-image and cups-base,
 and then comes

 === Launching child to update libreoffice-3.3.3_2 to libreoffice-3.4.2_1

 === Port directory: /usr/ports/editors/libreoffice

        === This port is marked BROKEN
        === build is too fragile and break too often -- try 
 libreoffice-legacy

        === If you are sure you can build it, remove the
               BROKEN line in the Makefile and try again.

 === Update for libreoffice-3.3.3_2 failed
 === Aborting update

 Is there a way to update most packages except this one?

 or should I uninstall it and reinstall it again later?  This is not
 optimal, but it would be something I can try.  I would prefer not to
 do this :(

 Thanks in advance,

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


Maybe I spent to little time with portmaster, but I eventually
switched to portupgrade. I'ts more mature in my opinion. And
portupgrade -a doesn't have the problem you are referring to.
___
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


make release always fails

2011-08-20 Thread Ross
It looks that I am compiling wrong TAG, somehow.

I have RELENG_8 sup file:
*default host=cvsup3.ua.FreeBSD.org
*default base=/share/freebsd/cvsup
*default prefix=/share/freebsd/RELENG_8
*default release=cvs tag=RELENG_8
*default delete use-rel-suffix
src-all

And CVS supfile:
*default host=cvsup6.ua.freebsd.org
*default base=/share/freebsd/cvsup
*default prefix=/share/freebsd/ncvs
*default release=cvs
*default delete use-rel-suffix
src-all
ports-all
doc-all
cvsroot-all

First csup both sup-files. Then make buildworld in /usr/src (which is
symlink to /share/freebsd/RELENG_8/src). It always succeeds. Then:
cd /usr/src/release
make release RELEASETAG=RELENG_8 \
 PORTSRELEASETAG=HEAD \
 BUILDNAME=8.2-STABLE-$DATE \
 CHROOTDIR=/share/freebsd/release \
 CVSROOT=/share/freebsd/ncvs

This is always fails. Each day with different errors. I want to build
nightly snapshots (DVDs) of 8.2-STABLE, what am I doing wrong?
___
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: ISO images

2011-08-17 Thread Michael Ross

Am 17.08.2011, 14:55 Uhr, schrieb Julian H. Stacey j...@berklix.com:


Lars Eighner wrote:
ftp protocol does not support command du, so one can't see size of
ftp://ftp.freebsd.orgpub/FreeBSD/ports/amd64/packages-8.2-release/All/




My FTP client shows it at about 32GB total.


Michael
___
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: ISO images

2011-08-17 Thread Michael Ross

Am 17.08.2011, 15:59 Uhr, schrieb Julian H. Stacey j...@berklix.com:


Hi,
Reference:

From:   Michael Ross michael.r...@gmx.net
Date:   Wed, 17 Aug 2011 15:28:41 +0200
Message-id: op.v0c013xvhalquq@michael-think


Michael Ross wrote:

Am 17.08.2011, 14:55 Uhr, schrieb Julian H. Stacey j...@berklix.com:

 Lars Eighner wrote:
 ftp protocol does not support command du, so one can't see size of
  
	ftp://ftp.freebsd.orgpub/FreeBSD/ports/amd64/packages-8.2-release/All/




My FTP client shows it at about 32GB total.


Nice to be able to see that.  Which client ?
Do you know it get that ? Maybe it adds size of each file together ?

( I was using /usr/bin/ftp )

Cheers,
Julian


WinSCP on a Windows desktop.

In ports there is ftp/lftp, which has a du command.

I don't know how they get the value, assume they do just that: ls each  
directory and add up.




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


Redirect sound of flash plugin?

2011-08-12 Thread Ross
Is it possible to redirect sound of flash plugin?

I am running firefox via ssh. Currently I successfully redirected
sound of other applications using NAS. How can I do the same with
flash? Maybe intercept sound some how.
___
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: semi-OT: Looking for a hosting provider w/ FreeBSD root-servers

2011-08-04 Thread Michael Ross

Am 04.08.2011, 08:56 Uhr, schrieb Matthias Apitz g...@unixarea.de:



Hello,

I have to change my hosting provider, because the actual one does
not want to fullfill my needs. I'm looking for a provider offering
FreeBSD root-servers, best in Europe. Any pointers are wellcome.
Thanks

matthias



http://www.hetzner.de

___
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: printing to a HP Deskjet 812C printer

2011-07-27 Thread Ross
It requires CUPS and replaces system lpr. Here's an example on setting
up HPLIP: http://daemon-notes.com/articles/install/hplip

On Thu, Jul 28, 2011 at 1:25 AM, Antonio Olivares
olivares14...@gmail.com wrote:
 On Wed, Jul 27, 2011 at 5:07 PM, Ross basarev...@gmail.com wrote:
 Why you do not use HPLIP? Your printer is supported.

 Does lpd/lpr use this? or it requires CUPS?

 Thanks,

 Antonio

___
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: printing to a HP Deskjet 812C printer

2011-07-27 Thread Ross
On Thu, Jul 28, 2011 at 1:54 AM, Antonio Olivares
olivares14...@gmail.com wrote:
 On Wed, Jul 27, 2011 at 5:43 PM, Ross basarev...@gmail.com wrote:
 It requires CUPS and replaces system lpr. Here's an example on setting
 up HPLIP: http://daemon-notes.com/articles/install/hplip

 On Thu, Jul 28, 2011 at 1:25 AM, Antonio Olivares
 olivares14...@gmail.com wrote:
 On Wed, Jul 27, 2011 at 5:07 PM, Ross basarev...@gmail.com wrote:
 Why you do not use HPLIP? Your printer is supported.

 Does lpd/lpr use this? or it requires CUPS?

 Thanks,

 Antonio



 Thanks Ross,

 But I have to compile/recompile kernel just to get it working?

 I'll think about it :?
 Howto you have provided is detailed and I cannot complain :(

 Regards,

 Antonio


Well, you had problems with ulpt so maybe removing it which is
required for HPLIP is a solution. Sorry if recompiling the kernel is
not an option for you. Otherwise it just works.
___
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: printing to a HP Deskjet 812C printer

2011-07-27 Thread Ross
On Thu, Jul 28, 2011 at 2:12 AM, Antonio Olivares
olivares14...@gmail.com wrote:
 On Wed, Jul 27, 2011 at 6:03 PM, Ross basarev...@gmail.com wrote:
 On Thu, Jul 28, 2011 at 1:54 AM, Antonio Olivares
 olivares14...@gmail.com wrote:
 On Wed, Jul 27, 2011 at 5:43 PM, Ross basarev...@gmail.com wrote:
 It requires CUPS and replaces system lpr. Here's an example on setting
 up HPLIP: http://daemon-notes.com/articles/install/hplip

 On Thu, Jul 28, 2011 at 1:25 AM, Antonio Olivares
 olivares14...@gmail.com wrote:
 On Wed, Jul 27, 2011 at 5:07 PM, Ross basarev...@gmail.com wrote:
 Why you do not use HPLIP? Your printer is supported.

 Does lpd/lpr use this? or it requires CUPS?

 Thanks,

 Antonio



 Thanks Ross,

 But I have to compile/recompile kernel just to get it working?

 I'll think about it :?
 Howto you have provided is detailed and I cannot complain :(

 Regards,

 Antonio


 Well, you had problems with ulpt so maybe removing it which is
 required for HPLIP is a solution. Sorry if recompiling the kernel is
 not an option for you. Otherwise it just works.


 Ross,

 I am afraid to screw up and for the first time, I can say that I have
 updated FreeBSD successfully without hiccups and I have not compiled
 the kernel on FreeBSD :(, I have done it on linux systems many times,
 but have not here, and I would hate to lose all the work just to get
 the printer working.

 I will be patient and try some things out then report back.  I
 appreciate the help and if I can't find a solution, I will take the
 plunge :) and hopefully not fail.

 Regards,

 Antonio


If you do decide to take this route, it's not that hard to recompile a kernel.

# csup -h cvsup.FreeBSD.org -L2 /usr/share/examples/cvsup/standard-supfile

Copy your kernconf, say COFFIN, to /usr/src/sys/i386/conf/ if you are
on 32bit or to /usr/src/sys/amd64/conf/ if on amd64.
The file could be just the following (just the GENERIC kernel,
slightly modified):
--- cut ---
include GENERIC

ident   COFFIN

# Remove legacy support
nocpu   I486_CPU
nocpu   I586_CPU

# HPLIP can't work whithout this
nodeviceulpt
--- cut ---

# cd /usr/src
# make buildkernel KERNCONF=COFFIN
# make installkernel KERNCONF=COFFIN
# reboot

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


Re: printing to a HP Deskjet 812C printer

2011-07-27 Thread Ross
On Thu, Jul 28, 2011 at 2:29 AM, Ross basarev...@gmail.com wrote:
 On Thu, Jul 28, 2011 at 2:12 AM, Antonio Olivares
 olivares14...@gmail.com wrote:
 On Wed, Jul 27, 2011 at 6:03 PM, Ross basarev...@gmail.com wrote:
 On Thu, Jul 28, 2011 at 1:54 AM, Antonio Olivares
 olivares14...@gmail.com wrote:
 On Wed, Jul 27, 2011 at 5:43 PM, Ross basarev...@gmail.com wrote:
 It requires CUPS and replaces system lpr. Here's an example on setting
 up HPLIP: http://daemon-notes.com/articles/install/hplip

 On Thu, Jul 28, 2011 at 1:25 AM, Antonio Olivares
 olivares14...@gmail.com wrote:
 On Wed, Jul 27, 2011 at 5:07 PM, Ross basarev...@gmail.com wrote:
 Why you do not use HPLIP? Your printer is supported.

 Does lpd/lpr use this? or it requires CUPS?

 Thanks,

 Antonio



 Thanks Ross,

 But I have to compile/recompile kernel just to get it working?

 I'll think about it :?
 Howto you have provided is detailed and I cannot complain :(

 Regards,

 Antonio


 Well, you had problems with ulpt so maybe removing it which is
 required for HPLIP is a solution. Sorry if recompiling the kernel is
 not an option for you. Otherwise it just works.


 Ross,

 I am afraid to screw up and for the first time, I can say that I have
 updated FreeBSD successfully without hiccups and I have not compiled
 the kernel on FreeBSD :(, I have done it on linux systems many times,
 but have not here, and I would hate to lose all the work just to get
 the printer working.

 I will be patient and try some things out then report back.  I
 appreciate the help and if I can't find a solution, I will take the
 plunge :) and hopefully not fail.

 Regards,

 Antonio


 If you do decide to take this route, it's not that hard to recompile a kernel.

 # csup -h cvsup.FreeBSD.org -L2 /usr/share/examples/cvsup/standard-supfile

 Copy your kernconf, say COFFIN, to /usr/src/sys/i386/conf/ if you are
 on 32bit or to /usr/src/sys/amd64/conf/ if on amd64.
 The file could be just the following (just the GENERIC kernel,
 slightly modified):
 --- cut ---
 include         GENERIC

 ident           COFFIN

 # Remove legacy support
 nocpu           I486_CPU
 nocpu           I586_CPU

 # HPLIP can't work whithout this
 nodevice        ulpt
 --- cut ---

 # cd /usr/src
 # make buildkernel KERNCONF=COFFIN
 # make installkernel KERNCONF=COFFIN
 # reboot

 That's it.


Although I should add that you probably will need to also rebuild the
world if you update your sources with csup. Well, don't run csup, use
the sources you already have in /usr/src.
___
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: Maintenance script/port

2011-07-21 Thread Ross
I use security/logcheck which informs me via email about new entries
in /var/log/messages and also smartd from sysutils/smartmontools which
will email me when it detects any problems with  SMART disks.

And I also interested in something more.

On Thu, Jul 21, 2011 at 11:25 AM, Jos Chrispijn ker...@webrz.net wrote:
 Can someone recommend me a text driven maintenance (re)port that informs me
 about the health of my FreeBSD system?
 I currently use the standard BSD report information, but like to get more
 information out of my partitions, OS etc.
 This program should be ran by schedule and send me the outcome by email.

 Thanks in advance.
 Jos Chrispijn
 ___
 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: virtualbox 4.0

2011-07-21 Thread Ross Cameron
Hi there Gregg

You have more than likely configured a 32bit virtual machine and not a 64bit
one.
Make that change to you're VM config and you will more than likely come
right.

Is you're host operating system also 64bit?



 Regards,...
Ross Cameron
eMail : ross.came...@unix.net
Phone : +27 (0)79 491-9954



On Thu, Jul 21, 2011 at 10:48 AM, Minipot Gregg minipotgr...@gmail.comwrote:

 I wanted to get freeBSD but I didn't wan't to dual boot so I used
 virtualbox
 4.0 and downloaded the ISO of the freeBSD amd64 8.2.
 It installed fine but when I got to the boot menu and pressed [enter] x2 it
 said CPU doesnt support longmode and then come's up saying type '?' to show
 comands,
 or 'help' to show help.
 when I typed either of these commands it says '?' not found or 'help' not
 found whats wrong and what should I do?
 ___
 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: Droid fonts

2011-07-13 Thread Michael Ross

Am 13.07.2011, 17:21 Uhr, schrieb Arthur Barlow arthurbar...@gmail.com:


It appears that the port droid-fonts-ttf has a few *.ttf files with
bad checksum numbers.  Anyone know about that?



Not true for a right-now-updated ports tree:

= SHA256 Checksum OK for DroidSans-Bold.ttf.
= SHA256 Checksum OK for DroidSans.ttf.
= SHA256 Checksum OK for DroidSansArabic.ttf.
= SHA256 Checksum OK for DroidSansFallback.ttf.
= SHA256 Checksum OK for DroidSansFallbackLegacy.ttf.
= SHA256 Checksum OK for DroidSansHebrew.ttf.
= SHA256 Checksum OK for DroidSansJapanese.ttf.
= SHA256 Checksum OK for DroidSansMono.ttf.
= SHA256 Checksum OK for DroidSansThai.ttf.
= SHA256 Checksum OK for DroidSerif-Bold.ttf.
= SHA256 Checksum OK for DroidSerif-BoldItalic.ttf.
= SHA256 Checksum OK for DroidSerif-Italic.ttf.
= SHA256 Checksum OK for DroidSerif-Regular.ttf.
= SHA256 Checksum OK for NOTICE.



Michael
___
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: error in installation of uwsgi

2011-07-08 Thread Michael Ross

Am 08.07.2011, 17:23 Uhr, schrieb Zhong Yubin zhon...@gmail.com:


Hi,  I'm going to setup machine for developing web application in python.
But some errors appear when I install uwsgi using ports. The following is
the first I met:

*cc -c -O2 -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-pipe -fno-strict-aliasing -fno-strict-aliasing -Wextra
-Wno-unused-parameter -Wno-missing-field-initializers
-DUWSGI_BUILD_DATE=\08 July 2011 23:09:03\ -DUWSGI_HAS_IFADDRS
-DUWSGI_LOCK_USE_UMTX -DUWSGI_EVENT_USE_KQUEUE
-DUWSGI_EVENT_TIMER_USE_KQUEUE -DUWSGI_EVENT_FILEMONITOR_USE_KQUEUE
-DUWSGI_EMBEDDED -DUWSGI_UDP -DUWSGI_VERSION=\0.9.8.1\
-DUWSGI_VERSION_BASE=0 -DUWSGI_VERSION_MAJOR=9  
-DUWSGI_VERSION_MINOR=8

-DUWSGI_VERSION_REVISION=1 -DUWSGI_VERSION_CUSTOM=\\ -DUWSGI_ASYNC
-DUWSGI_MULTICAST -DUWSGI_MINTERPRETERS -DUWSGI_INI -DUWSGI_YAML
-DUWSGI_SNMP -DUWSGI_THREADING -DUWSGI_SENDFILE  
-I/usr/local/include/libxml2

-I/usr/local/include -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_SQLITE3
-DUWSGI_PLUGIN_DIR=\.\ -DUWSGI_SPOOLER
-DUWSGI_DECLARE_EMBEDDED_PLUGINS=UDEP(python);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rpc);UDEP(fastrouter);UDEP(http);UDEP(ugreen);
-DUWSGI_LOAD_EMBEDDED_PLUGINS=ULEP(python);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rpc);ULEP(fastrouter);ULEP(http);ULEP(ugreen);
-In file included from plugins/python/uwsgi_python.h:2,*
* from plugins/python/python_plugin.c:1:*
*/usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such  
file or

directory*
*o spooler.o spooler.c*
 uWSGI compiling embedded plugins 
*
*
After sort of searching in google, I used following command to solve this
problem.

*ln -s /usr/local/include/pth/pth.h /usr/local/include/python2.7/pth.h*


Then I rebuilt this port again. The second error appeared.



I hit that one a few days ago. Haven't solved it.

If it's an option for you, you can compile Python without GNU Pth support.
This will solve your uwsgi installation problem.

Regards,

Michael
___
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: Jails: How do i limit what ifconfig shows?

2011-04-22 Thread Michael Ross

Am 22.04.2011, 22:21 Uhr, schrieb xor xor...@gmail.com:


Hullo
First off, thanks for a lovely operating system 3

I decided to go for FreeBSD perhaps 3 days ago. Before, ive been an
Debian/OpenBSD guy, and ive only used my obsd box for redundant
firewalls and networking. Ive not been running any services off the
boxen.

The reason I decided to go for FreeBSD is because of the Jails. Ive
looked around a bit, but I can not find anything about how to limit
what interfaces that ifconfig shows. I would like it to hide pretty
much everything so that _no_ information about the host systems
networking leaks into the jails. I dont want jails to know anything
but their IP-numbers and which computer to use for DNS lookups,
essentially.

Is there any good text out there that describes how to do this? Ive
searched a bit for it, but Ive been unable to find anything but the
basics.


Maybe you can remove the ifconfig binary from the jail.
Works for me.


Michael
___
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: Help with Booting

2011-04-22 Thread Michael Ross

Am 23.04.2011, 00:38 Uhr, schrieb Doug Hardie bc...@lafn.org:

I have an AMD based system that is driving me nuts.  I am trying to  
install 8.2 on it but can't get past the first boot.  I had a system up  
and running on it before, but I had to remove a drive and do the install  
on another computer.  That worked, but now I need to use the built in  
RAID hardware.  As best as I can tell I am going to have to install on  
the the actual hardware.  Motherboard is an Arima NM46X.  The machine  
appears to be about 6 years old.


I have tried to boot the install disk, the live filesystem disk, and the  
memstick image for FreeBSD 7.0 through 8.2.  All of them do exactly the  
same thing:


Bootstart starts.

BTX loader lists the drives and memory

FreeBSD bootstrap loader version 1.1 starts.  I get the build date and  
then a new line with just a '/' on it.  It never begins to spin.  No  
additional I/O occurs with the boot device.


The memstick and CDs are good.  They boot just fine on another computer,  
just not this one.  I have had to work around CD issues in the past, but  
I thought the memstick would work if the BIOS would recognize it and  
boot from it.  It recognizes it and tries to boot.  I need some ideas  
here as the RAID is essential for this application.  Thanks,




Architecture mismatch, trying to boot a amd64 on an i386 machine?



Michael
___
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: allBSD Japan servers ?

2011-04-04 Thread Ross Cameron
works just fine here (im in south africa) so maybe a routing issue ???




Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.



2011/3/28 Al Plant n...@hdk5.net

 Kouichiro Iwao wrote:
  On Fri, Mar 25, 2011 at 08:59:19AM -1000, Al Plant wrote:
  Aloha,
 
  Anybody know what happened to the http; or ftp servers for allbsd.org
  japan? Did the Tsumnami put them down?
 
  allbsd.org is hosted by Tokyo University of Science.  Probably, servers
  are still there but down due to lack of electricity. Numbers of power
  plants are damaged by earthquake.
 
  We provide just a portsnap server, portsnap.club.kyutech.ac.jp. Consider
  using it instead of allbsd's if you want.
 
 Aloha,

 Thanks for the message.

 I hope you all have better days soon.

 Thanks...


 ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
 All that's really worth doing is what we do for others.- Lewis Carrol

 ___
 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: Nonsensical Web Log Entries

2011-03-09 Thread Michael Ross

Am 09.03.2011, 21:40 Uhr, schrieb pe...@vfemail.net:



Does this entry change your conclusion:

188.134.62.20 - - [09/Mar/2011:12:15:04 -0500] GET  
http://images.google.com/ HTTP/1.1 200 13134 - -




If I do:

%telnet localhost 80

and enter:

GET / HTTP/1.1
Host: images.google.com

I get this in my logfile:

	127.0.0.1 images.google.com - [09/Mar/2011:22:06:48 +0100] GET /  
HTTP/1.1 200 2257 - -


My vhost-Setup serves the default host in the requested host is unknown,
thus 200 OK.



Here's another entry that's too bizarre for words:

 218.172.209.123 - - [09/Mar/2011:15:38:29 -0500] \x16\x03\x01 200  
13107 - -




Talking ssl to a non-ssl vhost. Google that one.



Regards,
Michael
___
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: no apache22, php5 cores

2011-01-21 Thread Michael Ross
Am 22.01.2011, 00:28 Uhr, schrieb Da Rock  
freebsd-questi...@herveybayaustralia.com.au:


Run ps ax | grep httpd. If it doesn't show up then its not working. If  
it says NO_HTTP_ACCEPT or similar its not working either.


Like -DNO_HTTP_ACCEPT in the ps output?

That doesn't mean not accepting http but http accept filter disabled,
i.e. accf_http.ko is not/can not be loaded. The server can work fine  
without it.



Michael
___
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: documentation OF FreeBSD

2011-01-18 Thread Ross Cameron
On Tue, Jan 18, 2011 at 11:57 AM, gs_stol...@juno.com
gs_stol...@juno.comwrote:

  I remember that there was a documentation project going on for
  FreeBSD  and
 I'd like know its status and  URL .  Hopefully there is a good index (I
 consider this an
 essential tool in books).


On the FRONT PAGE of the FreeBSD.org website there is a big ole button with
the word Documentation on it?
The link (for the truely lazy) is : http://www.freebsd.org/docs.html


  Another section I would like to see is one about internet
 access and also the subsection about  email .  I want to be able to access
 my  juno email
 account and see a list of the received emails (with the name of the sender,
 the subject,
 and date  time sent, possibly other data), be able to select emails to
 read (and to
 delete them after they are read at the reader's discretion).  There is also
 the flip side,
 the ability to create emails, specify to whom they are to be sent, and send
 them.


All of the above is accomplished using a Mail User Agent (MUA)
application,... there are litterally thousands to choose from so it is
HIGHLY unlikely that any open source OS will include this in the manual...

Install a few and decide for youreself what suits you best.
___
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: documentation OF FreeBSD

2011-01-18 Thread Ross Cameron
Considering the wording of the original posting I HIGHLY doubt the OP would
be willing to use PINE/MUTT/MAIL.

So they hardly count,... 99% chances (my bet anyways) are that hey wanted a
GUI app for this.




Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.



On Tue, Jan 18, 2011 at 2:05 PM, Bruce Cran br...@cran.org.uk wrote:

 On Tue, 18 Jan 2011 13:04:58 +0200
 Ross Cameron ross.came...@linuxpro.co.za wrote:

  All of the above is accomplished using a Mail User Agent (MUA)
  application,... there are litterally thousands to choose from so it is
  HIGHLY unlikely that any open source OS will include this in the
  manual...

 You mean something like
 http://www.freebsd.org/doc/handbook/mail-agents.html ? :)

 --
 Bruce Cran

___
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: Manage Bind9 through the web, PowerDNS crash my system at startup

2011-01-06 Thread Ross Cameron
On Fri, Jan 7, 2011 at 8:39 AM, Sayed Nimer sayed...@gmail.com wrote:

 Hello,
 I was looking for a solution to manage Bind9 DNS server through a web so I
 can add/edit zone.
 I thought PowerDNS/PowerAdmin would be a good solution for my requirements.
 I successfully installed both PowerDNS/PowerAdmin and tested them was
 working fine.
 When I restart my box I found PowerDNS crash my system giving many errors
 can't find mysqlserver.
 Any suggestions for the requirement to manage Bind9 through the web, or the
 PowerDNS problem.
 Thanks and have a nice day.


Have you tried making sure that the MySQL daemon is started /BEFORE/
PowerDNS and Apache is started?
___
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: Why do you use a devil as a mascot?

2010-11-12 Thread Ross Cameron
2010/11/12 José Silveira jmlsilve...@gmail.com

 Why do you use a devil as a mascot?

 For me it is nonsense... It makes Christians, Jwishes and Muslins run away!


Because we don't want narrow minded, religious bigots clogging up the
mailing lists like this one.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sysinstall install.cfg

2010-11-11 Thread Ross
vgc I do this twice before the installCommit and both scripts run and load the
vgc resulting configs successfully. I also run another script after the  
vgc InstallComit...it fails citing the script could not be found. In  
vgc troubleshooting, I found that sysinstall is removing /stand and doing other
vgc stuff to / and /var. So, I know why the script cannot be found...because
vgc sysinstall is removing it.

sysinstall basically does a chroot into the newly installed root after
doing the installcommit, and then remounts the installation source as
/dist (not quite true, you can mount other sources at this time, but
always to /dist).

After the installcommit, you basically are now at a normal freebsd
installation (ie: /usr/bin and the like are available). You lose
access to your original mfsroot distribution at this point.

R.


-- 

___
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: Tips for installing windows and freeBSD both.. anyone??

2010-11-09 Thread Michael Ross

Am 10.11.2010, 01:09 Uhr, schrieb Robert Bonomi bon...@mail.r-bonomi.com:

With a GUI there is no way to describe the series of mouse  
'motions'/'clicks'/

'double-clicks'/'drags' and keypresses required to perform an operation.
'screen coordinates' are meaningless when a window, or icon, or button,  
may be

'repositioned' at will.

An _individual_ application may allow scripting via an internal command  
language,
but since it is internal to the app, and *not* part of the GUI, it  
doesn't
'generalize' (no guarantee that similar capability is present in any  
other app)
*AND* is utterly worthless for 'automating' annything that involves more  
than

the single app.


For Windows OSes there is actually a rather nice tool out there,

http://www.autoitscript.com/autoit3/

which allows you to script the GUI cross-app.

Regards,

Michael


___
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: Anybody know apt-get ?

2010-11-07 Thread Ross Cameron
Ronald what EXACTLY are you trying to accomplish here?

The bsdutils are a collection of commands from the 4.4BSD era that are now
included in the util-linux package which is available from Kernel.org

http://www.kernel.org/pub/linux/utils/util-linux/




Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.





On Sun, Nov 7, 2010 at 12:51 PM, Ronald F. Guilmette
r...@tristatelogic.comwrote:



 I need to get sources for the Linux version of certain programs that
 reside in a package called bsdutils.  I have built and installed
 the apt-get program and now I'm just trying to use it, and things
 are going very badly indeed.

 Can anyone tell me what I am doing wrong here?  The errors I am
 getting are shown below, and here are the current contents of my
 /usr/local/etc/apt/sources.list file:

 ---
 # See sources.list(5) for more information, especialy
 # Remember that you can only use http, ftp or file URIs
 # CDROMs are managed through the apt-cdrom tool.
 deb http://us.archive.ubuntu.com/ubuntu/ maverick main restricted contrib
 non-free

 # Uncomment if you want the apt-get source function to work
 deb-src http://us.archive.ubuntu.com/ubuntu/ maverick main restricted
 contrib non-free
 ---


 Here's what happens when I try to fetch the sources:


 % apt-get source bsdutils
 Reading package lists... 0%Reading package lists... 100%Reading package
 lists... Done
 Building dependency tree... 0%Building dependency tree... 0%Building
 dependency tree... 0%Building dependency tree... 0%Building dependency
 tree... Done
 W: Couldn't stat source package list 
 http://us.archive.ubuntu.commaverick/main Packages
 (/var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_main_binary-freebsd-i386_Packages)
 - stat (2 No such file or directory)
 W: Couldn't stat source package list 
 http://us.archive.ubuntu.commaverick/restricted Packages
 (/var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_restricted_binary-freebsd-i386_Packages)
 - stat (2 No such file or directory)
 W: Couldn't stat source package list 
 http://us.archive.ubuntu.commaverick/contrib Packages
 (/var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_contrib_binary-freebsd-i386_Packages)
 - stat (2 No such file or directory)
 W: Couldn't stat source package list 
 http://us.archive.ubuntu.commaverick/non-free Packages
 (/var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_non-free_binary-freebsd-i386_Packages)
 - stat (2 No such file or directory)
 W: You may want to run apt-get update to correct these problems
 E: Could not open file
 /var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_main_source_Sources
 - open (2 No such file or directory)
 ___
 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: Anybody know apt-get ?

2010-11-07 Thread Ross Cameron
Oops ... the current release of util-linux being available here
http://www.kernel.org/pub/linux/utils/util-linux-ng/




Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.



On Sun, Nov 7, 2010 at 10:19 PM, Ross Cameron
ross.came...@linuxpro.co.zawrote:

 Ronald what EXACTLY are you trying to accomplish here?

 The bsdutils are a collection of commands from the 4.4BSD era that are now
 included in the util-linux package which is available from Kernel.org

 http://www.kernel.org/pub/linux/utils/util-linux/




 Opportunity is most often missed by people because it is dressed in
 overalls and looks like work.
 Thomas Alva Edison
 Inventor of 1093 patents, including:
 The light bulb, phonogram and motion pictures.






 On Sun, Nov 7, 2010 at 12:51 PM, Ronald F. Guilmette 
 r...@tristatelogic.com wrote:



 I need to get sources for the Linux version of certain programs that
 reside in a package called bsdutils.  I have built and installed
 the apt-get program and now I'm just trying to use it, and things
 are going very badly indeed.

 Can anyone tell me what I am doing wrong here?  The errors I am
 getting are shown below, and here are the current contents of my
 /usr/local/etc/apt/sources.list file:

 ---
 # See sources.list(5) for more information, especialy
 # Remember that you can only use http, ftp or file URIs
 # CDROMs are managed through the apt-cdrom tool.
 deb http://us.archive.ubuntu.com/ubuntu/ maverick main restricted contrib
 non-free

 # Uncomment if you want the apt-get source function to work
 deb-src http://us.archive.ubuntu.com/ubuntu/ maverick main restricted
 contrib non-free
 ---


 Here's what happens when I try to fetch the sources:


 % apt-get source bsdutils
 Reading package lists... 0%Reading package lists... 100%Reading package
 lists... Done
 Building dependency tree... 0%Building dependency tree... 0%Building
 dependency tree... 0%Building dependency tree... 0%Building dependency
 tree... Done
 W: Couldn't stat source package list 
 http://us.archive.ubuntu.commaverick/main Packages
 (/var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_main_binary-freebsd-i386_Packages)
 - stat (2 No such file or directory)
 W: Couldn't stat source package list 
 http://us.archive.ubuntu.commaverick/restricted Packages
 (/var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_restricted_binary-freebsd-i386_Packages)
 - stat (2 No such file or directory)
 W: Couldn't stat source package list 
 http://us.archive.ubuntu.commaverick/contrib Packages
 (/var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_contrib_binary-freebsd-i386_Packages)
 - stat (2 No such file or directory)
 W: Couldn't stat source package list 
 http://us.archive.ubuntu.commaverick/non-free Packages
 (/var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_non-free_binary-freebsd-i386_Packages)
 - stat (2 No such file or directory)
 W: You may want to run apt-get update to correct these problems
 E: Could not open file
 /var/db/apt/state/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_main_source_Sources
 - open (2 No such file or directory)
 ___
 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: Tips for installing windows and freeBSD both.. anyone??

2010-11-06 Thread Ross Cameron
Personally I would install FreeBSD as the primary operating system and
install Windows in a VirtualBox VM.

That way you can get the best of both worlds and no need to reboot to access
a particular application.





Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.



On Sat, Nov 6, 2010 at 11:01 AM, Tushar tushar...@gmail.com wrote:

 I want to use windows and freeBSD, both of them at the same time...
 please help...
 ___
 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: Zip file making issues

2010-09-20 Thread Michael Ross

Am 21.09.2010, 05:53 Uhr, schrieb Ryan Coleman edi...@d3photography.com:




As I said in my OP: I could just run a cd to the directory parent and  
do it there - that would solve the problem - but that's simply too  
dangerous if the script generator throws an error on the next set of  
commands (a risk I do not want to take).


Maybe you could:

mount -t nullfs -o ro /where/my/data/is /mnt
cd /mnt
zip ...



Regards,

Michael
___
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: Support for AIX

2010-09-16 Thread Ross Cameron
On Thu, Sep 16, 2010 at 7:53 AM, srividy...@tcs.com wrote:

 Hi
 Is BSD compatible with AIX unix system?( AIX version 6).
 We require the make utility of BSD to compile few source programs?


Are you SURE you need BSD Make?
If so why?

Secondly, it is available from
http://www.crufty.net/help/sjg/bmake.html
Very simple install instructions on that page too.

Is there any make utility compatible with AIX?  Could you please give us
 the URL where we can get the same?


Yes LOTS,... bmake/nmake/gnu make/etc. etc. etc.
All Make commands are not made alike you need to use the one that
suits the syntax of the makefile in question.

Judging from the Q that was asked... if the software you want to compile is
OpenSource look into NetBSD's Pkgsrc system
___
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: Support for AIX

2010-09-16 Thread Ross Cameron
Make doesn't handle source code, it just control's the actual build process
so you don't have to type hundreds of cc . lines in a console.

Have you tried contacting the current maintainers of DCE for advice?
Maybe a bit of googling

Have you tried verifying the Makefile's format using the -n switch ???

I would suggest contacting either IBM or the OpenGroup about this as we're
just guessing here this is the __FreeBSD__ mailing lists... we can try
help but honestly the vendors are the right people to ask.




Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.



On Fri, Sep 17, 2010 at 7:05 AM, srividy...@tcs.com wrote:


 We have a source code that needs to be compiled. Its the OpenGroup's DCE(
 used as RPC).
 The source code is available , but we are not able to compile it with
 either AIX's make utility or gmake.

 The syntax corresponds to BSD's make.

 Will try getting the make utility from the URL?

 Is there any other make utility. I am not sure if bmake is the exact
 utility we require.

 The makefile has macros as  --  .if define
   --- .if exists
 and all the statements start with ..   GMAKE or AIX make throws errors with
 this make file.

 Will bmake be the right make utility to for above type of source code?

 Srividya K
 Tata Consultancy Services
 Mailto: srividy...@tcs.com
 Website: http://www.tcs.com

 
 Experience certainty.IT Services
Business Solutions
Outsourcing
 


  From: Ross Cameron ross.came...@unix.net To: srividy...@tcs.com Cc:
 freebsd-questions@freebsd.org Date: 09/17/2010 12:16 AM Subject: Re:
 Support for AIX Sent by: abal...@gmail.com
 --



 On Thu, Sep 16, 2010 at 7:53 AM, *srividy...@tcs.com*srividy...@tcs.com
 wrote:
 Hi
 Is BSD compatible with AIX unix system?( AIX version 6).
 We require the make utility of BSD to compile few source programs?

 Are you SURE you need BSD Make?
 If so why?

 Secondly, it is available from  *
 http://www.crufty.net/help/sjg/bmake.html*http://www.crufty.net/help/sjg/bmake.html
 Very simple install instructions on that page too.

 Is there any make utility compatible with AIX?  Could you please give us
 the URL where we can get the same?

 Yes LOTS,... bmake/nmake/gnu make/etc. etc. etc.
 All Make commands are not made alike you need to use the one that
 suits the syntax of the makefile in question.

 Judging from the Q that was asked... if the software you want to compile is
 OpenSource look into NetBSD's Pkgsrc system

 =-=-=
 Notice: The information contained in this e-mail
 message and/or attachments to it may contain
 confidential or privileged information. If you are

 not the intended recipient, any dissemination, use,
 review, distribution, printing or copying of the
 information contained in this e-mail message
 and/or attachments to it are strictly prohibited. If
 you have received this communication in error,

 please notify us by reply e-mail or telephone and
 immediately and permanently delete the message
 and any attachments. 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


Re: question on access to res utility

2010-09-10 Thread Ross Cameron
As an !!! employee !!! of Juniper I would expect that you would know that
the res command is part of the JunOS shell and NOT part of the underlying
FreeBSD OS.

Most especially since you're helping what sounds like a member of the
press, therefore you SHOULD have / SOME / idea of what you are doing.

What respect I had for Juniper's products has been ruined of last as this is
NOT the first time that a Juniper employee has posted such completely
idiotic emails to this list.
Please do tell what are the employment requirements? Know how to press
the ON button on a kettle?




Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.



On Fri, Sep 10, 2010 at 6:42 PM, Joanne McClintock joan...@juniper.netwrote:

 I'm helping a new writer use tech pubs lab routers. In trying to use the
 res utility, he gets the following:

 -bash-2.05b$ res show tp5
 -bash: res: command not found

 In giving the uname -a command he gets:

 -bash-2.05b$ uname -a
 FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0:
 Mon Oct 25 16:23:23 PDT 2004 
 r...@bigpink.juniper.net:/usr/src/sys/compile/bigpink
  i386

 We are wondering if perhaps this is an access problem. Any ideas? Need any
 other information? Thanks.

 Joanne
 ___
 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: question on access to res utility

2010-09-10 Thread Ross Cameron
It's not the first time that almost word for word the same question has been
asked by someone from that domain.




Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.



On Fri, Sep 10, 2010 at 8:49 PM, Alessandro Dellavedova 
alessandro.dellaved...@ifom-ieo-campus.it wrote:


 On Sep 10, 2010, at 7:23 PM, Ross Cameron wrote:

  As an !!! employee !!! of Juniper I would expect that you would know that
  the res command is part of the JunOS shell and NOT part of the
 underlying
  FreeBSD OS.
 
  Most especially since you're helping what sounds like a member of the
  press, therefore you SHOULD have / SOME / idea of what you are doing.
 
  What respect I had for Juniper's products has been ruined of last as this
 is
  NOT the first time that a Juniper employee has posted such completely
  idiotic emails to this list.
 Please do tell what are the employment requirements? Know how to press
  the ON button on a kettle?

 Please don't be so rude, maybe she's a Press Office employee, looking for a
 bit of help here.
 Working at Juniper does not mean being a JunOS developer or a tech guru.

 It's just one e-mail on hundreds that you get per day, and it does not
 hurt.

 Just my opinion, peace

 Alessandro

 
 
  On Fri, Sep 10, 2010 at 6:42 PM, Joanne McClintock joan...@juniper.net
 wrote:
 
  I'm helping a new writer use tech pubs lab routers. In trying to use the
  res utility, he gets the following:
 
  -bash-2.05b$ res show tp5
  -bash: res: command not found
 
  In giving the uname -a command he gets:
 
  -bash-2.05b$ uname -a
  FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0:
  Mon Oct 25 16:23:23 PDT 2004 r...@bigpink.juniper.net:
 /usr/src/sys/compile/bigpink
  i386
 
  We are wondering if perhaps this is an access problem. Any ideas? Need
 any
  other information? Thanks.
 
  Joanne
  ___
  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


___
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 access to res utility

2010-09-10 Thread Ross Cameron
2seconds spent Googling the phrase pulls up my much more polite answer to
exactly the same question from a month ago.
Absolutely no effort was made, that much is OBVIOUS.

In my defense when I realised the the OP thought that this was a Juniper
support list I did offer to try help.




Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.



On Fri, Sep 10, 2010 at 9:44 PM, mikel king mikel.k...@olivent.com wrote:

 I'm glad that I am not the only one who felt that was a bit extreme.

 This is a BSD, not Linux, list after all.


 Regards,
 Mikel King
 Senior Editor, BSD News Network
 Columnist, BSD Magazine
 6 Alpine Court,
 Medford, NY 11763
 o: 631.627.3055
 http://www.linkedin.com/in/mikelking
 http://twitter.com/mikelking

 On Sep 10, 2010, at 3:22 PM, Adam Vande More wrote:

  On Fri, Sep 10, 2010 at 1:58 PM, Ross Cameron ross.came...@unix.net
 wrote:

  It's not the first time that almost word for word the same question has
 been
 asked by someone from that domain.


 True but juniper has given a great of IP to BSD.  Gracefully handling some
 runoff seems appropriate.

 --
 Adam Vande More
 ___
 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

___
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: FreeBSD vendors

2010-09-07 Thread Ross Cameron
Exactly what make/model/firmware revision of RAID card are we talking about
here?

Can you also include a dmesg dump for the list's perusal?




Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.



On Tue, Sep 7, 2010 at 5:24 PM, Daniel Willacy daniel.will...@sch-group.com
 wrote:

 Hi,

 I have a client who uses FreeBSD on IBM X3550 M3 Servers (x86). The problem
 is that they are big supporters of both IBM and FreeBSD but they do not seem
 to work too well together. They are reporting problems at the RAID and
 hence, a massive slow down in performance.

 I notice from your vendor list that IBM is not mentioned. Is this because
 your product hasn't been tested with IBM or are there any case studies or
 models that you could provide to me to show that FreeBSD can work on certain
 IBM servers.

 Any advice or information would be greatly received.

 Thanks  best regards,

 Danny

 Danny Willacy
 Business Development
 Location: 710 Birchwood Boulevard, Birchwood, Warrington, WA3 7PS
 Mobile: +44 (0) 7872 544 203
 e-mail: daniel.will...@scc.commailto:daniel.will...@scc.com
 web: www.scc.comhttp://www.scc.com




 

 The information contained in this e-mail is confidential and may be
 privileged.
 It is intended for the addressee only.   If you are not the intended
 recipient, please delete
 this e-mail immediately.   The contents of this e-mail must not be
 disclosed or copied
 without the sender's consent. We cannot accept any responsibility for
 viruses, so please
 scan all attachments.

 No changes to Terms and Conditions of trade can be accepted through e-mail
 communication.  All changes to Terms and Conditions must be in writing
 evidenced by
 a director of the company and in hard copy format.

 The statements and opinions expressed in this message are those of the
 author and
 do not necessarily reflect those of the company. The company does not take
 any
 responsibility for the views of the author.


 *
 SPECIALIST COMPUTER HOLDINGS PLC is a company registered in England
 and Wales with Company No. 04279856.
 Registered office: James House, Warwick Road, BIRMINGHAM. B11 2LE.
 VAT Registration Number is GB 313 6516 80
 ___
 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: Need Res Utility

2010-08-27 Thread Ross Cameron
On Thu, Aug 26, 2010 at 8:48 PM, Tamara Ferris tfer...@juniper.net wrote:

 Hi,

 I got this error message. I also need the Res utility.

 % show res tp5
 show: Command not found.


Uhm are you at the right privilege level perhaps?


 % uname -a
 JUNOS sugar 10.4B2 JUNOS 10.4B2 #0: 2010-08-20 07:55:25 UTC
 buil...@warth.juniper.net:/volume/build/junos/10.4/release/10.4B2/obj-i3
 86/bsd/sys/compile/JUNIPER  i386


While JunOS is FreeBSD based,... seeing as you're a Juniper employee,
shouldn't you ask you're colleagues about youre RES util issue?
___
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


perl p5-Gtk2: FileChooser hangs infinitely

2010-08-22 Thread Ross
Hi, all.

Could you please test this script (requires x11-toolkits/p5-Gtk2):
-
#!/usr/bin/perl

use strict;
use Gtk2 -init;

my $filechooser = Gtk2::FileChooserButton-new(Choose a file, 'open');

print XXX\n;
-
It should just print XXX and exit. On my system (8.1-STABLE/amd64) it
never prints anything. Just hangs on the first line. I don't know what
to do - submit a PR? Reinstall everything?
___
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: Automated sysinstall install.cfg

2010-07-02 Thread Ross
TT is there a person who can help me to solve some problems with
TT sysinstall and its install.cfg.

TT How can i manage that my mfsroot executes custom commands ?

Before the installCommit command you generally only have access to
statically compiled commands (generally in the /stand directory) from
the mfsroot image used.

-= example lines in install.cfg
# Sleep for 15 seconds to stabilize things.
command=/stand/sleep 15
system
-=

After the installCommit command, a chroot will have occurred to the
installation mount point, and you must then use your installed binaries
to do work. Specify full paths for everything and note that there are
other oddities since not all things are online/configured, so try and
keep it as simple as possible.

-- 

___
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


Alternate method for fetching source

2010-06-04 Thread Ross Penner
I'm trying to update my system and when I run cvsup, the connection
repeatedly has problems (TreeList failed: Network write failure:
Connection closed). I'm wondering if anybody can suggest any other
method to grab the current source files?

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


Problem upgrading hplip

2010-05-22 Thread Ross
Just upgraded print/hplip3 (now named print/hplip) to latest version. The
port deleted contents of /usr/local/share/hplip but did not install anything
there during upgrade. Tried portupgrade -f hplip but
/usr/local/share/hplip is still empty. And if I get it right the directory
is still used because there is /usr/local/sbin/hpssd which is a symlink to
(nonexistent) /usr/local/share/hplip/hpssd.py.

What can I do?
___
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: rookie question about PACKAGESITE

2010-05-11 Thread Ross Cameron
Hey hey Coert
Nice to see another GLUG member on here.

The link below will answer you're question.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html

In general give the FreeBSD Handbook a read, in my concerted little
opinion it is the gold standard in how any operating system should be
documented.



On Tue, May 11, 2010 at 1:42 PM, Coert lgro...@waagmeester.co.za wrote:
 Hello all,

 I started using FreeBSD about a week ago, and I really like the system. Have
 been using Linux for the last few years.

 One noob question though, according to the Handbook on Packages and Ports, I
 can use packages for either RELEASE, STABLE, or CURRENT.

 How exactly would this compare to Linux?
 Is it that CURRENT is like Fedora(bleeding-edge and somewhat unstable), and
 STABLE is like RedHat Enterprise Linux (older versions of software, but very
 stable)?

 Which one should I use? I am currently using RELEASE.
 I am not looking for bleeding edge. I'm after stability.

 Kind regards,
 Coert
 ___
 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




-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
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: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Ross Cameron
On Mon, May 10, 2010 at 4:51 PM, Chip Camden
sterl...@camdensoftware.com wrote:
 On May 10 2010 08:04, Andrew Gould wrote:
 On Mon, May 10, 2010 at 7:35 AM, Frank Bonnet f.bon...@esiee.fr wrote:
  Hello
 
  Is there a simple software to share files between a FreeBSD server and a
  windows client other than Samba which is a bit overkill for my needings,
 
  I just want to share a directory (and subdirectories) of my server with ONE
  Windows client, to facilitate some files exchanges between two users.
 
  Thanks for any infos

 Some things simply aren't that simple if you're setting them up yourself.

 The good news is that you get to choose the type of complexity you
 want to deal with:

 1.  Samba.
 2.  You could purchase a networked drive (network attached storage)
 that both computers can access.  Many retail stores now carry these.
 3.  Webdav (included with Apache 2.2).  This setup is as complex as
 Samba; but you can access it securely across the internet via SSL.

 Good luck,

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

 Does anyone have a recommendation for NAS that works well for both
 FreeBSD and Windows clients?

FreeNAS ?
OpenFILER ?


-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
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 about FreeBSD installing

2010-04-21 Thread Ross Cameron
On Wed, Apr 21, 2010 at 5:35 PM, Michael Powell nightre...@hotmail.com wrote:
 王跃辉 wrote:

 hi
     I have a problem when I try to install FreeBSD as client OS on a Linux
 OS.

 Sorry, but this does not make any sense to me. How are you trying to install
 FreeBSD on Linux? FreeBSD is an operating system, not an application.

It's quite simple, he wants to host a virtualized FreeBSD ontop of a
Linux server OS.

 following the instruction I find that I can't open the website of
 www.fsmware.com to finish some download work.
 it seems that the dns server
 don't support the address in China Mainland. do you have any way to solve
 the problem?

Uhm no idea where the www.fsmware.com domain comes into anything,...
sorry cant help here.

 Nope. It is a problem with government politics in China and not FreeBSD
 related.

Actually nothing to do with Chinese politics, the http server attached
to the hostname www.fsmware.com is genuinely down.
___
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: IT Support And services

2010-04-20 Thread Ross Cameron
On Tue, Apr 20, 2010 at 7:53 AM, Alejandro Imass a...@p2ee.org wrote:
 On Mon, Apr 19, 2010 at 2:42 PM, Streamlyn Technologies
 a...@stechnologies.co.za wrote:
 Since its establishment in 2005 Streamlyn Technologies has actively and 
 successfully been helping small to medium companies deal with:

 Computer hardware and software hassles and needs by providing


 WTF?

LoL whaaay to go stechnologies.co.za!!!
Thanks for making all of South Africa look like idiots lol
hehehehehehehehehe we really appreciate it!



-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
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: Extended VLAN?

2010-04-13 Thread Ross Cameron
Look into OpenVPN's bridge mode.
www.openvpn.net

I use it to bridge networks like what you have in mind quite regularly.



On Wed, Apr 14, 2010 at 12:04 AM, Dan D Niles d...@more.net wrote:
 I have two FreeBSD routers.  I would like both locations to share the
 10.10.0.0/16 network.  If I were using Cisco routers I would use
 extended VLANs.  How would I do that with FreeBSD routers?

 I already have a tunnel set up and routing different networks in the
 192.168.0.0/16 range.

 Router A:

 ifconfig em2 inet 192.168.1.1 netmask 255.255.255.0
 ifconfig gif0 create 192.168.1.1 192.168.2.1 netmask 255.255.255.0 tunnel 
 routerA routerB
 route add 192.168.2.0/24 129.168.2.1

 Router B:

 ifconfig em2 inet 192.168.2.1 netmask 255.255.255.0
 ifconfig gif0 create 192.168.2.1 192.168.1.1 netmask 255.255.255.0 tunnel 
 routerB routerA
 route add 192.168.1.0/24 129.168.1.1

 This routes traffic between 192.168.1.0/24 and 192.168.2.0/24 as I would
 expect.

 The docs say I can use a tunnel with a bridge, which seems like it would
 do what I want.

 Router A:

 ifconfig em3 inet 10.10.1.1 netmask 255.255.0.0
 ifconfig bridge0 create addm em3 addm gif0

 Router B:

 ifconfig em3 inet 10.10.2.1 netmask 255.255.0.0
 ifconfig bridge0 create addm em3 addm gif0

 I cannot ping 10.10.2.1 from router A or 10.10.1.1 from router B.

 Should I be able to use a bridge this way?  Am I missing some piece?

 Is there an easier/better way to extend a VLAN with FreeBSD routers?

 Thanks!

 Dan


 ___
 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




-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
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


  1   2   3   >