Re: freebsd-update upgrade -r 7.4-RELEASE-p12

2013-10-09 Thread Mike Brown
Eduardo Morras wrote:
 [...] uname -a should give the correct answer. Has uname other utility than 
 show information about the operating system implementation? No, and it must 
 be accurate.

That's what I thought, but when I asked about it here last year, I was told 
that this is the way things are; our expectations of uname are at fault.

I believe if he were to compile his own kernel, it would say -p12.

Suggestions were made for how to deal with it, but I don't know if they 
were ever followed up on. They wouldn't affect 7.x in any case.

Start reading the thread here: 
http://lists.freebsd.org/pipermail/freebsd-questions/2012-May/240666.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


Re: freebsd-update upgrade -r 7.4-RELEASE-p12

2013-10-08 Thread Mike Brown
alexus wrote:
 ok, I just did fetch  install and got bumped from p5 to p9
 
 # uname -a
 FreeBSD XX.X.org 7.4-RELEASE-p9 FreeBSD 7.4-RELEASE-p9 #0: Mon Jun 11
 19:47:58 UTC 2012
 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
  amd64
 #
 
 can I take it all the way to -p12?

-p10 through -p12 probably didn't involve any kernel changes. Bumping the 
reported patchlevel isn't considered important enough to warrant building a 
new kernel.

If your sources are in /usr/src, do this:

grep -v # /usr/src/sys/conf/newvers.sh | head -4
___
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 ask a DNS resolver listening on a different port than the tcp/udp 53

2013-09-28 Thread Mike.

On 9/28/2013 at 7:16 PM Laurent SALIN wrote:

|Le 28.09.2013 18:32, Terje Elde a écrit :
| Not sure if I misunderstood what you're trying to do, but the way
I
|recall it, you have two boxes, one running with one recursive and
one
|authoritative nameserver, and you wanted a second box to quey the
|recursive nameserver on the first box, which is running on another
port
|than 53?
|
 =


The way I solved this problem on my setup, I assigned another IP
address to the network interface via ifconfig alias.

I put the authoritative namesever on one IP address, and the
recursive nameserver on the other IP address.

They both are still listening on port 53, but on different IP
addresses.



___
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: Just wanted to say Thanks to Polytropon

2013-09-26 Thread Mike Jeays
On Thu, 26 Sep 2013 19:42:15 + (UTC)
Walter Hurry walterhu...@gmail.com wrote:

 A few weeks ago I asked about mouse trails. Polytropon suggested xeyes. I 
 have found it excellent, and have had no trouble whatsoever with it.
 
 It has made my life so much easier. Thanks, Polytropon!
 
 ___
 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

I have to confess that when I first say xeyes on a Sun workstation over 20 years
ago, I thought it was a joke - just a demo of what could be done with 
X-Windows. I am
delighted to hear it has helped you so much, and no doubt many others. I was 
quite naive.

I see it has even been ported to (or rewritten for) Windows : 
http://www.steelblue.com/WinEyes/
___
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: dangerously dedicated physical disks.

2013-09-22 Thread Mike Jeays
On Sun, 22 Sep 2013 16:16:17 -
atar atar.yo...@gmail.com wrote:

 Hi there!!
 
 During the reading of the FreeBSD handbook, I've encountered at the term  
 'dangerously dedicated' regarding physical disks and the author of this  
 chapter in the FreeBSD handbook didn't think this term need more clarity.  
 so for newbies like me in the FreeBSD world I want to ask: what's the  
 'dangerously dedicated' term meaning by?
 
 Thanks in advance!
 
 atar.
 ___
 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

Information is at this (very old) link. Not as scary as it sounds.

http://docs.freebsd.org/doc/2.2.6-RELEASE/usr/share/doc/FAQ/FAQ103.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


Re: Unable to access http://sane-project.org/

2013-08-01 Thread Mike Clarke
On Thursday 01 Aug 2013 11:58:01 Jerry wrote:

 Not really a FreeBSD problem; however, I was wondering if anyone else
 had been unable to access http://sane-project.org/ in the last 24 hours?

http://www.isup.me/ is a useful site for instantly checking this sort of 
thing.

-- 
Mike Clarke
___
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: learn

2013-08-01 Thread Mike Jeays
On Thu, 1 Aug 2013 14:21:34 +0100 (BST)
Anton Shterenlikht me...@bris.ac.uk wrote:

 Date: Thu, 1 Aug 2013 14:29:25 +0200
 From: herbert langhans w...@langhans.com.pl
 To: freebsd-questions@freebsd.org
 Subject: Re: learn
 
 The handbook is a monster, even technically interested people get lost
 there. You know that, corebug.
 
 I completely disagree.
 
 The handbook is of excellent quality for a volunteer project.
 In particular, it is far ahead of any linux documentation
 effort I've seen. Indeed, it was the handbook that made me
 start using FreeBSD in the first place. In about 2003 I tried
 several linux distros, and got completely lost. The available
 documentation for linux, at least at that time, was not designed
 for a novice, certainly not at my level. In contrast, the
 FreeBSD handbook was very clear and allowed me to install
 and start using FreeBSD quickly and easily. This was version 4.9.
 
 Since then the quality of the handbook improved a lot.
 The handbook is certantly the first FreeBSD resource
 I would recommend to a FreeBSD novice.
 
 Anton
 ___
 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

Agreed - the handbook has been a great resource since I started using FreeBSD 
in 1997,
at version 2.2.something.

Greg Lehey's book The Complete FreeBSD is also excellent, and available as a 
free
download - although I am sure he would appreciate contributions or purchases.

http://www.lemis.com/grog/Documentation/CFBSD/

___
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: Saving scanned document

2013-07-24 Thread Mike Clarke
On Tuesday 23 Jul 2013 23:37:45 Jerry wrote:

 . There is a application that controls printing,
 scanning, faxing and copying but that is only available on a Windows or
 Mac machine.

Might it work with wine?

-- 
Mike Clarke
___
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


Exim has stopped using SpamAssassin

2013-07-16 Thread Mike Clarke

I've just noticed that for the last month Exim does not appear to have been 
using SpamAssassin to check incoming emails.

Previously all my incoming emails contained the following headers:

X-SA-Exim-Connect-IP:
X-SA-Exim-Mail-From:
X-Spam-Checker-Version: 
X-Spam-Level: 
X-Spam-Status:

But I'm not seeing any of them now.

I've compared things with a ZFS snapshot from a time when it was working and 
both Exim and SpamAssassin are the same versions as before and there has 
been no changes in /usr/local/etc/exim/configure or 
/usr/local/etc/exim/sa-exim.conf.

Current versions are:
FreeBSD curlew.lan 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 
11:42:37 UTC 2013 root@amd64 
builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
exim-sa-exim-4.80.1+4.2_2
p5-Mail-SpamAssassin-3.3.2_8
perl-5.14.4 (was 5.14.2_3 when SpamAssassin was working)

I've re-installed Exim and SpamAssassin using the same make options as before 
to see if that had any effect but still no joy.

I've set SAEximDebug to 1 in sa-exim.conf but there's still nothing in the logs 
to help.

Any suggestions where I should look next?

-- 
Mike Clarke
___
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: resolvconf.conf in 9.1

2013-07-15 Thread Mike.
On 7/14/2013 at 11:45 AM Mike. wrote:

|I am trying to figure out and understand the config file
|resolvconf.conf.  The man page is a bit on the sketchy side, and I see
|no reference for resolvconf.conf in the Handbook.  Most of what google
|finds looks like it is Linux-oriented, and that seems to be an
entirely
|different config structure for resolvconf, i.e., a directory of files
|instead of a file of variables.
|
|
|For example, I would like to change the order in which the name
servers
|appear in resolv.conf.  
|
|
|There is one interface (fxp0) that is assigned both IPv4 and IPv6
|addresses.   IPv4 uses DHCP to obtain the address and two nameservers.
|  IPv6 uses rtadvd to obtain the IP address and nameserver (RDNSS).
|
|The IPv4 nameservers appear before the IPv6 nameserver in resolv.conf,
|and I would like the IPv6 nameserver to be first on the resolv.conf
|list.
|
|
|What parameter in resolvconf.conf controls the order in which
|nameservers are placed in resolv.conf?
|
|Thanks.
 =


I finally solved this.

First, I ran

resolvconf -l

to list the interfaces it knew about.


Then I added this line, based upon the interfaces in the above list, to
resolvconf.conf:


interface_order=fxp0:slaac fxp0


That puts the interface configured via rtadv before the interface
configured via dchp, resulting in the IPv6 nameserver coming before the
IPv4 nameservers in resolv.conf.







___
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


resolvconf.conf in 9.1

2013-07-14 Thread Mike.

I am trying to figure out and understand the config file
resolvconf.conf.  The man page is a bit on the sketchy side, and I see
no reference for resolvconf.conf in the Handbook.  Most of what google
finds looks like it is Linux-oriented, and that seems to be an entirely
different config structure for resolvconf, i.e., a directory of files
instead of a file of variables.


For example, I would like to change the order in which the name servers
appear in resolv.conf.  


There is one interface (fxp0) that is assigned both IPv4 and IPv6
addresses.   IPv4 uses DHCP to obtain the address and two nameservers.
  IPv6 uses rtadvd to obtain the IP address and nameserver (RDNSS).

The IPv4 nameservers appear before the IPv6 nameserver in resolv.conf,
and I would like the IPv6 nameserver to be first on the resolv.conf
list.


What parameter in resolvconf.conf controls the order in which
nameservers are placed in resolv.conf?

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


[Solved] Error upgrading sysutils/nepomuk-core - Could not find parser plugin for encoding trig

2013-07-13 Thread Mike Clarke
On Friday 12 Jul 2013 18:15:18 Mike Clarke wrote:
 Could anyone advise how to get round this problem?
 
 [  3%] Generating nie.h, nie.cpp
 cd /usr/ports/sysutils/nepomuk-core/work/.build/libnepomukcore 
 /usr/local/bin/onto2vocabularyclass --name NIE --encoding trig --namespace
 Nepomuk2::Vocabulary --export-module nepomuk
 /usr/local/share/ontology/nie/nie.trig Could not find parser plugin for
 encoding trig

The original problem arose when I ran portmaster -r apr -r kdelibs-4\*. It 
turned out that raptor is a dependency of kdelibs but for some reason 
portmaster had not selected it for upgrading. After manually running 
portmaster raptor I was able to build nepomuk-core and continue the mega 
update with  portmaster -R -r apr -r kdelibs-4\*

-- 
Mike Clarke
___
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


Error upgrading sysutils/nepomuk-core - Could not find parser plugin for encoding trig

2013-07-12 Thread Mike Clarke

Could anyone advise how to get round this problem?

[  3%] Generating nie.h, nie.cpp
cd /usr/ports/sysutils/nepomuk-core/work/.build/libnepomukcore  
/usr/local/bin/onto2vocabularyclass --name NIE --encoding trig --namespace 
Nepomuk2::Vocabulary --export-module nepomuk 
/usr/local/share/ontology/nie/nie.trig
Could not find parser plugin for encoding trig
*** [libnepomukcore/nie.h] Error code 1

Stop in /usr/ports/sysutils/nepomuk-core/work/.build.
*** [libnepomukcore/CMakeFiles/nepomukcore.dir/all] Error code 1

Stop in /usr/ports/sysutils/nepomuk-core/work/.build.
*** [all] Error code 1

Stop in /usr/ports/sysutils/nepomuk-core/work/.build.
*** [do-build] Error code 1

Stop in /usr/ports/sysutils/nepomuk-core.

-- 
Mike Clarke
___
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: UEFI Secure Boot

2013-07-08 Thread Mike Jeays
On Tue, 9 Jul 2013 02:31:40 +0200
Polytropon free...@edvax.de wrote:

 On Mon, 8 Jul 2013 16:21:28 + (UTC), jb wrote:
  I hope FreeBSD (and other OSs) luminaries, devs and users will find a way 
  not 
  to harm themselves.
 
 A massive problem I (personally) have is that with Restricted Boot
 (this is what Secure Boot basically is) you are no longer able
 to _ignore_ MICROS~1 and their products. A restrictive boot loader
 mechanism that requires signed and confirmed keys, handled by a
 major offender of free decisions and a healthy market - no thanks.
 What prevents MICROS~1 from revoking keys of a possible competitor?
 Or from messing with the specs just that things start breaking?
 
 Don't get me wrong: I don't even argument that a mechanism where
 a competitor requires you to pay money to run _your_ software
 instead of _their_ software sounds horribly wrong. This approach
 will introduce a philosophical or even legal context to the
 technical problem.
 
 I see interesting chances in UEFI per se. It can be called a kind
 of micro-OS which can be rich on features that could also be
 useful. But history has shown that if such an infrastructure is
 provided, it will lead to bloated, insecure and incompatible
 implementations quickly, and the worst, it will happen at a very
 low level. This is simly dangerous.
 
 Regarding UEFI + Restricted Boot: To obtain MICROS~1's sticker of
 approval for hardware, vendors need to implement those features.
 Even worse, on _specific_ platforms, they are not allowed to make
 it possible to _remove_ those features, so on by default is
 required - if I remember correctly (Intel vs. ARM architectures).
 
 As you see, I try to ignore this whole topic as I am not interested
 in using it. In the past, this has been possible. When building a
 new system, buying a blank disk and _no_ Windows was particularly
 easy. For systems that already came with some Windows preinstalled,
 simply deleting the partition was a solution; install FreeBSD boot
 mechanism, initialize disk, and be done. No more dealing with what
 MICROS~1 seems to insist is normal. When _their_ product decisions
 make _me_ invest time to find a way to remove and ignore them, I
 feel offended.
 
 I would like to see a way UEFI hardware, with or without Restricted
 Boot, can be used with FreeBSD _without_ involving the good will
 of MICROS~1. But as they have already gotten their fingers everywhere,
 this doesn't seem to happen all too soon... :-(
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

If I have understood correctly, it is quite easy to disable secure boot on
most current machines; it is just an option in the UEFI setup.

The real danger is machines where it cannot be disabled. This includes some
recent HP machines; whether by design or incompetence I cannot say. These
are the real danger to non-Microsoft operating systems, and the free software
movement needs to fight tooth and nail against them. I can all too easily
see them proliferating in the marketplace, perhaps secretly 'encouraged' by
Microsoft.

___
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: Acer Laptop Bightness and Volume Hotkeys not working!

2013-07-06 Thread Mike C.
On 07/03/13 01:30, Mike C. wrote:
 On 06/23/13 23:57, CeDeROM wrote:
 Hey :-) For my Dell laptop the backlight is controlled by hardware,
 unlike sound keys where you can assign them to use
 xf86audiovolumeup/down (or similar) to interact with mixer. I would
 search for automatic backlight hothey that would block manual control,
 or BIOS settings (like automatic backlight) or maybe new BIOS would
 fix that problem..?
 Best regards,
 Tomek

 --
 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

 I don't hae any BIOS settings for this... I have the most recent version
 of my bios but this Ultrabooks don't really have many options :)


I tried the xbrightness port, but no luck however I don't really
understand the error:

xbrightness 1.0
xbrightness:  unable to open default display.


Could this be related to the fact that I've built Xorg with:
WITH_NEW_XORG=true
WITH_KMS=true

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: Acer Laptop Bightness and Volume Hotkeys not working!

