Re: editor that understands CTRL/B, CTRL/I, CTRL/U

2012-04-27 Thread Frank Shute
On Fri, Apr 27, 2012 at 02:33:29PM -0700, David Brodbeck wrote:
>
> On Thu, Apr 26, 2012 at 2:52 PM, Chad Perrin  wrote:
> > Indeed -- and the employer who bucks this trend does him/her self a huge
> > service, because large numbers of very skilled and/or talented people are
> > being rejected on entirely arbitrary criteria that have little or no
> > correlation to their ability to do the job.
> 
> Keep in mind in today's job market, and given Internet methods of
> advertising positions, the problem isn't in finding qualified people
> -- the problem is in whittling down the couple thousand or so resumes
> you get to a manageable pile.  You can afford to reject some qualified
> applicants in that process because there are always more looking.
> 
> Again, this is one of the reasons credit scoring is becoming so
> popular -- it's an almost automatic way to narrow down the pile.
> Another method in common use right now is to throw out applications
> from anyone who's currently unemployed, and only look at ones who
> already have a position and are looking to change jobs.

Reminds me of an episode of "The Office".

The manager gets a pile of resumes/CVs and immediately bungs half of
them in the trash.

His reasoning: he doesn't like employing "unlucky" people :)


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpAlG7w1RLFZ.pgp
Description: PGP signature


Re: Can't install WindowMaker

2012-03-19 Thread Frank Shute
On Sun, Mar 11, 2012 at 09:17:50AM +0100, Sabine Baer wrote:
>
> Sorry if I'm totally wrong here but I don't know where to ask.
> 
> I'm using WindowMaker as my window manager for some years. I do not
> remember why, but some days ago, I deinstalled ist. Now, I can't
> install it.
> 
> $uname -rp
>  |7.4-STABLE amd64
> 
> #portmaster -aD
> |all up to date (had a long run of updating gcc46 and others this
> |morning)

You're not by any chance using gcc46 to compile Windowmaker?

If so, don't. Use the base compiler.

> 
> #portmaster /x11-wm/windomaker
>  |[...]
>  |handlers.c:542: warning: implicit declaration of function 'FD_ISSET'
>  |*** Error code 1
>  |mv -f .deps/findfile.Tpo .deps/findfile.Plo
>  |1 error
>  |*** Error code 1
>  |1 error
>  |*** Error code 1
>  |1 error
>  |*** Error code 2
>  |1 error
>  |*** Error code 1
>  |
>  |Stop in /usr/ports/x11-wm/windowmaker.
>  |
>  |===>>> make failed for x11-wm/windowmaker
>  |===>>> Aborting update
>  |
>  |Terminated
>  |
>  |===>>> You can restart from the point of failure with this command
>  |line:
>  |   portmaster  x11-wm/windowmaker
> 
> I haven't any clue what might go wrong. Searching google didn't bring
> any help.
> I can use fluxbox or twm, but I want my WindowMaker back :-(
> 
> Sabine

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpC2hNXn4FWt.pgp
Description: PGP signature


Re: Editor With NO Shell Access?

2012-03-12 Thread Frank Shute
On Mon, Mar 12, 2012 at 03:20:57PM -0500, Tim Daneliuk wrote:
>
> On 03/12/2012 03:13 PM, Thomas Dickey wrote:
> >On Mon, Mar 12, 2012 at 02:19:06PM -0500, Tim Daneliuk wrote:
> >>I have a situation where I need to provide people with the ability to edit
> >>files.  However, under no circumstances do I want them to be able to exit
> >>to the shell.   The client in question has strong (and unyielding) InfoSec
> >>requirements in this regard.
> >>
> >>So ... are there editors without this feature?  Can I compile something 
> >>like
> >>joe or vi to inhibit this feature?
> >
> >man vi (see "-S")
> >
> 
> It turns out you can still work around this if your know the trick.
> I am still researching this, but restricted vi appears to be compromised.
> 
> 

Have you tried restricted vim?

$ vim -Z

:help restricted



Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpqkXozuNJ90.pgp
Description: PGP signature


Re: Still having trouble with package upgrades

2012-03-07 Thread Frank Shute
On Wed, Mar 07, 2012 at 10:04:35PM -0500, David Jackson wrote:
>
> On Wed, Mar 7, 2012 at 6:51 PM, Polytropon  wrote:
> 
> > On Wed, 7 Mar 2012 12:05:37 -0500, David Jackson wrote:
> > > > Many of your issues are non-issues, as your suggestions were
> > > > implemented in some form long ago.  For example, updated applications
> > > > are compiled and available online.  You can use "pkg_add -r" to
> > > > install the newest binary package that is available, or you can update
> > > > your an installed application by updating the ports and using
> > > > portupgrade, which has options to control whether you compile updates
> > > > from source or install binary packages.
> > > >
> > > >
> > >
> > >
> > > pkg-add -r does not seem to be an "upgrade all packages" sort of feature
> > I
> > > am looking for. I have tried pkg-upgrade, portmaster, and portupgrade,
> > all
> > > of these do not work.
> >
> > The portupgrade -PP command should be fine, if your ports
> > tree is up to date.
> >
> >
> >
> portupgrade -PP did not work for me, it gave me error messages about failed
> downloads.
> 
> 
> 
> >
> > > I am working on getting the logs
> >

Work harder. Try script(1).


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgprrmfB52EBE.pgp
Description: PGP signature


Re: webcamd and device numbering

2012-02-19 Thread Frank Shute
On Sun, Feb 19, 2012 at 12:32:42PM +1000, Da Rock wrote:
>
> I've been struggling with this on my own for ages now, and I was 
> determined to try and sort it myself. But I'll now eat my humble pie and 
> ask for some help :)
> 
> I have (I believe I have mentioned this before) 5 dvb tuners in a 
> FreeBSD server (8.2): 1 cx88, 2 DiVico dual tuners (that totals 4 
> amongst just the DiVico's). I'm using webcamd to use these (thank God I 
> can get away from Linux!), and they work fine except I have to run ln -s 
> to link them to the right places after every reboot (Only the Divico's 
> use webcamd). So they should look like this:
> 
> $ls /dev/dvb/
> adapter0adapter1adapter2adapter3
> 
> instead:
> 
> ls /dev/dvb/
> adapter0adapter16adapter24adapter8
> 
> This is a real problem because 1. MPlayer only accepts 0-4, and 2. 
> GStreamer (including xine) only accept 1-16.
> 
> I tried working out how to resolve the issue any sane way; and then I 
> resorted to some quick hacks. I tried uding devfs.rules for links before 
> I found out it can't do that at all. devfs.conf is no good, as it sets 
> them up to begin with. And running some commands in rc.local didn't 
> work: `ln -s /dev/dvb/adapter8 /dev/dvb/adapter1` and so forth.
> 
> I googled and googled and there seem to be no real fix as webcamd won't 
> work without hal and relies on it for the numbering (but borks it 
> continuously). I've tried updates and so forth, but all to no avail. I'm 
> not too worried about a permanent fix because hal's death bells have 
> tolled, but I do need to fix this as it is really getting annoying now - 
> the server is on continuously but can go down from time to time and 
> catches the unwary :) (like when a scheduled recording which requires 
> say adapter1 finds it no longer there)
> 
> I'm using webcamd-3.2.0.2, which I recently updated.
> 
> Cheers

The manpage seems to indicate that HAL is an option for webcamd(8):

 -H  Register device by the HAL daemon.

If you still have problems you might want to post on multimedia@ as
the author of webcamd hangs out there (hselasky@).


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpv1mdq18lDB.pgp
Description: PGP signature


Re: Which mailinglist is appropriate for discussing uart changes?

2012-02-19 Thread Frank Shute
On Sun, Feb 19, 2012 at 07:10:30PM +0100, Terrence Koeman wrote:
>
> Could someone point me to the right mailinglist to discuss adding
> support for the MCS9904 chip to uart? I'm working on it, but I have
> some questions regarding FIFO sizes and how they are currently
> determined.
> 
> Thanks.
> 
> -- Regards, T. Koeman, MTh/BSc/BPsy; Technical Monk

Hi Terrence,

Looking at the list of mailing lists, I'd say your best bet is to send
an e-mail to freebsd-net@ asking them if it's appropriate to ask the
question there and if not where.

uarts and FIFOs sounds like it's network stack to me and I'd guess
someone on that list might be able to supply you with an answer.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpR5gIHnfvDu.pgp
Description: PGP signature


Re: Adobe Linux Flash (Success)

2012-02-17 Thread Frank Shute
On Fri, Feb 17, 2012 at 07:48:31PM -0500, sean wrote:
>
> On 02/17/12 19:27, sean wrote:
> >
> >
> >Now when I run nspluginwrapper -v -a -i as a user I get the following,
> >
> >Auto-install plugins from /usr/local/lib/browser_plugins
> >Looking for plugins in /usr/local/lib/browser_plugins
> >Auto-install plugins from /usr/local/lib/npapi/linux-f10-flashplugin
> >Looking for plugins in /usr/local/lib/npapi/linux-f10-flashplugin
> >Install plugin 
> >/usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
> > ... already installed system-wide, skipping
> >Auto-install plugins from /home/sean/.mozilla/plugins
> >Looking for plugins in /home/sean/.mozilla/plugins
> >
> I noticed in the above information that it was looking for the flash 
> plugin in the plugins directory under .mozilla.
> There was no such directory.
> I created the directory and ran nspluginwrapper again and flash is now 
> listed and working.
> It seems to flicker on occasions a bit but it is running.
> Are there any tuning options that might be available to get rid of the 
> occasional flicker?
> 
> Thanks all,
> Sean

Glad you got it working. Maybe the Handbook needs
correcting/expanding.

I don't get the flicker that you speak of but on occasion Firefox can
peg  back a core 100% constantly and I have to restart the browser. I
think this is probably flash related but I haven't investigated it. So
keep an eye on "top" output.

I'd recommend www/xpi-flashblock. You can whitelist sites such as
Youtube and the bbc whilst blocking the crappy flash adverts that are
a feature of too many sites on the web. Especially useful if you're on
a narrowband connection or metered.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpi5vWqIBqYB.pgp
Description: PGP signature


Re: Adobe Linux Flash

2012-02-16 Thread Frank Shute
On Thu, Feb 16, 2012 at 04:49:27PM -0500, sean wrote:
>
> Hello All,
> 
>   I am trying to get the Adobe Linux Flash working with Firefox.
> I have followed the directions in the browser handbook section.
> 
> -"kldstat" shows "linux.ko", and "linprocfs.ko".
> -"df" lists "linprocfs" mounted on "/compat/linux/proc"
> 
> I created the symlink from "libflashplayer.so" to the browser_plugins 
> location, and the symlink is listed.
> 
> Doing some searching on the problem I came across a mention that the 
> /compat directory needs to be symlinked to /usr/compat so I added that in.
> 
> I ran the "nspluginwrapper" command it searches the correct directories 
> but does complain of "ELF interpreter /lib/ld-linux.so.2 not found" 
> several times.
> 
> The "IceadTea-Web Plugin" and the "Swfdec" plugin is listed in Firefox's 
> "About:Plugins" page.
> 
> In fact I can see the "swfdec-plugin" alongside the "libflashplayer.so" 
> and the "npwrapper.libflashplayer.so" in the 
> "/usr/local/lib/browser_plugins" directory.
> 
> The system itself, a fresh install of FreeBSD 9 amd64.
> Might it be the 64 bit would be causing problems?
> 
>   Thanks in advance,
>   Sean

Starting with the obvious: did you install emulators/linux_base-f10?

$ pkg_info | grep linux

should show a load of linux ports.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpPOsAItGgyQ.pgp
Description: PGP signature


Re: Processor question

2012-02-14 Thread Frank Shute
On Tue, Feb 14, 2012 at 02:47:08PM -0500, Mike Dockery wrote:
>
> Greetings,

Aloha,

> 
> I have been a user of Linux since 1994, but most of the linux distros 
> seem to be getting away from freedom... which is why I chose it in the 
> first place.  They seem intent on forcing things that do not work well 
> (like pulseaudio and nouveau) on everyone.  Freedom of choice is always 
> best.

Yeah, I used to use Linux but they became a bunch of Freedom Nazis
controlled by big companies.

Happily using FreeBSD for 10 years.

> 
> My question is:  Should I try the amd64 version of FreeBSD with my Intel 
> Core i7-2600 processor or should I use the i386?

Generally, for an x86 machine with 4GB or greater memory use amd64.
Memory less than that use i386.

ie. you almost certainly want to use amd64, I should think.

> 
> I hope to give FreeBSD a try later this month.

Excellent. Best of luck and any problems not covered in the handbook
or google, post here. Welcome to FreeBSD!

> 
> Thanks,
> 
> Mike Dockery

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpefdLHhUn6G.pgp
Description: PGP signature


Re: on hammer's, security, and centrifuges...