2013-07-02 Thread Mike C.
On 06/23/13 23:57, CeDeROM wrote:

 Hey :-) For my Dell laptop the backlight is controlled by hardware,
 unlike sound keys where you can assign them to use
 xf86audiovolumeup/down (or similar) to interact with mixer. I would
 search for automatic backlight hothey that would block manual control,
 or BIOS settings (like automatic backlight) or maybe new BIOS would
 fix that problem..?
 Best regards,
 Tomek

 --
 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

I don't hae any BIOS settings for this... I have the most recent version
of my bios but this Ultrabooks don't really have many options :)

The keys work on windows, and I don't find any driver related to it on
the website... very odd...


___
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: Should I be able to use mergemaster with freebsd-update?

2013-06-26 Thread Mike Brown
I wrote:
 The main problem this time is that I'm not so lucky with the password files, 
 because for 8.4, freebsd-update has fetched new, stock .db files to put in 
 /etc.

Whoa, sorry, I misspoke here. 


freebsd-update asked me, after the merges, to approve unspecified differences 
in pwd.db and spwd.db.  I assumed that it had fetched those files as part of 
the 8.4 distribution. But http://svnweb.freebsd.org/base/release/8.4.0/etc/ 
seems to indicate that's not what happened; only master.passwd was changed.


I'm looking through the freebsd-update code now. I see it does actually do 
some special handling of master.passwd, but not until you do your 
'freebsd-update install'. At that point, it will look at /etc/master.passwd 
and see if it's newer than /etc/pwd.db or /etc/spwd.db, and it will run 
pwd_mkdb. It doesn't use the -p flag, so I guess it doesn't care about passwd.

This pwd_mkdb run didn't happen for me, though, since my 'freebsd-update 
install' run didn't actually put the new master.passwd file, or anything else, 
into /etc yet. I thought it would, but I don't understand it, really. So I 
don't see how it's supposed to work.


To summarize:

1. I did the initial 'freebsd-update -r 8.4-RELEASE upgrade'
2. When prompted, I did all the merges it needed me to do by hand.
3. When prompted, I approved all the diffs. Two of the diffs were unspecified 
pwd.db  spwd.db changes, which caused me some alarm.
4. I looked in the staging area and found that these were empty files.
5. I looked in /etc and nothing new had been placed there yet.
6. I did the 'freebsd-update install' and checked /etc again; still nothing.
7. Afraid of rebooting with bogus password database files staged, I generated
proper pwd.db, spwd.db, and passwd files myself, and put them in the
staging area.

Next step, I think, is reboot, before another 'freebsd-update install' run.
I'm worried something is still amiss, though, so I'm holding off for 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: freebsd-update percentage indicators - what are they, why are they so random?

2013-06-25 Thread Mike Brown
 Fetching 1 metadata files...  70.5%
 done.
  70.5%
  70.5%
  74.2%
  74.2%
  81.7%
  81.7%
  70.5%

I think this is a result of having -v in my GZIP environment variable.
I always forget about my GZIP and BZIP2 variables. I should've known.
So, never mind about that.
___
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: Should I be able to use mergemaster with freebsd-update?

2013-06-25 Thread Mike Brown
 I'm using freebsd-update to upgrade my system to the latest minor version
 (from 8.3-RELEASE to 8.4-RELEASE).
 
 I'm surprised that the merge handling system isn't more robust. When 
 upgrading 
 the old way, from source, I was used to using mergemaster to handle any 
 merges that couldn't be done automatically.
 
 But when using freebsd-update, it seems that any failed merges require that 
 you get dumped into an empty text editor for each file.
 [...]

As I continue with this process, doing all the mergemaster tasks manually, I'm 
finding that the situation is even worse than I first realized.


First, the relatively painless part. As I mentioned, after running 
'freebsd-update -r 8.4-RELEASE upgrade', I had to deal with the un-mergeable 
files.

Although mergemaster apparently isn't an option, its interactive merge 
function is really just a front-end for sdiff, so I found that I could 
replicate that part of its functionality by doing this in a separate window 
(-w 100 because I use a 100-column terminal):

cd /var/db/freebsd-update/merge/8.4-RELEASE
find -X . -type f | xargs -n 1 -o -I % sh -c '{ echo Now processing %. 
left=current, right=new, help=?; sdiff -d -w 100 -o ../new/% ../old/% %; }'

This populated my 'new' directory with merged files, so that (in the first 
window) when I opened the text editor for each one, I only had to just give it 
a once-over and exit the editor.

Among the diffs in this 8.3 to 8.4 upgrade were changes to /etc/master.passwd 
and /etc/passwd, to add the 'auditdistd' and 'hast' users. As reported in 
March 2012 [1] in relation to 8.x to 9.x upgrades, this won't work as 
expected, because freebsd-update doesn't run pwd_mkdb after the master.passwd 
update.



Now the real hurt begins; in the 8.3 to 8.4 upgrade, it's even worse.

Once I saved all the files in the editor, I was prompted to approve a diff for 
each one. I had to answer y or the entire process aborts.

Among the changes I was asked to approve, besides visible diffs, were 
unspecified differences in /etc/pwd.db and /etc/spwd.db, the binary files that 
contain the password database.  There's no choice but to answer y and 
approve them, and I don't get any opportunity to rebuild them properly.

So apparently, freebsd-update wants to install new, stock password databases, 
which are out-of-sync with my customized, merged master.passwd  passwd files. 
(And because of the way the freebsd-update system works, what I actually 
approved were empty, 0-byte files, the result of the failed merges.)

What would happen if I just let it do this? Surely I wouldn't be able to log 
in, after the reboot, right?



After approving the files (again, I had no choice!), I was presented with 
lists of all the files that would be deleted, added, and modified. Sure 
enough, bad /etc/pwd.db and /etc/spwd.db files were in the list.

At this point, the merge folders were now gone; I no longer had the new 
master.passwd in a recognizable place. So I thought, OK, I'll run 
'freebsd-update install' and hope that the new files end up in /etc. Then I 
could just run 'pwd_mkdb -p /etc/master.passwd' to regenerate passwd, pwd.db 
and spwd.db before my reboot.

But the 'freebsd-update install' didn't put them there yet; I guess that 
doesn't happen till after the reboot. So they're still sitting in a staging 
folder, now gzipped and with obfuscated names, indexed in a separate file.

Averting this disaster-in-the-making is not at all straightforward:

cd /var/db/freebsd-update
mkdir -m 0700 /tmp/oldpwdfiles
zcat files/`grep '^/etc/master\.passwd' install.LYQAJQ/INDEX-NEW | cut -d \| -f 
7`.gz  /tmp/oldpwdfiles/master.passwd
zcat files/`grep '^/etc/passwd' install.LYQAJQ/INDEX-NEW | cut -d \| -f 7`.gz  
/tmp/oldpwdfiles/passwd
zcat files/`grep '^/etc/pwd\.db' install.LYQAJQ/INDEX-NEW | cut -d \| -f 7`.gz 
 /tmp/oldpwdfiles/pwd.db
zcat files/`grep '^/etc/spwd\.db' install.LYQAJQ/INDEX-NEW | cut -d \| -f 7`.gz 
 /tmp/oldpwdfiles/spwd.db
mkdir -m 0700 /tmp/newpwdfiles
pwd_mkdb -d /tmp/newpwdfiles -p /tmp/oldpwdfiles/master.passwd
gzip /tmp/newpwdfiles/*
mv /tmp/newpwdfiles/master.passwd.gz files/`grep '^/etc/master\.passwd' 
install.LYQAJQ/INDEX-NEW | cut -d \| -f 7`.gz
mv /tmp/newpwdfiles/passwd.gz files/`grep '^/etc/passwd' 
install.LYQAJQ/INDEX-NEW | cut -d \| -f 7`.gz
mv /tmp/newpwdfiles/pwd.db.gz files/`grep '^/etc/pwd\.db' 
install.LYQAJQ/INDEX-NEW | cut -d \| -f 7`.gz
mv /tmp/newpwdfiles/spwd.db.gz files/`grep '^/etc/spwd\.db' 
install.LYQAJQ/INDEX-NEW | cut -d \| -f 7`.gz
rm -fr /tmp/oldpwdfiles /tmp/newpwdfiles


I'm really shocked that it came to this. Did I just overlook the 
--no-surprises option in freebsd-update?



And now, before I reboot, I have to figure out how to handle the changes that 
got made in /etc/mail ... ordinarily I'd run 'make all install restart' in 
there. Not an option till after reboot, though. At least it's not crucial for 
the reboot to work.

Again, this is something that mergemaster was really good for. But 

Re: Should I be able to use mergemaster with freebsd-update?

2013-06-25 Thread Mike Brown
On Tue, Jun 25, 2013, at 15:29, Eugene wrote:
 I do not quite understand. Is the freebsd-update upgrade process
 completely broken? 

IMHO it is partially broken; I'm not doing anything special. How broken it is 
depends on what's getting changed. Most of what the system is designed to do, 
it indeed does very well. It also overlaps some of the functionality of 
mergemaster in that it automatically merges as many files as it can, which is 
nice.

Where it is under-designed and under-implemented is in its rudimentary 
handling of un-mergeable files, and in its total lack of support for the 
regeneration of /etc/*.db files (like the, uh, rather important password 
database) and sendmail aliases - things that you would handle via mergemaster 
in an ordinary, source-based upgrade, but which you must now figure out how to 
do by hand, without any guidance, and they really don't make it easy for you.

When I upgraded from 8.1 to 8.3, I avoided the issue altogether by not really 
merging anything; when dumped into the empty text editor, I just loaded my old 
files and made no changes. In the Handbook, there's an assumption that people 
who do this will go back later and figure out what merges are needed, but the 
resources you need to do that don't exist; if you don't do the merge when 
prompted, you don't get a second chance. In fact, even if you do it when 
prompted, you need to get it right, or start the whole process over.

My upgrade to 8.3 worked out OK because I got lucky; freebsd-update hadn't 
fetched new, stock password database files. The unmergeable files were all 
text files, nothing requiring anything to be regenerated.

But this time around, for 8.3 to 8.4, I am trying to do everything I'm 
supposed to, actually merging when prompted. The fact that it's a *really* 
manual process is a pain, but as I mentioned, I found a way to at least run 
sdiff from another window, which made it a lot easier, although still more 
tedious than it should be.

The main problem this time is that I'm not so lucky with the password files, 
because for 8.4, freebsd-update has fetched new, stock .db files to put in 
/etc.  So, yes, I was able to merge master.passwd  passwd, but that's not 
very helpful since the .db files won't be in sync with them.

If allow my custom password database to be overwritten with these new, stock 
.db files, obviously that's bad. And because freebsd-update makes no special 
allowance for the .db files, it actually put a zero-byte file in the staging 
area instead of the real .db file (as if it were going to have me modify it 
with an editor). So if I proceed, my password database will actually be 
overwritten with an empty file, which I believe would be a disaster.


The solution, I feel, is to:

1. make freebsd-update recognize files that most likely need to be regenerated 
instead of replaced - /etc/*.db, at least, if not also any other binary file, 
and some of the things that would be generated by 'make' in /etc/mail. The 
user should be informed that these files need to be regenerated, if there's no 
way to just regenerate them automatically when their companion source files 
have been updated or merged.

2. make freebsd-update run mergemaster on the unmergeable text files, instead 
of dumping the user into an empty text editor for each one. For each file that 
can't be automatically merged, mergemaster will give the user the opportunity 
to choose whether to keep the old file, replace it with the new file, 
interactively merge them via sdiff, or do nothing. It is also smart enough to 
realize that when certain files are being touched, such as /etc/master.passwd, 
/etc/mail/aliases, etc. you'll need to run pwd_mkdb, cap_mkdb, services_mkdb, 
or newaliases...and it will run those for you (or remind you to do it). For 
this to work, mergemaster would need some tweaking to deal with 
freebsd-update's staging area, and to not duplicate any of the work that 
freebsd-update does.

I keep hoping that maybe there's some nuance of the process that I'm missing, 
and that all of this really is not a problem.. user error, or not reading the 
docs carefully enough, you know? But Mark Felder's comments seem to confirm 
that it's a real 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


Re: Hello

2013-06-25 Thread Mike Jeays
On Wed, 26 Jun 2013 08:56:59 +1000
julius juliuscmontes...@gmail.com wrote:

 Which BSD for a user desktop ??!.
 I all ready have Linux mint but I like to try again, in the past I have 
 use it but no luck in dual booting system with windows and I have try to 
 follow youtube BSD users that gave instructions on the BSD and no luck.
 Everybody that I watch in youtube for instruction it hasn't work even 
 loading the BSD on is own hasn't work.So which BSD for a user desktop??!
 Thank you
 -- 
 Best Wishes Julius
 ___
 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

PC-BSD is a good place to start; it makes installation easy.

I prefer running Windows in a VM under VirtualBox to dual-booting. Switching
between the two is much faster, and you can make the host file system visible
to the guest with Samba.
___
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: logging during loader

2013-06-24 Thread Mike Jeays
On Mon, 24 Jun 2013 09:23:10 -0400
Robert Huff roberth...@rcn.com wrote:

 
   During the processing of loader.conf, something gets printed
 that suggests all is not right.  However, this is a sufficiently
 modern machine it goes by too fast to read exactly what.
   It is my understanding that file gets read before the system
 logging facilities are operational, and possibly before things like
 ^S/^Q work on the terminal.
   Is there a way to store the results of that phase of boot-up?
 
   Respectfully,
 
 
   Robert Huff
 
 ___
 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

I am sure there is a 'right' way to do it, but I had success reading a 
transitory
BIOS message by photographing the screen with a 2-second exposure, in a fairly 
dark
room. This will only work for white-on-black text, 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: logging during loader

2013-06-24 Thread Mike.
On 6/24/2013 at 4:05 PM Arthur Chance wrote:

|On 06/24/13 14:23, Robert Huff wrote:
|
|  During the processing of loader.conf, something gets printed
| that suggests all is not right.  However, this is a sufficiently
| modern machine it goes by too fast to read exactly what.
|  It is my understanding that file gets read before the system
| logging facilities are operational, and possibly before things like
| ^S/^Q work on the terminal.
|  Is there a way to store the results of that phase of boot-up?
 =



This has worked well for me, logging the early boot process that
usually scrolls by on the screen. I use it on 8.3 and 9.1.

I was surprised that it managed to log console stuff that occurred
before syslogd was loaded...


from syslog.conf

# uncomment this to log all writes to /dev/console to 
#   /var/log/console.log
# touch /var/log/console.log and chmod it to mode 600 
#   before it will work
console.info/var/log/console.log


___
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-update percentage indicators - what are they, why are they so random?

2013-06-22 Thread Mike Brown
I'm using freebsd-update to upgrade my system to the latest minor release.

At a couple points in the process, I get weird status indicators (percentages) 
showing me that something is happening:


Fetching 1 metadata files...  70.5%
done.
 70.5%
 70.5%
 74.2%
 74.2%
 81.7%
 81.7%
 70.5%
Inspecting system... done.



Sometimes these numbers are negative, and although not entirely random, they 
don't seem to follow any particular pattern... they don't creep up from 0 to 
100, at least:

Preparing to download files... done.
 -4.7%
 -8.4%
 -9.6%
 35.4%
 30.6%
 30.5%
 45.2%
 43.4%
 43.0%
 68.1%
 68.2%
 68.2%
 44.4%
 43.0%
 43.0%
 72.0%
 71.9%
 71.9%
 69.1%
 69.0%
 69.0%
 72.0%
 71.9%
 71.9%
 69.1%
 69.0%
 69.0%
 52.2%
 50.2%
 49.9%
 53.4%
 56.8%
 57.5%
 59.0%
 55.1%
 56.0%
 91.4%
 94.5%
 94.3%
 90.4%
 94.5%
 94.3%
 54.8%
 54.6%
 55.3%
 28.8%
 24.9%
 24.2%
 57.0%
 53.3%
 55.1%
Attempting to automatically merge changes in files... done.


What is the point of these numbers? Does everyone see them, or is it just me? 
Are they supposed to be on separate lines like this, or are they supposed to 
overwrite each other one line?
___
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


Should I be able to use mergemaster with freebsd-update?

2013-06-22 Thread Mike Brown
I'm using freebsd-update to upgrade my system to the latest minor version
(from 8.3-RELEASE to 8.4-RELEASE).

I'm surprised that the merge handling system isn't more robust. When upgrading 
the old way, from source, I was used to using mergemaster to handle any 
merges that couldn't be done automatically.

But when using freebsd-update, it seems that any failed merges require that 
you get dumped into an empty text editor for each file. It doesn't even tell 
you where the new file is so you can load it and compare it to the old one. 
After that, you're asked to approve every diff, but if you reject one, you 
don't get a chance to re-edit; the entire upgrade aborts and you have to 
start all over again. 

Since it wasn't obvious what to do, last time I upgraded, I just loaded all my 
old files and kept them as-is, without merging them. This time, I'm trying to 
actually take care of them when prompted.

When I get dumped into the empty text editor, I suppose it's not too hard to 
figure out that the new file is in /var/db/freebsd-update/merge/8.4-RELEASE, 
but that's certainly not documented anywhere. It could at least be mentioned 
prior to being sent to the editor. The old file is mentioned, so why not the 
new?

Regardless, when doing a manual merge by loading both files and consolidating 
them, or by copy-paste voodoo between terminal windows, it is far easier to 
screw up than mergemaster's method, at least in my experience. So I was 
thinking that when I get to this stage of the freebsd-update process, it would 
be nice to use mergemaster in a separate terminal window.

I mean, I know where the new files are, and I know where I need the merged 
files to go, so it should be just a matter of invoking mergemaster with the 
right flags, right? Then when I'm dumped into a text editor, it won't be 
empty; I'll see the mergemaster-produced file, and can just give it a 
once-over.

The handbook even mentions mergemaster as if it is an option:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html#freebsdupdate-config-file
...or at least, it suggests I read about it, for some reason.

But I can't figure out how to get mergemaster to use freebsd-update's file 
locations. Here is what I tried:

mergemaster -ciFv -m /var/db/freebsd-update/merge/8.4-RELEASE -D 
/var/db/freebsd-update/merge/new


Here's what that results in, even if I add trailing slashes:

make: don't know how to make distrib-dirs. Stop
make: don't know how to make distrib-dirs. Stop

  *** FATAL ERROR: Cannot 'cd' to /var/db/freebsd-update/merge/8.4-RELEASE and 
install files to
  the temproot environment


Any suggestions appreciated.
___
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: Setting a locale globally

2013-06-15 Thread Mike.
On 6/14/2013 at 3:46 PM staticsafe wrote:

|On Fri, Jun 14, 2013 at 12:13:34PM -0400, Mike. wrote:
| 
| 
| I would like to set the locale of my 9.1 server to
| 
|LANG=en_US.ISO8859-1
| 
| 
| globally, i.e., put the locale entry in one file, and then have the
| locale propagate as I go into other shells and run various scripts.
| 
| 
| I have spent some quality time with google, and the best I have been
| about to ascertain is that I need to sprinkle the LANG setting
| throughout the various ENV variables and .profile, .cshrc, .bashrc,
and
| whatever files spread across my directory tree.
| 
| 
| That really seems counter-intuitive to me.
| 
| 
| Is it at all possible for me to specify in once place *somewhere
that
| the entire server is to use the locale setting
LANG=en_US.ISO8859-1 ?
| 
| I need a clue...
| 
| 
| thanks.
| 
| 
|24.3.3.1.1. Login Classes Method
|This method allows environment variables needed for locale name and
|MIME character sets to be assigned once for every possible shell
instead
|of adding specific shell assignments to each shell's startup file.
User
|Level Setup can be performed by each user while Administrator Level
|Setup requires superuser privileges.
|
|Source:
|http://www.freebsd.org/doc/en/books/handbook/using-localization.html#lo
gin-class
|-- 
=

Thank-you!  That does what I need.

I added the lang keyword to the default and root sections of
/etc/login.conf, then ran 

cap_mkdb /etc/login.conf

as mentioned in the handbook.


Thanks again for the assist.







___
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


Setting a lcoale globally

2013-06-14 Thread Mike.


I would like to set the locale of my 9.1 server to

   LANG=en_US.ISO8859-1


globally, i.e., put the locale entry in one file, and then have the
locale propagate as I go into other shells and run various scripts.


I have spent some quality time with google, and the best I have been
about to ascertain is that I need to sprinkle the LANG setting
throughout the various ENV variables and .profile, .cshrc, .bashrc, and
whatever files spread across my directory tree.


That really seems counter-intuitive to me.


Is it at all possible for me to specify in once place *somewhere that
the entire server is to use the locale setting LANG=en_US.ISO8859-1 ?

I need a clue...


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: Setting a locale globally

2013-06-14 Thread Mike.
On 6/14/2013 at 9:12 PM Polytropon wrote:

|On Fri, 14 Jun 2013 12:13:34 -0400, Mike. wrote:
| I would like to set the locale of my 9.1 server to
| 
|LANG=en_US.ISO8859-1
| 
| 
| globally, i.e., put the locale entry in one file, and then have the
| locale propagate as I go into other shells and run various scripts.
|
|You can add this to /etc/csh.cshrc as it will be inherited by
|all interactive shells (login shells), unless of course they
|override it with ~/.cshrc:
|
|   setenv LANG en_US.ISO8859-1

That works for the login shell, but when I su to another user (e.g.,
root), LANG is no longer in the environment.


|
|It's also possible to add it to /etc/profile and even make an
|addition to /etc/login.conf's default setting:
|
|   default:\
|   :setenv=LANG=en_US.ISO8859-1:...

That works for the login shell, but when I su to another user (e.g.,
root), LANG is no longer in the environment.






___
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


New LGA1150 / C222, C224 Xeons

2013-06-02 Thread mike miskulin

Hi - I am trying to replace an aging workstation on its last legs and
have been waiting on the release of the new Intel hardware.  They did so
this weekend and I am leaning towards the E3-1245V3 over the vanilla i7s
because of the extended page support for virutualization.  

So.. before I get knee deep into it.. am I going to be ok with the
latest current and that cpu/chipset?  I think the chipset has been for a
little while.  

In fact, FreeBSD will be one of the virtualizations - i was pretty happy
with another setup where FreeBSD was installed to disk and then
virtualbox run using that image.  


Thanks for any warnings/insights, etc.


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

2013-06-02 Thread mike miskulin
Hi all - I may be building a system which does not have any onboard
sounds thus need to find either a pci-e or usb solution which will work
with FreeBSD.  I've combed newegg and have to say I never realized how
crappy the sound cards have become - that used to be a big thing back in
the day!

Could any of you who have installed something of -recent- vintage
which worked well post the make/model?  I just need something for basic
audio, nothing superduper. 

TIA

___
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: Keeping my system up to date with CTM or subversion?

2013-05-23 Thread Mike Clarke
On Wednesday 22 May 2013 21:23:39 Ed Flecko wrote:

 When security vulnerabilities are discovered and patches released by FBSD,
 the patch will tell you what steps you need to take to apply the patch and
 stay up to date, won't it?

Yes, if you subscribe to the FreeBSD Security Notifications mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-security-notifications 
you'll get email notifications when security parches are available. These give 
details of the background and impact of the vulnerability along with 
instructions of how to obtain and apply the patches.

-- 
Mike Clarke
___
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


9.1 - new install questions

2013-05-19 Thread Mike.
I just installed 9.1 on a clean disk.   The dmesg is at the end of this
message.



For the network configuration, I selected DHCP for IPv4 and SLAAC for
IPv6.  When I boot the PC, it appears that dhclient tries to load
twice.  Why does it try to load the second time?

From the console log:

May 18 17:53:15 a31p kernel: Starting dhclient.
May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255
port 67
May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255
port 67
May 18 17:53:15 a31p kernel: DHCPACK from 10.20.1.1
May 18 17:53:15 a31p kernel: bound to 10.20.2.14 -- renewal in 36
seconds.
May 18 17:53:15 a31p kernel: dhclient already running? (pid=1233).






Also during the boot process, but earlier, is this message:

(aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00
00 00 00
(aprobe0:ata1:0:1:0): CAM status: Command timeout
(aprobe0:ata1:0:1:0): Error 5, Retry was blocked
run_interrupt_driven_hooks: still waiting after 60 seconds for
xpt_config
(aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00
00 00 00
(aprobe0:ata1:0:1:0): CAM status: Command timeout
(aprobe0:ata1:0:1:0): Error 5, Retry was blocked



What is that trying to tell me?  The disk appears to work fine, i.e.,
9.1 loads up and runs OK.  The above adds significantly to the boot
time.  If it is just informational, is there a way to bypass it?


Thanks.





dmesg:

Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1698.61-MHz 686-class
CPU)
  Origin = GenuineIntel  Id = 0xf24  Family = f  Model = 2  Stepping
= 4
  Features=0x3febf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MC
A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real memory  = 1073741824 (1024 MB)
avail memory = 1031213056 (983 MB)
kbd1 at kbdmux0
ctl: CAM Target Layer loaded
acpi0: IBM TP-1G on motherboard
acpi_ec0: Embedded Controller: GPE 0x1c, ECDT port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 3ff0 (3) failed
cpu0: ACPI CPU on acpi0
attimer0: AT timer port 0x40-0x43 irq 0 on acpi0
Timecounter i8254 frequency 1193182 Hz quality 0
Event timer i8254 frequency 1193182 Hz quality 100
atrtc0: AT realtime clock port 0x70-0x71 irq 8 on acpi0
Event timer RTC frequency 32768 Hz quality 0
Timecounter ACPI-safe frequency 3579545 Hz quality 850
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82845 host to AGP bridge on hostb0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0x3000-0x30ff mem
0xe800-0xefff,0xd010-0xd010 irq 11 at device 0.0 on
pci1
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port
0x1800-0x181f irq 11 at device 29.0 on pci0
usbus0 on uhci0
uhci1: Intel 82801CA/CAM (ICH3) USB controller USB-B port
0x1820-0x183f irq 11 at device 29.1 on pci0
usbus1 on uhci1
uhci2: Intel 82801CA/CAM (ICH3) USB controller USB-C port
0x1840-0x185f irq 11 at device 29.2 on pci0
usbus2 on uhci2
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
cbb0: RF5C476 PCI-CardBus Bridge mem 0x5000-0x5fff irq 11 at
device 0.0 on pci2
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb1: RF5C476 PCI-CardBus Bridge mem 0x5010-0x50100fff irq 11 at
device 0.1 on pci2
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1
fwohci0: Ricoh R5C552 mem 0xd0201000-0xd02017ff irq 11 at device 0.2
on pci2
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:06:1b:00:10:00:6d:38
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:06:1b:00:6d:38
fwe0: Ethernet address: 02:06:1b:00:6d:38
fwip0: IP over FireWire on firewire0
fwip0: Firewire address: 00:06:1b:00:10:00:6d:38 @ 0xfffe,
S400, maxrec 2048
dcons_crom0: dcons configuration ROM on firewire0
dcons_crom0: bus_addr 0x14a
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x, SelfID Count=1,
CYCLEMASTER mode
fxp0: Intel 82801CAM (ICH3) Pro/100 VE Ethernet port 0x8000-0x803f
mem 0xd020-0xd0200fff irq 11 at device 8.0 on pci2
miibus0: MII bus on fxp0
inphy0: i82562ET 10/100 media interface PHY 1 on miibus0
inphy0:  10baseT, 

Re: FreeBSD-update?

2013-04-24 Thread Mike Brown
Da Rock wrote:
 sysctl kern.version

For me, that's the same info as in uname -a.

Try this:

grep -v # /usr/src/sys/conf/newvers.sh | head -4
___
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-update?

2013-04-24 Thread Mike.
On 4/24/2013 at 5:07 PM Mike Brown wrote:

|Da Rock wrote:
| sysctl kern.version
|
|For me, that's the same info as in uname -a.
|
|Try this:
|
|grep -v # /usr/src/sys/conf/newvers.sh | head -4
 =


If uname -r [-a] does not give the proper version of the OS, then it is
either a bug, or the documentation for uname should be changed.
Currently, the man page for uname gives the following option:

-r  Write the current release level of the operating system to
stan-
 dard output.




If you need to do 

 grep -v # /usr/src/sys/conf/newvers.sh | head -4

in order to write the correct and current release level of the
operating system to standard output, then perhaps uname should be fixed
to accommodate freebsd update's partial update process of the OS.





___
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-update?

2013-04-24 Thread Mike.
On 4/25/2013 at 4:47 AM Polytropon wrote:

|On Wed, 24 Apr 2013 22:32:17 -0400, Mike. wrote:
| If uname -r [-a] does not give the proper version of the OS, then it
is
| either a bug, or the documentation for uname should be changed.
| Currently, the man page for uname gives the following option:
| 
| -r  Write the current release level of the operating system to
| stan-
|   dard output.
|
|Also the manpage of uname(3) would require a change to make clear
|that the version of the _kernel_ is provided, which _may_ stay the
|same during patchlevels of a given version. From that point of
|view, if we consider the patchlevel _not_ being part of the OS
|_version_, the statement (as it currently reads) makes sense.
|The understanding is: Version 9.1 is the OS version, and if
|a patch has been added, it's still 9.1 (even though the more
|precise information is 9.1-p5 for example). Similarly consider
|followint -STABLE: in this case, 9-STABLE or 9.1-STABLE is being
|reported, because no precise version numbers exist on that
|branch (at least not in the terms of patchlevels, instead a
|repository revision number or the date of the checkout could
|be considered for precision).
|
|The uname program relies on the uname system call to get the
|system identification, which queries the information stored in a
|(struct utsname *) data structure:
|
| The uname() function stores NUL-terminated strings of information
|identi-
| fying the current system into the structure referenced by name.
|
|
| The utsname structure is defined in the sys/utsname.h header
file,
|and
| contains the following members:
|
|   release   Release level of the operating system.
|
|   version   Version level of the operating system.
|
|This part of documentation would, given the case, also require
|adjustment, refering to the kernel instead of the OS.
 =


On the other hand, maybe instead of changing the documentation of uname
to accommodate a problem with freebsd update, maybe freebsd update
should be changed to accommodate the historical and expected
performance of uname.

In other words, once I found out this problem with freebsd update
(i.e., not properly refreshing the OS version), I stopped using it, as
I was not able to ascertain the current state of my OS installation
anymore.




___
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-after-upgrade mistakenly thinks nothing needs to be done

2013-04-11 Thread Mike Brown
Hi all,

I'm running 8.3-RELEASE and thought I'd update Perl from 5.12 to 5.16.
Silly me. I updated my ports snapshot, and as per UPDATING, ran

portmaster -o lang/perl5.16 lang/perl5.12

This went OK, so I then ran perl-after-upgrade, with and without -f. It scans 
the packages and finds everything it should, but insists nothing needs to be 
done, saying  0 moved, 0 modified, 0 adjusted for every one of them. At the 
end it says Fixed 0 packages (0 files moved, 0 files modified).

Well of course this isn't right; all my modules are still sitting in the
5.12.4 directory and are not getting moved over to the 5.16.2 one. This 
naturally breaks everything depending on those modules.

What's going wrong? Sorry if this is a novice question.

Please let me know what I need to check. Thanks,

Mike
___
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: perl-after-upgrade mistakenly thinks nothing needs to be done

2013-04-11 Thread Mike Brown
Thanks for the replies; I really appreciate it.

Alexandre wrote:
 Have you followed steps described in perl-after-upgrade man page?
 $ man perl-after-upgrade

Yes, except for the last step (deleting old CONTENTS backups), since the 
previous steps didn't seem to do what they should. As I said, 
perl-after-upgrade thinks there's nothing to do. It doesn't report any 
packages it can't handle. It handles them, but for some reason determines that 
they are OK, despite the fact that the modules are all still sitting in the 
old installation.


Anton Shterenlikht wrote:
 Have you done portmaster 5-?
 If not, do it.

I hadn't done that.
(portmaster 5- doesn't work, but portmaster p5- does.)

UPDATING makes mention of this, but I didn't understand that it was saying it 
was a required step. Specifically, this is what it says:

-

20120630:
  AFFECTS: users of lang/perl*
  AUTHOR: s...@freebsd.org

  lang/perl5.16 is out. If you want to switch to it from, for example
  lang/perl5.12, that is:

  Portupgrade users:
0) Fix pkgdb.db (for safety):
pkgdb -Ff

1) Reinstall new version of Perl (5.16):
env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.16 -f perl-5.12.\*

2) Reinstall everything that depends on Perl:
portupgrade -fr perl

  Portmaster users:
portmaster -o lang/perl5.16 lang/perl5.12

Conservative:
portmaster p5-

Comprehensive (but perhaps overkill):
portmaster -r perl-

  Note: If the perl- glob matches more than one port you will need to
specify the name of the Perl directory in /var/db/pkg explicitly.

  The default version for Perl has also been changed from 5.12 to 5.14.

-

Because of the way the portupgrade section is numbered, I thought the 
portmaster section was giving me 3 options: regular, conservative, 
comprehensive -- not two steps (1. portmaster -o, then 2. choose either the 
conservative or comprehensive option).

...partly my reading comprehension failure, I guess. It makes no mention of 
perl-after-upgrade, though.

My understanding is that perl-after-upgrade looks at what perl-dependent 
packages are installed. As I can see by its output, this includes not just the 
application packages like SpamAssassin and mrtg, but their requisite Perl 
module packages as well, like HTML::Parser. Then, as these packages are found, 
perl-after-upgrade moves things from the old Perl installation over to the 
new, and does some other cleanup.

Maybe that's a flawed assumption, because it seems rather weird to me that 
before running perl-after-upgrade, I'm expected to *first* to do a *full 
upgrade or reinstall* of the modules.

Isn't that exactly what we're trying to avoid by running perl-after-upgrade? 
Nothing in the perl-after-upgrade man page suggests this is necessary; in 
fact, the intro implies the opposite.

 After this is done,
 how much have you got left under 5.12.4?

Not much of anything, just a man page, a few mrtg .pm files...

Naturally, running perl-after-upgrade at this point yields the same results as 
before (0 moved, 0 modified, 0 adjusted for everything). But this time, that's 
the expected output, I believe, given that I just reinstalled everything.

I guess I'm just completely confused about what perl-after-upgrade was 
actually supposed to do, so it's difficult to suggest documentation updates. 
At the very least, though, maybe change UPDATING to clarify that the 
portmaster steps are a sequence, and mention perl-after-upgrade.
___
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: When will binary packages be back?

2013-04-10 Thread Mike.
On 4/10/2013 at 11:39 AM Brett Glass wrote:

|For many years, I've used FreeBSD binary packages to avoid long 
|waits and/or having to set up a special build machine when creating 
|small systems. But even though the development server security 
|breach is now long past, there are no published binary packages for 
|FreeBSD 9.1. When will they be back?
 =


Additionally, for me, building from ports for me has tended to pull in
many, many X-windows support files when they are not needed.

Specifically, I run a non-windowing system using command line tools.
When I tried to compile Samba from ports, I finally killed the 'make'
stage after three hours of compiling X-windows stuff.

Nowhere had I ever spcified that the system was running X or any other
windowing system.  Yet, there it was, three hours of wasted time.

I never had such issues when installing from packages.



___
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: When will binary packages be back?

2013-04-10 Thread Mike.
On 4/10/2013 at 3:39 PM Michael Powell wrote:

|Mike. wrote:
|
|[snip]
| 
| 
| Additionally, for me, building from ports for me has tended to pull
in
| many, many X-windows support files when they are not needed.
| 
| Specifically, I run a non-windowing system using command line tools.
| When I tried to compile Samba from ports, I finally killed the
'make'
| stage after three hours of compiling X-windows stuff.
| 
| Nowhere had I ever spcified that the system was running X or any
other
| windowing system.  Yet, there it was, three hours of wasted time.
| 
|
|In addition to what Jeff has said, for servers where I do not want any
X 
|related stuff I place WITHOUT_X11= yes in /etc/make.conf. In addition
to
|make 
|config option(s), there may also be some default stuff here and there
in
|the 
|Mk files. The make.conf line will short circuit these.
|
|IIRC there may be some exceptions where you need some (a handful or
less)
|of 
|some X related packages. Seem to think of things like gd, imagemagick,

|freetype, etc., for PHP kind of things. In these cases, the make.conf
line 
|will blanket cover most of what you don't want and you can choose make

|config options that will pull in only what you absolutely need without

|starting down the line to everything X-related.
 =

Thanks Jeff and Mike for the assist.  I'll try both those suggestions.

Oddly, I was not presented with the usual port config screen when I ran
the make phase in the ports.   This is on a new install on a newly
formatted disk.   I thought it odd that the was no config screen, but I
chalked it up to something new in the 9.x versions (it was the first
time I installed 9.x).  It also was the first time I ever used portsnap
to obtain and install the ports tree.



___
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: [Bulk] Re: day light saving time happened today

2013-03-10 Thread Mike Jeays
On Sun, 10 Mar 2013 21:42:52 -0400
Fbsd8 fb...@a1poweruser.com wrote:

 Lowell Gilbert wrote:
  
  The next test is to check the clock in GMT. 
  I expect it to be off, which means that the timezone rules are not the
  problem. If this is not the case, the diagnosis gets more interesting.
  
  
 
 And how do you purpose I check the clock in GMT?
 
 ___
 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

date -u should do 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: Problems Printing

2013-03-05 Thread Mike Clarke
On Tuesday 05 Mar 2013 09:57:30 Matthias Apitz wrote:

 Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in
 /usr/local/bin/lpr in your PATH; just do as root:
 
 # chmod  /usr/bin/lpr

And for full CUPS functionality you should do the same for /usr/bin/lp, 
/usr/bin/lpq and /usr/bin/lprm

-- 
Mike Clarke
___
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: mpd5 vs lt2pd vs sl2tps

2013-02-20 Thread Mike Tancsa
On 2/20/2013 1:38 PM, Tim Gustafson wrote:
 Hi,
 
 I'm trying to get a FreeBSD box set up as an L2TP server.  I've been
 tinkering with mpd5 and had some success, but I was wondering if
 anyone has been using l2tpd or sl2tps and what their experiences might
 have been.  Are either of these easier to set up?  More reliable?
 Especially for a configuration where LDAP authentication is preferred,
 or at least RADIUS if not LDAP?

I have only used mpd5 from the ports, but I find it very reliable and
efficient.  We have LNS boxes that handle close to 700 endpoints at a
time with ~ 300Mb of traffic. We use FreeRADIUS for backend
authentication.  The config and CLI are not my favorite, but generally I
dont find myself making many changes.

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.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


split-logfile

2013-02-11 Thread Mike.
I've made the switch from apache to nginx for all the web servers I
run.  One thing that was missing from the nginx installs was the perl
script that is used in apache-land to split a single server access file
into separate files for each virtual host - split-logfile.  While I
could have continued to use the perl script, I decided to write similar
functionality in c.  The c language version uses less resources to
accomplish the same task more quickly.

A c language program with functionality similar to the split-logfile
perl script, available here: 
http://archive.mgm51.com/sources/split-logfile.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


Portmaster runs make config three times for some ports

2013-02-09 Thread Mike Clarke

I started off portmaster on a massive update on Thursday evening. Everything 
started off OK and I kept responding to all the make config screens until they 
were all finished and the compilation was well underway then went to bed and 
left it to get on with it.

The next morning I discovered that things had progressed as far as starting to 
build en-apache-openoffice but it was sitting there with the config screen 
again despite having already gone through make config earlier. I clicked on OK 
and left it to get on with the compilation while I went away to get on with 
other things with just occasional checks to make sure it was still running. 
About 6 hours later when I checked it had completed the compilation and had 
started to install en-apache-openoffice but was waiting yet again with the 
config screen.

Once again I clicked on OK and left things to continue. The job was still 
running last night and I expected to find it completed by this morning but on 
checking at 9:30 this morning I discovered that it had done the same thing 
with py27-gobject and had been sitting there with the config screen since 
shortly after midnight.

Both openoffice and py27-gobject had gone through make config in the initial 
stage (I've checked the log file) but for some reason make config was repeated 
immediately before the compile and install stages.

I invoked portmaster with:

 portmaster -r libffi -r boost-libs -r gnutls -r libtasn1

and these are the only options set in /usr/local/etc/portmaster.rc

# Never search for stale distfiles to delete (-D)
DONT_SCRUB_DISTFILES=Dopt
#
# Do not prompt the user for failed backup package creation
PM_IGNORE_FAILED_BACKUP_PACKAGE=pm_ignore_failed_backup_package

Any ideas how I can avoid this happening.

-- 
Mike Clarke
___
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: zoneedit.com

2013-02-04 Thread Mike.

On 2/3/2013 at 3:04 PM Fbsd8 wrote:
| [snip]
|
|After reviewing zoneedit new website looks like they are no longer
free 
|and there now in the domain register business
 =


Zoneedit was purchased by Dotster a while ago (few months?  couple of
years?)

If you look at an legacy zoneedit page, you'll see at the bottom:
  (http://legacy.zoneedit.com/contact.html)

Zone Edit, LLC is a Dotster, Inc.-owned company. 

I have noticed zoneedit's quality of service declining since the
purchase.  I switched to tunnelbroker.net's FreeDNS serivce and haven't
looked back.

The registration company I used, 000domains.com, was also purchased by
Dotster, and I had to leave 000doamins.com due to customer service
issues after the purchase.  I went to namecheap.com, and have been very
satisfied.

YMMV.


  





___
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: zoneedit.com

2013-02-04 Thread Mike.
On 2/4/2013 at 9:48 AM Pierre-Luc Drouin wrote:

|Hi,
|
|I had a similar issue about my emails not getting forwarded by
Zoneedit.
|Now I am using the Google SMTP server to collect the emails for my
domain.
|Maybe I should also switch the DNS to another service. I need my
router to
|be able to update the DNS information for my dynamic IP address
though...
 =

fwiw... the tunnelbroker.net freedns service supports dynamic updates.

https://dns.he.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


Re: Starting with ZFS on fresh install

2013-01-28 Thread Mike Clarke
On Monday 28 Jan 2013 12:55:06 Carmel wrote:

 I have a spare amd64 PC that I want to install FreeBSD 9.x on. I want
 it to utilize ZFS right from the start. There are two HD's in the PC.
 One will handle the /var partition and the other everything else.

If you're going to be using ZFS then you'll probably be better off not having 
separate partitions and letting ZFS manage space allocation if you want to 
limit the size of /var or any other part of the system, You can install 
everything on a single disk to start with. Afterwards you can dynamically 
increase the size of the pool if you need more space by using the zpool add 
command to add the second drive into the storage pool. Alternatively if you 
have enough space and the second drive is at least as large as the first you 
can make your system more resilient by using it to create a mirrored pool with 
zpool attach.

It's well worth doing some initial reading about ZFS before you start so you 
have a good idea of how to make the best use of it, these links could be a 
good starting point:

   * the FreeBSD ZFS wiki - https://wiki.freebsd.org/ZFS
   * Oracle's ZFS Administration Guide - 
http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfsadmin.pdf

-- 
Mike Clarke
___
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: Cronjob Cvsup - What?

2013-01-27 Thread Mike Clarke
On Sunday 27 Jan 2013 09:46:51 Matthew Seaman wrote:

 to get yourself a portsnap-ready copy of the ports tree.  You only need
 to do that once, but you should move aside any pre-existing copy of
 /usr/ports obtained by any means other than portsnap(8) before you do
 (but keep anything under /usr/ports/distfiles and maybe
 /usr/ports/packages).  Something like:
 
cd /usr
mv ports ports.old
mkdir ports
mv ports.old/distfiles ports/distfiles
mv ports.old/packages ports/packages
portsnap fetch extract
 
 Although this may be complicated if any of /usr/ports,
 /usr/ports/distfiles or /usr/ports/packages are on a separate partition
 or ZFS.

I suppose the best approach with ZFS would be to make a snapshot immediately 
prior to running portsnap.

-- 
Mike Clarke
___
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: KDE Mouse Themes

2013-01-27 Thread Mike Clarke
On Sunday 27 Jan 2013 14:47:11 Carmel wrote:
 On Sun, 27 Jan 2013 08:09:10 -0600
 
 ajtiM articulated:
  Do you have:
  
  System Settings - Input Devices - and there are Keyboard, Mouse and
  Remote control.
 
 Yes, and there is suppose to be a themes setting according to the KDE
 documentation; however, there is none. I have checked under every item
 setting in system settings for one.

Try System Settings - Workspace Appearance - Cursor Theme

-- 
Mike Clarke
___
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: [Bulk] Re: sh script ?

2013-01-24 Thread Mike Jeays
On Thu, 24 Jan 2013 16:16:54 -0500
Fbsd8 fb...@a1poweruser.com wrote:

 Robert Bonomi wrote:
  From owner-freebsd-questi...@freebsd.org  Thu Jan 24 12:11:42 2013
  Date: Thu, 24 Jan 2013 13:07:40 -0500
  From: Fbsd8 fb...@a1poweruser.com
  To: FreeBSD questions questi...@freebsd.org
  Subject: sh script ?
 
  I get this message [: 10.0.10.21: bad number on this code
 
  [ ${saved_ip} -eq ${used_ip} ]  echo good match
 
  Both variables have valid ip addresses in them.
  Why does it think the variable content is a number and not text?
  
  Why??  BECAUSE YOU TOld IT TO.
  
  RTFM applies.  Specifically 'man test'.
  
  You need to either read some books on BASIC shell programming or
  take a course or two on that subject.
  
  This may sound harsh, but you will save yourself a -lot- of future
  aggravation with some structured education.  It will also assist
  you in getting maximum value from the manpages.
  
  Programming _is_ an art-form.  You have to train yourself to think
  the way the machine does.  When it complains about 'something', it
  is *AlMOST*ALWAYS* correct, and something you -think- is correct
  is actually wrong.  the hard thing to learn in troubleshooting
  problems is to set aside what you know is correct, and look for
  anything that could possibly cause the complaint.  Remember, you're
  looking for something impossible.  grin
  
 
 
 Quit fishing for a flame.
 
 You know nothing about my background and years of experience.
 I have forgotten more about IT and programming than you will
 ever learn in a life time.
 
 You already read the 3 other reply posts and there was no need to
 say what you did. You added nothing to the info in the thread.
 The thread was basically ended already.
 
 This is not the first time you have replied to posts in
 this condescending manner.
 
 I am putting you on notice, your manner and tone is not acceptable on 
 this list. Please take more time to consider your replies before posting 
 again.
 
 Any further reply from you about this will be considered as flaming and 
 ignored.
 
 
 
 
 ___
 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

Well said.
___
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.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-18 Thread Mike Clarke

On Friday 18 January 2013 16:58:11 RW wrote:
 You can carry on using 3.5 on any current release. The problem is when
 it's eventually removed from ports, updating  other ports may result in
 dependency problems.

I'm already starting to experience some problems which I assume are due to 
incompatibility with some recently upgraded dependencies and I've finally, and 
somewhat reluctantly, switched to KDE 4.8. It's certainly more bloated than 
3.5 but after getting rid of some unwanted eye candy it's not as bad as I 
expected, certainly better than last time I tried it out about a year ago. The 
most noticeable deterioration in performance is that it's much slower to start 
up than 3.5 was and kmail takes much longer to open a mail folder than it 
used to.

-- 
Mike Clarke
___
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: [Bulk] FreeBSD 8.2 with pre-built KDE 3.5 package from FreeBSD 7.1 DVD

2013-01-17 Thread Mike Jeays


On Fri, 18 Jan 2013 01:25:03 + (GMT)
Georg Reilinger georgreilin...@yahoo.de wrote:

 Hi everybody,
 
 
 My issue is the following:
 
 As far as I know, FreeBSD has completely dropped support for KDE 3.5. 
 
 Whether it's the ports, or the pkg_add precompiled binaries. Am I right in 
 
 assuming this?
 
 
 I am currently running a live version of FreeBSD 8.2 with KDE 4.8. The thing 
 
 here is, that KDE 4 is simply too heavy for my system. For example: it is 
 
 impossible for me to have two open shells at the same time. Once I exit a 
 
 given shell, I can't open another one due to a lack of resources, even after 
 having 
 
 turned off all the extra stuff - plasma desktop, nepomuk...
 
 As a consequence, I can see myself do two possible things, to have a system 
 
 running with KDE 3.5 once again:
 
 1. Go back to an older release of FreeBSD and install KDE 3.5 from the 
 
 precompiled binaries that are on the DVD donwload version.
 Judging by the release announcements, this should be 7.1.
 
 http://www.freebsd.org/releases/7.1R/announce.html
 
 This is something that I don't really feel like doing.
 
 2. To be honest, I am quite happy with 8.2 and I would like to keep it for 
 some time to come. In other words, is there a way to keep 8.2 and still 
 have KDE 3.5 along with it? For example has anyone ever tried to 
 install a 7.1 pre-built package (KDE 3.5 in this case) on an 8.2 system? 
 Is that be possible?
 
 
 Any other solutions?
 
 
 Many thanks
 Georg
 ___
 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


I run xfce4 with FreeBSD 9.0 on an old Pentium 4 with 1.5 GB, and it works 
well. Resource
requirements are much less than the latest KDE, and Unity is even more 
unworkable.
KDE and Gnome have got very bloated in the last few years, IMHO and less 
intuitive.
They seem to be going backwards. The multiple desktop feature is one of the main
things that set Unix-style desktops way ahead of Windows, and now they have 
become
harder to use.

___
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: 9.1 won't install - GEOM/GRAID issues

2013-01-08 Thread Mike.
On 1/2/2013 at 12:11 PM Fbsd8 wrote:

|Michael Powell wrote:
| Mike. wrote:
| [snip]
| Thanks for the reply.   The disk in question has never been used
for
| RAID, so if there is RAID metadata on the disk, I do not know how
it
| got there.  The disk is (I believe --- it's been a while since I
have
| been inside that box) on a Promise SATA RAID controller, but RAID
is
| not used and has never been used (I have a 3Ware controller for
RAID on
| that box).
|
| When things settle down, I'll try to figure out how to sanitize the
| disk and try to install 9.1 again.
|
| 
| If somehow some RAID controller ever wrote out metadata to the disk
it
|will 
| be the last sector or two at the very end. Sometimes some GPT
|partitioning 
| schemes corrupt this too. If some alien form of GPT partitioning or
some 
| form of RAID has written anything to this area it will throw an
error
|when 
| GEOM 'tastes' the disk. 
| 
| You can zero both these areas with dd if=/dev/zero plus disk plus
some 
| arithmetic. Another way, and I do sometimes when I go to reuse a
disk
|that's 
| been used for a while, is to use the mfr's diagnostic utility. I
know
|the WD 
| diag utility has an option to write 0's to the entire drive.
Sometimes I
|do 
| this and then run the extended diags just to get a 'feel good'
factor on
|the 
| media. Trouble with this is the larger the disk gets the longer it
|takes. I 
| just like media scans on old disks before I recycle them to a new
|project.
| 
| -Mike
| 
|
|
|Here is a little script named gpart.nuke that may help you
|
|#! /bin/sh
|echo What disk do you want
|echo to wipe? For example - da1 :
|read disk
|echo OK, in 10 seconds I will destroy all data on $disk!
|echo Press CTRL+C to abort!
|sleep 10
|diskinfo ${disk} | while read disk sectorsize size sectors other
|do
|  # Delete MBR and partition table.
|  dd if=/dev/zero of=/dev/${disk} bs=${sectorsize} count=1
|  # Delete GEOM metadata.
|  dd if=/dev/zero of=/dev/${disk} bs=${sectorsize} oseek=`expr
$sectors 
|- 2` count=2
|done
 =


A follow-up to this issue.

I tried to run the dd commands...

Using the LiveFS disc for FreeBSD 9.1, I got some manner of permission
error, indicating that something would not let the dd commands execute.
 Using the LiveFS disc for FreeBSD 8.3, the dd commands completely
successfully.

After zero-ing out the sectors, I tried to install FreeBSD 9.1, and I
continued to get the RAID problems trying to mount root.

So I punted that drive, and used another drive.   FreeBSD 9.1 installed
without an issue, and it is running fine as I type this.

So there is something about that other disk drive (something that is
not in the last two sectors or the first sector) that the 9.1 install
has issues with.

shrug


Thanks for the assist.



___
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: 9.1 won't install - GEOM/GRAID issues

2013-01-08 Thread Mike.
On 1/8/2013 at 7:51 AM Warren Block wrote:

|On Tue, 8 Jan 2013, Mike. wrote:
|
| On 1/2/2013 at 12:11 PM Fbsd8 wrote:
|
| I tried to run the dd commands...
|
| Using the LiveFS disc for FreeBSD 9.1, I got some manner of
permission
| error, indicating that something would not let the dd commands
execute.
| Using the LiveFS disc for FreeBSD 8.3, the dd commands completely
| successfully.
|
| After zero-ing out the sectors, I tried to install FreeBSD 9.1, and
I
| continued to get the RAID problems trying to mount root.
|
| So I punted that drive, and used another drive.   FreeBSD 9.1
installed
| without an issue, and it is running fine as I type this.
|
| So there is something about that other disk drive (something that is
| not in the last two sectors or the first sector) that the 9.1
install
| has issues with.
|
|RAID metadata could be larger than the last two blocks.  Even a
leftover 
|GPT backup table is 34 blocks by default.  If the drive is still 
|attached to the controller that put the metadata there, it may hide 
|those blocks from the user.  The RAID BIOS menus or graid(8) may be 
|needed to clear the metadata in that case.  Or move the drive to
another 
|controller that will not recognize the old metadata.
 =

I was also thinking that the RAID meta could be larger than the last
two blocks, but I didn't want to start arbitrarily overwriting blocks
with zeroes.  With the goal of moving along with the install, I
preferred to use a different drive.

I do not think the drive was ever attached to a RAID controller as part
of a RAID array.  As I mentioned earlier, there is a Promise RAID
controller in the box.  That controller was not set up as a RAID
controller, but as a vanilla SATA controller.  And, after checking
inside the box, the drive in question was not plugged into the RAID
controller, but a vanilla SATA port on the motherboard.   It may be
possible that the RAID controller nonetheless did have the opportunity
to put its mark on the drive at some point in the distant past.  I
cannot rule that out completely.   It just would have been nice if the
FreeBSD install offered a better way to recover from the problem.

I plan to do a full wipe of the old drive using dd to completely clear
it out.





___
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: AARGH... give me some idea for ad-blockers

2013-01-07 Thread Mike Woods

Quoting herbert langhans w...@langhans.com.pl:


All I use is Adblock Plus. With the automatic updates I havent seen any
ad for month..


I'll second this endorsement, i've been using it for a good few years  
now and I just works :)



Mike Woods
Full of squishy cynicism
___
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: 9.1 won't install - GEOM/GRAID issues

2013-01-02 Thread Mike.
On 1/2/2013 at 2:38 PM Fabian Keil wrote:

|Mike. the.li...@mgm51.com wrote:
|
| My FreeBSD server had been running fine, no issues.   This evening I
| tried to update it to 9.1.  I don't update in place, I update by
| wiping the prior version and letting the new version have its way
with
| the disk.
| 
| Well, 9.1 has issues with my system (dmesg is at the end of this
| message).
| 
| When I boot from the install DVD, I see a lot of messages along the
| lines of ~Root mount waiting for GRAID~, then eventually that times
out
| and I am allowed to select the Install option.   However, when I get
to
| the partitioning (btw, it's another issue, but the new set of
screens
| to partition the drive really suck.  I've never been so confused by
a
| FreeBSD install.   But I digress...)   I eventually selected auto
| partitioning.  Then I am greeted with a pop up that informs me that
| ada0 is not valid for some unmentioned reason.   (did I mention that
| the new partitioning screens suck?).
| 
| At this point I give up, and I am now in the process of
re-installing
| 9.0.
| 
| I'm not a long-time user of FreeBSD, I've only been using it since
| 2005, with installs to keep it up to date through the varied and
sundry
| versions.   But this is The First Time that a FreeBSD install has
| failed.  
| 
| What's goin' on?  
|
|Probably there's corrupt raid metadata (or something that can be
|confused with raid metadata) on the disk(s).
|
|You could try booting with kern.geom.raid.enable set to 0 or
|without the module loaded. Sanitising the disk(s) should work
|as well.
|
|Fabian
 =


Thanks for the reply.   The disk in question has never been used for
RAID, so if there is RAID metadata on the disk, I do not know how it
got there.  The disk is (I believe --- it's been a while since I have
been inside that box) on a Promise SATA RAID controller, but RAID is
not used and has never been used (I have a 3Ware controller for RAID on
that box).

When things settle down, I'll try to figure out how to sanitize the
disk and try to install 9.1 again.

Thanks again for your quick reply.

Mike.



___
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


9.1 won't install - GEOM/GRAID issues

2013-01-01 Thread Mike.

My FreeBSD server had been running fine, no issues.   This evening I
tried to update it to 9.1.  I don't update in place, I update by
wiping the prior version and letting the new version have its way with
the disk.

Well, 9.1 has issues with my system (dmesg is at the end of this
message).

When I boot from the install DVD, I see a lot of messages along the
lines of ~Root mount waiting for GRAID~, then eventually that times out
and I am allowed to select the Install option.   However, when I get to
the partitioning (btw, it's another issue, but the new set of screens
to partition the drive really suck.  I've never been so confused by a
FreeBSD install.   But I digress...)   I eventually selected auto
partitioning.  Then I am greeted with a pop up that informs me that
ada0 is not valid for some unmentioned reason.   (did I mention that
the new partitioning screens suck?).

At this point I give up, and I am now in the process of re-installing
9.0.

I'm not a long-time user of FreeBSD, I've only been using it since
2005, with installs to keep it up to date through the varied and sundry
versions.   But this is The First Time that a FreeBSD install has
failed.  

What's goin' on?  



Here's the 9.0 dmesg I promised earlier (ada0 seems to be the drive
that confuses the install):

$ dmesg
Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994
The Regents of the University of California. All rights
reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2398.90-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Family = f  Model = 2  Stepping
= 9
  Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P
GE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNXT-ID,xTPR
real memory  = 536870912 (512 MB)
avail memory = 505307136 (481 MB)
Event timer LAPIC quality 400
ACPI APIC Table: A M I  OEMAPIC 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP/HT): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: A M I OEMXSDT on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 1fef (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 900
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82875P host to AGP bridge on hostb0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0xb000-0xb0ff mem
0xe000-0xe7ff,0xfd8f-0xfd8f irq 16 at device 0.0 on
pci1
vgapci1: VGA-compatible display mem
0xd800-0xdfff,0xfd8e-0xfd8e at device 0.1 on pci1
pcib2: ACPI PCI-PCI bridge at device 3.0 on pci0
pci2: ACPI PCI bus on pcib2
em0: Intel(R) PRO/1000 Legacy Network Connection 1.0.3 port
0xcf80-0xcf9f mem 0xfd9e-0xfd9f irq 18 at device 1.0 on pci2
em0: Ethernet address: 00:11:2f:12:c9:96
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xef00-0xef1f
irq 16 at device 29.0 on pci0
usbus0: Intel 82801EB (ICH5) USB controller USB-A on uhci0
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xef20-0xef3f
irq 19 at device 29.1 on pci0
usbus1: Intel 82801EB (ICH5) USB controller USB-B on uhci1
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xef40-0xef5f
irq 18 at device 29.2 on pci0
usbus2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0xef80-0xef9f
irq 16 at device 29.3 on pci0
usbus3: Intel 82801EB (ICH5) USB controller USB-D on uhci3
ehci0: Intel 82801EB/R (ICH5) USB 2.0 controller mem
0xfebffc00-0xfebf irq 23 at device 29.7 on pci0
usbus4: EHCI version 1.0
usbus4: Intel 82801EB/R (ICH5) USB 2.0 controller on ehci0
pcib3: ACPI PCI-PCI bridge at device 30.0 on pci0
pci3: ACPI PCI bus on pcib3
twe0: 3ware Storage Controller. Driver version 1.50.01.002 port
0xdf90-0xdf9f mem 0xfeafec00-0xfeafec0f,0xfe00-0xfe7f irq 23 at
device 11.0 on pci3
twe0: [GIANT-LOCKED]
twe0: 4 ports, Firmware FE7X 1.05.00.036, BIOS BE7X 1.08.00.044
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH5 UDMA100 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on
pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: Intel ICH5 SATA150 controller port
0xefe0-0xefe7,0xefac-0xefaf,0xefa0-0xefa7,0xefa8-0xefab,0xef60-0xef6f
irq 18 at device 31.2 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
pci0: serial bus, SMBus at device 31.3 (no driver 

Re: static ip address and ifconfig

2012-12-29 Thread Mike Jeays
On Sat, 29 Dec 2012 12:13:32 -0500
Fbsd8 fb...@a1poweruser.com wrote:

 I don't have static ip address so I can not find out for myself.
 Lets say I am a company that my ISP has assigned us
 25 static ip address.
 
 When I issue the ifconfig command what will it show me?
 
 Just the single primary static ip address or all 25 of them in a list?
 
 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

It will just show the one currently assigned.

Try it - just bring up an xterm and type 'ifconfig' You don't have to 
be root, and you can't do any harm.


em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 08:00:27:40:ca:a9
inet 10.0.2.15 netmask 0xff00 broadcast 10.0.2.255  # HERE IT IS
media: Ethernet autoselect (1000baseT full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
options=3RXCSUM,TXCSUM
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
inet6 ::1 prefixlen 128 
inet 127.0.0.1 netmask 0xff00 
nd6 options=3PERFORMNUD,ACCEPT_RTADV
___
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


ixgbe ALTQ support on 9.1-RELEASE

2012-12-27 Thread Mike Hix
Should ixgbe 2.4.8 (supplied with 9.1-RELEASE) support ALTQ?

My card:
ix0@pci0:3:0:0: class=0x02 card=0xa12c8086 chip=0x150b8086
rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82598EB 10-Gigabit AT2 Server Adapter'
class  = network
subclass   = ethernet

I've successfully built a kernel with altq suppport. altq works with
other drivers on this system.

However when attempting to load a pf rule set that includes queueing for
this NIC, it fails with the following message:

pfctl: ix0: driver does not support altq

altq(4) lists ixgbe under the SUPPORTED DEVICES secction. Is there
some alternative to altq, or is there some other knob/sysctl/step I'm
missing?

-- 
Mike Hix
___
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: Gnome

2012-12-02 Thread Mike Jeays
On Sun, 2 Dec 2012 18:36:23 +
ren_...@yahoo.com wrote:

 Hello, I was wondering if you can use Gnome to run your FreeBSD server, 
 instead of using let's say Direct Admin ?
 If so, is there any literature on it ?
 Thank you,
 Sam Fasciano
 Sent from my Verizon Wireless BlackBerry
 
 ___
 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

You can use both Gnome and KDE, and just about any other desktop manager.

See the handbook at http://www.freebsd.org/doc/handbook. Plenty of detail there.
___
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: what replaces javaws? using icedtea-web and openjdk6.

2012-11-30 Thread Mike Clarke
On Friday 30 November 2012 16:39:17 Antonio Olivares wrote:

 I need an application that requires /usr/local/bin/javaws and it is
 not found what should I do to install it or substitute it to make it
 work?

curlew:/tmp% ls -l /usr/local/bin/javaws
lrwxr-xr-x  1 root  wheel  21  6 Nov 09:32 /usr/local/bin/javaws@ - 
/usr/local/bin/javavm
curlew:/tmp% pkg_info -W /usr/local/bin/javavm
/usr/local/bin/javavm was installed by package javavmwrapper-2.4_2

-- 
Mike Clarke
___
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


i386 vs amd64

2012-11-28 Thread mike miskulin
About to build a replacement system for an older i386 setup.   A few
years ago I had tried the amd64 port on it and found it was frustrating
as things that just worked on i386 did not on amd64. IIRC ports were 
large annoyance too.

Now I have a new system with 8GB, etc,etc and wonder if I am best off to
stick with i386 and PAE or is the amd64 version finally on a par or
close enough that I would not likely have many issues like in the past?

Thanks for your thoughts/(recent) experiences.



___
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: i386 vs amd64

2012-11-28 Thread mike miskulin

 What port was that ?
 
 I've never had a *single* problem due to using amd64 over i386.


Well I have to apologize, I've reached senility!  My past bad experience
was with netbsd amd64 afterwhich I bailed and went to FreeBSD i386
(thanks google).

But I guess the basic question remains - are there any considerations in
regards ports, linux emulation, etc that would sway me to remain i386?

Sorry about that!

___
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 create a partition for FreeBSD 9.0?

2012-11-27 Thread Mike Clarke
On Tuesday 27 November 2012 15:15:52 Ralf Mardorf wrote:

  And could I then run something similar to
 
  # echo gpart show ada0s1  /path/to/usbstick/logfile
  # gpart show ada0s1  /path/to/usbstick/logfile
  # echo gpart add -t freebsd -i1 ada0  /path/to/usbstick/logfile
  # echo gpart add -t freebsd -i1 ada0  /path/to/usbstick/logfile
     oops, but I guess you know what I mean

  etc.?
 
  I would like to post the output to the list.

The neater way

 # script /path/to/usbstick/logfile
 # gpart show ada0
 # gpart add -t freebsd -i1 ada0
 # gpart show ada0
 # CTRL+D

Then /path/to/usbstick/logfile will contain a full log of your commands and 
output showing the partition information for ada0 before and after creating 
the new partition.

-- 
Mike Clarke
___
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: When Is The Ports Tree Going To Be Updated?

2012-11-26 Thread Mike Clarke
On Monday 26 November 2012 13:49:05 Odhiambo Washington wrote:
 I am starting to switch, and after all the discussions in this thread, I
 replaced my csup cron entry with the following:

 portsnap fetch  portsnap extract  portsnap update

portsnap fetch should only be used interactively; for non-interactive use, 
you should use portsnap cron

portsnap extract is only needed for initialising your portsnap-maintained 
ports tree.

So, after your initial portsnap run, what you need in your cron file is 
just portsnap fetch update

-- 
Mike Clarke
___
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 needs Git to ensure repo integrity [was: 2012 incident]

2012-11-20 Thread Mike Meyer


Zach Leslie xaque...@gmail.com wrote:
 http://www.fossil-scm.org/ l
 
 I'm not fossil user, but it's BSD licensed in written in C.
Also, this particular tool bails out on the unix philosophy, with its
web
gui, ticket tracker etc.  Do one thing.  Do it well.

I would argue that git bails on that as well, but that's a different discussion.

Whether or not fossil does one thing depends on which one thing you pick.  
If the one thing is version control, you're right. However version control 
is just one aspect of a larger task that does't have a common name.  But if you 
look at systems designed for managing projects with source, you'll see they 
universally provide web uis, issue trackers, and wikis.  Due you trash IDE's 
because they provide tools that are useful for doing software development 
instead of limiting themselves to being text editors?

That fossil provides all of those things in a single relatively small program 
is a major win - at  least for small projects (which is the fossil target). On 
the other hand, the fossil project does stay focused on the core task. They 
will reject a change proposal because it's not part of that task.

That said, much as I like fossil (it's my goto VCS) I don't think it would be a 
good choice for FreeBSD. We're not a small project - we have people who are 
willing to devote time to things like an external wiki and isse tracker. Nuts, 
we have (had?) repos in four different VCSs! Those features in fossil are 
purposely kept simple since they're meant for doing one thing, not as 
general-purpose tools for lots of things. The issue tracker doesn't support 
branching issues, which is liable to cause problems in a large project.  The 
FreeBSD wiki's are used for lots of things other than just project documents. 
The web ui - well, that's probably useable as is. But that one thing isn't a 
deal maker.
-- 
Sent from my Android tablet with K-9 Mail. Please excuse my swyping.
___
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


packge options

2012-11-17 Thread Mike.

How do I find out what options were used when the pre-built packages
were built?

For example, say I want to install the Postfix package, how can I find
out if TLS support is included in the package?

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: Mounting SD card.

2012-11-15 Thread Mike Clarke
On Thursday 15 November 2012 02:06:02 Warren Block wrote:

 true  /dev/da0

 is a little shorter and safer.  The search keywords for this are GEOM
 retaste or retasting.

Thanks Warren. I wasn't aware of that option, it's certainly much neater and 
less prone to typing errors.

-- 
Mike Clarke
___
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: Mounting SD card.

2012-11-14 Thread Mike Clarke
On Wednesday 14 November 2012 19:43:30 Fernando Apesteguía wrote:

 If I boot the system and plug the SD card in, the green led
 doesn't even switch on and there is only a /dev/da0 that I can not
 mount. If I boot the system with the card plugged in, the green led is
 on and there is a /dev/da0s1 device that I can't still mount because
 mount_msdosfs returns an Input/Output error after some time.

I think that's pretty much standard behaviour. The solution appears to be 
to wake it up with the following incantation:

 dd if=/dev/null of=/dev/da0 count=0

That's what works here. See the thread starting with 
http://lists.freebsd.org/pipermail/freebsd-questions/2010-February/212109.html

-- 
Mike Clarke
___
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: GELI Swap password on boot

2012-11-08 Thread Mike Barnard
Thanks Fabian,


 Maybe the device contains old geli meta data with the
 boot flag set, or garbage that looks like geli meta data.

 Try to geli clear the device and if it fails geli init + geli clear.


I tried this as well, but still got no joy. I re-did the installation and
it works fine now.

Just for the purpose of explaining, when I did this

gpart add -a 4k -s 4G -t freebsd-swap -l SWAP ada0

it created swap as ada0p3, ada0p1 having been labeled as boot-loader ,
ada0p2 having been labeled as boot and ada0p4 as root. this failed on all
attempts. But when I changed the ordering, creating the boot loader
partition first, then swap next (ada0p2) then the boot partition after,
ada0p3, all works well. I have no idea why that would be a problem though.


-- 
Mike

Of course, you might discount this possibility, but remember that one in a
million chances happen 99% of the time.

___
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: GELI Swap password on boot

2012-11-07 Thread Mike Barnard
On 8 November 2012 03:30, Michael Sierchio ku...@tenebras.com wrote:

 On Wed, Nov 7, 2012 at 4:20 PM, Mike Barnard mike.barna...@gmail.com
 wrote:
  Hi,
 
  I am running FreeBSD 9.0-RELEASE and I am experiencing some strange
  behaviour with GELI.
 
  Every time I boot up my computer, I get a request to enter the Encryption
  password for swap. swap is not encrypted and should not be asking for an
  encryption password.
 
  I have checked and ensured that there are no providers for geli for the
  ada0p3 partition. Any one have pointers on what I could check for to
  rectify this.

 in /etc/fstab you should have:

 /dev/ada0p3.eli   noneswapsw
  0 0

 in /etc/rc.conf you should have (something like):

 geli_swap_flags=-e aes -l 256 -s 4096 -d

 /etc/rc.d/encswap will generate a random password


I added that when I booted and was prompted again for a password. What
puzzles me is that this device is not encrypted. Why is it asking me for a
password? So I encrypted it and added what you have suggested and it still
asks me for a password.

I'll dig a little more into it to figure out why its doing this.



-- 
Mike

Of course, you might discount this possibility, but remember that one in a
million chances happen 99% of the time.

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


Re: Problem with libpng + Mozilla applications on FreeBSD 8.3

2012-10-28 Thread Mike Clarke
On Sunday 28 October 2012 01:17:46 Manish Jain wrote:

 Consider me a newbie here. How do I do wide-reinstall ?

You can do this with ports-mgmt/portmaster. See the section Using portmaster 
to do a complete reinstallation of all your ports at the end of the examples 
section of the man page.

 I don't mind 
 pulling in and building a few more ports as long as it is not the whole
 GNOME2 metaport

Rebuilding everything is the least complicated way of fixing the problem. It's 
a big job but if you don't do that then you're likely to have to keep doing 
even more firefighting in the future.

-- 
Mike Clarke
___
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


9.1-RC2: clang can no longer build a kernel that boots

2012-10-28 Thread Mike Cui
I'm seeing that on 9.1-RC2 (i386), clang can no longer build a kernel
that boots. Any kernel I build would get stuck at Timecounters tick
every 1.000 msec. However, building the same kernel with gcc has no
problems. Also, if I build the kernel with clang from 9.0-RELEASE, it
also works fine. I tried this with both my custom kernel config as
well as GENERIC, and I'm seeing the same thing.

Anyone else seeing 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: 9.1-RC2: clang can no longer build a kernel that boots

2012-10-28 Thread Mike Cui
Let me clarify. If I build the 9.1-RC2 kernel using the clang binary
from 9.0-RELEASE, it boots fine.

On Sun, Oct 28, 2012 at 9:41 AM, Mike Cui cui...@gmail.com wrote:
 I'm seeing that on 9.1-RC2 (i386), clang can no longer build a kernel
 that boots. Any kernel I build would get stuck at Timecounters tick
 every 1.000 msec. However, building the same kernel with gcc has no
 problems. Also, if I build the kernel with clang from 9.0-RELEASE, it
 also works fine. I tried this with both my custom kernel config as
 well as GENERIC, and I'm seeing the same thing.

 Anyone else seeing 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: Problem with libpng + Mozilla applications on FreeBSD 8.3

2012-10-27 Thread Mike Clarke
On Saturday 27 October 2012 09:42:10 Alexandr Alexeev wrote:

 Sometimes placing symlink to the newer version of library instead of
 older version helps.

Specifying the alternative version in /etc/libmap.conf (5) is a neater way of 
doing this.

The man page also shows you how to restrict the mapping to apply for only 
specified executables.

-- 
Mike Clarke
___
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-update IDS

2012-10-27 Thread Mike Clarke

I've installed 9.1-RC2 after using svn to download /usr/src. Shortly after 
rebooting into the new system, and just out of curiosity, I 
ran freebsd-update IDS and was surprised to see that it reported 735 hash 
mismatches. Some of these were for files modified locally like /etc/hosts but 
the majority were for files that I've not changed, e.g.

/usr/bin/clang-cpp has SHA256 hash 
8937eebfc2bd2d18d05b786a568fbff980cf1b5a7333b8133cb197e7cd48ffcc, but should 
have SHA256 hash 
36b39d8f00b1c5aab193d594ff67bfdb7a382b2bdb5b30c824254e9d658fbf8c.

Are svn and freebsd-update looking at different versions of the system or do I 
have a problem? Considering the very short time interval between installing 
the system and checking IDS I'm quite confident my system hasn't been hacked 
from outside.

-- 
Mike Clarke
___
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


Gimp - problem opening images using URI's

2012-10-22 Thread Mike Clarke

Gimp has recently become unable to open images using URI's, e.g.-

--
curlew:/home/mike% gimp -c http://www.freebsd.org/layout/images/beastie.png;
Failed to connect to socket /tmp/fam-mike/fam-

(gimp:27650): GLib-GIO-WARNING **: FAMOpen failed, FAMErrno=3

GIMP-Error: Opening 'http://www.freebsd.org/layout/images/beastie.png' failed: 
Could not open 'http://www.freebsd.org/layout/images/beastie.png' for 
reading: No such file or directory
--

The above is with gimp-app-2.6.12_1,1 compiled from ports with default options 
running under FreeBSD 9.0-RELEASE, all ports are up to date and there are no 
missing dependencies.

I had similar problems in the past and managed to fix it by 
adding --without-gvfs to the options in the Makefile but the problem 
reappeared after a recent upgrade to my ports. The port upgrade didn't touch 
gimp-app so I assume the problem is caused by some dependency which has been 
upgraded.

I've tried rebuilding gimp-app both with and without my Makefile hack and with 
and without GVFS in the config options but with no success.

The error message above is after rebuilding  from a freshly downloaded copy of 
the port to ensure none of my old edits remained and with the default options 
in make config.

It might be significant that the directory /tmp/fam-mike does not exist. I 
tried creating it but gimp produced an error Socket directory /tmp/fam-mike 
has wrong permissions and promptly deleted the directory. 
Recreating /tmp/fam-mike with permissions 700 got rid of the wrong 
permissions message but still failed to cure the problem.

Google searches haven't come up with anything directly relevant to my problem 
but do imply that the problem could be related to devel/gamin.

Could anyone offer any suggestions on how to go about resolving this?

-- 
Mike Clarke
___
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: editing pdf files

2012-10-14 Thread Mike Clarke
On Saturday 13 October 2012 21:47:01 Gary Kline wrote:

  SO: Is pdfimages going to spit of 6t50 files?  as noted
 in last email, only  a couple of these images are of any interest

Probably. But Gimp accepts PDF files and gives you the option of importing 
images of  individual selected pages. You might then be able to extract the 
text with some OCR software.

-- 
Mike Clarke
___
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: FreeBSD9 - Fresh install (2)

2012-10-14 Thread Mike Clarke
On Sunday 14 October 2012 19:05:32 Jos Chrispijn wrote:

 The slice one and two idea is perhaps Windows related, but I thought if
 I want to update my FreeBSD9 t0, let's say 10 or 11, I only have to
 clean slice one and put BSD on that again (having the backup slice
 untouched).

My approach would be to go for 3 slices. Slice 1 would be a suitable size to 
hold the OS and swap, I have quite a lot of ports installed on my desktop PC 
so would go for about 20 to 30 GB. This could be less for a server but with 
1TB you can afford to be generous. This can then be partitioned to suit with 
whatever combinations of /, /usr, /usr/local, /var. /tmp and swap suits your 
fancy.

The second slice would be the same size as the first and be left empty for now 
as a spare.

The third slice, the rest of the disk, would be for all of your data and could 
be partitioned (or not) to suit your needs for /home and any other local data 
requirements. If there's to be any large mysql databases then I'd put them 
here with symlinks from /var where mysql normally expects to find them.

When you come to upgrade to the next FreeBSD release just install it into the 
spare second slice and boot from that instead of the first. If you experience 
any serious problems with the upgrade then nothing has been lost and you can 
just revert to booting of the first slice until things are sorted out.

The above is all assuming you're using UFS. If you're going to use ZFS then 
there are other possibilities like using sysutils/beadm from ports 
http://forums.freebsd.org/showthread.php?p=175325 to manage multiple boot 
environments in a single partition.

-- 
Mike Clarke
___
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: cksum entire dir??

2012-10-04 Thread Mike Jeays
On Fri, 05 Oct 2012 05:36:19 +0400
Австин Ким avs...@mail.ru wrote:

 Hi, all,
 
  Paul Kraus paul at kraus-haus.org writes:
 
   On Tue, Sep 11, 2012 at 9:18 PM,  kpneal at pobox.com wrote:
  
   It's a real shame Unix doesn't have a really good tool for comparing
   two directory trees. You can use 'diff -r' (even on binaries), but that
   fails if you have devices, named pipes, or named sockets in the
   filesystem. And diff or cksum don't tell you if symlinks are different.
   Plus you may care about file ownership, and that's where the stat
   command comes in handy.
  
   Solaris and a least a few versions of Linux have a dircmp command
   that is in reality a wrapper for diff that handles special files. The
   problem with it is that it tends to be slow (I had to validate
   millions of files).
 
  It's not clear what the danger profile is supposed to be here; dircmp
  (and recursing 'diff' applications) can handle many cases, but mtree(8)
  (with appropriate options) covers more pathological problems. Even so,
  analysis of changes in file nodes like named sockets will usually
  require some understanding of the application.
 
  I suspect that either a recursive diff or an mtree specification is a
  good solution for the original poster's problem, but we don't have
  enough information to be more sure than that.
 
  Be well.
 Lowell
 
 I happened to be restoring my home directory on my local machine and needed a 
 way to verify that its contents were in sync with the corresponding 
 directories on a remote server.  I first tried looking for an option for 
 _rsync_ that would check synchronization without actually forcibly 
 synchronizing one side to the other unidirectionally, but couldn't find 
 precisely what I was looking for.  I happened to come upon this thread, which 
 was a coincidence that this same issue recently came up again.
 
 Obviously there must be more rigorous, secure, and industrial-strength ways 
 to check synchronization between corresponding directories on remote systems 
 (apart from doing a one-way sync with _rsync_), but here's my two bits, a 
 quick crack at a shell function to check recursively that the contents of two 
 directories (and the filenames contained therein) have a high probability of 
 being in sync:
 
 BEGIN CUT
 
 # s:  Function to compute recursive MD5 sum.
 s ( ) {
   if [ -d $1 ]
  then DIR=$1
  else DIR=.
   fi
   if [ `uname` = Linux ]
  then find $DIR -type f -or -type l |sort |tr \\n \\0 |xargs -0 openssl 
 \
 dgst |sed s/.*\(\\\(.*\\\)\).*\ \\\(.*\\\)/\\2\ \\1/ |tee 
 /tmp/dgst
   openssl dgst /tmp/dgst
  else find -s $DIR -type f -or -type l|tr \\n \\0 |xargs -0 md5 \
  |sed s/.*\(\\\(.*\\\)\).*\ \\\(.*\\\)/\\2\ \\1/ |tee 
 /tmp/dgst
   md5 /tmp/dgst
   fi
   unset DIR
   rm /tmp/dgst
   return
   }
 
 # sq:  Function to compute recursive MD5 sum quietly.
 sq ( ) {
   if [ -d $1 ]
  then DIR=$1
  else DIR=.
   fi
   if [ `uname` = Linux ]
  then find $DIR -type f -or -type l |sort |tr \\n \\0 |xargs -0 openssl 
 \
 dgst |sed s/.*\(\\\(.*\\\)\).*\ \\\(.*\\\)/\\2\ \\1/ /tmp/dgst
   openssl dgst /tmp/dgst
  else find -s $DIR -type f -or -type l|tr \\n \\0 |xargs -0 md5 \
  |sed s/.*\(\\\(.*\\\)\).*\ \\\(.*\\\)/\\2\ \\1/ /tmp/dgst
   md5 /tmp/dgst
   fi
   unset DIR
   rm /tmp/dgst
   return
   }
 
 END CUT
 
 These functions simply apply the `find ... |xargs' method suggested by 
 previous posts to output a list of MD5 digests with filenames, and then just 
 _md5_ the resulting file.  I tried out the above in both sh(1) in FreeBSD (my 
 local machine) as well as in ksh(1) in Linux (the remote server), though I 
 haven't tested them extensively.  Obviously the above are not `secure,' and 
 obviously an infinite number of variations are possible (such as, for 
 example, also outputting file permissions and dates of last modification with 
 ls(1) to the digest file before running _md5_ on it, to check that 
 permissions and dates are also in sync).  Thanks to the previous posters for 
 solving my problem!  :)
 
 All the best,
 Austin

rsync --dry-run may be a simple solution that would meet your needs? You 
might need to add the --delete option.

Take another look at man rsync.
___
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: stop and start X server in FreeBSD 9.0

2012-10-02 Thread Mike Clarke
On Tuesday 02 October 2012 14:49:54 Polytropon wrote:

 For the desired test scenario, I'd suggest to disable KDE
 (kdm) startup in /etc/rc.conf, and finally stop the related
 service (from /usr/local/etc/rc.d probably). Then you can
 easily use the startx command to start an X session from
 a user's VT, test your settings, terminate the session,
 and you'll be back in text mode.

The OP is using kdm3 which is normally  managed through /etc/ttys instead of 
an rc script.

To stop kdm3:

* edit /etc/ttys, find the line 'ttyv8   /usr/local/bin/kdm xterm on secure' 
and changie on to off
* kill -1 1
* killall kdm-bin

To restart

* edit /etc/ttys and change off back to on for kdm
* kill -1 1

But it isn't necessary to do all this just to pick up changes in xorg.conf. 
Just make your desired changes to xorg.conf, then log out of kde and switch 
to a console as root and killall kdm-bin. This will stop and start X as well 
as kdm.

You can do all this from a terminal window in your kde session but I prefer to 
logout cleanly instead of having the rug pulled from under my feet which has 
sometimes corruptedf my kdmrc file.

-- 
Mike Clarke
___
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: older version of programs in freebsd

2012-09-30 Thread Mike Clarke

On Sunday 30 September 2012 10:14:23 Istvan Gabor wrote:
 2012. szeptember 29. 13:16 napon Polytropon free...@edvax.de írta:

  Use portdowngrade.
 
  This tool is excellent in obtaining older versions of a
  specific port, for example to make it functional again
  (like the xzgv image viewer where the last usable version
  has been xzgv-0.8_9).

 Thank you.
 I will try it.

If you use portsnap to keep your ports up to date then you can add a REFUSE 
line in /etc/portsnap.conf to stop new versions of the port being downloaded 
in the future.

-- 
Mike Clarke
___
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: LSI 9750-4i (tws based cards)

2012-09-27 Thread Mike Tancsa
On 9/12/2012 3:30 PM, Mike Tancsa wrote:
 Does anyone have any experience with these cards ? We are looking for a
 controller that has a little more gas than the twa based cards which
 have been very reliable and stable for us on FreeBSD.  I dont have any
 experience with 3ware/LSI's cards that use the tws driver.  Has anyone
 used them yet  ?

For the archives...


I ordered a 3ware 9750 4i card to test with and its quite fast!  There
is a small bug in the driver fixed now in HEAD as well as some cosmetic
changes.  But other than that it seems pretty solid.  The same
management interface as the twa and twe based cards.

I ran a test box using a kernel with INVARIANTS and WITNESS with the
card and 4 10k disks in raid 10.  The card seems pretty zippy for the
price.  RW performance does seem to take advantage of the faster disk speeds


0{3w9750}# dd if=/dev/zero of=/mnt/test bs=1024k count=9000
9000+0 records in
9000+0 records out
9437184000 bytes transferred in 39.859600 secs (236760629 bytes/sec)
0{3w9750}#
0{3w9750}# umount /mnt
0{3w9750}# mount /dev/da0 /mnt
0{3w9750}# dd if=/mnt/test of=/dev/null bs=1024k
9000+0 records in
9000+0 records out
9437184000 bytes transferred in 27.887930 secs (338396720 bytes/sec)
0{3w9750}#

For stress testing, I ran the disk.cfg component of
http://people.freebsd.org/~pho/stress/index.html

as well as random copies of dbench and bonnie as well as periodically
accessing the disk while the stress scripts ran for 72hrs.  The OS was
netbooted, RELENG9 AMD64

0{3w9750}# tw_cli /c0 show

Unit  UnitType  Status %RCmpl  %V/I/M  Stripe  Size(GB)  Cache
AVrfy
--
u0RAID-10   OK -   -   256K931.303   RiW
ON

VPort Status Unit Size  Type  Phy Encl-SlotModel
--
p0OK u0   465.76 GB SATA  0   -WDC
WD5002AALX-00J3
p1OK u0   465.76 GB SATA  1   -WDC
WD5002AALX-00J3
p2OK u0   465.76 GB SATA  2   -WDC
WD5002AALX-00J3
p3OK u0   465.76 GB SATA  3   -WDC
WD5002AALX-00J3

0{3w9750}#



For some reason the card defaults legacy interrupts.  Adding
hw.tws.enable_msi=1 to /boot/loader.conf fixes that


LSI 3ware device driver for SAS/SATA storage controllers, version:
10.80.00.003
tws0: LSI 3ware SAS/SATA Storage Controller port 0x4000-0x40ff mem
0xc246-0xc2463fff,0xc240-0xc243 irq 17
at device 0.0 on pci2
tws0: Using MSI
tws0: Controller details: Model 9750-4i, 8 Phys, Firmware FH9X
5.12.00.007, BIOS BE9X 5.11.00.006
(probe65:tws0:0:65:0): INQUIRY. CDB: 12 0 0 0 24 0
(probe65:tws0:0:65:0): CAM status: Invalid Target ID
(probe65:tws0:0:65:0): Error 22, Unretryable error
da0 at tws0 bus 0 scbus0 target 0 lun 0
da0: LSI 9750-4iDISK 5.12 Fixed Direct Access SCSI-5 device
da0: 6000.000MB/s transfers
da0: 953654MB (1953083392 512 byte sectors: 255H 63S/T 121573C)
tws0@pci0:2:0:0:class=0x010400 card=0x000113c1 chip=0x101013c1
rev=0x05 hdr=0x00
vendor = '3ware Inc'
device = '9750 SAS2/SATA-II RAID PCIe'
class  = mass storage
subclass   = RAID
bar   [10] = type I/O Port, range 32, base 0x4000, size 256, enabled
bar   [14] = type Memory, range 64, base 0xc246, size 16384, enabled
bar   [1c] = type Memory, range 64, base 0xc240, size 262144,
enabled
cap 01[50] = powerspec 3  supports D0 D1 D2 D3  current D0
cap 10[68] = PCI-Express 2 endpoint max data 128(4096) link x4(x8)
cap 03[d0] = VPD
cap 05[a8] = MSI supports 1 message, 64 bit enabled with 1 message
ecap 0001[100] = AER 1 1 fatal 0 non-fatal 0 corrected
ecap 0004[138] = unknown 1


In summary, we like the card on FreeBSD.  We make heavy use of the older
3ware cards in our company on various platforms, so our staff are
comfortable using the management tools to swap out dead drives.  We will
probably start to use these cards for customer builds in the future
where they need faster IO.

---Mike



-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.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


PC-BSD 9.0 in VirtualBox

2012-09-27 Thread Mike Jeays
I have been running PC-BSD 9.0 with the KDE interface in a VirtualBox VM, and 
notice that it uses CPU resources when idle, driving up my CPU temperature 
about 15 degrees on an otherwise idle machine. (It is an Intel i5 quad four). 
Is this to be expected?
___
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: Questions about ZFS Tuning

2012-09-17 Thread Mike Clarke
On Monday 17 September 2012 13:20:14 Jamie Paul Griffin wrote:

 I set zfs.zfs.prefetch_disable=0 because some dmesg line suggested/implied
 it would benefit. I don't recall the exact output now. 

If you look in /var/run/dmesg.boot you should find the message saying ZFS 
NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; 
to enable, add vfs.zfs.prefetch_disable=0 to /boot/loader.conf.

Since you have 2GB RAM then it's best to leave things as they are with 
prefetch disabled.

-- 
Mike Clarke
___
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: cksum entire dir??

2012-09-12 Thread Mike Jeays
On Wed, 12 Sep 2012 10:55:57 -0700
Waitman Gobble gobble...@gmail.com wrote:

 On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline kl...@thought.org wrote:
 
  On Wed, Sep 12, 2012 at 07:31:45AM +0100, Matthew Seaman wrote:
   On 12/09/2012 00:14, Polytropon wrote:
% cksum directory
   
and could obtain a checksum - so it _seems_ to work.
After alteration of one file within the hierarchy a
different result was printed.
  
   That will give you a checksum on the directory inode -- file names and
   associated metadata only, not file content.  In theory you could edit a
   file without modifying any of the timestamps, and that wouldn't result
   in any change to the directory checksum.  Also, modifying things a few
   layers down the filesystem hierarchy won't have any effect either.
  
   Generally I find the best test for differences between old and new
   copies of a filesystem is 'rsync -avx -n ...'
  
   Also, sum and cksum have way too small a key size for this to be
   reliable, since you can't tell a true result from a hash collision.  Use
   md5 or sha1 or sha256 for best results.
  
 
  So this sha256 is *real*??  I have no md5 on my fedora
  that is on my desktop and m having trouble getting used to.
  but the gentleman who recommened cpio was right on the money.
 
 
 
 
 are you sure it's not 'md5sum' ? ... that seems to be on all my GNU/Linux
 machines.
 
 Waitman Gobble
 San Jose California USA
 
 
 
 
 
  note that I am loathe to spam this list with the following mail
  from my
  files in sept, 1988, but here it is.  if I had only gr -r -w cpio
  around in all my directories, I would have found this, sent to one
  Dirm
  Myers across the pond ::
 
 
  ===
 
  From kline Sat Sep  5 11:52:20 1998
  Subject: lost mail file...
  To: di...@buster.dhis.eu.org (Dirk Myers)
  Date: Sat, 5 Sep 1998 11:52:20 -0700 (PDT)
  Organization:  thought.org: public access uNix in service... 
  X-Mailer: ELM [version 2.4ME+ PL32 (25)]
  MIME-Version: 1.0
  Content-Type: text/plain; charset=US-ASCII
  Content-Transfer-Encoding: 7bit
  Content-Length: 2283
  Status: RO
 
 
Yesterday morning I began composing the next two Q's and A's
in my mailer.  Last night in the wee hours there was a power
glitch and I lost the mail.
 
Enclosed is the first//next Q/A.  I'll send along another one
or two later today.  One that I was playing around with *failed*
and I'm trying to figure out why.
 
-
 
How can I uise my FBSD floppy drive to copy files to it (in this case,
at work), and retrieve the files on my FBSD systtem at home.  So far
I've only seen examples that used floppies with a filesystem on them.
Is there a simplr, more direct way?
 
You can treat the 'raw' floppy device as if it is a tape drive, and
use typically UNIX tape tools to read/write, such as tar and  cpio.
For instance, to copy the current directory onto a floppy to
take home at night:
 
  (put the floppy in the drive, and cd to the directory where
   the files are; then )
 
  % tar -cvf /dev/rfd0 .
 
To read it when you get home:
 
  (put the floppy in the drive at home; and extract the tarball
   wherever you want the files)
 
  % tar -xvf /dev/rfd0
 
The flags -c and -x indicate create and extract mode, the ``v''
specifies verbose mode, and the ``f'' tells tar that the following
argument is the file or device that tar acts upon.  Here, it is
the floppy devide.
 
 
With cpio:
 
  (chdir to the directory where the files are)
 
  % ls | cpio -oc  /dev/rfd0
 
 To read a cpio archive from a tape drive:
 
 % cpio -icd  /dev/rfd0
 
 
 The flags -i and -o indicate copy-in or extract mode and
 copy-out or create archive mode.   The ``c'' tells cpio
 to use the old, portablr ASCII archive format.  And the
 ``d'' flag tells cpio to create directories where necessary.
 
 Do a
 
 % man cpio
 
 for much greater detail on this utility.
 
-
 
There are another one or two of the simpler Q/A's and one or two
more involved.
 
Then, for this month only, I want to write a paragraph or two
about who I am and where I'm coming from.  Since you are sharing
the by-line you might want to consider this too.
 
gary
 
PS:   Next month we get a break!!
 
  --
 Gary D. Kline kl...@tao.thought.org  Public service
  uNix
 
  
  as you can see, this dealt with my olden tape drive.  a 250meg
  QIC drive, I think.but this was about the earliest reference
  I could find re my use of cpio.  there are others in my journal
  dir that reference my running out of hard drive and using cpio
  rather
  that a straight cp -rp.  [this was back when a 130meg drive was
  Huge
  and made me 

LSI 9750-4i (tws based cards)

2012-09-12 Thread Mike Tancsa
Does anyone have any experience with these cards ? We are looking for a
controller that has a little more gas than the twa based cards which
have been very reliable and stable for us on FreeBSD.  I dont have any
experience with 3ware/LSI's cards that use the tws driver.  Has anyone
used them yet  ?

---Mike
-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.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


Re: RFC 2385 TCP MD5 support on FreeBSD8.3

2012-09-06 Thread Mike Tancsa
On 9/6/2012 11:16 AM, SivaReddy Obili wrote:
 
 But we were not able to configure BGP MD5 on that machine.

Perhaps you could post some details as to what you tried. Did you
recompile the kernel with MD5 support ?

In the kernel, you need


optionsTCP_SIGNATURE
optionsIPSEC
device crypto

If you have not built a customer kernel,
cd /usr/src/sys/i386/conf
cp GENERIC router

in the file router,

optionsTCP_SIGNATURE
optionsIPSEC
device crypto


in /etc/make.conf add
KERNCONF=router

cd /usr/src
make -j4 buildkernel  make installkernel


Then, in /etc/ipsec.conf add something like

#.18 is the local machine, .29 the remote machine
add 192.168.134.18 192.168.134.29 tcp 0x1000 -A tcp-md5 HelloMD5 ;


add to /etc/rc.conf

ipsec_enable=YES  # Set to YES to run setkey on ipsec_file
ipsec_file=/etc/ipsec.conf# Name of config file for setkey


cd to /usr/ports/net/quagga and make install

in your bgp config, the peer needs a line like

 neighbor 192.168.134.29 password HelloMD5


---Mike



-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.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


Re: what is the best kind of KVM Switch?

2012-08-12 Thread Mike Clarke
On Sunday 12 August 2012 02:41:57 Bob Hall wrote:

  I'm currently on my third year
 with an Aten and have had no problems.

I've been using a cheap Aten CS-64A 4 Port Mini KVM for nearly 6 years now 
with no problems.

-- 
Mike Clarke
___
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: what is the best kind of KVM Switch?

2012-08-11 Thread Mike.
On 8/11/2012 at 12:18 PM Gary Kline wrote:

|guys,
|
|   can any of you with hardware background tell me which are
|   the better KVM makes?  about three weeks ago my Belkin
|   soho 4-port kvm switch started going flakey on port #1.
|
|   I ordered a new one, same make//model except with PS/2 
|   plugs.   it arrived 100%  DOA.   I'Ve finally found 
|   somebody willing to come over and help me.  Fry's is about
|   12 clicks away.  they have not too many.  maybe an 
|   iogear (sp?).  is there really that much diff between kvm
|   switch? and if there is, which should I be looking for?
|
|   tia,
|
|   gary
|
|
|
|-- 
 =

My requirements may not be the same as yours, but I have experiences in
two brands of KVMs: IOGear and Avocent.

The IOGear KVM worked well ... for a while, then quit.   I was not
impressed by IOGear's customer service

The Avocent, though more expensive, just works and works.   I now have
another on my DVI monitor.  It, too, works well and reliably.




___
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: Webpage screenshot

2012-08-05 Thread Mike Clarke
On Sunday 05 August 2012 19:41:38 Polytropon wrote:

 The idea of taking a screenshot from the web browser may
 look sufficient at first, but it is problematic when the
 web page doesn't fit horizontally or vertically

snip

 How would you suggest to solve this task?

How about the Pixlr Grabber extension for Firefox. You can specify the entire 
page, an area defined with the mouse or just the visible area and save the 
result to a .PNG file or copy it to the clipboard to paste directly into the 
Gimp.

-- 
Mike Clarke
___
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: Nasty reference loop in login.conf

2012-07-17 Thread Mike Jeays
On Tue, 17 Jul 2012 12:48:38 -0700 (PDT)
Jakub Lach jakub_l...@mailplus.pl wrote:

 Initially dropped to single user mode, but when 
 I saw ED(1) I reconsidered and dusted off trusty 
 LiveCD :)
 
 Thanks.
 
 --
 View this message in context: 
 http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727712.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

ed is OK if you have access to another machine with internet access - the wiki 
article tells how to use it, and it isn't hard when you know how.

With single-user mode only, not so easy...

A very crude README that gives the basics, that is accessible in single user 
mode, might be quite useful.
___
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 mirror the FreeBSD OS on two disks

2012-07-12 Thread Mike Clarke
On Wednesday 11 July 2012 16:20:41 Joseph Lenox wrote:
 What about a ZFS root? Just make sure both disks are in the BIOS/EFT
 boot order.
 http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/

 Something else we noticed on our site is that backup of a system
 snapshot can be quickly restored using just a live CD (do up to step 5,
 then replace steps 6-7 with a zfs receive of the desired snapshot).

Since the system is to be restored from the snapshot then I suppose most of 
steps 8 to 12 wouldn't be needed either. But what about step 5 before the 
restore:

zpool export zroot
zpool import -o cachefile=/var/tmp/zpool.cache zroot

And then step 10 after running zfs receive

cp /var/tmp/zpool.cache /mnt/boot/zfs/zpool.cache

Are these steps needed when restoring from a snapshot?

-- 
Mike Clarke
___
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: ppp connection goes down - requires reboot

2012-07-12 Thread Mike Tancsa
On 7/12/2012 10:18 AM, David Banning wrote:
 Lately I have a problem where the ppp connection goes down. 
 Watching the log I see the following;
 Jul 12 09:55:13 3s1 ppp[31115]: tun0: Phase: deflink: opening - dial
 Jul 12 09:55:13 3s1 ppp[31115]: tun0: Phase: deflink: dial - carrier
 Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: Disconnected!
 Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: carrier - hangup
 Jul 12 09:55:18 3s1 ppp[31115]: tun0: Phase: deflink: Connect time: 5 secs: 0 
 octets in, 0 octets out


5 seconds seems like a pretty tight for it to give up. Do you have any
other defaults in your ppp.conf not shown below ?

also add

 enable echo
 disable vjcomp
 set lqrperiod 10
 set cd 10

and when its not working, try

tcpdump -nei fxp0

You should see responses to your PADI requests from the remote BAS.
Also get rid of the 209.161.205.12 line. Typically your ISP will assign
you the static IP out of RADIUS and you dont need to specify it.

---Mike

 
 I shutdown ppp and restart it with no luck.  I shutoff modem and 
 reboot it and wait for connection light to go solid - still no go. 
 

 
 my ppp.conf follows;
 
 default: # or name_of_service_provider
   set device PPPoE:fxp0 # replace xl1 with your ethernet device
   set mru 1492
   set mtu 1492
   set authname ***
   set authkey ***
   set log Phase tun command # you can add more detailed logging if you 
 wish
   disable ipv6cp
   set dial
   set login
   set ifaddr 209.161.205.12 206.221.248.4
   set ifaddr 10.0.0.1/0 10.0.0.2/0
   add default HISADDR
   nat enable yes 
 
 
 ___
 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
 
 


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.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


Re: 32 bit to 64 bit

2012-06-27 Thread Mike Tancsa
On 6/27/2012 9:37 AM, Tim Kellers wrote:
 Will the buildworld --- buildkernel KERNCONF=FOO64 allow a 32 bit
 installation to build a 64 bit kernel?  I'd like to upgrade this machine
 to 64 bit AMD and I'd prefer not to do it from a DVD if I can do it from
 source.   Has anyone tried this and succeeded (or failed spectacularly)
 on a remote install/upgrade?

I have seen posts of people who have done it, but when we contemplated
it a while back it was more trouble than it was worth. It was easier and
safer to build a new image on a separate disk, install all the apps from
the ports, and then migrate the customer data over.  Even if the box is
remote, it might be easier to ship the drive there and have someone
change it out for you.

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.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


Re: changing md5 hashed for sha

2012-06-24 Thread Mike Tancsa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/23/2012 9:37 AM, Christopher J. Ruwe wrote:
 For setting the dafault hash used to hash /etc/master.passwd, it 
 has been recommended changing md5 for something more secure in the 
 sense of being more expensive to crack.
 
 The handbook describes the procedure used in 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/crypt.html.


 
Allegedly, hashes which were hashed with one of the sha-functions begin
 with the character $6$.
 
 Afer having changed my /etc/login.conf accordingly and having
 reset the passwords, the given there is not md5 anymore (I have
 tried with md5), but does not begin with the character $6$, but, as
 md5, with $1$, which is supposed to be md5-hashed.
 
 I fear I am a bit dense here, what am I getting wrong?

Are you sure you ran
cap_mkdb /etc/login.conf
after adjusting the values in login.conf ?

Also, this will only work on relatively recent versions of FreeBSD.

---Mike


- -- 
- ---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJP551fAAoJEJXHwM2kc8rXS34H/j+uxWq8Pa9j0iXpehObx2iY
LeeCZx7YbSv9AwGVHy/gTRtYP1uStBNn79oKV0ANSyjOT3F7l1MuygfJAqfXIKDm
WdN4KX2D3tpAjVMdce1zX2rSy4OtXLYXpBXTiGmP2d/erAEtE9B8gJ8GQWDh0gWz
14CkQyefcF2YvmepSj3+9P69EzjlEm6vDMPyY/nrMlJcT8+ujtZX325+kQzQiiFX
FFasbqekazHCUnKGZZY9arY01AxPKg5e2PXFZPQf3qQy3jHqOupnM3ei3D39O9aV
gqJ/k2XDPjZYqAIy0gyPi99q4fCueYQFQrm2tyeTkV6+OxM8kdD5czx/FvySiG8=
=FVSP
-END PGP SIGNATURE-
___
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: Omega Zip Drives on FreeBSD 8.*

2012-06-24 Thread Mike Jeays
On Sun, 24 Jun 2012 19:13:00 -0500
Adam Vande More amvandem...@gmail.com wrote:

 On Sun, Jun 24, 2012 at 6:59 PM, Al Plant n...@hdk5.net wrote:
 
  I need to get an old parallel Omega Zip drive to work on a freeBSD 8.* to
  transfer some archives to new media.
 
  I have a problem with getting the OS to read the Omega Zip drive so it can
  be seen in dmesg to manually set the id correctly in /etc/fstab Flash
  drives and floppies show up but not Parallel Omegas. My wifes MS machine
  has no parallel input and my several FreeBSD boxes do but wont find the
  hardware. I used to use Omega Zip under FreeBSD 4.11. Thought these had
  been transferred years ago but they were only found recently.
 
  Any suggestions appreciated.
 
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/zip-drive/article.html
 
 Also at /boot/kernel/vpo.ko
 
 
 -- 
 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

I am amazed anyone still has a working Zip drive! Both mine suffered from the 
click of death some years ago, round about when 4.11 was current. I would get 
any data off them and onto a CD/DVD as soon as possible. For me, they would 
make nice museum exhibits, but 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: (Free 7.2) su -l didnt prompt password.Is it possbile?

2012-06-18 Thread Mike Tancsa
On 6/18/2012 9:31 AM, Budnev Vladimir wrote:
 
 And It looked such way:
 
 %su -l

Before you enter this command, post the output of
id


---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.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


Re: (Free 7.2) su -l didnt prompt password.Is it possbile?

2012-06-18 Thread Mike Tancsa
On 6/18/2012 10:24 AM, Budnev Vladimir wrote:
 But mb you can point in what case there is possibility to make su -l
 without any prompt. 

If the uid is 0, you wont need to enter a passwd

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.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


Re: USB device activity when not mounted

2012-06-14 Thread Mike Clarke
On Thursday 14 June 2012 07:05:11 Polytropon wrote:
 I don't think that's a problem. I've got a USB stick here
 that has a blinkenlight as soon as it's powered on (plugged
 in), even if there is no reading / writing / mounting activity.

 After you've successfully performed umount, the USB stick _is_
 synced and can safely be removed, no matter what you assume
 the funny lights want to tell you.

 Maybe that's just a modern feature to make the USB stick more
 entertaining. :-)

I have a Kingston one here which does appear to only blink while data is being 
transferred but one thing I have noticed is that the light continues to blink 
for a few seconds after the umount command completes. Presumably syncing is 
not compled until a few seconds after umount. Perhaps it's always safer to 
wait a few seconds after umounting before removing any USB storage device?

-- 
Mike Clarke
___
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   4   5   6   7   8   9   10   >