2012-02-07 Thread Frank Shute
On Tue, Feb 07, 2012 at 07:03:50AM -0500, Henry Olyer wrote:
>
> So I was coding along...
> 
> On my laptop, on session #1, and I get a notice that someone did an su.
>  Except I'm the only user and I didn't have an ethernet cord connected.
>  (And no, it wasn't me...)

"someone". Whom? Show us the log.
> 
> I just built this laptop a few days ago.  Fresh.  I did have to get on the
> net to download/make/install a few critical packages.  I do development.
>  And research.
> 
> My guess, not one shred of evidence, is that someone got in while I was
> re-building packages.  Some, (for example Maxima,) take hours.  And because
> of problems with gnuplot and pdflib, won't build as packages without
> re-compilation.

Compare times of su to time when you were building.

> 
> Look, I'm going to use FreeBSD as long as both it and I am around, it's
> just the best choice for me, for my user's.  But we need to improve
> security.
> 
> I'm not a security expert, my work is in another area.  But I would like to
> suggest that the FBSD be enhanced so that each load module, each compiled
> program, contain a DSA-based public key.  Yes, this would make installing
> and maintaining systems an all-day run.  But some of us need a higher
> degree of security than is presently available.
> 
> For now, until I remake my laptop, I'm going to disable the ath0 wireless.

Did you use the procedure outlined in the handbook? It uses WAP and is
pretty secure.

> 
> How?  What's the best method to make certain that my wireless chip is
> turned off?

Turn the chip off in the BIOS. But that is overkill. Can probably
ifconfig ath0 down or something of the sort.

> 
> Or is this something best accomplished with a hammer?  Not a pleasant
> thought...
> 
> (Oh, and centrifuges?, well two out of three isn't bad.  About centrifuges
> I got nothing.)
> 
> Is their something I can do that would help the FBSD security people?, or,
> is hacking so routine that it wouldn't help to know the particulars.
>  sigh...

No, it would help to know the particulars.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgp6Jv9UvjCE0.pgp
Description: PGP signature


Re: Software Development using Freebsd.

2012-02-06 Thread Frank Shute
On Mon, Feb 06, 2012 at 04:37:37PM -0600, Jorge Biquez wrote:
>
> Hello all.
> 
> This is kind of off topic. My apologies in advance.
> 
> I am helping a non profit organization and giving some classes to 
> prepare students so they can be prepared and try to get a job (they 
> are students also and have the basics concepts already)
> 
> Anyway, I am interested in teach them to develop some simple 
> applications. From simple ones to destktop ones that access a 
> database, desktop ones that use internet to connect to a remote 
> database and web based ones with a database behind. We have 6 months 
> and the idea is to work a lot remotely. Thin is that I do not want to 
> use any kind of Microsoft products. Some of them do not have modern 
> machines but until now, in previous classs, we could install Freebsd, 
> text mode, and work from there.
> 
> Now we will try to have a graphical mode in Freebsd. With that we 
> would like to be able to develop graphical applications for Windows 
> (we all know that's the market and here some companies is what they 
> are looking), so maybe sound crazy but I am looking to develop 
> applications for Windows without using WIndows or Microsofot products at 
> least.
> 
> I have been looking for this for months. First case using Windows but 
> not Microsoft products. I found some options BUT they all were 
> expensive on the deployment. The "runtimes" were not free and the 
> amount of money to pay was not a good option. Others provide " real 
> free" excutables for runtimes but the products were expensive. I am 
> now trying to, If possible, have FreeBSD running graphically and then 
> use open source software to develop graphical windows applications.
> 
> Maybe I am wrong but until now I think my only option is to use 
> Phyton. Is that correct? For what I have searched Python will let me 
> create executables and will let me create Graphical solutions even 
> for other platforms (Mac or LInux or whatever runs Python).
> 
> Talking with friend, he believes that my best bet is to teach them C 
> or C++ and use some of the options for developing graphically ( I am 
> not a C or C++ expert but I can learn alone).
> 
> I was wondering if you could give some advie and comments on this.
> 
> Are you developing commercial applications (including Windows ones) 
> using FreeBsd as your platform? Or Maybe any Linux Distribution?
> 
> Would you do that with Python or something else?
> 
> Any extra advice is more than welcomed.
> 
> Thanks in advanced.
> 

Any reason you don't want to use Java?

OO, plenty of IDEs to choose from, ranging from vim to Eclipse which
run on both Windows and Unix.

If I wanted to develop for Windows (I don't), that's what I'd use so I
could develop my code using FreeBSD.

The best part is that Java skills are in demand. (I don't know if
that's the case in Mexico though).


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpgtIfdq5w75.pgp
Description: PGP signature


Re: problem to kill -KILL process

2012-01-21 Thread Frank Shute
On Fri, Jan 20, 2012 at 11:24:21PM +0200, ??? ??? wrote:
>
> Hi
> 
> # ps ax|grep rad
> 45471  ??  T 26473   1  S+   0:00.00 grep rad
> flux# date
> Fri Jan 20 23:20:28 UTC 2012
> flux# kill -KILL 45471
> flux# date
> Fri Jan 20 23:20:41 UTC 2012
> flux# kill -KILL 45471
> flux# date
> Fri Jan 20 23:20:54 UTC 2012
> flux# kill -KILL 45471
> 
> 
> top
> 9 root16- 0K 8K syncer  2   7:12  0.00% syncer
> 45471 freeradius  20  -20   311M   283M STOP0   3:38  0.00% {radiusd}
> 49114 root210 10460K  4240K select  0   2:43  0.00% zebra
> 
> How to kill process without reboot?
> 

Doesn't radius have a script in /usr/local/etc/rc.d?

If so use that to stop it rather than KILLing it. E.g:

# /usr/local/etc/rc.d/radiusd stop

or something like that.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpdWOgpOyFjB.pgp
Description: PGP signature


Re: FreeBSD 9

2012-01-20 Thread 'Frank Shute'
On Thu, Jan 19, 2012 at 05:31:00PM -0800, Devin Teske wrote:
>
> 
> 
> > -Original Message----- From: 'Frank Shute'
> > [mailto:fr...@shute.org.uk] Sent: Thursday, January 19, 2012 4:52
> > PM To: Devin Teske Cc: 'Chad Perrin';
> > freebsd-questions@freebsd.org; Dave Robison Subject: Re: FreeBSD 9
> > 
> > On Thu, Jan 19, 2012 at 02:36:29PM -0800, Devin Teske wrote:
> > >
> > >
> > >
> > > > >
> > > > > I believe the "difficulty in maintenance" stems primarily
> > > > > from the fact that the existing partition editor MAY have to
> > > > > be entirely rewritten to accommodate other root filesystem
> > > > > types (but even that's not entirely true -- if done right).
> > > > >
> > > > > Other than that, it's most likely just FUD and misperception
> > > > > that sysinstall(8) is either (a) hard to maintain or (b)
> > > > > hard to extend.  -- Devin
> > > >
> > > > To quote the manpage for sysinstall:
> > > >
> > > > BUGS
> > > >
> > > > 
> > > >
> > > >  This utility is a prototype which lasted several years
> > > >  past its expira- tion date and is greatly in need of
> > > >  death.
> > > >
> > > >  There are a (great) number of undocumented variables.
> > > >  UTSL.
> > > >
> > >
> > > Perspective.
> > >
> > > Let's take a look at the commit history for this manual.
> > 
> > Let's not. Let us discuss the merit of what the manpage says.
> > 
> > "There are a (great) number of undocumented variables."
> > 
> > From my reading of postings to this list and stable@,
> 
> yet not -sysinstall@ (?!)

Didn't know it existed until now!

> 
> > it was felt that sysinstall couldn't be extended without a total
> > re-write, that seems to suggest that the manpage is right and is
> > not FUD.
> > 
> 

> I disagree. Just because you document something doesn't make it
> true.
> 
> I've already discussed the fact that the first line you quoted ("in
> need of death") is 15+ years old and we have no way of tracking its
> origin and thus can't extrapolate why on-Earth it was put into a
> "release-quality product" in the first place.
> 
> The second line you quote (which was added 2 years 10 months ago via
> SVN r189754 by grog@) has everything to do with highlighting the
> fact that sysinstall(8) is highly scriptable through a large number
> of under-documented dispatch keywords and nothing to do with the
> "total re-write" issue you're discussing.
> 
> Plus, the keywords are a lot more documented than you think. If a
> dispatch word is not documented, there's probably good cause (a
> great number of the dispatch keywords are meant for internal use
> only and their documentation would merely invite strangeness only
> reserved for people that know what they're doing -- i.e.  they can
> read the code to learn what their function is).
> 
> However, I will concede to the fact that the number of dispatch
> keywords that are documented versus ones that CAN be used is only
> about 33%.
> 
> Here's how I generated that number...
> 
> awk '/VAR_/{sub(/[^"]*"/,"");sub(/"$/,"");print}'
> /usr/src/usr.sbin/sysinstall/sysinstall.h | sh -c 'while read var;do
> zgrep -q "\<$var\>" /usr/share/man/man8/sysinstall.8.gz &&
> varcount=$((${varcount:-0}+1));done;echo $varcount'
> 
> This returns the number of variables -- as-defined-as a dispatch
> keyword in sysinstall.h -- are present in the manual.
> 
> In 9.0-RELEASE, it returns "33" for me.
> 
> In contrast with the number of dispatch keywords, obtainable by:
> 
> awk '/VAR_/{print}' | wc -l
> 
> which returns 105 for me ... minus the "markedly internal keywords"
> which begin with "_"...
> 
> awk '/VAR_/{print}' | grep -vc '"_'
> 
> We see 101 supposedly-usable dispatch keywords which brings us to
> about 33% documentation.
> 
> However, I will re-iterate...
> 
> The first quote you pulled from the man-page was made 15+ years ago,
> the second quote you pulled was from 2+ years ago and the two are
> not related. The first declares some inferred quality about the code
> itself and the second simply states that the variable keywords are
> under-documented. One not-necessarily imply the other or vice-versa.
> -- Devin
> 

Devin, damn you with your logic, sensible arguments &
*statistics*[spit] ;)

You've obviously got more invested in sysinstall than I have. It was
always a thing that I just muddled through to get a minimal system up
& running.

But if you're using the scripting interface then I can see that you
would want something of equivalent functionality in the replacement,
bsdinstall.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgp0xdjiNi6hm.pgp
Description: PGP signature


Re: FreeBSD 9

2012-01-19 Thread &#x27;Frank Shute'
On Thu, Jan 19, 2012 at 02:36:29PM -0800, Devin Teske wrote:
>
> 
> 
> > >
> > > I believe the "difficulty in maintenance" stems primarily from
> > > the fact that the existing partition editor MAY have to be
> > > entirely rewritten to accommodate other root filesystem types
> > > (but even that's not entirely true -- if done right).
> > >
> > > Other than that, it's most likely just FUD and misperception
> > > that sysinstall(8) is either (a) hard to maintain or (b) hard to
> > > extend.  -- Devin
> > 
> > To quote the manpage for sysinstall:
> > 
> > BUGS
> > 
> > 
> > 
> >  This utility is a prototype which lasted several years past
> >  its expira- tion date and is greatly in need of death.
> > 
> >  There are a (great) number of undocumented variables.  UTSL.
> > 
> 
> Perspective.
> 
> Let's take a look at the commit history for this manual.

Let's not. Let us discuss the merit of what the manpage says.

"There are a (great) number of undocumented variables."

From my reading of postings to this list and stable@, it was felt that
sysinstall couldn't be extended without a total re-write, that seems
to suggest that the manpage is right and is not FUD.

> 
> Try as you might, you can't go back far-enough to find when that
> message was even added. However, you can see where the message was
> tweaked slightly by a couple people:
> 
> SVN r49961 by mpp@ addressing PR docs/13148 and docs/13144
> 
>   Prior to-which the message said "3 years past" (s/3/several/)
> 
> SVN r40275 by jkh@ (no PR mentioned)
> 
>   Prior to-which the message said "2 years past" (s/2/3/)
> 
> So, literally for the past 15+ years, the man-page has said
> essentially the same thing "prototype ... in need of death."
> 
> I raise the hypothesis that:
> 
> a. The "prototype ... in need of death" message in the man-page was
> added by the original author, whom...
> 
> b. ...had self-esteem issues on that particular day (hence the
> self-denigrating remark about one's code).
> 
> I further pontificate that once the original author relinquished
> control of sysinstall(8) (whomever that may be -- since commit logs
> don't go back that far) that one of the 2-dozen-plus committers
> should have removed that message to quell evident propagation of FUD
> against sysinstall(8)).
> 
> Afterall, who's to say that sysinstall(8) was still a prototype when
> it was being used for several major releases in production and
> enterprise environments.
> 
> But instead, this entry in the man-page was not removed,
> year-after-year, but instead maintained (with no apparent rhyme or
> reason).
> 
> The situation is the exact opposite of what we're seeing with
> bsdinstall.  sysinstall(8) was added to the tree as a "prototype"
> yet was stable. Now we see bsdinstall added to the tree as a
> NON-prototype yet is NOT-stable or free of show-stoppers!
> 
> 
> > I welcome the new installer. sysinstall was a piece of buggy
> > garbage that gave
> a
> > pretty poor first impression of FreeBSD.
> > 
> 
> I think we have some very different opinions of what "buggy" is.

It didn't do what you asked it to do on occasion. It violated pola
wholesale.

That didn't bother me much. I'd become familiarised with it and could
work round all that to get a minimal system installed but it was a
pretty poor experience for newbies.

> 
> 
> > The new installer will get better with time.
> > 
> 
> The new installer is buggy, and the above maxim is something I'd
> rather not have to deal with when downloading RELEASE software.

I don't doubt that the new installer may be buggy in parts but so was
sysinstall and nobody was tempted to fix it. At least with bsdinstall
people are actively developing it.

> 
> RELEASE software shouldn't be released under the statement "it will
> get better with time". Releasing feature-INcomplete software that is
> known to be broken hurts the FreeBSD impression far more than
> sysinstall ever could/did. I feel your argument is an attempt to
> justify the egregious offense of foisting premature software on the
> community when in-fact it does NOT replicate even a fraction of the
> abilities of sysinstall.
> 
> IMHO.  -- Devin

It's a chicken/egg situation. Eventually you have to release software
that is possibly buggy/feature incomplete or nobody tests it and files
pr's.

Arguments can be had about whether it was released too soon but I'm
not tempted to get into them.

It's odd that sysinstall should get support now, it got bugger all
support when it was alive.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpCzji05GI3y.pgp
Description: PGP signature


Re: FreeBSD 9

2012-01-19 Thread Frank Shute
On Thu, Jan 19, 2012 at 11:22:14AM -0800, Devin Teske wrote:
>
> 
> 
> > 
> > On Thu, Jan 19, 2012 at 11:15:08AM +0100, Eduardo Morras wrote:
> > >
> > > I think that a full/complete update of the old installer to add
> > > it support GEOM, ZFS, scripting and more newer features will
> > > consume more manpower and resources than create a new one from
> > > scratch, where the devs aren't chained by old code, backwards
> > > compatibility, old restrictions and old point of views. This
> > > way, is easier correct bugs, new features, simplify the
> > > installation and even automate it to this new installer than try
> > > to add them to the old one.
> > 
> > I'm curious: Is this just speculation, or have you determined this
> > by reading
> the
> > source of the old installer?  Old code means *tested* code, and
> > when it is
> well-
> > maintained it often means easily extensible code.  Is that the
> > case for the
> old
> > installer, or is the older installer a crufty mess of "temporary"
> > fixes that
> became
> > permanent, as your statements seem to imply?
> > 
> 
> I believe the "difficulty in maintenance" stems primarily from the
> fact that the existing partition editor MAY have to be entirely
> rewritten to accommodate other root filesystem types (but even
> that's not entirely true -- if done right).
> 
> Other than that, it's most likely just FUD and misperception that
> sysinstall(8) is either (a) hard to maintain or (b) hard to extend.
> -- Devin

To quote the manpage for sysinstall:

BUGS



 This utility is a prototype which lasted several years past its expira-
 tion date and is greatly in need of death.

 There are a (great) number of undocumented variables.  UTSL.


I welcome the new installer. sysinstall was a piece of buggy garbage
that gave a pretty poor first impression of FreeBSD.

The new installer will get better with time.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpqyW22oYPpS.pgp
Description: PGP signature


Re: Installing FreeBSD ver. 8.2

2012-01-08 Thread Frank Shute
On Sun, Jan 08, 2012 at 12:32:25AM +0100, Polytropon wrote:
>
> On Sat,  7 Jan 2012 15:05:55 -0800 (PST), leeoliveshackelf...@surewest.net 
> wrote:
> > (1)  Does anyone know how to get FreeBSD to read the
> > motherboard name?  This name, on an xw4400, starts with
> > "HP" followed by a eleven digits, and is given in Windows
> > XP as "Full Computer Name" on the "Computer Name" tab
> > of the "System Properties" window.  Among other purposes,
> > this name is used by Novell network operating system to
> > distinguish hosts on a subnet.
> 
> The OS provides the output of dmesg and maybe the
> output of pciconf -lv, as well as the sysctl value
> dev.acpi.0.%desc which may contain the required
> information. However, I'm sure there is a program
> in the ports collection that can be used to obtain
> that kind of information.
> 
> Try:
> 
>   dmesg | grep "HP"
>   sysctl -a | grep "HP"
>   pciconf -lv | less
> 
> and see if there's such a number mentioned. Maybe
> you can also use acpidump to retrieve that information
> from the ACPI datasets.
> 
> 
> 
> > (2)  I cannot get the "find" command to locate files
> > that I believe were installed at the time of sysinstall. 
> > If I understand the Handbook correctly, when one runs
> > "find" from the "/" directory, it is supposed to inspect
> > all directories and subdirectories of all partitions,
> > which it is not doing.  What concept am I missing here?
> 
> It would be easier to answer if you could provide
> the find command line you've been running. :-)
> 
> See "man find" for more information. Basically,
> "find / -name  -type f" should be sufficient
> to access all partitions currently mounted to search
> for  specified regular files.
> 
> 
> 
> > (3)  I thought that I would obtain a better understanding
> > of the file system by running "man heir."  This command
> > runs fine under "sh."  When I switch to my preferred shell,
> > which is "bash," I type, and receive echo on the screen,
> > "man hei."  As soon as I depress "r," the entire previously
> > entered command echos to the screen, starting where the
> > "r" should have appeared.  In checking the bash manual, it
> > says that this response is correct for "control-r."  I
> > could not find "non-shift-r" to be called out as a command. 
> > Am I doing something wrong?  Is this a hardware bug?  Is
> > this a software bug?  Is there something that needs to be
> > defined or undefined in a configuration file?  
> 
> No, bash's configuration files provided after install
> should be fine.
> 
> However, I think you have a typo. The command you're
> intending to run is "man hier" ("hierarchy"). I've
> tested both csh and bash here, both allow the command
> to be entered without any interruption. When I type
> "man hei" followed by Ctrl+R, I get the following
> output: "(reverse-i-search)`': man hei".
> 
> 
> 
> > (4)  Not having very good luck with the "find" command,
> > I thought I would try to use the "locate" command. 
> > To use this command, one must create a database. 
> > On www.us-webmasters.com, I read that this database
> > could be constructed by running the command
> > "#usr/libexec/locate.updatedb." 
> 
> The required task is usually executed by the system's
> "night job" at 3:00 once a week. The script that will
> be run is /etc/periodic/weekly/310.locate which you
> could run manually. It will deal with the correct
> call of /usr/libexec/locate.updatedb (instead of
> running it as root!).

The thing to run is periodic(8):

# periodic weekly

That will also update other useful stuff.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpBnZ7iYcXM2.pgp
Description: PGP signature


Re: Revision control advice

2011-12-22 Thread Frank Shute
On Wed, Dec 21, 2011 at 08:24:01PM -0700, ss griffon wrote:
>
> On Wed, Dec 21, 2011 at 7:49 PM, Da Rock
>  wrote:
> > On 12/22/11 11:37, Chris Hill wrote:
> >>
> >> Hello list,
> >>
> >> I apologize for this posting being not-much-on-topic, but my other
> >> resources have come to naught and I think you folks may have some 
> >> experience
> >> in this area.
> >>
> >> I'm looking to set up some sort of revision control system at work. Simple
> >> enough, except that our situation is approximately the reverse of what most
> >> revision control systems are designed for.
> >>
> >> Unlike, e.g., FreeBSD kernel development, we have dozens or hundreds of
> >> small, rapid-fire projects that are created at the rate of 3 to 20 per
> >> month. They last a few days or a few months and are (usually) not developed
> >> afterward. Each project has one to three developers working on it, 
> >> sometimes
> >> simultaneously. Usually it's one guy per project.
> >>
> >> Since my programmers are not necessarily UNIX-savvy, I'd like to deploy a
> >> web interface for them which will allow them to create new repositories
> >> (projects) as well as the normal checkin, checkout, etc. I want to set this
> >> up once, and from there on have the programmers deal with managing their 
> >> own
> >> repos. And heaven forfend exposing them to the horrors of the shell.
> >>
> >> I've built a test server (9.0-RC3, amd64) for experimenting with this
> >> stuff. So far I've installed and played with:
> >>  - fossil. I like the simplicity and light weight, but it doesn't seem to
> >> allow creation of new repos at all (let alone multiple ones) from the web
> >> interface, and the documentation is meager. I've pretty much given up on 
> >> it.
> >>  - subversion, which looks like the heavy hitter of RCSs, but it's not at
> >> all clear to me how to handle the multiple-project scenario. Still working
> >> on it.
> >>  - git looks promising, but I have not installed it yet.
> >>
> >> If anyone can point me to a tool that might be suitable, I would be most
> >> grateful.
> >
> > I'd suggest subversion. It allows individual files to be versioned, you can
> > setup a webdav interface, and there are other tools that can help maintain
> > it.
> >
> > Forget the individual repositories. Setup a single repository and have
> > directories for each project. in each directory you can then setup trunk,
> > branches, whatever, as per best practices in the Book.
> >
> > Designate a person or two to administer, and use directory level auth, or
> > another alternative I haven't thought of.
> >
> > My 2c's anyway. HTH
> >
> 
> Yeah I would second what Mr Rock says.  Set up a single repo where
> folders can be used for projects.  Since svn lets you checkout sub
> folders of a repo, each developer can check out the folder that
> corresponds to their project.  Also, Tortoise svn is a very nice
> graphical utility that will allow your developers to manage there svn
> folders without even needing a web interface (most non unix people
> that I know like tortoise), so there is less maintenance for you :)
> Finally, kudos to moving towards using version control, its an
> important step for a software company.

I'll 3rd the choice of Subversion. It's quite easy to setup and use.

There's also the book online:

http://svnbook.red-bean.com/en/1.7/index.html

for you to read at your pleasure and which you can also point your users to.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpMEnRYeumWx.pgp
Description: PGP signature


Re: Installing free bsd

2011-12-12 Thread Frank Shute
On Mon, Dec 12, 2011 at 06:05:29PM -0500, Jerry McAllister wrote:
>
> First of all, always include the list in a response to something
> from the list.   Other people will be reading and may well know
> more than me or any other person who responds.   eg, don't just 
> send the follow-on question back to the one responding.  Send it
> to the list.
> 
> 
> On Mon, Dec 12, 2011 at 04:26:06PM -0600, Daniel Lewis wrote:
> 
> > do direct ftp to disk? And what do you mean by fixate?
> 
> No.  You ftp the file down to the local machine and then use a CD burning 
> utility to burn file to the CD.   On FreeBSD there is one called 'burncd'.
> I am not familiar with the ones on a MS system, but there are several
> available.   Maybe someone else will suggest one or there is probably
> some information in the handbook.
> 
> Fixate is something that finishes writing a terminal record on
> the CD image or something like that.  I don't really know in
> detail.   I think some burner utilities do it automatically with
> no choice.   The burncd utility needs to have you specify it.
> 
> jerry
> 
> 
> > 
> > On 12/12/11, Jerry McAllister  wrote:
> > > On Mon, Dec 12, 2011 at 02:36:04PM -0600, Daniel Lewis wrote:
> > >
> > >> Im new to FreeBSD and did a FTP of 8.2 and unzipped to a cd rom. It
> > >> was an ISO Version. I then FTP the CDROM BOOT file and un zipped it.
> > >> Unfortunately It wont auto start when i put disk in computer startup.
> > >> Need support.. Is the windows format on disk causing problems?
> > >
> > > Well, the .iso files you get from the FreeBSD distribution are ISO
> > > image files that need to be burned directly to a disk.  There is no
> > > other processing or formatting that may be done.
> > >
> > > I do not know what you mean by 'unzipped to a cd rom'.  I have never
> > > done anything that sounded like that.
> > >
> > > You should just download the .iso file and burn in to a fresh cd
> > > and fixate it.  Then boot it.
> > >
> > > jerry
> > >

I've used Nero in the past on a Windows system to burn an ISO. You can
download it (probably timebombed) from http://www.tucows.com/ I think.

Instructions on burning and fixating are here:

http://iso.snoekonline.com/iso.htm


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpbWsoagepsp.pgp
Description: PGP signature


Re: 9.0 install and journaling

2011-12-10 Thread Frank Shute
On Sat, Dec 10, 2011 at 07:51:50PM +1000, R Skinner wrote:
>
> I bit the bullet and installed the rc3, after spending half the day 
> fighting to get atheros 9285 working on a new laptop. I have to do 
> another as well, so...
> 
> After recovering myself from the shock of the new bsdinstall (not bad. A 
> little confusing after using sysinstall for so long), I installed the 
> system with 1 (thats right One! Ah ha ha) partition - yet another shock 
> to figure through. What I'm staggered about is I was using fdisk to 
> setup journaling on the usr and var partitions.
> 
> So I went to the handbook. I'm still a little confused though: can one 
> still setup the usr and var (and so forth)? It said you possibly could, 
> but it escaped me as to how. And before I do- I looked up journaling on 
> 9. I couldn't quite get to the bottom of whether it is or isn't 
> available/standard, or how to determine its happening. I'm only 
> interested because of unexpected shutdowns/battery dead on the laptop- I 
> also have 500G which is a while to wait for fsck. Speed I'd like, but I 
> have to consider system integrity first.
> 
> Little light, please?
> 
> Cheers

I'm unfamiliar with the new bsdinstaller but AFAIK it sets up a UFS2
filesystem for you.

This comes with background fsck and softupdates which achieve the
objective of not having to wait for a lengthy foreground fsck if you
don't shutdown your laptop cleanly.

As for filesystem integrity, I've occasionally not shutdown properly
and the system has subsequently come up quickly again with the
background fsck doing it's stuff.

I don't remember anybody posting to this list saying: "Help! I didn't
shutdown my machine properly and now my filesystem is toast."

At the worst you may have to run a foreground fsck.

You can set up a proper journal:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-gjournal.html

but to be honest, I wouldn't bother in your position: it's just more
stuff to go wrong for no appreciable gain to you.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgp5taXd3fBLr.pgp
Description: PGP signature


Re: where to ask about problems with bsdinstall in 9.0RC2?

2011-11-22 Thread Frank Shute
On Tue, Nov 22, 2011 at 01:56:23PM -0500, William Bulley wrote:
>
> According to Frank Shute  on Tue, 11/22/11 at 13:36:
> > 
> > Can't help you with your bsdinstall woes but to upgrade from
> > 8.2-STABLE to 9.0-RELEASE(currently RC2) branch you want to do a
> > csup(1)/buildworld cycle.
> > 
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
> > 
> > You should use the tag:
> > 
> > *default release=cvs tag=RELENG_9_0
> > 
> > in your supfile. More details at:
> > 
> > http://www.shute.org.uk/misc/freebsd_uptodate.html
> 
> Thanks.  :)
> 
> Perhaps you came into this thread late, but that was my first attempt.
> But at that time, a few weeks ago, we were still at 9.0RC1 and my then
> buildworld/installworld attempt failed during the kernel compile step.

Sorry, William. I deleted the rest of the thread & then forgot what the
thread was originally about :) Put it down to senility.

> 
> Now that 9.0RC2 is available, I reckon it is worth a try dealing with
> the csup/buildworld/installworld process.  I hope this works this time.

Best of luck!

> 
> Regards,
> 
> web...
> 

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpI2PrYrew9j.pgp
Description: PGP signature


Re: where to ask about problems with bsdinstall in 9.0RC2?

2011-11-22 Thread Frank Shute
On Tue, Nov 22, 2011 at 11:40:45AM -0500, William Bulley wrote:
>
> According to Ian Smith  on Sat, 11/19/11 at 13:29:
> > 
> > Unfortunately that concentrates on creating a GPT layout, encouraging a 
> > Linux-like single (plus a boot) partition - forget using dump/restore -
> > and says nothing much about installing over an existing setup with MBR 
> > partitioning and multiple slices, a not uncommon setup on many existing 
> > laptops .. eg here I want to install over a previous 7.2-RELEASE 60GB 
> > slice partitioned as I want it - 1GB /, 4GB /var, 16GB /usr and ~37GB 
> > /home.  Further, I want to preserve /home as is, despite having backups.
> > 
> > sysinstall's partitioning is more sophisticated; you get to specifically 
> > toggle on or off newfs'ing each partition, as well as specifying newfs 
> > options if you want.  So it's clear whether you'll be newfs'ing / and 
> > which other partitions, and which you'll be leaving alone, eg /home.
> > 
> > On BETA1 I recorded "Extract Error while extracting base.txz: can't set 
> > user=0/group=0 for /var/empty Can't update time for /var/empty .." which 
> > someone/s else also reported, which turned out to be misleading .. the 
> > basic problem is that the filesystem isn't empty, ie as after newfs.
> 
> I hate to be a pest about this, but bsdinstall just isn't working for me.
> I grabbed the 9.0RC2 bootonly ISO for i386 and tried again to load this
> onto this Dell laptop.  This time the *.txz files had to be gotten over
> the network which took longer that with the DVD1 ISO.   :-(
> 
> The files were fetched, and checked/verified, then the actual installation
> (extraction) began.  Unfortunately, I got the same error pop-up message.
> This time I have the exact text of that error message:
> 
>"Error while extracting base.txz: Can't
> set user=0/group=0 for var/emptyCan't
> update time for var/empty"
> 
> Note the missing space or CR before the second "Can't"
> 
> What confused me at first was the missing slash ("/") character before the
> two "var" pathnames.  But I now understand that is because I am updating
> (not installing) from a previously working (was 8.2-STABLE in this case)
> system where the four partitions (root, swap, /var, and /usr) are present
> and full of FreeBSD files, etc.
> 
> If this is a "feature" of bsdinstall, then it should be mentioned in the
> documentation somewhere.  I used the "Manual" configuration method where
> I was asked to name the mount points for root, /var and /usr.  My question
> is this: "if bsdinstall can't handle installing over top of an already
> existing system on disk, then why ask the user for mount points on those
> already existing partitions?"  This seems weird to me.
> 
> So now I am back to square one.  I want to load 9.0RC2 onto this laptop
> for reasons that aren't relevant to this thread, yet I am unable to do
> so because as of 9.0 sysinstall has been replaced by bsdinstall.  
> 
> For the record, how do I upgrade to 9.0RC2 (or any 9.0 variant) from a
> system already running 8.2-STABLE?  Had this attempt been using the
> sysinstall method, I would have long since been up and running FreeBSD
> 9.x on this laptop.  Please advise.  Thanks in advance.

Can't help you with your bsdinstall woes but to upgrade from
8.2-STABLE to 9.0-RELEASE(currently RC2) branch you want to do a
csup(1)/buildworld cycle.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

You should use the tag:

*default release=cvs tag=RELENG_9_0

in your supfile. More details at:

http://www.shute.org.uk/misc/freebsd_uptodate.html


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgp3KZkWZ1lTi.pgp
Description: PGP signature


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-13 Thread Frank Shute
On Fri, Nov 11, 2011 at 10:51:29AM +, Traiano Welcome wrote:
>
> >Another question worth asking: how much memory/swap does the machine
> >have? If FreeBSD runs short of memory, it will start killing
> >processes.
>
> Hi Frank
> 
>  As follows:
> 
>  Mem: 96M Active, 286M Inact, 224M Wired, 213M Buf, 1368M Free
>  Swap: 4094M Total, 4094M Free
> 
> Note that this is FreeBSD system is installed in a Vmware VM. No swap
> partition is configured as I expected the system to run entirely with RAM
> as managed by the Vmware hypervisor and resource management technology.
> Note that this machine is currently doing nothing else other than my
> attempts at make buildworld.
> 

Hi Traiano,


That looks OK.

The only other thing I can think of is testing your memory with
sysutils/memtest.

It's unusual for it to die with SIGKILL though. Still it's worth
ruling it out.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpRosaJTqn93.pgp
Description: PGP signature


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-10 Thread Frank Shute
On Thu, Nov 10, 2011 at 10:05:27AM +, Traiano Welcome wrote:
>
[snip]
> 
> cc -O2 -pipe -DIN_GCC -DHAVE_CONFIG_H
> -DPREFIX=\"/usr/obj/usr/src/tmp/usr\"
> -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
> -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
>  -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
>   -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c
> cc: Internal error: Killed: 9 (program cc1)
> Please submit a full bug report.
> See http://gcc.gnu.org/bugs.html> for instructions.
> *** Error code 1
> 
> Stop in /usr/src/gnu/usr.bin/cc/cc_int.
> *** Error code 1
> 
> Stop in /usr/src/gnu/usr.bin/cc.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> ---
> 

Another question worth asking: how much memory/swap does the machine
have? If FreeBSD runs short of memory, it will start killing
processes.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpJifom8hqvp.pgp
Description: PGP signature


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-10 Thread Frank Shute
On Thu, Nov 10, 2011 at 10:05:27AM +, Traiano Welcome wrote:
>
> Hi All
> 
>  I'm trying to upgrade from FreeBSD 8.0-RELEASE #0 to FreeBSD 8.2 or
> better. My upgrade sequence would be as follows:
> 
>  0. cd /usr/src/;make cleanworld (and in extreme cases rm -rf /usr/src/*
> and rm -rf /usr/obj)
>  1. csup -L 2 stable supfile.
>  2. cd /usr/src; make buildworld && make buildkernel && make installkernel
> && make installworld && reboot
>  3. mergemaster -p && make installworld && mergemaster && reboot
> 
> 
> My stable-supfile is as follows:
> 
> ---
>  *default host=cvsup2.za.freebsd.org
>  *default base=/var/db
>  *default prefix=/usr
>  *default release=cvs tag=RELENG_8_2
>  *default delete use-rel-suffix
>  src-all
> ---
> 
> 
>  However, I'm not getting past "make buildworld". Below is the tail end of
> my make buildworld:
> 
> ---
> .
> .
> .
> 
> cc -O2 -pipe -DIN_GCC -DHAVE_CONFIG_H
> -DPREFIX=\"/usr/obj/usr/src/tmp/usr\"
> -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
> -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
>  -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
>   -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c
> cc: Internal error: Killed: 9 (program cc1)
> Please submit a full bug report.
> See http://gcc.gnu.org/bugs.html> for instructions.
> *** Error code 1
> 
> Stop in /usr/src/gnu/usr.bin/cc/cc_int.
> *** Error code 1
> 
> Stop in /usr/src/gnu/usr.bin/cc.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> ---
> 
> 
> My questions are:
> 
> - Is this a known issue (can't  seem to find much on google) ?
> - If not, how would I go about pinpointing the root cause of this compile
> error. Upping the make debug level doesn't seem to get my any more
> detailed information that I can use .
> 
> I've run csup multiple times (with multiple make clean;make
> cleanworld;make cleandir in between) across 48 hours , but each update  to
> my source tree doesn't seem to get any different result.
> 
> I've also tried upgrading my userland tools before doing the upgrade
> (portupgrade -a) in the hope that the my compiler tools might have been
> updated to fix this.
> 
> 
> Any advice would be appreciated,
> Traiano

Can you supply us with:

$ uname -a
$ cc -v
$ cat /etc/make.conf


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpvMQHm2oAGP.pgp
Description: PGP signature


Re: painful binary upgrade from 8.1 to 8.2

2011-11-06 Thread Frank Shute
On Sun, Nov 06, 2011 at 11:54:27AM -0800, Randal L. Schwartz wrote:
>
> > "Mark" == Mark Felder  writes:
> 
> Mark> Does freebsd-update follow /etc/mergemaster.rc?
> 
> No, apparently it just calls classic "merge", which doesn't have any
> kind of "ignore CVS tags".  No wonder it's painful.
> 
> But surely, I'm not the only one using freebsd-update.  Does everyone
> else put up with this, or is there some additional tool I'm missing?
> 

I had the exact same problem when going from 7.3 to 7.4

The result: I don't use freebsd-update any longer and update the
traditional way from source.

AFAIK, I followed the instructions to the letter.

I would be interested to see if there is a workaround, otherwise it
seems that freebsd-update is the long way of updating; assuming
you've got the "ignore CVS tags" flag enabled in mergemaster.rc


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpXpCJhNGo0U.pgp
Description: PGP signature


Re: Fast personal printing _without_ CUPS

2011-10-30 Thread Frank Shute
On Sat, Oct 29, 2011 at 07:28:24AM -0400, Jerry wrote:
>
> You cannot even get a decent "N - protocol" wireless device, or even
> a not so decent one for that matter, to work on FreeBSD while the
> rest of the world has had working solutions for 5 years. What the
> hell are they waiting for -- the second coming of the invisible man
> in the sky? Friggin PATHETIC. 

IEEE 802.11n-2009 was only published 2 years ago.

http://en.wikipedia.org/wiki/IEEE_802.11n-2009#Timeline

Can we have enough of you whining about no "n"? Thanks.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpWGa1H3T9hm.pgp
Description: PGP signature


Re: nice man pages?

2011-10-25 Thread Frank Shute
On Tue, Oct 25, 2011 at 11:34:18PM -0600, Warren Block wrote:
>
> On Tue, 25 Oct 2011, Adam Vande More wrote:
> 
> >On Tue, Oct 25, 2011 at 8:20 PM, Patrick Lamaiziere
> >wrote:
> >
> >>Hello,
> >>
> >>I use sysutils/most to have nice manual pages in color, that's cool but
> >>is there a way to do this with the base system (ie without adding port)?
> >>
> >>
> >https://wiki.archlinux.org/index.php/Man_Page
> 
> A) printf on FreeBSD doesn't do \e, so use \033 instead.
> 
> B) My eyes!

Agree on B!

You can change the colours of course.

http://www.understudy.net/custom.html#table2

shows the colour codes.

I changed mine to this:

man() {
env \
LESS_TERMCAP_mb=$(printf "\033[1;34m") \
LESS_TERMCAP_md=$(printf "\033[1;34m") \
LESS_TERMCAP_me=$(printf "\033[0m") \
LESS_TERMCAP_se=$(printf "\033[0m") \
LESS_TERMCAP_so=$(printf "\033[1;44;33m") \
LESS_TERMCAP_ue=$(printf "\033[0m") \
LESS_TERMCAP_us=$(printf "\033[0;35m") \
man "$@"
}

in ~/.kshrc


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpbCwesTnBsp.pgp
Description: PGP signature


Re: BSD_10_2011.pdf - typical problem

2011-10-25 Thread Frank Shute
On Tue, Oct 25, 2011 at 06:16:04PM -0400, Chuck Bacon wrote:
>
> I often receive PDFs which die with gv.  I have just downloaded the 
> current copy of BSD_10_2011.pdf, with stats:
> MD5 (BSD_10_2011.pdf) = 69c8b0be7c59870eb41e09b46fa568ba
> -just so's you know.
> This one causes gv to respond with:
> Error: /syntaxerror in readxrefGNU Ghostscript 7.07: Unrecoverable 
> error, exit code .. etc.
> Some PDFs come through OK, but about half fail, often with different 
> errors.  I'm running:
> FreeBSD tomato.local 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 
> 27 18:45:57 UTC 
> 2011  r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC 
> amd64
> on an ASUS MB and AMD64 4x CPU.  Any ideas?
> As a retired sysadmin from the 1950s, I'm over my head but can't let go 
> :-)
> So I need help sometimes :-(
>Many thanks - Chuck Bacon 

Not sure why you're using gv. Try graphics/xpdf.

Use xpdf to view the pdf and pdftops to convert it to postscript for
printing.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgphwlIVneKVb.pgp
Description: PGP signature


Re: trying to learn systems programming, fear I have not understood and thus messed up

2011-10-22 Thread Frank Shute
On Fri, Oct 21, 2011 at 06:53:33PM +0200, Christopher J. Ruwe wrote:
>
> To improve on my C and to learn something about systems programming, I
> have begun to pick out "bite-size bits" from the bin-PRs. Currently, I
> am dispairing about bin/149972, which is about 1) adding error handling
> to pw being invoced "pw -u " and 2) trying to get a uid from
> the (incorrectly) passed username. Currently, I cannot accomplish want
> I wanted to do, so I turn here for hints or help.
> 

[snip]

Christopher, you're probably best off posting to hackers@ for
programming problems pertaining to FreeBSD.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpMvw7dgrm0F.pgp
Description: PGP signature


Re: Can't access a music CD

2011-10-10 Thread Frank Shute
On Mon, Oct 10, 2011 at 04:47:40AM -0500, Michael D. Norwick wrote:
>
> On 10/10/11 01:37, Frank Shute wrote:
> >On Sun, Oct 09, 2011 at 08:33:01PM -0500, Michael D. Norwick wrote:
> >>Good Day;
> >>
> >>Since installing FreeBSD 9-beta2 (now 9-beta3) I have not been able to
> >>play a music cd with the dvd writer on this laptop.  It is a Dell
> >>Latitude D630.  I have built several new worlds and kernels with the
> >>following devices enabled in the kernel config.;
> >>
> >>devicescbus# SCSI bus (required for ATA/SCSI)
> >>devicech# SCSI media changers
> >>deviceatapicam
> >>deviceda# Direct Access (disks)
> >>devicesa# Sequential Access (tape etc)
> >>devicecd# CD
> >>devicepass# Passthrough device (direct ATA/SCSI access)
> >>deviceses# SCSI Environmental Services (and SAF-TE)
> >>
> >>$uname -a
> >>
> >>FreeBSD ..net 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Oct  8
> >>19:48:29 CDT 2011
> >>michael@..net:/usr/obj/usr/src/sys/KERNEL_100811  amd64
> >>
> >>This kernel was built after a recent csup and portsnap fetch.  The
> >>buildworld and buildkernel steps have executed several times without
> >>error.  A recent portupgrade only updated a couple of applications.
> >>
> >>dmesg says this;
> >>
> >>cd0 at ata0 bus 0 scbus1 target 0 lun 0
> >>cd0:  Removable CD-ROM SCSI-0 device
> >>cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
> >>cd0: Attempt to query device size failed: NOT READY, Medium not present
> >>- tray closed
> >>
> >>and /boot/loader.conf says this;
> >>
> >>linux_load="YES"
> >>atapicam_load="YES"
> >>
> >>With a music CD in the drive /var/log/messages says this;
> >>
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): READ(10). CDB: 28 0
> >>0 0 0 0 0 0 40 0
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI
> >>Status Error
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check
> >>Condition
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL
> >>REQUEST asc:64,0 (Illegal mode for this track)
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error
> >>0x6 back
> >>
> >>and /etc/devfs.conf says this;
> >>
> >># Commonly used by many ports
> >>#link   acd0cdrom
> >>linkcd0 cdrom
> >>own cd0 root:wheel
> >>permcd0 0660
> >>
> >>I think I might be missing something in /etc/devfs.conf.  man devfs.conf
> >>or the handbook did not get me any closer to a solution.
> >>
> >>It worked under 8.2 on this machine.
> >>
> >>Thank You for the help.
> >>
> >What does:
> >
> >$ ls -l /dev | grep cd
> >
> >give you?
> >
> >I assume you're a member of wheel.
> >
> >Give cdcontrol(1) a go if the above looks ok.
> >
> >Make sure your volume isn't turned right down! (mixer(1))
> >
> >Have you checked out that your sound card is configured ok?
> >
> >$ cat /dev/sndstat
> >
> >
> >Regards,
> >
> $ ls -l /dev | grep cd
> crw-rw-rw-  1 root  wheel   0, 119 Oct 10 04:29 cd0
> lrwxr-xr-x  1 root  wheel3 Oct 10 04:29 cdrom -> cd0
> 
> $ cdcontrol status
> Audio status = 21, current track = 1, current position = 0:00.09
> Media catalog is active, number "0826663409727\000\013"
> Left volume = 216, right volume = 216
> $ cdcontrol reset
> cdcontrol: Inappropriate ioctl for device
> $ cdcontrol play
> $ cdcontrol status
> Audio status = 17, current track = 1, current position = 1:05.18
> No media catalog info available
> Left volume = 216, right volume = 216

This looks like it's playing. Is the CD/DVD drive active?

> 
> $ tail /var/log/messages
> Oct 10 04:30:50 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error 
> 0x6 back
> Oct 10 04:30:55 bucksnort dbus[1953]: [system] Activated service 
> 'org.freedesktop.SystemToolsBackends.SMBConfig' failed: Launch helper 
> exited with unknown return code 255
> Oct 10 04:30:55 bucksnort dbus[1953]: [system] Activated service 
> 'org.freedesktop.SystemToolsBackends.NFSConfig' failed: Launch helper 
> exited with unknown return code 255
> Oct 

Re: Can't access a music CD

2011-10-09 Thread Frank Shute
On Sun, Oct 09, 2011 at 08:33:01PM -0500, Michael D. Norwick wrote:
>
> Good Day;
> 
> Since installing FreeBSD 9-beta2 (now 9-beta3) I have not been able to 
> play a music cd with the dvd writer on this laptop.  It is a Dell 
> Latitude D630.  I have built several new worlds and kernels with the 
> following devices enabled in the kernel config.;
> 
> devicescbus# SCSI bus (required for ATA/SCSI)
> devicech# SCSI media changers
> deviceatapicam
> deviceda# Direct Access (disks)
> devicesa# Sequential Access (tape etc)
> devicecd# CD
> devicepass# Passthrough device (direct ATA/SCSI access)
> deviceses# SCSI Environmental Services (and SAF-TE)
> 
> $uname -a
> 
> FreeBSD ..net 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Oct  8 
> 19:48:29 CDT 2011 
> michael@..net:/usr/obj/usr/src/sys/KERNEL_100811  amd64
> 
> This kernel was built after a recent csup and portsnap fetch.  The 
> buildworld and buildkernel steps have executed several times without 
> error.  A recent portupgrade only updated a couple of applications.
> 
> dmesg says this;
> 
> cd0 at ata0 bus 0 scbus1 target 0 lun 0
> cd0:  Removable CD-ROM SCSI-0 device
> cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
> cd0: Attempt to query device size failed: NOT READY, Medium not present 
> - tray closed
> 
> and /boot/loader.conf says this;
> 
> linux_load="YES"
> atapicam_load="YES"
> 
> With a music CD in the drive /var/log/messages says this;
> 
> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): READ(10). CDB: 28 0 
> 0 0 0 0 0 0 40 0
> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI 
> Status Error
> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check 
> Condition
> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL 
> REQUEST asc:64,0 (Illegal mode for this track)
> Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error 
> 0x6 back
> 
> and /etc/devfs.conf says this;
> 
> # Commonly used by many ports
> #link   acd0cdrom
> linkcd0 cdrom
> own cd0 root:wheel
> permcd0 0660
> 
> I think I might be missing something in /etc/devfs.conf.  man devfs.conf 
> or the handbook did not get me any closer to a solution.
> 
> It worked under 8.2 on this machine.
> 
> Thank You for the help.
> 

What does:

$ ls -l /dev | grep cd

give you?

I assume you're a member of wheel.

Give cdcontrol(1) a go if the above looks ok.

Make sure your volume isn't turned right down! (mixer(1))

Have you checked out that your sound card is configured ok?

$ cat /dev/sndstat


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpRKSrdVB1e0.pgp
Description: PGP signature


Re: Failing to build multimedia/gstreamer-ffmpeg

2011-10-05 Thread Frank Shute
On Wed, Oct 05, 2011 at 03:35:58PM -1000, Open Slate wrote:
>
> Failing to build multimedia/gstreamer-ffmpeg
> 
> --->  Upgrading 'gstreamer-ffmpeg-0.10.11_1' to 'gstreamer-ffmpeg-0.10.12'
> (multimedia/gstreamer-ffmpeg)
> --->  Building '/usr/ports/multimedia/gstreamer-ffmpeg'
> ===>  Cleaning for gstreamer-ffmpeg-0.10.12
> gstreamer-ffmpeg-0.10.12: Makefile error: you cannot include
> bsd.port[.pre].mk twice
> *** Error code 1
> 
> Stop in /usr/ports/multimedia/gstreamer-ffmpeg.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20111005-1444-s8mm5a-0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=gstreamer-ffmpeg-0.10.11_1 UPGRADE_PORT_VER=0.10.11_1 make
> ** Fix the problem and try again.
> 
> Full Makefile below. Near the end I see
> 
> .include 
> 
> followed closely by
> 
> .include 
> 
> Perhaps one of these was supposed to be excluded via a conditional? I tried
> commenting each one out but neither form builds successfully. The date on
> the makefile header is not new but the port was recently updated.
> 
> 
> # uname -a
> FreeBSD myhostname 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27
> 18:07:27 UTC 2011
> r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
>  i386
> 
> The Makefile in multimedia/gstreamer-ffmpeg:
> 
> # New ports collection makefile for: gstreamer ffmpeg
> # Date created: Thu Feb 26 20:10:39 CET 2004
> # Whom: Koop Mast 
> #
> # $FreeBSD: ports/multimedia/gstreamer-ffmpeg/Makefile,v 1.43 2011/10/05
> 23:05:41 bapt Exp $
> #$MCom: ports/multimedia/gstreamer-ffmpeg/Makefile,v 1.14 2006/07/20
> 13:40:27 ahze Exp $
> #
> 
> PORTNAME= gstreamer
> PORTVERSION= 0.10.12
> CATEGORIES= multimedia
> MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-ffmpeg/
> PKGNAMESUFFIX= -ffmpeg
> DISTNAME= gst-ffmpeg-${PORTVERSION}
> 
> MAINTAINER= multime...@freebsd.org
> COMMENT= GStreamer plug-in for manipulating MPEG video streams
> 
> LICENSE= GPLv2
> 
> BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm
> LIB_DEPENDS= orc-0.4.0:${PORTSDIR}/devel/orc
> 
> USE_BZIP2= yes
> USE_GMAKE= yes
> USE_LDCONFIG= yes
> USE_GSTREAMER= yes
> GNU_CONFIGURE= yes
> FFMPEG_CONFIG= --cc=${CC} \
> --enable-runtime-cpudetect \
> --enable-pic
> LDFLAGS+= -Wl,-Bsymbolic
> CFLAGS+= -fno-force-addr
> CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG}
> 
> PLIST_SUB= VERSION="${GST_VERSION}"
> 
> PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
> GST_VERSION=${PORTVERSION:C/..$//}
> 
> # sse hardware vector support
> .if defined(MACHINE_CPU) && (${MACHINE_CPU:Msse} == "sse" ||
> ${MACHINE_CPU:Mamd64} == "amd64")
> WITH_BUILTIN_VECTOR= yes
> .else
> FFMPEG_CONFIG+= --disable-sse
> .endif
> 
> # mmx support
> .if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} == "" &&
> ${MACHINE_CPU:Mamd64} == ""
> FFMPEG_CONFIG+= --disable-mmx
> WITHOUT_BUILTIN_VECTOR= yes
> .endif
> 
> # builtin vector, requires mmx and sse
> .if !defined(WITHOUT_BUILTIN_VECTOR) && defined(WITH_BUILTIN_VECTOR)
> CFLAGS+= -msse
> .endif
> 
> CONFIGURE_ARGS+= --with-ffmpeg-extra-configure="${FFMPEG_CONFIG}"
> 
> .include 
> 
> .if ${OSVERSION} < 900033
> 
> BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
> MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin
> 
> .endif
> 
> .include 

See:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/161316

It looks like it's been fixed, so csup/portsnap your ports tree
and try to build it again.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpsmT1Xdpaav.pgp
Description: PGP signature


Re: Timeline for 9.0-RELEASE?

2011-10-05 Thread Frank Shute
On Tue, Oct 04, 2011 at 04:23:22PM -0600, Brett Glass wrote:
>
> Just looked at the project Web site, and the timeline for 
> 9.0-RELEASE is way, way out of date. If all goes well, when is 9.0 
> expected to be released? What remains to be done?
> 

There might be another BETA or it could go in to the release
candidates (RC). Usually a couple of those. Then the RELEASE; my
guess: December.

That's assuming no horrible bugs are run into and as I say, it's just
a guess as nobody really knows.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpekhoaujcYX.pgp
Description: PGP signature


Re: top: how to obtain which process take CPU time

2011-10-01 Thread Frank Shute
On Sat, Oct 01, 2011 at 08:38:49PM +0300, ??? ??? wrote:
>
> hi, Freebsd-questions.
> 
> last pid: 92665;  load averages:  2.40,  2.68,  4.75up 5+02:45:23  
> 20:29:07
> 218 processes: 3 running, 215 sleeping
> CPU: 59.6% user,  0.0% nice, 40.4% system,  0.0% interrupt,  0.0% idle
> Mem: 225M Active, 81M Inact, 115M Wired, 3936K Cache, 60M Buf, 64M Free
> Swap: 2048M Total, 190M Used, 1857M Free, 9% Inuse
> 
>   PID USERNAMETHR PRI NICE   SIZERES STATETIME   WCPU COMMAND
> 92520 cacti 1  -80 22796K 12656K piperd   0:00  1.46% php
> 92593 cacti 1  -80  4620K  2316K piperd   0:00  1.46% perl5.8.8
> 92594 cacti 1   80  3460K  1120K wait 0:00  1.46% sh
> 92592 cacti 1   80  3460K  1120K wait 0:00  1.46% sh
> 92595 cacti 1  550  5448K  2692K select   0:00  1.37% snmpget
> 92518 cacti 1   80 23820K 12896K nanslp   0:00  0.98% php
> 92528 cacti 1  -80 22796K 12640K piperd   0:00  0.98% php
> 92555 cacti 1  -80  4620K  2332K piperd   0:00  0.98% perl5.8.8
> 92556 root  1  960  3280K  1292K select   0:00  0.98% sudo
> 92554 cacti 1   80  3460K  1120K wait 0:00  0.98% sh
> 92542 cacti 1   80  3460K  1128K wait 0:00  0.98% sh
> 92543 cacti 1  -80 10200K  3664K piperd   0:00  0.78% rrdtool
> 81166 firebird  1  450 23344K  6188K select   0:08  0.49% 
> fb_inet_serve

That looks to me like quite a weak system and has got 3 running
processes and 215 sleeping. I can easily see that 59.6% of your CPU is
being used and your load averages being as they are.

> 
> top -SIHP
> last pid: 99336;  load averages:  1.47,  2.05,  3.66up 5+02:52:06  
> 20:35:50
> 291 processes: 6 running, 266 sleeping, 18 waiting, 1 lock
> CPU: 52.2% user,  0.0% nice, 27.9% system,  0.0% interrupt, 19.9% idle
> Mem: 236M Active, 81M Inact, 115M Wired, 3436K Cache, 60M Buf, 54M Free
> Swap: 2048M Total, 189M Used, 1858M Free, 9% Inuse
> 
>   PID USERNAME   PRI NICE   SIZERES STATETIME   WCPU COMMAND
>11 root   171 ki31 0K 8K RUN 70.1H 27.59% idle: cpu0
> 98502 cacti80 23820K 12932K nanslp   0:00  0.20% php
> 44054 root 80  3124K   524K nanslp   0:56  0.10% monitord
> 99051 root440  3496K  2020K RUN  0:00  0.10% top
> 99331 cacti   -80  4620K  2332K piperd   0:00  0.00% perl5.8.8
> 99326 cacti   -80  4620K  2332K piperd   0:00  0.00% perl5.8.8
> 99333 root460  3240K  1008K select   0:00  0.00% ping
> 99328 root450  3240K   972K select   0:00  0.00% ping
> 99332 root470  3280K  1292K select   0:00  0.00% sudo
> 99327 root470  3280K  1292K select   0:00  0.00% sudo
> 
> It is unclear which process take CPU time.
> is there any other tool, which help me to see processes that take CPU?
> 

I don't think another tool would help. You've just got a weak system
running lots of processes. None very big but they all add up to quite
a big chunk of CPU. It looks like it's handling it OK though.



Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpQUESt9mjgI.pgp
Description: PGP signature


Re: much to my surprise....

2011-09-22 Thread Frank Shute
On Thu, Sep 22, 2011 at 04:28:50PM -0500, Ryan Coleman wrote:
>
> 
> On Sep 22, 2011, at 3:14 PM, Robert Bonomi wrote:
> 
> >> From owner-freebsd-questi...@freebsd.org  Thu Sep 22 14:30:49
> >> 2011 Date: Thu, 22 Sep 2011 12:30:54 -0700 From: Gary Kline
> >>  To: FreeBSD Mailing List
> >>  Cc: Subject: much to my
> >> surprise
> >> 
> >> 
> >> guys,
> >> 
> >> well, after a forced, unexpected, and emergency 5 days away, i
> >> got back to my desk and could not ping.  while mail seemed to be
> >> working, and my *local* ping worked---I could ping around from my
> >> freebsd server to my other computers--i spent 3+ hours trying to
> >> ping various sites.  Zero.  i tried everything i could think of.
> >> NOTHING worked.  i tried the -d -f -f to named and on and on and
> >> on.  nothing.
> >> 
> >> *Finally*, i  saw that my telco router was displaying "INT" in
> >> red LED's.  i didn't know they displayed in any other color but
> >> the default green, but after power-cycling, voila! back to green.
> >> and now, yes, i can ping freebsd.org.  and i'm pretty sure other
> >> network things will work too.  
> >> 
> >> from any/all sysadmin types or others:: i would like tricks,
> >> tips, insights--whatever--about named and whatever else.  i
> >> thought i had collected many.  nope.i've got bind 9.8
> >> installed and it was working fine until my recent 'vacation.'
> >> Other than checking one's routers (hub/switch), and other
> >> hardware (including server, computers, cables, etc) does anybody
> >> have a checklist of what to do to diagnose this?  are there any
> >> other utilities i can try besides ping and named -d 3 -f -g?
> >> other network utilities with a debug flag?  i'm running 7.3 on a
> >> dell 530.
> >> 
> >> tia for any insights,
> > 
> > You should _really_ consider hiring a professional to maintain
> > your systems.
> > 
> > Diagnosing _this_ problem should have taken no more than about 30
> > *seconds*. 
> > 
> > If you can't get somewhere 'by name', you try to get there 'by
> > address'.
> > 
> > If 'by address' works and 'by name' doesn't, *that* is the
> > indication of a DNS problem.
> > 
> > If you can't get there 'by address', it is *NOT* a DNS problem,
> > and you start looking for a 'connectivity' problem.
> > 
> > The *BASIC* tools for that start with 'traceroute'.  Which would
> > have *immediately* (well, within abut ten seconds :) indicated
> > exactly _where_ the problem was.
> > 
> > Those  who don't understand these kind dof things are "too
> > dangerous" to be trusted with the superuser password.
> > 
> > Bluntly, not only do you not know the things you need to know to
> > manage a (even 'personal') network, you "DON'T KNOW _what_ you
> > don't know", and until you *do* learn the basics, you'll save
> > youself a *LOT* of hair- tearing if you hire someone to solve the
> > problems for you.
> 
> I whole-heartedly agree with Robert's points.
> 
> I host in my apartment... but I have more than a decade's experience
> maintaining networks and systems and, while the occasional issue
> stumps me, I'm pretty good at getting to the root of issues in
> minutes vs hours.
> 
> Yes, I was once a... for lack of a better term... moron on these
> things and I relied heavily on the tech who pushed me (gently)
> towards ?BSD from RHL and I am gracious every day for that nudge.
> 
> Experience is the best way to pick up the "quick list" of things to
> check on if there's a problem on your connectivity... but there's
> one thing I *must* stress: NEVER EVER EVER run your own DNS service.
> It's too much of a PITA. When I quit doing my own DNS my issues
> revolving around that ended. I use DynDNS to run my primary domain
> and all the others run through GoDaddy's free DNS manager. This is
> because I use the primary domain's hostname as my MX record on all
> the others. While GD's DNS is functional, it's also cumbersome, too
> cumbersome to update on a semi-regular basis.  I highly suggest that
> you do the same. $20/year for DynDNS' full domain service is worth
> the price.
> 
> My two bits (and a nibble).  --
> Ryan___


It's $30/year for DynDNS where I am (UK).

I had to use them because my static IP all of a sudden became dynamic
(crappy ISP). Now it seems to have gone back to static again.

I certainly wouldn't consider running my own DNS server (having done
it). It's more trouble than it's worth and is just one more
vulnerability/thing to go wrong. You can just use hosts for a small
network.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpl6pQtrTLm3.pgp
Description: PGP signature


Re: Firefox clean installation but does not execute

2011-09-20 Thread Frank Shute
On Tue, Sep 20, 2011 at 03:44:31PM +0200, Alain G. Fabry wrote:
>
> On Tue, Sep 20, 2011 at 02:40:42PM +0100, Anton Shterenlikht wrote:
> > 
> > So, what do you get if you now type:
> > 
> > /usr/local/bin/firefox3
> > 
> > or
> > 
> > /usr/local/bin/firefox
> > 
> > -- 
> What I mentioned before ;-)  'command not found' 
> 
> afabry@desmo 15:40 % /usr/local/bin/firefox3
> /usr/local/bin/firefox3: Command not found.
> afabry@desmo 15:40 % /usr/local/bin/firefox
> /usr/local/bin/firefox: Command not found.
> afabry@desmo 15:41 % 
> 
> files don't exist, and must have deinstalled/installed already 3 times...
> 

You don't mention how you are installing/deleting.

Try:

# pkg_delete -f firefox\*
# cd /usr/ports/www/firefox
# make install clean
# ls -l /usr/local/bin/firefox


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgp27K0XkXEov.pgp
Description: PGP signature


Re: Please secure your FTP access

2011-09-15 Thread Frank Shute
On Thu, Sep 15, 2011 at 05:46:35PM -0400, Allen wrote:
>
> Sorry for top posting but can anyone send this to "Computer Stupidities"
> ? It seems to good to waste like this.  Anyone who thinks they're a
> Hacker yet doesn't know how FTP works is not only funny, it's
> entertainment. And also, the web site I'm speaking of, has a similar
> story sent in from another reader, where they talked about back when
> they were in a Web Development class once, the teacher partnered
> everyone up with someone else, and so, since he had already made his own
> web site, he figured he'd show it to his new partner, and said "This is
> my web site here" and the guy, like a moron, highlighted ALL of the text
> with a Mouse, and threatened to hit the "Delete" button on the Keyboard...
> 
> This reminds me of that quite a bit lol.
> 

You may mock him now but wait until he discovers csup. With his uber
skills he'll be able to delete all our source files!

Will you be laughing then? 

;)


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgppsQz04okoZ.pgp
Description: PGP signature


Re: Java6 problem

2011-09-15 Thread Frank Shute
On Thu, Sep 15, 2011 at 09:06:44PM -, Scott Ballantyne wrote:
>
> Hi,
> 
> After upgrading to Java6, I am having a problem when I launch the Java
> application that my bank/broker uses. It halts with "Start: applet not
> initialized."  Unfortunately, FreeBSD is not a 'supported platform'
> for my bank/broker, and they won't provide any support. 
> 
> It does work on Windows platforms, but I would prefer to use it on FreeBSD.
> 
> Any suggestions?
> 

Did you register your new Java VM? See: javavm(1) and the manpages
referenced in the "See also:" section of that manpage.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpMBZuJ1QgWe.pgp
Description: PGP signature


Re: Best Server OS for Someone That Does not Want to Touch a Shell on a Regular Basis?

2011-09-06 Thread Frank Shute
On Mon, Sep 05, 2011 at 04:36:23PM +0200, Polytropon wrote:
>
> On Mon, 05 Sep 2011 10:20:22 -0400, Pierre-Luc Drouin wrote:
> > How well does it work to use binary packages only to maintain a FreeBSD 
> > web server in general (I am thinking of package availability, but also 
> > and in particular as a quasi-automated updating tool)?
> 
> Quite well - as long as you're satisfied with the default
> building options. You know that a binary package is a port,
> compiled with the default set of options. This is okay in
> most cases, but there may be situations where you explicitely
> need to enable or disable a certain feature at compile time.
> 
> You also may encounter a situation where _no_ package is
> available for a port (e. g. too many options, or licensing
> restrictions).
> 
> This can be solved by portmaster which has an option to
> go through all interactive configuration screens _before_
> starting any action. Those settings can be saved for the
> next update run.
> 
> The portmaster program itself can be instructed to _use_
> binary packages (just as pkg_add -r would do) with the -P
> and -PP options. In this case, binary packages will be
> used as long as possible, and only those ports that
> require building (as no package exists) will be compiled.
> See "man portmaster" for details.
> 
> This is a good approach in combination with freebsd-update.
> I have used that concept on some servers myself (especially
> on smaller ones with low resources where compiling would
> be too problematic).
> 
> 
> 
> > I noticed that in 
> > the past few years, updating softwares through ports has been requiring 
> > more user intervention, due to the way some dependencies are being 
> > updated from one version to the next. Would using binary packages allow 
> > to avoid more such user intervention?
> 
> Yes. All dependencies would be incorporated automatically.
> Only ports without equivalent package that additionally have
> OPTIONS to set would invoke a configuration screen, and this
> screen would have to be dealt with only in the first run of
> the updating process.
> 
> There are also options for portmaster that can be used to
> control program behaviour in case of problems (e. g. some
> package not found, conflicting ports, versioning problem,
> or port marked "broken").
> 
> Those solutions can also easily be scripted, e. g. check
> one a week for possible updates and get the packages, but
> do not install them automatically (which can be a security
> requirement). If the list is approved, the updates will
> be installed during night, creating a "fallback copy" just
> in case something went wrong (e. g. malfunctioning new
> software). Reports can be generated automatically and mailed
> to the system administrator.
> 
> I would also suggest to frequently check the mailing lists
> of the software in use for bugs and security updates that
> might be interesting in terms of system security. This sould
> be done for any "major server software" (Apache, PHP, MySQL
> and the services utilizing those software, whatever you
> want to run on the server).
> 

I'd recommend installing ports-mgmt/portaudit to keep an eye out on
any vulnerabilities that require an update of the ports/packages.

Personally, I'd go for ports rather than packages.

As long as your friend reads /usr/ports/UPDATING and he uses either
portupgrade or portmaster, he shouldn't go too far wrong.

Also couldn't your friend give you a key for his server so that you
can ssh into it and fix things if it goes wrong?


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpCyzp8FB6dy.pgp
Description: PGP signature


Re: A quality operating system

2011-08-27 Thread Frank Shute
On Sat, Aug 27, 2011 at 01:56:16PM -0500, Evan Busch wrote:
>
> I can see this will be important here:
> 
> http://en.wikipedia.org/wiki/False_dilemma
> 
> On Wed, Aug 24, 2011 at 9:32 PM, Polytropon  wrote:
> > But allow me to say
> > that _if_ you are interested in contributing in _that_
> > way, you should always bring examples and name _concrete_
> > points you're criticizing, instead of just mentioning
> > wide ranges of "this doesn't conform to my interpretation
> > of what 'professional' should look like".
> 
> The problem with your statement is that it does not allow for general
> critique, which is also needed. If something shows up in more than one
> place, it is a general critique.

You haven't shown *one* example of inadequate or confusing
documentation. 

> 
> > In most cases, documentation requires you to have a minimal
> > clue of what you're doing. There's terminology you simply
> > have to know, and concepts to understand in order to use
> > the documentation.
> 
> See the Wikipedia page above -- the problem isn't one of user
> competence, but of poorly-written documentation that is fundamentally
> disorganized.
> 
> Have you looked at any of the documentation coming out of Redmond right now?
> 
> How do you think FreeBSD's documentation stands up to that?

FreeBSD documentation blows away anything Redmond gives you.

Where's the documentation for Windows Explorer for Vista on
microsoft.com?

A link will do.

> 
> 
> > Different kinds of users have different preferences. Some
> > like to use the web, like to use Wikis and discussion boards.
> > Others like to use structured web pages. Again, other like
> > web pages too, but want to have as much information in _one_
> > (long) page. And there are those who do not want to depend
> > on the web - those like man pages.
> 
> The question isn't form, but content.
> 
> > If you're used to some specific _way_ of documentation, you
> > will maybe value anything that's _different_ from that way
> > as being inferior, non-professional, or less helpful.
> 
> I think I'm talking about professional level documentation, not a
> specific "style."

By your own admission you don't even use FreeBSD so how on earth can
you constructively criticise? Answer: you can't.


> 
> > Also keep in mind that especially for developers, the SOURCE
> > CODE also is an important piece of documentation. Here FreeBSD
> > is very good, compared to other systems.
> 
> We're talking end-user documentation here.

In a lot of cases the source IS end-user documentation? BTW, how does
that compare with Redmond?

> 
> > Here the "one size fits all" problem arises. It's really hard
> > to make documentation "for everybody".
> 
> I disagree. It's very clear what must be done because multiple archetypes 
> exist.

Well do it. Put up or shut up.

> 
> > Note the presence of ":-)" and the abilities of english native
> > speakers who are much more able to express "between the lines"
> > than I am, for example.
> 
> If so, it's just them trying to cover up the inherently defensive and
> reactionary nature of their comments.

They're inherently defensive and reactionary because you're trolling.

> 
> Would they send such an email on a business list?

Who cares? It's not a business list.

> 
> > You can "predict" that everywhere. Just go to any halfway
> > specialized setting and make claims about something not
> > meeting your requirements
> 
> I've never had this problem when the claims have been stated
> professionally -- only here.

OK, so you'll be able to provide links then?

Thought not.

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpOyNBeZtNxw.pgp
Description: PGP signature


Re: new to os

2011-08-18 Thread Frank Shute
On Thu, Aug 18, 2011 at 03:18:09PM -0700, scott mcclellan wrote:
>
> I'm looking to try something different with my machine (or maybe I'm
> going through a midlife crisis).
>
> Currently run Wimdows (point and click), and would like to gravitate
> back to DOS (this is a thing of the ancient past for me 30 years -
> on a TRS-80). I know remember extremely little of OS vernacular.
>
> Am I biting off more than I can chew, or is there a OS commands for
> dummies out there, or does FreeBSD have such a critter that one can
> go through.
>
> I'll pour through the FAQ and got hrough the online manuals for now.
> But it all seems greek. Can someone point me in a diresction to
> degreek this stuff for me.
>
> Thanks,
>
> Scott McClellan

I'll give you one tip for free: keep your line length to less than 80
chars when posting to a unix list, say 74.

As for where to start, I'd probably start by buying a book or two.

"Unix in a Nutshell" pub. O'Reilly comes to mind. That should
familiarise yourself with most of the common commands.

If you decide to use FreeBSD then the freely available Handbook is a
must read:

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

Any questions that can't be answered by Googling, then post here.

Welcome to FreeBSD!


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpq4wQ2DpxYT.pgp
Description: PGP signature


Re: System lockups in X with nVidia GeForce 7600 GS (G73) and Gtk+

2011-08-13 Thread Frank Shute
On Sun, Aug 14, 2011 at 03:22:06AM +0200, Polytropon wrote:
>
> I'm using FreeBSD/amd64 on an Intel Core 2 4300 (1.8GHz)
> on a VIA-equipped mainboard. The whole machine is a quite
> cheap one from a discounter (mainly food).
> 
> OS is 8.2-STABLE (July 2011). I have xorg-7.5.1 installed 
> with xorg-server-1.7.7_1,1, using xf86-video-nv-2.1.18
> configured in xorg.conf. The GPU I'm using is a nVidia
> GeForce 7600 (G73) which is being supported by the "nv"
> driver (as well as by "nouveau", see later on) according
> to the documentation.

My setup is about the same but with a GeForce 7300. I use nv without
problems.

> 
> When in X and _only_ in conjunction with programs using
> the Gtk2 (Gtk+) toolkit, I encounter _total_ system
> lockups (freezes): no disk activity, no console I/O,
> nothing. It even happens during drawing operations.
> A hard reset is required, which means power-cycling
> as the cheap PC doesn't have a RESET button. A fsck
> is required on next booting.
> 
> I could trigger this problem with Sylpheed, Claws
> Mail and Firefox.
> 
> I am only able to do email because I downgraded
> Sylpheed from 3.1.1_1 to 1.0.6_9 which does use
> the classic Gtk (which I find more accessible
> anyway). This old version that _works_ is about
> to be removed from the ports tree!!!
> 
> The machine has successfully been compiling the system,
> X and OpenOffice, so I may assume that it's not
> defective RAM or broken CPU. The hard disk is new.
> 
> When the system does not lock up, frame rates for
> 3D (tested with "glxgears" and xlock -mode fire")
> is _very_ bad - much worse than on my old P4 with
> ATI graphics.
> 
> I read that the "nv" driver does not support 3D, so
> I tried to install the "nouveau" driver.
> 
> I did install xf86-video-nouveau-0.0.10.20090728_3
> from ports and replaced "nv" by "nouveau" in xorg.conf.
> Result:
> 
> (EE) [drm] drmOpen failed.
> (EE) NOUVEAU(0): [drm] error opening the drm
> Segmentation fault: 11 at address 0x0
> Fatal server error:
> Caught signal 11 (Segmentation fault: 11). Server aborting
> 
> There is no /dev/dri available.
> 
> /usr/ports/x11-drivers/xf86-video-nouveau/pkg-message:
> # cd /usr/src/sys
> # fetch http://people.freebsd.org/~rnoland/drm-nouveau-062309.patch
> # patch -sp0 -i drm-nouveau-062309.patch
> # cd modules/drm
> # make depend all install
> 
> I've done this, installed & rebooted, same result.
> 
> % startx
> drmOpenDevice: node name is /dev/dri/card0
> Failed to change owner or group for file
>   /dev/dri! 2: No such file or directory
> Failed to change owner or group for file
>   /dev/dri/card0! 2: No such file or directory
> [drm] failed to load kernel module "nouveau"
> 
> (EE) [drm] drmOpen failed.
> (EE) NOUVEAU(0): [drm] error opening the drm
> Segmentation fault: 11 at address 0x0
> Fatal server error:
> Caught signal 11 (Segmentation fault: 11). Server aborting
> 
> The kernel loggs the following messages:
> 
> link_elf_obj: symbol DRM_MEM_TTM undefined
> linker_load_file: Unsupported file type
> 
> I tried some searching and found "We can haz Nouveau
> on FreeBSD!" of March 2009. According to this instruction:
> 
> http://romain.blogreen.org/blog/2009/03/we-can-haz-nouveau-on-freebsd/
> 
> It complains about xorg-server must be >= 1.8, but
> only 1.7.7 is in latest ports (right now). This is
> step 4 on the list. Note that it's "./autogen.sh",
> not "./autogen" as in the article.
> 
> The steps explained are:
> 
> 1. Uninstall any nvidia driver
> # pkg_delete nvidia-driver-\*
> # vi /boot/loader.conf # Remove the line 'nvidia_load="YES"'
> 
> 2. Patch your kernel (Update your system if you are not running 8.0-CURRENT 
> or a recent 7.1-STABLE / 7.2-PRERELEASE):
> # cd /usr/src/sys
> # fetch http://people.freebsd.org/~rnoland/drm-nouveau-032109.patch
> # mkdir modules/drm/nouveau
> # patch > drm-nouveau-032109.patch
> # cd /usr/src && make kernel
> # reboot
> 
> 3. Install libdrm from git:
> % git clone git://anongit.freedesktop.org/git/mesa/drm
> % cd drm
> % ./autogen --enable-nouveau-experimental-api
> % gmake
> % sudo gmake install
> 
> 4. Install xf86-video-nouveau from git:
> % git clone git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau
> % cd xf86-video-nouveau
> % ./autogen
> % gmake
> % sudo gmake install
> 
> 5. Update /usr/local/etc/X11/xorg.conf.
> 
> As I said, I have problems doing so because of
> 
> nouveau_dri2.c:374: warning: implicit declaration of function 
> 'DRI2BlockClient'
> nouveau_dri2.c: In function 'nouveau_dri2_init':
> nouveau_dri2.c:445: error: 'DRI2InfoRec' has no member named 'ScheduleSwap'
> nouveau_dri2.c:446: error: 'DRI2InfoRec' has no member named 'ScheduleWaitMSC'
> nouveau_dri2.c:447: error: 'DRI2InfoRec' has no member named 'GetMSC'
> gmake[2]: *** [nouveau_dri2.lo] Error 1
> gmake[2]: Leaving directory `/usr/src/sys/drm/xf86-video-nouveau/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/src/sys/drm/xf86-video-nouveau'
> g

Re: port build breaks at xmlto

2011-08-12 Thread Frank Shute
On Fri, Aug 12, 2011 at 01:18:07PM +1000, Daryl Sayers wrote:
>
> 
> FreeBSD 7.4
> I am having trouble building the xmlto port on FreeBSD 7.4. I am getting an
> error:
> 
> ===>  Building for xmlto-0.0.24
> make  all-am
> for xml in xmlif.xml xmlto.xml; do  FORMAT_DIR=./format  /usr/local/bin/bash 
> ./xmlto -o man/man1 man ./doc/$xml ;  done || ( RC=$?; exit $RC )
> xmlto: /usr/ports/textproc/xmlto/work/xmlto-0.0.24/./doc/xmlif.xml does not 
> validate (status 3)
> xmlto: Fix document syntax or use --skip-validation option
> I/O error : Attempt to load network entity 
> http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
> /usr/ports/textproc/xmlto/work/xmlto-0.0.24/./doc/xmlif.xml:4: warning: 
> failed to load external entity 
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";
>"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
> 
> 
> After alot of frustration I decided to throw everything away and start again:
> 
> # pkg_delete -a
> # cd /usr/ports; rm -fr *
> # csup -h cvsup.au.FreeBSD.org /usr/share/examples/cvsup/ports-supfile
> # cd /usr/ports/textproc/xmlto
> # make
> 
> Using the defaults when the config screens appear. As there are now no 
> packages
> installed and the ports tree is brand new there should be no problems but in
> the end it still fails with the same message. My /etc/make.conf is empty also.
> 
> Why cant I build this package.
> 

This port builds OK for me on 8.2-STABLE.

Maybe since you've blitzed all your ports, you could upgrade to
something more recent than 7.4 and try again.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpwygSxWuyld.pgp
Description: PGP signature


Re: How to turn off screen blanking

2011-08-10 Thread Frank Shute
On Wed, Aug 10, 2011 at 04:04:42PM -0400, Aryeh Friedman wrote:
>
> I have a kiosk system I am almost done building and the last snag is
> attempting to make it so idle time (no keyboard or mouse attached) does not
> blank the screen.   I have already tried the following:
> 
> vidcontrol -S off
> disabling acpi and apmd from the kernel config
> enabling dpms via the kernel config and then running xset -dpms
> 
> Any other ideas?

IIRC your kiosk machine is just a browser running on X.

In that case, make sure dpms is enabled and try:

$ xset dpms 0 0 0

That should disable any blanking.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgp3N26RmiaAF.pgp
Description: PGP signature


Re: Alternative windowmanagers

2011-08-06 Thread Frank Shute
On Sat, Aug 06, 2011 at 08:26:39AM -0600, Chad Perrin wrote:
>
> On Fri, Aug 05, 2011 at 09:20:08PM -0600, Dmitri Brengauz wrote:
> > On Fri, Aug 5, 2011 at 7:56 PM, Chad Perrin  wrote:
> > > On Fri, Aug 05, 2011 at 07:08:25PM -0400, Rod Person wrote:
> > > >
> > > > If you like Fluxbox you might want to try OpenBox.
> > >
> > > Nah.  Stick with Fluxbox.
> >
> > Sorry, but why?  I went with OpenBox, because it seemed like it was under
> > current development, and Fluxbox is stagnant, otherwise, I didn't see much
> > difference.  But I do find it curious that so many on this thread are
> > recommending Fluxbox, and almost no one OpenBox.  What would be the reason?
> 
> Fluxbox supports window tabbing.  Last I checked, OpenBox did not.  In
> fact, amongst the 'box window managers, window tabbing is pretty much the
> killer feature.

Despite using Fluxbox for a number of years, I wasn't even aware of
tabbing. The only thing I can think of tabbing is xterms but I use
tmux for that. What do you use tabbing for?

> 
> That, and it has a better license than OpenBox.
> 

Never worried about the license.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpXrWh5dBJ3D.pgp
Description: PGP signature


Re: Command failed [exit code 1]: /usr/local/sbin/portinstall misc/shared-mime-info

2011-07-27 Thread Frank Shute
On Wed, Jul 27, 2011 at 01:41:15AM -0500, Antonio Olivares wrote:
>
> Dear kind folks,
> 
> I got me a new hard drive on one of my machines and installed FreeBSD
> 8.2 amd64 on it.   I tried to run
> 
> # portupgrade -R firefox
> which would update firefox to latest and all the ports that depend on
> it, but I am encountering a problem with shared-mime-info.
> 
> 
> quadcore# portupgrade -R firefox
> [Updating the pkgdb  in /var/db/pkg ... - 399
> packages found (-1 +0) (...) done]
> Stale dependency: firefox-4.0_1,1 --> shared-mime-info-0.80 --
> manually run 'pkgdb -F' to fix, or specify -O to force.
> quadcore# pkgdb -F
> --->  Checking the package registry database
> Duplicated origin: print/font-amsfonts - amspsfnt-1.0_5 cmpsfont-1.0_6
> Unregister any of them? [no] y
>   Unregister amspsfnt-1.0_5 keeping the installed files intact? [no] y
>   -> cmpsfont-1.0_6 is kept.
>   --> Saving the amspsfnt-1.0_5's +CONTENTS file as
> /var/db/pkg/cmpsfont-1.0_6/+CONTENTS.amspsfnt-1.0_5
>   --> Unregistering amspsfnt-1.0_5
>   --> Done.
> [Updating the pkgdb  in /var/db/pkg ... - 398
> packages found (-1 +0) (...) done]
> Stale dependency: ImageMagick-6.6.7.10_1 -> shared-mime-info-0.80
> (misc/shared-mime-info):
> Install stale dependency? ([y]es/[n]o/[a]ll) [yes] y
> [Gathering depends for misc/shared-mime-info
> . done]
> --->  Installing 'shared-mime-info-0.80_1' from a port (misc/shared-mime-info)
> --->  Building '/usr/ports/misc/shared-mime-info'
> ===>  Cleaning for shared-mime-info-0.80_1
> ===>  Vulnerability check disabled, database not found
> ===>  License check disabled, port has not defined LICENSE
> ===>  Extracting for shared-mime-info-0.80_1
> => SHA256 Checksum OK for shared-mime-info-0.80.tar.bz2.
> ===>  Patching for shared-mime-info-0.80_1
> ===>  Applying FreeBSD patches for shared-mime-info-0.80_1
> ===>   shared-mime-info-0.80_1 depends on executable: gmake - found
> ===>   shared-mime-info-0.80_1 depends on file:
> /usr/local/bin/intltool-extract - found
> ===>   shared-mime-info-0.80_1 depends on executable: pkg-config - found
> ===>   shared-mime-info-0.80_1 depends on shared library: intl - found
> ===>   shared-mime-info-0.80_1 depends on shared library: glib-2.0.0 - found
> ===>   shared-mime-info-0.80_1 depends on shared library: xml2.5 - found
> ===>  Configuring for shared-mime-info-0.80_1
> checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether gmake sets $(MAKE)... yes
> checking for gcc... cc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking for style of include used by gmake... GNU
> checking dependency style of cc... gcc3
> checking for an ANSI C-conforming const... yes
> checking whether NLS is requested... yes
> checking for intltool >= 0.35.0... 0.41.1 found
> checking for intltool-update... /usr/local/bin/intltool-update
> checking for intltool-merge... /usr/local/bin/intltool-merge
> checking for intltool-extract... /usr/local/bin/intltool-extract
> checking for xgettext... /usr/local/bin/xgettext
> checking for msgmerge... /usr/local/bin/msgmerge
> checking for msgfmt... /usr/local/bin/msgfmt
> checking for gmsgfmt... /usr/local/bin/msgfmt
> checking for perl... /usr/bin/perl
> checking for perl >= 5.8.1... 5.12.4
> checking for XML::Parser... configure: error: XML::Parser perl module
> is required for intltool
> ===>  Script "configure" failed unexpectedly.
> Please run the gnomelogalyzer, available from
> "http://www.freebsd.org/gnome/gnomelogalyzer.sh";, which will diagnose the
> problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
> solve the problem, report the build failure to the FreeBSD GNOME team at
> gn...@freebsd.org, and attach (a)
> "/usr/ports/misc/shared-mime-info/work/shared-mime-info-0.80/config.log", (b)
> the output of the failed make command, and (c) the gnomelogalyzer output.
> Also, it might be a good idea to provide an overview of all packages installed
> on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
> website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
> send-pr(1) with the attachment. Try to avoid sending any attachments to the
> mailing list (gn...@freebsd.org), because attachments sent to FreeBSD mailing
> lists are usually discarded by the mailing list software.
> *** Error code 1
> 
> Stop in /usr/ports/misc/shared-mime-info.
> ** Command failed [exit code 1

Re: skype

2011-07-23 Thread Frank Shute
On Sat, Jul 23, 2011 at 06:16:28AM -0400, Aryeh Friedman wrote:
>
> I have a number of clients that prefer Skype over IM last time I
> tried to build it from ports I was unable to get to anywhere past the
> account login page (no matter what I tried it said it could not log me
> in and when I registered for an account it never registered)

It works for me. See:

20110516

in /usr/ports/UPDATING


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpa6mR5X4Cls.pgp
Description: PGP signature


Re: trying for 1920x1080 was: Re: Attempting to get an X11 server running

2011-07-19 Thread Frank Shute
On Wed, Jul 20, 2011 at 01:15:07AM +, Dieter BSD wrote:
>
> > Have you tried:
> > $ xset +dpms
> > to use standby etc.?
> 
> xset:  unknown option +dpms
> 
> I assume it needs more than the 5 coaxes to do dpms.
> (It did appear to be working with the short cable that came
> with the monitor.)

I wonder if the monitor doesn't support the Energy Star stuff or it's
not switched on. Try reading the manpage for xset and fiddling around
with the dpms option. E.g:

$ xset dpms force on
$ xset +dpms

You might also want to set the timings for when the monitor goes into
standby etc.

> 
> > Font for xterm: x11-fonts/inconsolata-ttf
> 
> I installed package inconsolata-ttf-20090215.tbz
> 
> caching, new cache contents: 24 fonts, 0 dirs
> /var/db/fontconfig: cleaning cache directory
> fc-cache: succeeded
> 
> xset fp+ /usr/local/lib/X11/fonts/OTF
> xset fp rehash
> xterm -fn "-*-inconsolata-*-r-*-*-*-*-*-*-*-*-*-*"
> xterm: cannot load font -*-inconsolata-*-r-*-*-*-*-*-*-*-*-*-*
> 
> also xfontsel acts screwy if I select inconsolata.
> The sample doesn't get updated, and it starts acting like
> it needs backing store but doesn't have it.  If I then
> select some other family, then xfontsel starts acting
> normally again.

I've got this in ~.Xdefaults:

XTerm*faceName: Inconsolata
XTerm*faceSize: 16


> 
> > Pixels off screen: x11/xvidtune
> > and "show" modeline once adjusted and stick it in xorg.conf
> 
> That was easy, thanks!

Glad that worked.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpXNtjUPKTcK.pgp
Description: PGP signature


Re: trying for 1920x1080 was: Re: Attempting to get an X11 server running

2011-07-19 Thread Frank Shute
On Tue, Jul 19, 2011 at 09:41:27PM +, Dieter BSD wrote:
>
> Reducing the color depth to 16 allows the wimpy Rage XL (8 MiB) to
> do 1920x1080.
> 
> So then I moved the old slow X terminal out of the way and moved the
> shiny new Dell ST2220T LCD into the prime spot in front of the
> keyboard drawer...  ...and the cable doesn't reach. Two HD-15 to BNC
> cables back-to-back fixed that, but now it doesn't do the DCC/EDID
> stuff, so I had to get it to use a modeline to get 1920x1080. And of
> course it doesn't go into standby mode.  sigh

Have you tried:

$ xset +dpms

to use standby etc.?

> 
> Still have some minor issues like finding a decent font for xterm,
> and putting a window at +0+0 hides a few pixels off-screen, and
> FreeBSD can't tell the difference between a Unix keyboard and a
> pee-cee keyboard, but it is usable.
> 
> Thanks for the help!

Font for xterm: x11-fonts/inconsolata-ttf

Pixels off screen: x11/xvidtune
and "show" modeline once adjusted and stick it in xorg.conf


HTH.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpi1npfovgSK.pgp
Description: PGP signature


Re: Lennart Poettering: BSD Isn't Relevant Anymore

2011-07-18 Thread Frank Shute
On Mon, Jul 18, 2011 at 01:49:03PM +0200, Polytropon wrote:
>
> On Mon, 18 Jul 2011 07:30:00 -0400, Jerry wrote:
> > I suggested several years ago, and I will re-suggest that FreeBSD start
> > a program that would allow programmers to be paid to write code that
> > either the regular contributors do not want to write or are not capable
> > of writing. Other OS's are currently working on that model. No one
> > would be forced to contribute. This would prove beneficial to everyone
> > and should satisfy both capitalist who don't mind paying for quality
> > products and socialist like Poly who want everything for nothing. It
> > would be a win-win situation.
> 
> Erm... you're invited to prove the "everything for nothing"
> as well as the "socialist" claim. I'm old enough not to
> take this insult personally, but still (for maintaining
> discussion culture) please back up your statement, or it
> will simply classify you as impolite and stupid.
> 
> Besides that nonsense, I agree with your statement. With
> support (usually by money) and help of manufacturers that
> are interested in bringing their hardware to a better
> support situation by providing information and documentation
> so developers could write drivers for many platforms, it
> would be a win-win situation. It would even be better than
> cost-intensive reverse engineering - means: better drivers
> in less time, so FreeBSD could be used on most modern
> hardware. The more standards are used, the less work is
> needed to bring the new hardware up. (Just imagine you
> would need a driver for a hard disk...)
> 
> Personally, this is no issue for me as I don't own such
> things, but because you claim that I "want everything for
> nothing"... :-) Keep in mind that I've also spent money
> on software, but on one that WORKS.
> 
> Maybe this could even affect the whole *BSD family, so
> by the availability of more drivers, more desktop share
> could be gained, which seems to be the measurement of
> OS quality today.
> 
> 
> 
> > With the advent of the next version of FBSD soon to be upon us,
> > this would be a propitious moment to start such a project. FBSD has
> > never been considered a dreadnought in the driver development field and
> > this might work to change that.
> 
> The idea seems to have lots of potential. With paid
> developers who are willing to license their work as
> BSDL code, it could really improve the "out of the box
> support" of the system.
> 
> On the other hand - as you mentioned -, it may be
> the lack of support of the community, but THAT is
> the main force behind FreeBSD. Other operating systems
> have big companies behind them who are able and willing
> to spend money on "prestige projects", as well as their
> everyday work because they need to make their living from
> it - or gain world domination. :-)
> 
> The more the FreeBSD community depends on having certain
> hardware working, the more support I see for developers.
> But as the community seems to be spread across all the
> many forms of OS use (mostly servers, but also stationary
> workstations, just a minority seems to be using mobile
> devices), I'm not sure it will be sufficient. It's not
> that FreeBSD is a "desktop-only OS" which can invest all
> its energy in getting commodity hardware working, while
> leaving quality aside on other fields. Poorly implemented
> features, broken code, messing around with quirks and
> short-time solutions do not seem to be very welcome among
> FreeBSD users.
> 

I like Jerry's proposal. The FreeBSD Foundation should organise their
donations page so that you can donate to various different areas of
development like TUG do:

https://www.tug.org/donate.html

It should be at least split into server, workstation and general
development.

I donate to both FreeBSD and TUG but I far prefer the TUG model. When
I donate to the Foundation, I know a lot of my money is going to
esoteric server development which doesn't benefit me much but benefits
large corporations who can afford to fund their own development to
scratch *their own* itches. I want mine scratched!


Regards,


-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpRVPBpiYS30.pgp
Description: PGP signature


Re: can't build teTeX port in FreeBSD 8.2 amd64

2011-07-15 Thread Frank Shute
On Fri, Jul 15, 2011 at 05:54:26PM +, Antonio Olivares wrote:
>
[snip]
> 
> Anton,
> 
> This is what I mean.  For regular things, TeTeX is fine, but for
> bigger projects one can't do without texlive.  I encountered the same
> problems with default tetex, but installed TeXLive from DVD and I no
> longer have these problems :)
> 
> But like Roland says, some ports depend on teTeX still and this is
> where I hope that developers find ways around them :)  It took me a
> while to build evince, gnuplot and other math related ports without
> teTeX port.
> 
> Regards,
> 
> Antonio

What I did was install TeXLive but keep my teTeX installation. My
$PATH is such that TeXLive binaries are picked up first but the teTeX
installation satisfies those ports that depend on it.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpPzRGWXIGhH.pgp
Description: PGP signature


Re: ssh -X (X11 forwarding) not working from 6.1 to 8.1

2011-07-11 Thread Frank Shute
On Tue, Jul 12, 2011 at 03:18:07AM -0700, per...@pluto.rain.com wrote:
>
> DISPLAY is not getting set in a remote shell started by "ssh -X".
> 
>   $ echo $DISPLAY
>   :0.0
>   $ ssh -X [server] 'echo DISPLAY=%$DISPLAY%'
>   DISPLAY=%%
> 
> How would I go about debugging this?
> 
> DISPLAY _is_ set correctly on the ssh client -- I am running in
> an xterm there, and can successfully start another (local) one --
> and the word DISPLAY is not present in any of the shell startup
> files (.bash*, .cshrc, .login, .profile, .shrc) on either the
> ssh client or the ssh server.
> 
> The ssh client is FreeBSD 6.1 and the ssh server is FreeBSD 8.1.
> 
> It does work correctly in the other direction (using the 8.1 system
> as the ssh client and the 6.1 system as the ssh server), and I can
> run X11 programs on the 8.1 system, displaying on the 6.1 system,
> provided I set DISPLAY appropriately on the 8.1 system.  It's only
> the ssh X11 forwarding that's broken, and only in one direction.

Have you tried putting:

DISPLAY=:0.0

in ~/.ssh/environment on the machine that's not setting DISPLAY
properly?

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpL3UspxCyWi.pgp
Description: PGP signature


Re: I have a error in freebsd 8.2, an internal system error has ocurred

2011-06-29 Thread Frank Shute
On Sun, Jun 26, 2011 at 10:33:06AM -0500, Edgar Rodolfo wrote:
>
> Hi guys!, i am new on freebsd, but i had installed freebsd 8.2 with
> graphical interface (gnome), i was very happy, but suddendly i saw a
> message, exactly the message said:
> we were not expecting has ocurred ..., look the photo, i don't
> understand exactly, 30 min the message appears, is dangerous the
> message?
> 
> http://subefotos.com/ver/?46893c74c902254a3d7789bb38a6b457o.png

It's not clear from that picture which application is causing the
error. My guess is that it's Gnome but you have to narrow it down by
running just the desktop and no applications to see if it still
occurs.

If it does, your best bet is to post to gnome@ and maybe they'll be
able to identify your problem.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpny7ksamaHM.pgp
Description: PGP signature


Re: Trying To Do A portupgrade On 8-Stable

2011-06-28 Thread Frank Shute
On Tue, Jun 28, 2011 at 01:37:22PM -0500, Tim Daneliuk wrote:
>
> ... and the gstreamer upgrade blows up because of this:
> 
>  /usr/local/bin/g-ir-scanner: not found
> 
> 
> Ideas?

On my machine:

$ pkg_info -W /usr/local/bin/g-ir-scanner
/usr/local/bin/g-ir-scanner was installed by package 
gobject-introspection-0.9.12_1

So I suggest you do:

# portupgrade -fv gobject-introspection


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: Problems compiling 8-STABLE/amd64 system on Intel Core2 4300

2011-06-18 Thread Frank Shute
On Sun, Jun 19, 2011 at 04:38:39AM +0200, Polytropon wrote:
>
> On Sat, 18 Jun 2011 20:52:06 -0500, Adam Vande More wrote:
> > On Sat, Jun 18, 2011 at 8:05 PM, Polytropon  wrote:
> > 
> > > Seems that neither "core" and "core2" are fully supported. Which
> > > CPUTYPE should be used for Intel Core2 4300 then, or can it be
> > > omitted without problems?
> > >
> > 
> > I've used core successfully for years.  Did you clean any potential
> > conflicts? 
> 
> I'm sure I did. I have a minimal /etc/make.conf and I also
> remove /usr/obj (and "make clean") before any new attempt.
> 
> 
> > What happens if you just comment out CPUTYPE for this run after
> > the clean out?
> 
> I'm currently trying that, the build is still running. The
> system as been initially installed as 8.1 from CD #1, then
> upgraded to 8.2-PRERELEASE as of January 1st (from source),
> and that's the system that's currently performing the build
> process.
> 
> After I have (hopefully) successfully installed latest 8-STABLE,
> I'll see if CPUTYPE=core or CPUTYPE=core2 will then work.
> 
> Are there alternative CPUTYPEs for the CPU in question?
> 

I've used "nocona" with my core2 with satisfactory results.

No idea if it produces faster code as I haven't tested.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpYWUFAu4r4D.pgp
Description: PGP signature


Re: Any working SIP-phone on FreeBSD?

2011-06-18 Thread Frank Shute
On Sat, Jun 18, 2011 at 02:33:06PM -0700, Yuri wrote:
>
> On 06/18/2011 14:23, Frank Shute wrote:
> >I was going to use Ekiga but it's dependency on qt and my small SSD
> >meant it was a no go. As another poster mentioned, I wasn't overly
> >impressed that you have to muck about with your router etc.
> >   
> 
> Actually, ekiga is GTK app and isn't supposed to use any Qt.

That's what I thought before I started building it but it dragged in
all the qt stuff for some reason! I was a bit disgusted at the time as
it had been advertised as a Gnome app.

I've just tried rebuilding it but it bombs out in net/opal with C++
compiler errors. No signs of the KDE menu I was presented with when I
last built it.

Maybe I built the wrong port first time around by mistake...


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgp4KUG0e1DYB.pgp
Description: PGP signature


Re: Any working SIP-phone on FreeBSD?

2011-06-18 Thread Frank Shute
On Sat, Jun 18, 2011 at 12:51:21PM -0700, Yuri wrote:
>
> On 06/18/2011 11:03, Frank Shute wrote:
> >Skype works. You need a reasonably recent 7 or 8 STABLE or CURRENT and
> >the linux-f10 stuff. There are a number of skype ports; you want to
> >use net-im/skype.
> >   
> 
> I use skype and trying to get rid of it. For security reasons. Also for 
> the reason that MS who owns it now has the policy of cooperation with 
> governments worldwide and there are many fascist governments out there.

I quite understand. MS taking it over was a disaster :(

> 
> So my question was about the alternative to skype.

I was going to use Ekiga but it's dependency on qt and my small SSD
meant it was a no go. As another poster mentioned, I wasn't overly
impressed that you have to muck about with your router etc.

I think we have to wait for somebody to write a Skype clone and
hopefully MS taking over Skype will provide the impetus (MS will drop
the linux port as soon as they can).

> 
> Yuri
> 

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgp4QDVpIFefb.pgp
Description: PGP signature


Re: Any working SIP-phone on FreeBSD?

2011-06-18 Thread Frank Shute
On Sat, Jun 18, 2011 at 10:19:33AM -0700, Yuri wrote:
>
> I tried ekiga but it doesn't work. It gets into standby mode and stays 
> this way. I think it's because of firewall. There is the PR for this.
> I looked into Empathy. On Linux telepathy-sofiasip should be installed 
> to add SIP to empathy, and on FreeBSD there is no such port.
> 
> Yuri

Skype works. You need a reasonably recent 7 or 8 STABLE or CURRENT and
the linux-f10 stuff. There are a number of skype ports; you want to
use net-im/skype.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpcx0DOWw6fU.pgp
Description: PGP signature


Re: freebsd-update 7.0->7.4 problem: rmdir "Directory not empty"

2011-06-04 Thread Frank Shute
On Fri, Jun 03, 2011 at 10:21:13AM -0400, Brent Bloxam wrote:
>
> I'm going through the freebsd-update process to move from 7.0 to 7.4. I 
> followed the handbook, rebooted to GENERIC and followed up with 
> `freebsd-update install` and got the following output:
> 
> ># freebsd-update install
> >Installing updates...rmdir: ///usr/share/man/ja: Directory not empty
> >rmdir: ///usr/share/man/en.ISO8859-1/cat8: Directory not empty
> >rmdir: ///usr/share/man/en.ISO8859-1/cat4: Directory not empty
> >rmdir: ///usr/share/man/cat8: Directory not empty
> >rmdir: ///usr/share/man/cat4: Directory not empty
> > done.
> 
> Are these rmdir lines something to be concerned about? Should I remove 
> them and their content?

I wouldn't worry too much about that. I've still got those dirs on my
7.3 machine.

The worst case scenario, I think, is that you may have some old
manpages lying around.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpPagg6ub9fe.pgp
Description: PGP signature


Re: cmpsfont-1.0_7 checksum mismatch

2011-05-30 Thread Frank Shute
On Mon, May 30, 2011 at 08:48:18AM +0200, n dhert wrote:
>
> There seems to be an error with the recently (5 days ago) distributed new
> 1.0_7 version of  cmpsfont:
> 
> --->  Upgrading 'cmpsfont-1.0_6' to 'cmpsfont-1.0_7' (print/cmpsfont)
> --->  Build of print/cmpsfont started at: Mon, 30 May 2011 08:29:15 +0200
> --->  Building '/usr/ports/print/cmpsfont'
> ===>  Cleaning for cmpsfont-1.0_7
> ===>  Vulnerability check disabled, database not found
> ===>  License check disabled, port has not defined LICENSE
> ===>  Extracting for cmpsfont-1.0_7
> => SHA256 Checksum mismatch for cmps-unix.tar.gz.
> ===>  Refetch for 1 more times files: cmps-unix.tar.gz
> ===>  Vulnerability check disabled, database not found
> ===>  License check disabled, port has not defined LICENSE
> => cmps-unix.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
> => Attempting to fetch
> http://ftp.ctex.org/pub/tex/fonts/type1/cmps-unix.tar.gz
> ===>  Vulnerability check disabled, database not found
> ===>  License check disabled, port has not defined LICENSE
> => SHA256 Checksum mismatch for cmps-unix.tar.gz.
> ===>  Giving up on fetching files: cmps-unix.tar.gz
>
> How to deal with it?
> Or wait for a better version?

send-pr(1) or drop the maintainer an email (he's probably forgotten to
update the distinfo).

If you must have the port *now* you can edit the port with the new
checksum calculated using sha256(1). 
(Edit /usr/ports/print/cmpsfont/distinfo)

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgplanqXiqgBW.pgp
Description: PGP signature


Re: How to change Fluxbox resolution?

2011-05-25 Thread Frank Shute
On Wed, May 25, 2011 at 06:08:55AM -0700, Ed Flecko wrote:
>
> Hi folks,
> I've installed FBSD 8.2 and Fluxbox. Fluxbox works just fine, but I
> can't figure out how to change my resolution to 1024x768 (my monitor
> is a 19" - but the square format, not widescreen format). When Fluxbox
> runs...it's too wide for my monitor.

That sounds like you might have to fiddle with the monitor controls.

Another thing to play with is x11/xvidtune and get a modeline out of
it. After you've got a satisfactory image pres "show" and paste that
line into xorg.conf

BTW, most modern 19" monitors are 1280x1024
> 
> Here's what I've done:
> 
> 1.pkg_add ?r xorg
> 
> 2.pkg_add ?r fluxbox
> 
> 3.# Xorg -configure
> 
> 4.# cp /root/xorg.conf.new /etc/X11/xorg.conf
> 
> 5.# echo hald_enable=\?YES\" >> /etc/rc.conf
> 
> 6.# echo dbus_enable=\?YES\" >> /etc/rc.conf
> 
> 7.reboot
> 
> 8.# echo ?/usr/local/bin/startfluxbox? >> ~/.xinitrc
> 
> 9.startx
> 
> I've edited xorg.conf and added a 1024x768 entry, but apparently
> something's not right.
> 
> Comments? Suggestions?
> 
> Thank you,
> Ed
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> 

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgprkzhkPKTo6.pgp
Description: PGP signature


Re: Ekiga && FreeBSD (for a future without Skype)

2011-05-22 Thread Frank Shute
On Mon, May 23, 2011 at 07:10:06AM +0200, Gour-Gadadhara Dasa wrote:
>
> On Sun, 22 May 2011 19:36:46 -0400
> Robert Simmons  wrote:
> 
> > Also, unless my friends all change from Skype or Skype becomes
> > intolerable with SIP, I'm stuck with Skype.
> 
> You use Skype <--> SIP gateway?
> 
> I use SIP even with my 'landline' phone, but still have the need to
> talk to Skype users (which becomes difficult after I switched from
> Linux to FreeBSD).
> 
> 
> Sincerely,
> Gour
> 

Gour, the Skype port(s) were updated[*] not so long ago. Maybe worth
giving it a try again.

[*]
http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-May/012147.html


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpQ8FYcbGDyY.pgp
Description: PGP signature


Re: Running gpg-agent and caching the passphrase

2011-05-21 Thread Frank Shute
On Sat, May 21, 2011 at 08:34:21AM +0200, Jens Jahnke wrote:
>
> Hi,
> 
> I'm trying to get gpg-agent running under 8.2 using the same setup I've
> had on my linux box.
> The agent is started via .xinitrc:
> export GPG_TTY=$(tty)
> if [ -z `pgrep gpg-agent` ]; then
>   eval $(gpg-agent --daemon --write-env-file "${HOME}/.gpg-agent-info" \
>   --log-file "${HOME}/.gnupg/gpg-agent.log")
> fi
> 
> The agent is up and running (checked via ps) and the option "use-agent"
> is set in gpg.conf. As pinentry I installed pinentry-gtk2.
> 
> If I try to sign or decrypt something the pinentry window comes up and
> asks for my passphrase. So far so good but I want it to cache my
> passphrase for some time.
> My ~/.gnupg/gpg-agent.conf:
> default-cache-ttl = 3600

Try:

default-cache-ttl 3600

(no equals sign)

> 
> But no matter what option I set the passphrase is not cached and there
> is no error message in the logs.
> I don't know if this is the right place to ask but the same setup was
> running on my linux box without problems so I guess this might be bsd
> related.
> 
> Regards,
> 
> Jens
> 
> P.S.: I use ssh-agent also and it works without problems. While using
> gpg-agent with the ssh option ask for the passphrase every time the key
> is used.
> 

Regards,
 

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpqEJsm1Lrgk.pgp
Description: PGP signature


Re: Input file for shutdown warning?

2011-05-17 Thread Frank Shute
On Mon, May 16, 2011 at 05:38:21PM -0700, Alexander Lardner wrote:
>
> Hello,
> Is it possible to do something like this:
> 
> shutdown -p now /root/somefile
> 
> How would I do that, or is it even possible?
> Thanks,
> Alex

Use wall(1)

# wall somefile && shutdown -p now


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgp2j4O9HESsj.pgp
Description: PGP signature


Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?

2011-05-05 Thread Frank Shute
On Thu, May 05, 2011 at 05:50:28PM -0500, Antonio Olivares wrote:
>
> Dear all,
> 
> I was running FreeBSD 8.1 and am in the process of updating it
> following advice in handbook:
> 
> http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html
> 
> ran
> # freebsd-update fetch
> # freebsd-update install
> 
> # portupgrade -af
> 
> # freebsd-update -r 8.2-RELEASE upgrade
> 
> then
> 
> # freebsd-update install
> 
> Tried to do this:
> # portupgrade -f ruby
> # rm /var/db/pkg/pkgdb.db
> # portupgrade -f ruby18-bdb
> # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
> # portupgrade -af
> 
> Did not work correctly[too many customizations] and Tried again
> 
> # freebsd-update install
> 
> and had nothing more to do :(
> 
> I had many packages that need to be updated so I am running :
> 
> # portupgrade -arRp
> 
> will this prompt me for customizations?

Yes it will. I usually use the -C flag of portupgrade when I'm
updating ports. This flag prompts you with all the options screens
before it does the update. That way you're not left with the upgrade
hanging half way through whilst it waits for you to configure the
options.

As Polytropon says you can use the --batch flag if you know that you
don't want to change the default options.

> 
> Thanks in advance/advice/suggestions.  I am taking the plunge a little
> further.  Before I just installed and left it alone :( [except for a
> few packages that I wanted and ran/installed via ports ], now I am
> trying to learn more and setup the firewall.  I set up the simple
> example setup by Polytropon and most is working.  My freebsd version
> has moved to FreeBSD 8.2
> 
> 
> 
> [olivares@grullahighschool /usr/home/olivares]$ uname -a
> FreeBSD grullahighschool.rgccisd.org 8.2-RELEASE FreeBSD 8.2-RELEASE
> #0: Thu Feb 17 02:41:51 UTC 2011
> r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> 
> Regards,
> 
> Antonio

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpqLhHuOp63u.pgp
Description: PGP signature


Re: Nvidia problem Digest, Vol 360, Issue 10

2011-05-02 Thread Frank Shute
On Sun, May 01, 2011 at 10:01:46AM -0700, Arthur Barlow wrote:
>
> >> Does anyone know if this will ever be supported for FreeBSD 8.x?  I
> >> tried both the version in ports as well as the one directly from
> >> NVIDIA.  No joy.  Does anyone know of other possibilities?
> >
> > You might try putting the port's name in question into the body of
> > your post. Anyway, is there a specific reason that you cannot use the
> > latest version in the posts system, "nvidia-driver-256.53_1"? I believe
> > that nVidia released a newer version last year, 270.41.06,
> > but it is apparently not available in the ports system. You might want
> > to check with  regarding that.
> >
> > All of the FreeBSD nVidia drivers are listed on:
> > .
> >
> > --
> > Jerry ???
> > jerry+f...@seibercom.net
> 
> Sorry.  I should have mentioned that I'm using a GeForce FX 5200 card.
>  Because of it's "age", NVIDIA says that it need the the
> "nvidia-driver-173...", but NVIDIA also says they do not have a
> version that works for FreeBSD 8.x.  I was hoping someone in the
> FreeBSD community might have ported it.  Unfortunately, I'm no video
> card hacker.

Arthur, I have a similar card to you and I have used:
x11-drivers/xf86-video-nouveau

I don't think it does all the 3D stuff but otherwise it works well.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpJaUMzd3TT9.pgp
Description: PGP signature


firefox4 not starting

2011-03-25 Thread Frank Shute
I upgraded from firefox3.6 to firefox4.0 and now it won't start even
after doing a: rm -rf ~/.mozilla (I saved my profile).

I set -x on the firefox shell script and this is the output:

$ firefox 
+ moz_libdir=/usr/local/lib/firefox
+ found=0
+ progname=/usr/local/bin/firefox
+ dirname /usr/local/bin/firefox
+ curdir=/usr/local/bin
+ basename /usr/local/bin/firefox
+ progbase=firefox
+ run_moz=/usr/local/bin/run-mozilla.sh
+ test -x /usr/local/bin/run-mozilla.sh
+ /bin/pwd
+ here=/usr/home/frank
+ [ -h /usr/local/bin/firefox ]
+ cd /usr/home/frank
+ [ 0 = 0 ]
+ [ -x /usr/local/lib/firefox/run-mozilla.sh ]
+ dist_bin=/usr/local/lib/firefox
+ run_moz=/usr/local/lib/firefox/run-mozilla.sh
+ script_args=''
+ debugging=0
+ MOZILLA_BIN=firefox-bin
+ [ '' = beos ]
+ pass_arg_count=0
+ [ 0 -gt 0 ]
+ [ 0 = 1 ]
+ exec /usr/local/lib/firefox/run-mozilla.sh /usr/local/lib/firefox/firefox-bin

That all looks kosher to me. Anybody run into the same problem and
fixed it?

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpsBmiI0mqZv.pgp
Description: PGP signature


Re: Character shortcuts

2011-03-12 Thread Frank Shute
On Sat, Mar 12, 2011 at 03:57:31PM -0600, Antonio Olivares wrote:
>
> On Sat, Mar 12, 2011 at 3:43 PM, Polytropon  wrote:
> > On Sat, 12 Mar 2011 14:07:59 -0600, Antonio Olivares 
> >  wrote:
> >> Dear FreeBSD experts,
> >>
> >> There has been something that I find hard to do, I would like to find
> >> a CTRL + KEY combination, or ALT + KEY combination to input special
> >> characters like (ñ)  [ALT + 164 or ALT + 0241 in Mr. Gates OS].
> >>
> >> http://www.forlang.wsu.edu/help/keyboards.asp
> >>
> >> accents other symbols like copyright, euro, etc.  I would like to do
> >> the same(have a special key combination) to get the characters in
> >> FreeBSD too, but googling have not found something that works.  I even
> >> tried to run a litte program in the shell to generate the characters
> >> to use for cutting + pasting to no avial.
> >
[snip]
> 
> Thanks Frank & Polytropon for your input.  I have students that bug me
> with how to put the characters on their responses to their instructors
> on the web pages via email.  I tell them to open OpenOffice and insert
> Special Character and then select the n with the tilde for the Spanish
> work.  But they wanted an easier way sort of the way BILL GATES OS has
> it.  And I told them I would ask so they could do it also in FreeBSD
> and Linux land.  One student told me that it mattered which ISO Header
> were used?  ISO 8*?  but I told him you gotta be kidding me.  There
> has to be an easier way.  The keyboards are standard US all using
> English keyboards.

It depends on how the webpage handles things. Just cutting and pasting
will end up with indeterminate results because the way a webpage
handles a Euro is different to how email handles a Euro (only
iso8859-15 has a Euro character IIRC) which is different to how an xterm
handles it... etc.

> 
> I know how to do it in \LaTeX{} or \TeX{},
> \~n, \'

I don't suppose for a minute that all your students use LaTeX or you
could just ask them to send an attached pdf.

> 
> 
> but it does not matter for me, it is for them.  They have to write to
> their spanish instructors in dual enrollment credit.  I tell them then
> to open another page with the special letter and highlight them and
> copy+paste them and they boo my answer :(

Antonio, if they're writing to their Spanish instructors using a
web to email gateway then their characters are likely to get mangled.

If the gateway accepts attachments, then a pdf is the best bet: you
know special characters wont get mangled.

Tell your idle scum^H^H...students to learn LaTeX and a decent text
editor ;)

> 
> Regards,
> 
> 
> Antonio

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpZ2xu6QzRs7.pgp
Description: PGP signature


Re: Character shortcuts

2011-03-12 Thread Frank Shute
On Sat, Mar 12, 2011 at 02:07:59PM -0600, Antonio Olivares wrote:
>
> Dear FreeBSD experts,
> 
> There has been something that I find hard to do, I would like to find
> a CTRL + KEY combination, or ALT + KEY combination to input special
> characters like (ñ)  [ALT + 164 or ALT + 0241 in Mr. Gates OS].
> 
> http://www.forlang.wsu.edu/help/keyboards.asp
> 
> accents other symbols like copyright, euro, etc.  I would like to do
> the same(have a special key combination) to get the characters in
> FreeBSD too, but googling have not found something that works.  I even
> tried to run a litte program in the shell to generate the characters
> to use for cutting + pasting to no avial.
> 
> But the characters after 127 are not printable :( using the pr-ascii script 
> from
> http://tldp.org/LDP/abs/html/wrapper.html
> 
> u + 00F1 is the ñ,but I don't know which key combination gives the
> same results as above.  A script/program(C,C++) that would generate
> the characters would be nice, but if there is a key combination that
> could be used to generate the special letters.
> 
> Thanks in Advance,
> 
> Antonio

You can get those characters (digraphs) using vim.

:help dig

in (g)vim.

E.g

Ctl-k n ~ñ
Ctl-k C o©

There's a note about using the Euro sign in the vim helpfile. (Depends
on the encoding of the font you're using.)

You could also make macros for these digraphs in vim.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpEJXXwShius.pgp
Description: PGP signature


Re: Quick question about sound drivers (esp. snd_hda)

2011-03-11 Thread Frank Shute
On Fri, Mar 11, 2011 at 03:29:44PM -0500, Brian Waters wrote:
>
> It seems to me that under /dev, you can have the following
> sound-related device files:
> 
> dspX
> dspX.Y
> (among others)
> 
> I'm having some trouble getting my sound to work (Dell Inspiron
> E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the
> manpages for snd and snd_hda (which is the appropriate driver), and
> increased the verbosity of the drivers and read the kernel log and
> /dev/sndstat, but I still can't quite wrap my head around everything.
> 
> What I'm wondering is: what exactly is the meaning of X and Y above?
> I'm assuming that X comes from the "association numbers" in the
> snd_hda driver, but I could be wrong. Please correct me!
> 
> Thanks,
> Brian Waters

Have you tried setting the default unit:

# sysctl hw.snd.default_unit=1

If that works, you can make it permanent with:

# echo "hw.snd.default_unit=1" >> /etc/sysctl.conf

If it doesn't, you have to post the output of:

$ cat /dev/sndstat

Make sure your volume is turned up: mixer(8)

HTH.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpzIsMzeo4UM.pgp
Description: PGP signature


Re: Apple & FreeBSD relationship

2011-03-09 Thread Frank Shute
On Wed, Mar 09, 2011 at 02:00:37PM -0800, Nerius Landys wrote:
>
> This is not a technical question.
> 
> Basically I have some cash sitting around.  I'm thinking of investing
> part of it with a company that I believe in.  Apple came to mind.  

Don't invest your cash in a company that has reached it's peak and is
on it's way down after it's charismatic leader dies sooner rather than
later.

2nd biggest company by cap after Exxon?! Can you say "overpriced"?


> You could say that I'd like to judge Apple's moral character before
> investing money with them.  Does anyone know how Apple reciprocates
> to FreeBSD?  After all a lot of MacOSX is borrowed from FreeBSD.  I
> am not seeing Apple's name on this page:
> http://www.freebsdfoundation.org/donate/sponsors.shtml .  Are there
> other ways in which Apple might be reciprocating?

Apple produces the clusterfuck that is CUPS, I believe. They do also
produce good stuff that is bsd licensed like GCD. But even if they
produce magical pixie dust they're still overpriced.


> 
> - Nerius

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpDbpngnaqYm.pgp
Description: PGP signature


Re: xpdf can not print via cups if started from firefox

2011-03-08 Thread Frank Shute
On Tue, Mar 08, 2011 at 09:38:28AM +0100, O. Hartmann wrote:
>
> Hello.
> 
> I've got a weird problem here. Very often I download scientific papers 
> as pdf from protals and they got opened via firefox3 with the configured 
> propper utility, in this case xpdf. In such a case, printing is 
> impossible. I hit the print button, a popup shows up with the configured 
> CUPS printing queue, but hitting OK doesn't have any effect. The funny 
> thing is: when opening the same PDF (it is stored in /tmp/) with xpdf by 
> starting xpdf from a terminal, printing on the same queue works well.
> I realized that the change of this behaviour occured a long time ago 
> when the cups printing system got an update. I never figured out what's 
> the diffrence between starting xpdf via terminal and starting via 
> firefox. My first guess was that my local ~/.xpdfrc does have effect, as 
> the right configured CUPS printing queue showed up, but even the 
> firefox-started xpdf client shows the right printing queue, so this 
> implies that xpdf also reads my ~/.xpdfrc.
> I'm not sure what's going wrong. I have no clue what kind of paper 
> information is passed to xpdf by being called via firefox. Any help 
> appreciated.
> 
> Thanks,
> 
> Oliver

Oliver, I haven't got a fix for the above but have you tried using
this add on for firefox:

https://addons.mozilla.org/en-us/firefox/addon/pdf-download/


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpkCZPGHmiVb.pgp
Description: PGP signature


Re: license of the code in freebsd documantation

2011-03-04 Thread Frank Shute
On Thu, Mar 03, 2011 at 11:53:14PM +0900, Kouichiro Iwao wrote:
>
> I'm writing a script based on the code in freebsd docs,
> and caring about the license of it. The original scripts are 
> example 6 and 7 of the following page. How do I have to treat 
> my code if I distribute it?
> http://www.freebsd.org/doc/en/articles/ldap-auth/client.html
> 
> I know freebsd docs is licensed under The FreeBSD Documantation 
> License but don't know about codes in them.
> 
> -- 
> kiwao 

Since those scripts have been contributed to the FreeBSD project, I
would treat them as if they had the standard FreeBSD license.

If you do that, then you should be playing safe i.e they're almost
certainly not under a more restrictive license.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpbLhE2OcjMH.pgp
Description: PGP signature


Re: Simplest way to deny access to a class C

2011-03-03 Thread Frank Shute
On Thu, Mar 03, 2011 at 10:59:59AM -0600, Jorge Biquez wrote:
>
> Hello all.
> 
> I am sorry in advance if this question sounds too stupid.
> 
> I have a small server for personal use of webpages running:
> 
> 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0
> 
> it is working fine , no problem very stable.
> 
> I just need to block some IP class C address that are always trying 
> to "discover" directories or applications under the web server. They 
> do not do and can not do anything since this server has nothing 
> installed but i am tired of seeing in the logs all the intents they 
> do every 2-3 seconds.
> 
> I have not installed any kind of firewall yet.
> What do you think is the best way to accomplish this task? If 
> possible the easiest one. I do not want to do anything else but just 
> bloc IP's, at this moment at least.
> 
> Thanks in advance.
> 
> Jorge Biquez
> 

I'm assuming you're running Apache, in which case you can block
addresses using .htaccess

http://www.webmasterworld.com/apache/3118159.htm


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgp1c3llyGMXM.pgp
Description: PGP signature


Re: setting up svn server - Connection refused

2011-02-25 Thread Frank Shute
On Fri, Feb 25, 2011 at 09:23:03AM +, Anton Shterenlikht wrote:
>
> I'm learning how to set up svn server.
> I've read through several sections of
> http://svnbook.red-bean.com/nightly/en/
> 
> Here's what I do:
> 
> ZEEV> svnadmin create /home/mexas/zzz
> ZEEV> svnlook info zzz
> 
> 2011-02-25 09:15:28 + (Fri, 25 Feb 2011)
> 0
> ZEEV> svnserve -d
> ZEEV> ps ax | grep svnserve
> 66952  ??  Ss 0:00.01 /usr/local/bin/svnserve.bin -d
> ZEEV> mkdir /home/mexas/zzz.work
> ZEEV> cd /home/mexas/zzz.work/
> 
> When I try to connect to the svn server, I get this:
> 
> 
> ZEEV> svn co svn://localhost/home/mexas/zzz .
> svn: Can't connect to host 'localhost': Network is unreachable

This sounds like it's a problem with your routing table. Does:

$ netstat -r

show a destination of localhost?

$ ping localhost

is useful.

> ZEEV> svn co svn://10.10.10.14/home/mexas/zzz .
> svn: Can't connect to host '10.10.10.14': Connection refused

That's more hopeful. Don't know what's wrong though!

> 
> ZEEV> ifconfig em1
> em1: flags=8843 metric 0 mtu 1500
> 
> options=209b
> ether 00:13:21:5b:05:1d
> inet 10.10.10.14 netmask 0xff00 broadcast 10.10.10.255
> inet6 fe80::213:21ff:fe5b:51d%em1 prefixlen 64 scopeid 0x5 
> nd6 options=29
> media: Ethernet autoselect (100baseTX )
> status: active
> ZEEV> 
> 
> I get exactly the same "Connection refused" if I
> connect from another host.
> 
> I turned the firewall off completely.
> 
> What could be the problems?
> 

It was a few years ago that I setup my svn repository and I referenced
the book you're using too. 

I launch it out of inetd.conf.

I've got the line:

svn stream  tcp nowait  frank   /usr/local/bin/svnserve svnserve -i

in there. Fixed hosts.allow to only allow machines on the lan to
connect and it works well.

Sorry I can't be more helpful but a different approach to running a
daemon permanently is probably a good idea.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgp5ZZz4D6JBu.pgp
Description: PGP signature


Re: 8.2-PRERELEASE?

2011-02-19 Thread Frank Shute
On Sat, Feb 19, 2011 at 04:04:19PM +0100, Harald Servat wrote:
>
> Hello list,
> 
>   yesterday (Feb, 17th) I performed a cvsup (using csup, infact) of my
> /usr/src tree using
>  *default release=cvs tag=RELENG_8
>   in my csup file (based on the csup
> file /usr/share/examples/cvsup/stable-supfile).
> 
>   According to [1], RELENG_8_2 and RELENG_8_2_0_RELEASE were created before,
> however, running uname ony machine after building world reports "FreeBSD
> 8.2-PRERELEASE". I expect it not to show 8.2-PRERELEASE but something newer
> (maybe 8.3-PRERELEASE?) Is uname reporting that I'm stick in some old bits?
> If so, how can I move to the newer 8.x bits? If not, when does the version
> change?
> 
> Thank you!
> 
> [1] http://wiki.freebsd.org/Releng/8.2TODO
> -- 

Just keep following RELENG_8 and once the 8.2-RELEASE is done it will
become 8.3-STABLE.

If you want the release (+ fixes) then you should change your tag to
RELENG_8_2 and in a few days you will get the release once it's done.

You probably want the second option above if you're a fairly normal
user.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpno2i1lruwT.pgp
Description: PGP signature


Re: FreeBSD and SSD drives

2011-02-13 Thread Frank Shute
On Sun, Feb 13, 2011 at 12:05:51PM -0500, Maxim Khitrov wrote:
>
> 
> Can you guys please take Microsoft bashing elsewhere? This thread is
> about FreeBSD and SSDs - a topic I'd like to hear more about from
> people with first-hand experience in running such setup.
> 
> - Max

Agreed. I posted my short experience of using an SSD as a workstation
drive and I'd be interested in hearing the experience of any other
users. Problems? Praise? Let's hear it.

Have people bothered to mount /tmp as a memory drive or are they as me
just using their SSDs without any messing about?


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpsCkOwKiE7d.pgp
Description: PGP signature


Re: FreeBSD and SSD drives

2011-02-12 Thread Frank Shute
On Sat, Feb 12, 2011 at 07:12:08PM +0300, Odhiambo Washington wrote:
>
> On Sat, Feb 12, 2011 at 6:50 PM, Adam Vande More wrote:
> 
> > On Sat, Feb 12, 2011 at 6:14 AM, Dave  wrote:
> >
> > > Define "a *lot*".   If you look up the spec's on the common (currently)
> > > available SSD systems, it's only in the 10's of 1000's writes.  Pittiful
> > > compared to magnetic media.
> > >
> >
> > Chances are on many setups, by the time you've written enough data to
> > significantly wear out the drive your magnetic media would died of
> > mechanical failure long before.  Purchase what you need MLC/SLC.
> >
> >
> > > The way they work too, if you write one "sector" you actualy re-write a
> > > much larger block of memory.
> >
> >
> > Depends on full setup, the write amplification effect on the X-25's is
> > about
> > 1.1x.  Recent SSD's all are much more efficient compared to when these were
> > large, legitimate concerns.
> >
> >
> > > Wear leveling, not that common with SSD
> > > Hard Drives, but very common with USB (Flash) memory sticks,
> > >
> >
> > Completely wrong even the first gen modern SSD's had wear leveling built
> > in.
> >
> >
> > > SSD's have a place, but not for things like swapfiles or working data
> > > that changes a lot..
> > >
> >
> > I guess ZIL's wouldn't be a good use for such devices either.  Perhaps you
> > can inform FS designers that they are doing it wrong.
> >
> >
> While my tech mind cannot comprehend all these arguments, there are laptops
> which come with SSD as primary drives and are running Windows or even
> Apple's OS X.
> I fail to understand why manufacturers would let people install SSDs on
> machines when their life is so much in question.
> 
> Can someone please enlighten me on the dangers faced by those who opt to get
> their laptops installed with SSDs?
> 
> I personally have one, with a Toshiba 128GB SSD (THNS128GG4BAAA-NonFDE). I
> am running Windows 7 on it.
> 
> Should I stop and buy a SATA disk?:)
> 

No you shouldn't but you should run FreeBSD on it ;)

There's a lot of FUD talked about SSDs.

All I know is that I've been using one in my workstation for coming up
to a year with no problems so far.

Take it from a mechanical engineer that SSDs are much more robust than
HDDs, which is one reason they (HDDs) are going the way of the dodo.

I recommend that people should use SSDs for their workstations. Makes
a big difference in performance and makes the computer much more
pleasant to work on.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpYgl6MyCNsr.pgp
Description: PGP signature


Re: Why does my 8.2-RC3 dvd1 boot DOS?

2011-02-06 Thread Frank Shute
On Sun, Feb 06, 2011 at 03:48:45PM -0500, Chuck Bacon wrote:
>
> SERIOUS APOLOGIES!  I've found out my dvd is marginal, or
> possibly the drive.  What seemed like a bad dvd apparently
> resulted in a scan (by the BIOS?) until it found a boot loader
> it understood, "PC-DOS" it said, which was one of several I
> discovered in grepping the ISO file.  I should have
> done freebsd-update !
>Chuck Bacon - c...@cape.com

Chuck, where on the DVD is the copy of PC-DOS?

> 
> > I downloaded it yesterday.  Here's the facts:
> >
> > 1. md5 matches CHECKSUM.MD5
> >
> > 2. When I boot off the BIOS, it takes a half minute or so, and
> > then: voila!  PC-DOS boots, and for all the world look as
> > though it will boot a larger system; except it doesn't have
> > a clue.
> >
> > Here's the hypothesis: The FreeBSD-8.3-RC3 boot loader doesn't
> > satisfy my BIOS, and the BIOS looks through the dvd until it finds
> > one of the DOS boot loaders provided by some fdisk variant.
> > Any ideas why?
> >
> > If nothing else, I'll download disc1.  Praps that'll work!
> >
> > Many thanks,
> > Chuck Bacon -- c...@cape.com
> > ABHOR SECRECY -- DEFEND PRIVACY

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpmjqCKMdtLI.pgp
Description: PGP signature


Re: Why does my 8.2-RC3 dvd1 boot DOS?

2011-02-04 Thread Frank Shute
On Fri, Feb 04, 2011 at 04:53:15PM -0500, Chuck Bacon wrote:
>
> I downloaded it yesterday.  Here's the facts:
> 
> 1. md5 matches CHECKSUM.MD5
> 
> 2. When I boot off the BIOS, it takes a half minute or so, and
>then: voila!  PC-DOS boots, and for all the world look as
>though it will boot a larger system; except it doesn't have
>a clue.
> 
> Here's the hypothesis: The FreeBSD-8.3-RC3 boot loader doesn't
> satisfy my BIOS, and the BIOS looks through the dvd until it finds
> one of the DOS boot loaders provided by some fdisk variant.
> Any ideas why?
> 
> If nothing else, I'll download disc1.  Praps that'll work!
> 
> Many thanks,

Your BIOS isn't clever enough to look through the DVD and find an OS
(an OS that's not shipped with FreeBSD AFAIK). The PC-DOS bootloader
must reside in the boot blocks of your HDD or DVD.

Sometimes manufacturers ship PC-DOS on the HDD if the machine comes
with "no OS"; maybe that's what you are seeing.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: Starting from Scratch!

2011-02-02 Thread Frank Shute
On Wed, Feb 02, 2011 at 12:09:11PM -, Graham Bentley wrote:
>
> After several months away from FreeBSD I am asking
> for advice on versions for general desktop / interest
> use [non critical learning platform]
> 
> Should I hang on a bit for 8.2 to go current?
> 
> Or will I easily be able to update RC3 in any case?
> 
> Thanks!

Graham, you might want to consider doing your installation with a copy
of PC-BSD.

It's got a better installer than FreeBSD's sysinstall and you can use
ZFS if you like. Here's an article which shows the PC-BSD installer in
action:

http://www.linuxbsdos.com/2010/08/17/pc-bsd-8-1-review/

If I was you, I wouldn't wait for 8.2, I'd get stuck in and treat the
inevitable upgrade as a learning experience.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: qmail or postfix?

2011-02-02 Thread Frank Shute
On Tue, Feb 01, 2011 at 03:32:26PM +0100, Alessandro Baggi wrote:
>
> Hi list. Who is better, qmail or postfix?
> 
> thanks in advance

I've used both and both have their advocates/supporters.

I used qmail for about 10 yrs and picked it when basically the choice
was qmail, sendmail and smail.

It worked well and was install and configure and don't do anything
else for 10 years.

Then a few years ago I was building a new machine and decided to
re-assess the MTA; I chose Postfix and am very pleased with it.

I chose Postfix because more people run it and support was likely
easier to come across, not because of any perceived inadequacies of
qmail.

When you do decide on your MTA, I'd recommend buying a book which
documents it.

What I'd also say is that Postfix is probably easier to install and
configure. I installed qmail from source but used the port for
Postfix.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: /usr/ports/x11-wm/awesome problems

2011-01-29 Thread Frank Shute
On Fri, Jan 28, 2011 at 09:08:36PM -0800, Joseph Olatt wrote:
>
> Hi,
> 
> Anybody on the list having recent problems with the awesome window
> manager? I get the following error when I try to run awesome:
> 
> W: awesome: image_new_from_file:288: cannot load image 
> /usr/local/share/awesome/icons/awesome16.png: unknown error, that's really bad
> /usr/local/share/awesome/lib/awful/menu.lua:221: attempt to compare number 
> with nil
> W: awesome: image_new_from_file:288: cannot load image 
> /usr/local/share/awesome/icons/awesome16.png: unknown error, that's really bad
> /usr/local/share/awesome/lib/awful/menu.lua:221: attempt to compare number 
> with nil
> 
> 
> 
> /usr/local/share/awesome/icons/awesome16.png exists, is readable and can
> be displayed fine with display(1).
> 
> 
> I did csup the ports tree and recompiled both awesome and imlib2, but
> did not succeed.
> 
> 
> The entire output of startx is:
> 
> X.Org X Server 1.7.5
> Release Date: 2010-02-16
> X Protocol Version 11, Revision 0
> Build Operating System: FreeBSD 8.2-PRERELEASE i386 
> Current Operating System: FreeBSD mint 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE 
> #0: Fri Jan 21 05:05:00 CST 2011 root@mint:/usr/obj/usr/src/sys/MINT i386
> Build Date: 27 January 2011  07:56:40PM
>  
> Current version of pixman: 0.18.4
>   Before reporting problems, check http://wiki.x.org
>   to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
>   (++) from command line, (!!) notice, (II) informational,
>   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 28 21:43:23 2011
> (==) Using default built-in configuration (30 lines)
> (EE) Failed to load module "fbdev" (module does not exist, 0)
> NTSC 
>   XRANDR name: VGA-0
>   Connector: VGA
>   CRT1: INTERNAL_DAC1
>   DDC reg: 0x60
>   XRANDR name: DVI-0
>   Connector: DVI-D
>   DFP1: INTERNAL_TMDS1
>   DDC reg: 0x64
>   XRANDR name: LVDS
>   Connector: LVDS
>   LCD1: INTERNAL_LVDS
>   DDC reg: 0x6c
>   XRANDR name: S-video
>   Connector: S-video
>   TV1: INTERNAL_DAC2
>   DDC reg: 0x0
> finished output detect: 0
> finished output detect: 1
> finished output detect: 2
> finished output detect: 3
> finished all detect
> Entering TV Save
> Save TV timing tables
> saveTimingTables: reading timing tables
> TV Save done
> disable primary dac
> disable FP1
> disable TV
> init memmap
> init common
> init crtc1
> init pll1
> restore memmap
> restore common
> restore crtc1
> restore pll1
> set RMX
> set LVDS
> enable LVDS
> disable primary dac
> disable FP1
> disable TV
> record: RECORD extension enabled at configure time.
> record: This extension is known to be broken, disabling extension now..
> record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
> W: awesome: image_new_from_file:288: cannot load image 
> /usr/local/share/awesome/icons/awesome16.png: unknown error, that's really bad
> /usr/local/share/awesome/lib/awful/menu.lua:221: attempt to compare number 
> with nil
> W: awesome: image_new_from_file:288: cannot load image 
> /usr/local/share/awesome/icons/awesome16.png: unknown error, that's really bad
> /usr/local/share/awesome/lib/awful/menu.lua:221: attempt to compare number 
> with nil
> E: awesome: main:505: couldn't find any rc file

Missing rc file. Copy and edit the example one distributed in the
package/port to your $HOME.

Hopefully, that will get rid of most of the warnings.

> 
> waiting for X server to shut down xmessage: not found
> xmessage: not found
> finished PLL2
> finished PLL1
> Entering Restore TV
> Restore TV PLL
> Restore TVHV
> Restore TV Restarts
> Restore Timing Tables
> Restore TV standard
> Leaving Restore TV
> 

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: Cannot build openjdk6 on Fbsd 8.1

2011-01-09 Thread Frank Shute
On Sat, Jan 08, 2011 at 03:34:50PM -0500, John R. Levine wrote:
>
> >java/openjdk6 WITH_WEB will give you the plugin to use with www/firefox.
> 
> I'm trying to build openjdk6, and I get this error message.  Any 
> suggestions?
> 
> R's,
> John
> 
> IcedTeaPluginUtils.cc IcedTeaScriptablePluginObject.cc
> In file included from IcedTeaJavaRequestProcessor.h:46,
>  from IcedTeaJavaRequestProcessor.cc:41:
> IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory
> In file included from IcedTeaJavaRequestProcessor.h:46,
>  from IcedTeaScriptablePluginObject.h:49,
>  from IcedTeaNPPlugin.cc:51:
> IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory
> IcedTeaNPPlugin.cc:56:31: error: nsIPluginInstance.h: No such file or 
> directory
> IcedTeaNPPlugin.cc:57:35: error: nsIPluginInstancePeer.h: No such file or 
> directory
> IcedTeaNPPlugin.cc:58:31: error: nsIPluginTagInfo2.h: No such file or 
> directory
> IcedTeaNPPlugin.cc:62:30: error: nsICookieService.h: No such file or 
> directory
> IcedTeaNPPlugin.cc:63:26: error: nsIDNSRecord.h: No such file or directory
> IcedTeaNPPlugin.cc:64:27: error: nsIDNSService.h: No such file or 
> directory
> IcedTeaNPPlugin.cc:65:24: error: nsINetUtil.h: No such file or directory
> IcedTeaNPPlugin.cc:66:26: error: nsIProxyInfo.h: No such file or directory
> IcedTeaNPPlugin.cc:67:37: error: nsIProtocolProxyService.h: No such file 
> or directory
> IcedTeaNPPlugin.cc:68:38: error: nsIScriptSecurityManager.h: No such file 
> or directory
> IcedTeaNPPlugin.cc:71:22: error: nsNetCID.h: No such file or directory
> In file included from IcedTeaJavaRequestProcessor.h:46,
>  from IcedTeaScriptablePluginObject.h:49,
>  from IcedTeaPluginRequestProcessor.cc:41:
> IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory
> In file included from IcedTeaPluginUtils.cc:39:
> IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory
> In file included from IcedTeaJavaRequestProcessor.h:46,
>  from IcedTeaScriptablePluginObject.h:49,
>  from IcedTeaScriptablePluginObject.cc:41:
> IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory
> 

You have to install Firefox first. It contains that header.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-07 Thread Frank Shute
On Thu, Jan 06, 2011 at 07:45:28AM -0800, patrick wrote:
>
> I know this is a bit crazy, but is there any opinion as to whether a
> binary upgrade using an 8.1 CD would work to upgrade a system running
> 4.10? Normally I would want to do a fresh install, but it's at a
> remote client site where it's not going to be easy to do it that way,
> and I'm going to need to guide someone less experienced through the
> install/upgrade process.

An upgrade using a CD wouldn't work as the filesystem changed from
UFS1 to UFS2 betweeen 4 and 5.

I'm afraid as others have indicated, you'll have to visit the site or
ship a preconfigured box to the site.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: port print/teTeX-base failed to install

2011-01-05 Thread Frank Shute
On Wed, Jan 05, 2011 at 11:56:33AM +, Anton Shterenlikht wrote:
>
> I'm updating to teTeX-base-3.0_21. I can build the
> port, but trying to install it gives me this error:
> 
> *snip*
> install  -o root -g wheel -m 444 ./mktex.opt 
> /usr/local/share/texmf/web2c/mktex.opt
> install  -o root -g wheel -m 555 ./mktexdir 
> /usr/local/share/texmf/web2c/mktexdir
> install  -o root -g wheel -m 444 ./mktexdir.opt 
> /usr/local/share/texmf/web2c/mktexdir.opt
> install  -o root -g wheel -m 555 ./mktexnam 
> /usr/local/share/texmf/web2c/mktexnam
> install  -o root -g wheel -m 444 ./mktexnam.opt 
> /usr/local/share/texmf/web2c/mktexnam.opt
> install  -o root -g wheel -m 555 ./mktexupd 
> /usr/local/share/texmf/web2c/mktexupd
> /bin/sh ../libtool --mode=install install  -o root -g wheel -m 444 
> .libs/libkpathsea.a /usr/local/lib
> install -o root -g wheel -m 444 .libs/libkpathsea.a 
> /usr/local/lib/libkpathsea.a
> ranlib /usr/local/lib/libkpathsea.a
> chmod 644 /usr/local/lib/libkpathsea.a
> /bin/sh ../libtool --mode=install install  -s -o root -g wheel -m 555 
> kpsewhich /usr/local/bin
> install -o root -g wheel -m 555 -s kpsewhich /usr/local/bin/kpsewhich
> install  -s -o root -g wheel -m 555 kpsestat /usr/local/bin
> BFD: /usr/local/bin/stZ0ROVc: The first section in the PT_DYNAMIC segment is 
> not the .dynamic section
> strip:/usr/local/bin/stZ0ROVc[.interp]: Bad value
> BFD: /usr/local/bin/stZ0ROVc: The first section in the PT_DYNAMIC segment is 
> not the .dynamic section
> strip:/usr/local/bin/stZ0ROVc: Bad value
> install: wait: No such file or directory
> gmake[2]: *** [install-exec] Error 70
> gmake[2]: Leaving directory 
> `/usr/ports/print/teTeX-base/work/tetex-src-3.0/texk/kpathsea'
> gmake[1]: *** [install] Error 1
> gmake[1]: Leaving directory 
> `/usr/ports/print/teTeX-base/work/tetex-src-3.0/texk'
> gmake: *** [install] Error 1
> *** Error code 2
> 
> Stop in /usr/ports/print/teTeX-base.
> #
> 
> Please advise
> 
> many thanks
> anton

teTeX is ancient and my advice would be to install TeXLive. It's not
in ports but instructions for installing it can be found on the
forums:

https://forums.freebsd.org/showthread.php?t=9681

I think TeXLive 2010 has been released and this has binaries for
FreeBSD. You can get this from http://www.tug.org/ and installation
should consist of just running the installer.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: Any recommendations for FreeBSD VPS hosting?

2010-12-30 Thread Frank Shute
On Wed, Dec 29, 2010 at 05:32:28PM -0800, Randal L. Schwartz wrote:
>
> > "n" == n j  writes:
> 
> n> Thanks for the input, I'll look into the suggested options:
> n> http://arpnetworks.com/vps
> n> http://www.rootbsd.net/virtual-hosting/
> n> http://www.johncompanies.com/jc_bsd.html
> 
> There are rumors of a FreeBSD AMI for Amazon S3 as well, although I
> can't find it on the prebuilt AMI pages yet.

http://www.daemonology.net/blog/2010-12-13-FreeBSD-on-EC2.html


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: freeBSDFoundation donate problem

2010-12-30 Thread Frank Shute
On Thu, Dec 30, 2010 at 10:04:23PM +, Paul Macdonald wrote:
>
> I've just tried again to donate to the foundation for the end of year push, 
> but 3 UK based cards all failed on the groundspring interface  ( 2 x visa, 
> 1 x mastercard, all had funds obv)
> 
> Paypal also failed stating i couldn't use this card for the transaction 
> (which is usable for other purchases fine)
> 
> Has anyone else had a problem ( or succeeded) in donakting via the UK, 
> maybe there's a wider problem here..
> 
> Am posting as maybe someone knows someone who can take a look ( dru lavigne 
> i think is related to the foundation)
> 
> 
> Also groundsprings support message lists a bouncing support address, major 
> g...
> 
> 
> : host tides.org.s8b2.psmtp.com[64.18.7.14] said:
> 
> 550 No such user - psmtp (in reply to RCPT TO command)
> 
> Paul.

I've succeeded donating from the UK using the Paypal button and a
credit card using this page:

http://www.freebsdfoundation.org/donate/

I couldn't get the "DonateNow" route to work.

If you try again and still can't get it to work then email:

Deb Goodkin 

and maybe she can help you out.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: Do I need a xorg.conf to use webfonts?

2010-12-27 Thread Frank Shute
On Mon, Dec 27, 2010 at 01:41:50AM -0500, Xn Nooby wrote:
>
> I installed FreeBSD 8.1, and the xorg package automatically detected
> my video-card and monitor.  I did not have to create an xorg.conf
> file.
> 
> If I want to webpages to look better in Firefox, I think I need to
> install the "webfonts" package.  Section 5.5.2 of the Handbook seems
> to say I need to modify my xorg.conf to use True Type fonts.
> 
> Do I need to create an xorg.conf to modify, or does the X server
> automatically use new TTF fonts?

What you want to do is add it to your fontpath by putting something
like this in your ~/.xinitrc:

xset +fp /usr/local/lib/X11/fonts/webfonts/
xset fp rehash


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: randomising tracks: scripting question

2010-12-26 Thread Frank Shute
On Sun, Dec 26, 2010 at 06:01:45PM +, RW wrote:
>
> On Sun, 26 Dec 2010 09:40:43 -0800
> Chip Camden  wrote:
> 
> > Quoth Frank Shute on Sunday, 26 December 2010:
> > > I generally play my tracks of an album like so:
> > > 
> > > for track in $(cat trombone_shorty-backatown.m3u); do
> > > mplayer $track
> > > done
> > > 
> > > They then play in the correct order.
> > > 
> > > How would I go about randomising the order of play using
> > > sh (preferably) or perl?
> > > 
> > > Sorry for the OT posting but I thought a brainteaser might clear the
> > > fog caused by excessive Xmas indulgence ;)
> > > 
> > > 
> > > Regards,
> > 
> > change "cat t...n.m3u" to "random < t..n.m3u"
> > 
> 
> That should be 
> 
> random -f trombone_shorty-backatown.m3u
> 
> see random(6) for what happens when it reads directly from stdin
> (without "-f -")
> 

Excellent. I didn't know about random(6), I was getting lost in the
manpages: there are manpages for random in 3 different sections!
Should have used apropos.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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"


randomising tracks: scripting question

2010-12-26 Thread Frank Shute

I generally play my tracks of an album like so:

for track in $(cat trombone_shorty-backatown.m3u); do
mplayer $track
done

They then play in the correct order.

How would I go about randomising the order of play using
sh (preferably) or perl?

Sorry for the OT posting but I thought a brainteaser might clear the
fog caused by excessive Xmas indulgence ;)


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: FBSD 8: custom kernel config ends boot at "mountroot>". Plz. help!

2010-12-19 Thread Frank Shute
On Sun, Dec 19, 2010 at 05:11:58AM -0800, Rob wrote:
>
> 
> Hi,
> 
> My system boots fine with the GENERIC kernel on FreeBSD 8.0
> 
> I made a custom kernel, but the boot process then ends with the
> 
> mountroot>
> 
> error and prompt.
> 
> Apparently something is wrong with my kernel config file.
> 
> Can somebody check it below and tell me what is wrong with my kernel config 
> file? Especially the GEOM_PART_* at the end might be the culprit, although 
> this 
> configuration used to work for 7.3.
> 
> Thank you!
> 
> Rob.
> 
> # My kernel config file:
> cpuI686_CPU
> identMYKERNEL
> options SCHED_ULE# ULE scheduler
> options PREEMPTION# Enable kernel thread preemption
> options INET# InterNETworking
> options INET6# IPv6 communications protocols
> options SCTP# Stream Control Transmission Protocol
> options FFS# Berkeley Fast Filesystem
> options SOFTUPDATES# Enable FFS soft updates support
> options UFS_ACL# Support for access control lists
> options UFS_DIRHASH# Improve performance on big directories
> options COMPAT_FREEBSD7# Compatible with FreeBSD7
> options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
> options KBD_INSTALL_CDEV# install a CDEV entry in /dev
> devicepci
> deviceata
> deviceatadisk# ATA disk drives
> options ATA_STATIC_ID# Static device numbering
> devicescbus# SCSI bus (required for SCSI)
> deviceda# Direct Access (disks)
> devicepass# Passthrough device (direct SCSI access)
> deviceatkbdc# AT keyboard controller
> deviceatkbd# AT keyboard
> devicepsm# PS/2 mouse
> devicevga# VGA video card driver
> devicesplash# Splash screen and screen saver support
> devicesc
> devicepmtimer
> deviceloop# Network loopback
> deviceether# Ethernet support
> devicepty# BSD-style compatibility pseudo ttys
> devicemd# Memory "disks"
> devicebpf# Berkeley packet filter
> options SC_DISABLE_REBOOT
> options DEVICE_POLLING
> options HZ=1000
> nodevice mem
> nodevice io
> nodevice uart_ns8250
> nooptions GEOM_PART_BSD
> nooptions GEOM_PART_EBR
> nooptions GEOM_PART_EBR_COMPAT
> nooptions GEOM_PART_MBR
> 

Rob,

If you're going to use a custom kernel, copy GENERIC, edit it and save
it as your kernel conf.

Then when you run into trouble with your custom kernel you can post a
diff(1) between it and GENERIC. Then it's easy to see what you've
enabled/disabled, left-out etc.

As it stands, it takes too much time for people to compare your custom
kernel with GENERIC.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: printing from inside Linux firefox

2010-12-04 Thread Frank Shute
On Fri, Dec 03, 2010 at 07:22:34PM -0800, Dan Strick wrote:
>
> I am running FreeBSD release 8.1.  I normally run a Linux Firefox
> (currently version 3.5.15) because I need the flash plugin
> (/usr/ports/www/linux-f10-flashplugin10).  I also need to print web pages
> on occasion but the Linux Firefox does not recognize the printers attached
> to my system.  It writes warning/error messages like this in the window
> from which I ran the Firefox program:
>   (firefox-bin:77065): Gtk-WARNING **: libcups.so.2: cannot open shared 
> object file: No such file or directory
> 
> If I copy the missing library (from Fedora 10 Linux) into /compat/linux,
> Firefox complains about another missing library.  If I give it more
> libraries until it shuts up, it still does not find my printers.  I
> speculated that cups requires additional configuration, so I created the
> file /compat/linux/etc/cups/pinters.conf with a 
> entry, but Firefox still won't recognize my printer and it produces
> no warning/error messages that might give me a hint.
> 
> Obviously, I don't know what I am doing.  Can this be made to work?
> 
> I tried /usr/ports/www/firefox which installs as firefox3, a native
> FreeBSD Firefox program.  It will print via lpr, but It won't
> do flash.  I tried the flashplugin-mozilla port, but it just causes a
> segmentation violation when I visit a page with flash items.
> (Oddly enough, if I install linux-f10-flashplugin10 in a recent 3.6.xxx
> version of Linux Firefox, it seems to fail in the same way.)
> 
> I tried printing to a file, but both the Linux and FreeBSD Firefox
> programs create slightly strange postscript and pdf files which seem
> to display correctly via the ghostscript and acroread programs but
> won't print correctly on my postscript printer (a Brother HL-1270N).

Firefox produces OK postscript. Your printer setup is borked. Try
using lpr and doing away with CUPS is my advice. Then you can send ps
directly to the printer.

Below are the important files for my postscript printer. I just
convert everything to postscript before I lpr it.

$ cat /etc/printcap

lexmark|local:\
:lp=/dev/lpt0:\
:if=/home/frank/bin/myfilter:\
:sd=/var/spool/lpd/lexmark:\
:lf=/var/spool/lpd/lexmark/log:\
:af=/var/spool/lpd/lexmark/acct:\
:mx:\
:sh:

$ cat /home/frank/bin/myfilter

#!/bin/sh
#

cat - 
echo "\f"



> I tried Linux Opera.  It fails just like the Linux Firefox.
> This is actually a serious problem.  There are sometimes when I just
> *have* to be able to save a postscript image (e.g. a map) and print
> it later.
> 
> My sister tells me that I should be using MS Windows because that always
> works correctly.  I don't know how to prove her wrong.
> 

You can prove her wrong by reading the handbook and installing flash
with the native Firefox; it works fine for me.

> Help!
> 
> Dan Strick

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: About FreeBSD command question

2010-12-03 Thread Frank Shute
On Fri, Dec 03, 2010 at 03:36:02PM +0800, kan wrote:
>
> Hi Support,
> 
> I have a FreeBSD server for mailing, I must make backup and check the which 
> bit (32bit/64bit) is now use in FreeBSD, 
> so can you provide the command for me?
> 
> Regards,
> Kan

Not too sure I'm clear what you're askingyou want to know whether
your machine is 32 bit or 64 bit?

$ uname -p

If it says "amd64" it's 64 bit and if it says "i386" it's 32 bit.

HTH.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: apache13 to apache22

2010-11-09 Thread Frank Shute
On Tue, Nov 09, 2010 at 03:07:55PM -0500, Fbsd8 wrote:
>
> Frank Shute wrote:
> >On Mon, Nov 08, 2010 at 02:18:19PM -0500, Fbsd8 wrote:
> >>As I do a complete fresh install of 8.1 I saw that apache13 is no longer 
> >>being supported, so thought this is the time I will move to apache22.
> >>
> >>Now everything went real easy until testing my websites. In apache13 the 
> >>.css (style sheet) calls for a blue background. The .css file is in the 
> >>same directory as the html files making up the website. In apache13 I 
> >>got the blue background but in apache22 I get a white background. I 
> >>checked the apache22 htppd.config file for any info on css but found none.
> >>
> >>Are .css (style sheet) handled differently in apache22?
> >
> >AFAIK they're not.
> >
> >It sounds like the stylesheet isn't being served up (white background
> >is default).
> >
> >Examine the apache error log. By default it's in /var/log. Also look
> >in the regular apache log and it could be the stylesheet is getting a
> >404.
> >
> >Is server root the same in httpd.conf for 2.2 as it is for 1.3? Could
> >be the cause of the problem. 2.2 uses a different root by default
> >IIRC.
> >
> >
> >Regards,
> >
> 
> This is part of my config file.
> 
> 
> ServerRoot "/usr/local"
> Listen 6680
> DocumentRoot "/usr/local/www/apache22/data"
> 
> AllowOverride None
> Order deny,allow
> Deny from all
> 
> 
> 
> Options FollowSymLinks MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
> 
> 
> 
> Alias /FBSD_manuals/ "/usr/local/share/doc/"
> 
> 
> Options Indexes FollowSymlinks MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
> 
> 
> 
> Here are messages from the access-log.
> "GET /index.php/00.00-web_style_sheet.css HTTP/1.1" 200 6839
> "GET /index.php/powered_by_apache_bsd.gif HTTP/1.1" 200 6839
> "GET /index.php/powered_by_FreeBSD.gif HTTP/1.1" 200 6839

This looks like a problem. It's saying that you have a *directory*
called index.php in your document root which has a stylesheet and 2
gifs contained within it which are all the same byte size.

Is your server correctly dealing with php?

> You can see that apache22 is saying the .css and the 2 .gif have been 
> served up, but the browser has white background instead of blue and the 
> 2 gif images are missing from the displayed web page. Now this is a 
> working website that displays correctly on apache13 so i know there is 
> nothing wrong with the directory content.

I suspect you'll find that even though it's saying it has served up
the .css and gifs, it's just serving up index.php which is 6839 bytes
long.

Anything in your error log?

> 
> The alias website has the .css file in the same directory and it 
> displays correctly.
> 
> 
> What am I overlooking here?
> 
 

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: removing files

2010-11-08 Thread Frank Shute
On Mon, Nov 08, 2010 at 10:48:18AM -0500, Jerry McAllister wrote:
>
> On Mon, Nov 08, 2010 at 11:40:20AM +0530, yoganjaneyulu kasetti wrote:
> 
> > hi,
> > 
> > I have a problem for deleting files using scriptplease some one can
> > guide me for the same.
> > 
> > I have some files with the extension of ".chk" extension along with the
> > extension of ".log" and ".gjf" extension in the folder called different 
> > *input
> > folders. *I wanted to delete the ".chk" file extension having files. If i go
> > to individual input folder manually i can delete the file with *rm* command
> > line by but i would like to delete all the ".chk" files extension files at a
> > time through scripting rather than manual. So please some one help me for
> > the same.
> > /student/sweety/gaussiandata/*1249624064640*/input
> > 
> > /student/sweety/gaussiandata/*1261202703914*/input
> > 
> > /student/sweety/gaussiandata/*1263357080155*/input
> > 
> > /student/sweety/gaussiandata/*1289106407303*/input
> 
> Your examples given here don't seem to match quite what you are asking
> as far as I see.   Maybe I am looking at it wrong.
> 
> But, anyway, can't you just the -R switch on the rm?
> 
>   cd top_of_tree_with_files_to_delete
>   rm -R *.chk
>   rm -R *.log
>   rm -R *.gjk
> 
> Or am I missing something.
> 
> jerry

It could be that the OP has more files than the glob can handle. (With
most shells there's a restrictionor used to be).

I'm also reluctant to use a glob with rm without the -i.

With find(1) you can do a dry run first before giving it the -delete
argument.

The OP also wants to use -maxdepth 1 with find(1) if he doesn't want to
traverse the tree below his target dir.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: apache13 to apache22

2010-11-08 Thread Frank Shute
On Mon, Nov 08, 2010 at 02:18:19PM -0500, Fbsd8 wrote:
>
> As I do a complete fresh install of 8.1 I saw that apache13 is no longer 
> being supported, so thought this is the time I will move to apache22.
> 
> Now everything went real easy until testing my websites. In apache13 the 
> .css (style sheet) calls for a blue background. The .css file is in the 
> same directory as the html files making up the website. In apache13 I 
> got the blue background but in apache22 I get a white background. I 
> checked the apache22 htppd.config file for any info on css but found none.
> 
> Are .css (style sheet) handled differently in apache22?

AFAIK they're not.

It sounds like the stylesheet isn't being served up (white background
is default).

Examine the apache error log. By default it's in /var/log. Also look
in the regular apache log and it could be the stylesheet is getting a
404.

Is server root the same in httpd.conf for 2.2 as it is for 1.3? Could
be the cause of the problem. 2.2 uses a different root by default
IIRC.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: portupgrade fails to run or do anything

2010-11-07 Thread Frank Shute
On Sun, Nov 07, 2010 at 09:21:22AM -0800, Ron (Lists) wrote:
>
> I'm trying to upgrade my ports and I can't get portupgrade to do 
> anything.  I type 'sudo portupgrade apache' (or any package) and all I 
> get back is a command prompt.  No error or any other message.  
> portversion seems to work correctly, showing my out of date ports, etc.
> 
> Running portupgrade with -F doesn't help at all.  I've also noticed 
> that tab-expansion isn't working like it used to on the port names, so 
> that makes me wonder if the database is screwed up.  I've tried running 
> pkgdb and it just returns like portupgrade.  Running portsdb to try and 
> rebuild the index doesn't help.
> 
> Any ideas?  I'm perplexed and Google is no help.
> 
> Thanks
> 

Give portupgrade the -v arg to get some debugging information. E.g:

# sudo portupgrade -v apache\*


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: rc startup script - daemon: failed to set user environment

2010-11-03 Thread Frank Shute
On Wed, Nov 03, 2010 at 08:55:45AM +0200, Valentin Bud wrote:
>
> Hello community,
> 
>  I am trying to build a startup script for an application built from source
> code. The application name is SOGo (sogo.nu).
> 
> I will attach the rc  script and the error I receive when I run it.
> 
> #!/bin/sh
> #
> #
> # PROVIDE: sogod
> # REQUIRE: memcached
> #
> # Add the following lines to /etc/rc.conf to enable sogod:
> #
> # sogod_enable (bool):  Set it to "YES" to enable sogod.
> #   Default is "NO"
> #
> #
> 
> . /etc/rc.subr
> 
> name="sogod"
> rcvar=`set_rcvar`
> 
> load_rc_config ${name}
> 
> : ${sogod_enable="NO"}
> : ${sogod_user="sogo"}
> : ${sogod_workers="-WOWorkersCount 1"}
> : ${sogod_command="/usr/local/GNUstep/Local/Tools/Admin/sogod"}
> : ${sogod_logfile="/var/log/sogo/sogo.log"}
> 
> pidfile="/var/run/sogo/sogo.pid"
> command="/usr/sbin/daemon"
> command_args="-f -p ${pidfile} -u ${sogod_user} ${sogod_command}
> ${sogod_workers} -WOPidFile ${pidfile} -WOLogFile ${sogod_logfile}"
> 
> start_precmd="${name}_prestart"
> 
> sogod_prestart() {
> if [ ! -d `dirname ${pidfile}` ]; then
> mkdir `dirname ${pidfile}` >/dev/null 2>&1 && chown
> ${sogod_user} `dirname ${pidfile}`
> fi
> if [ ! -d `dirname ${sogod_logfile}` ]; then
> mkdir `dirname ${sogod_logfile}` >/dev/null 2>&1
> touch ${sogod_logfile} && chown ${sogod_user}
> ${sogod_logfile}
> fi
> if [ -z ${GNUSTEP_SYSTEM_ROOT} ]; then
> . /usr/local/GNUstep/System/Library/Makefiles/GNUstep.sh
> fi
> }
> 
> run_rc_command "$1"
> 
>  The sogo daemon requires memcached running to start and the
> file ${sogod_logfile}
> to be readable by ${sogod_user}. I also requires the
> directory /var/run/sogo/ to be read/write
> by ${sogod_user} so it can write the PID file. The GNUstep.sh makefile must
> be loaded
> so it can run properly.
> 
>  The other command_args are the startup arguments sogod takes.
> 
> memcached is already started:
> sogo# sockstat | grep memcached
> nobody   memcached  71167 16 tcp4   172.31.32.6:11211 *:*
> nobody   memcached  71167 17 udp4   172.31.32.6:11211 *:*
> 
> sogod is enabled is /etc/rc.conf
> # /usr/local/etc/rc.d/sogod rcvar
> # sogod
> #
> sogod_enable="YES"
> #   (default: "")
> 
> This is the error I receive when I try to start sogod
> sogo# /usr/local/etc/rc.d/sogod start
> Starting sogod.
> daemon: failed to set user environment
> /usr/local/etc/rc.d/sogod: WARNING: failed to start sogod
> 
>  This is the first rc script I write. What can I do to debug the problem
> further?
> 
> Thank you and have a great day,
> v
> -- 
> network warrior

Starting with the obvious, did you create a sogo userID with adduser(8)?
You want to give it nologin as a shell. It will also want a group.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: Problem Installing freeBSD 8.1 on Dell Poweredge T110

2010-10-18 Thread Frank Shute
On Thu, Oct 14, 2010 at 09:55:41AM -0500, Mike Overton wrote:
>
>  (New Dell Poweredge T110, X3430 Xeon, 4GB 1333MHz ). Machine replaces 
> operating freeBSD 8.1 Dell 686 machine with active Internet connection.
> 
> When trying to load freeBSD 8.1 from a boot only i386 ISO disc, which 
> installed with no problems on Dell 686 Pentium machine, new machine is 
> not accepting network configuration loaded via Sysinstall and cannot 
> find freeBSD download site.
> 
> Dell Support refused help, stating "we do not support freeBSD".
> 
> Any suggestions would be appreciated.
> 
> Thanks,
> 
> Mike

One thing that strikes me is that you're using the i386 ISO when your
processor is almost certainly 64 bit.

If you want to address all your memory, then you should use the amd64
ISO.

As to your problem configuring your network, you have to look at the
handbook and give us more information as to what you have done. But as
Adam says you should do a full install with disc 1 if you're having
problems doing a net install.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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"


  1   2   3   4   5   >