Re: php problems

2013-08-06 Thread Lars Eighner

On Mon, 5 Aug 2013, Mark Moellering wrote:


I tried a simple hello world type program
the actual code is :
?php
echo test
?
and the output was;

testsegmentation fault


First, try it with clean code: put the ; after the command and stop closing
the ?php tag at the end of the file.




The system is FreeBSD 8.2 and php 5.3

If anyone has any idea of what changes might have been made that could cause 
this, please let me know.  My other thought was to try reinstalling / 
upgrading php.


Thanks in advance

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




--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Copyright notice in 9.1-RELEASE-p1 is 1992-2012 instead of 1992-2013

2013-02-22 Thread Lars Eighner

On Fri, 22 Feb 2013, Bas Smeelen wrote:

I just upgraded to systems from 7.4-STABLE to 9.1-RELEASE-p1 and noticed that 
the copyright shows 1992-2012 instead of 1992-2013


While it would be good for this to be fixed, under the terms of the Berne
Convention and US copyright law, the notice is not absolutely necessary

(this is the You knew it wasn't yours! answer your mom gave to I did not
know whose it was)

and defects in the notice are not fatal to the copyright. Some fairly feeble
remedies (such as amending the notice on undistributes copies, even after an
infringement has been detected) are sufficient to protect the work.

(I am not a lawyer, but I live from intellectual property.)

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: How to use subversion to keep source, system and doc files up to date?

2012-09-27 Thread Lars Eighner


If only subversion had some scripts similar to the *-supfile s with cvsup,
including some first time scripts.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Does 9.0 honor TERM settings

2012-08-24 Thread Lars Eighner


Does 9.0 honor TERM settings?

It appears to me it does not.  Although I set TERM=cons25l1 in .profile
(running bash) and have verified that it is set to that value with SET,
it appears to me that the function keys are mapped to weird xterm-like
strings instead of their ANSI values (example: F7 = E[18~ not E[S).

I cannot figure out how to enter ^[ in rc.conf using keychange or
kbdcontrol -f, but after some experimentation it appears keychange does not
alter the function keys at a low enough level.  (Besides the fact that
altering some 50-odd keys with keychange seems like it cannot be the right
answer.)

Termcap seems to be in order. cons25l1 tc's cons25w, and cons25w seems to
have the correct ANSI values for the function keys.

So howcome if TERM=cons25l1 is set, the keyboard produces weird xterm-like
strings?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Does 9.0 honor TERM settings

2012-08-24 Thread Lars Eighner

On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote:


On Fri, 24 Aug 2012 01:18:23 -0500 (CDT)
Lars Eighner luvbeas...@larseighner.com wrote:



Does 9.0 honor TERM settings?

It appears to me it does not.  Although I set TERM=cons25l1 in .profile
(running bash) and have verified that it is set to that value with SET,
it appears to me that the function keys are mapped to weird xterm-like
strings instead of their ANSI values (example: F7 = E[18~ not E[S).


The TERM environment variable is supposed to describe the terminal
not control it.



Well, then, where is the setting that makes the F7 key send E[18~ instead
of the standard E[S?


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Does 9.0 honor TERM settings

2012-08-24 Thread Lars Eighner

On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote:


On Fri, 24 Aug 2012 03:13:09 -0500 (CDT)
Lars Eighner luvbeas...@larseighner.com wrote:


On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote:


On Fri, 24 Aug 2012 01:18:23 -0500 (CDT)
Lars Eighner luvbeas...@larseighner.com wrote:



Does 9.0 honor TERM settings?

It appears to me it does not.  Although I set TERM=cons25l1 in .profile
(running bash) and have verified that it is set to that value with SET,
it appears to me that the function keys are mapped to weird xterm-like
strings instead of their ANSI values (example: F7 = E[18~ not E[S).


The TERM environment variable is supposed to describe the
terminal not control it.



Well, then, where is the setting that makes the F7 key send E[18~ instead
of the standard E[S?


In the kernel config there's an option TEKEN_CONS25 which will build
the console terminal emulator in CONS25 mode. You'll need a custom kernel
of course.


I find it really interesting that this change which broke just about every
critical application I run was not mentioned in the release notes or
UPDATING.



I'm curious though - why ? As long as TERM is set correctly
anything that uses curses will handle the keyboard and screen correctly.


If 9.0 had not broken my most important applications, I wouldn't be asking.



--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Does 9.0 honor TERM settings

2012-08-24 Thread Lars Eighner

On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote:


On Fri, 24 Aug 2012 03:13:09 -0500 (CDT)
Lars Eighner luvbeas...@larseighner.com wrote:


On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote:


On Fri, 24 Aug 2012 01:18:23 -0500 (CDT)
Lars Eighner luvbeas...@larseighner.com wrote:



Does 9.0 honor TERM settings?

It appears to me it does not.  Although I set TERM=cons25l1 in .profile
(running bash) and have verified that it is set to that value with SET,
it appears to me that the function keys are mapped to weird xterm-like
strings instead of their ANSI values (example: F7 = E[18~ not E[S).


The TERM environment variable is supposed to describe the
terminal not control it.



Well, then, where is the setting that makes the F7 key send E[18~ instead
of the standard E[S?


In the kernel config there's an option TEKEN_CONS25 which will build
the console terminal emulator in CONS25 mode. You'll need a custom kernel
of course.


I grepped the entire /usr/src/sys/amd64/conf directory.  There is no
TEKEN_CONS25 or TEKEN or CONS25.  Exactly where is this documented?


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Does 9.0 honor TERM settings

2012-08-24 Thread Lars Eighner

On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote:


On Fri, 24 Aug 2012 05:20:18 -0500 (CDT)
Lars Eighner l...@larseighner.com wrote:


I grepped the entire /usr/src/sys/amd64/conf directory.  There is no
TEKEN_CONS25 or TEKEN or CONS25.  Exactly where is this documented?


/usr/src/sys/conf/NOTES is where I found it.


Grepped /usr/src/sys/conf/* and did not find it.

I see from google that something seems to have been added to HEAD and its
UPDATING, but there is nothing of the sort in 9.0 RELEASE - p4.

I really should have known better by now than to upgrade to a X.0 - perhaps
by X.2 or X.3 they will have fix most of the stuff they broke with X.0.

Fortunately, I have learned enough to try upgrades on the mirror and not on
the production disc.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Does 9.0 honor TERM settings

2012-08-24 Thread Lars Eighner

On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote:


On Fri, 24 Aug 2012 05:11:19 -0500 (CDT)
Lars Eighner luvbeas...@larseighner.com wrote:



If 9.0 had not broken my most important applications, I wouldn't be
asking.


Which applications - and are they still broken with the right TERM
settings (TERM=xterm) ?


Joe, most, lynx (which is also my file manager) in functions involving
function keys.  I could, of course, remap all of the macros, but that would
be silly since I have about five pages of keymapping in .Xdefaults to
make xterm in X emulate cons25.

But that does give me an idea for an emergency solution -- perhaps I can run
my console applications in an xterm in X since I made it emulate cons25.  Of
course there is nothing in X that will put 4000 characters (80x25) on the
screen at once as legibly as VGA fonts do - which is why I use console
applications to begin with - so that is strictly a get out of a jam
solution, not practical for production.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Does 9.0 honor TERM settings

2012-08-24 Thread Lars Eighner

On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote:


On Fri, 24 Aug 2012 05:58:36 -0500 (CDT)
Lars Eighner luvbeas...@larseighner.com wrote:


On Fri, 24 Aug 2012, Steve O'Hara-Smith wrote:


On Fri, 24 Aug 2012 05:20:18 -0500 (CDT)
Lars Eighner l...@larseighner.com wrote:


I grepped the entire /usr/src/sys/amd64/conf directory.  There is no
TEKEN_CONS25 or TEKEN or CONS25.  Exactly where is this documented?


/usr/src/sys/conf/NOTES is where I found it.


Grepped /usr/src/sys/conf/* and did not find it.

I see from google that something seems to have been added to HEAD and its
UPDATING, but there is nothing of the sort in 9.0 RELEASE - p4.


It's there on my 9.0-RELEASE-p4 boxes. In /etc/freebsd-update.conf
do you have src among the components to update ?


I have never been able to get update to work.  I cvsup the source tree
(which I suppose is now really serviced by subversion).


I really should have known better by now than to upgrade to a X.0 -
perhaps by X.2 or X.3 they will have fix most of the stuff they broke
with X.0.


I've yet to see any breakage, do your applications really break
with TERM=xterm on the console ?


Only the essential stuff: joe, most, lynx.  Of course things which do not
use any function keys (including the movement keys) are not affected.


Fortunately, I have learned enough to try upgrades on the mirror and not
on the production disc.


Well yes - no untested updates should ever hit a production system,
that's what the QA boxes are for.


also the -V switch doesn't give such good results in mergemaster

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Flash in Firefox

2012-07-30 Thread Lars Eighner

On Tue, 31 Jul 2012, Manish Jain wrote:



I've not experienced any problem with sites that
use Flash, including Youtube.





Hi Jeff,

Okay, so can you please go to the URL below and see whether the bubbles work 
for you ?




recent linux-flash 12.x do not work with any recent version of firefox when
the server uses the standard flowplayer set-up (with JS).  It does work with
flowplayer when used with the flowplayer alternate configuration which is
pure html5.  Of course, as a user you are SOL if a site has elected to use
the JS version of flowplayer. Rolling linux-flash back 6 months or a year
will fix this, and it is hoped it will get fixed when linux-flash is bumped
to 13.x



Please send a cc of your reply to me at bourne.ident...@hotmail.com



--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Twitter.com is loading slowly after updating to Firefox 13.0.1

2012-07-17 Thread Lars Eighner

On Tue, 17 Jul 2012, Toomas Aas wrote:


Hello!

I'm having this problem on two different computers, one running 8.3-STABLE 
and the other running 9.0-STABLE. After updating Firefox from 12.0 to 13.0.1, 
whenever I access twitter.com, I can log in but after that a message appears 
saying that Twitter.com is loading slowly, and the site is practically 
unusable - clicking on any of the links has no effect.


If you do not know that there is something in firefox (now 13ish) which you
must have, deinstall it and install firefox-esr (now 10ish).  Apparently
firefox is bleeding-edge and might better be called firefox-devel.  The
stable version is in firefox-esr.

I haven't found anything that is mission-critical to me that is missing from
esr.  Everything works, except the linux-flash on flowplayer sites using js,
but that is a 12ish linux-flash bug, not firefox.  Sites using flowplayer
without js work fine.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Tweetless

2012-07-05 Thread Lars Eighner

On Thu, 5 Jul 2012, Subhro Sankha Kar wrote:




On 04-Jul-2012, at 7:44 PM, Lars Eighner wrote:


On Wed, 4 Jul 2012, Subhro Sankha Kar wrote:


On 04-Jul-2012, at 1:59 AM, Lars Eighner wrote:


On Wed, 4 Jul 2012, Subhro Sankha Kar wrote:


Hello,

On 03-Jul-2012, at 9:14 PM, Tobias Rehbein wrote:


Am Tue, Jul 03, 2012 at 01:04:07AM -0500 schrieb Lars Eighner:


Call me crazy, but it seems that since the perl bump (5.12 - threaded-5.16)
when firefox (13.0.1,1) got rebuilt, it seems twitter pages do not fully
load, give me the slow loading banner, and the page (not browser or X)
freezes, but no such problems were evident before, and twitter seems
entirely normal in Opera 12.00.




Disabling SPDY in about:config (a solution proposed on the net) didn't fix
this issue.






Let us for a minute assume that there is nothing wrong with FF. How about
installing Firebug and see in the Net tab that what precisely is
happening when you load the Twitter main page?


The firebug font is way too small to read and I cannot find the means to
increase it (the increase text size in the drop evidental refers to the text
size of the subject tab, not the firebug interface.  Nothing at all seems to
be in the Net tab, however, it is not clear this is active when the subject
page is loaded.  Firebug crashes firefox repeatedly when the subject page is
reloaded or when firebug offers to reload the page itself.


Is it waiting for
apparently no reason at a particular place?


The first page after login (twitter Home) always stops in the same place
-- after it draws the tweet box in the left column (but leaves the tweet box
non-functional). Some of drop-downs on the top bar work, but others do not
drop down.  Links in tweets do not open in new tabs (as they usually do) and
if they link to twitter pics, those pages will not fully load.  Using the
reload link in the slow loading message will (at first) reload pages which
generally stop in the same place, but repeated reloading eventually leads to
nothing but the background showing up.


 Also, not strictly required,
but can you also pass the traffic through something like LiveHTTPHeaders
and post a traffic dump?  As a third step, run a pcap session and see
what is happening on the wire/air ?


When I findout what these are.







Adapter Description
  GLXtest process failed (exited with status 1): GLX version older /
than the required 1.3

WebGL Renderer:
  Blocked for your graphics card because of unresolved driver issues.

GPU Accelerated Windows: 0. Blocked for your graphics driver version. /
  Try updating your graphics driver to version /
  Anything with EXT_texture_from_pixmap support or newer.


This probably means that none of the advanced rendering stuff work on your X 
setup.



The only drivers that work with this machine (Intel G33) are intel and vesa.
The intel driver does occasionally freeze X entirely requiring a boot, but
this is not what happens when trying to load twitter pages.


This is a completely distinct problem but probably it would be interesting
to try and figure out why Graphics Acceleration is not working.  I have
very limited experience with Intel Graphics chipsets.  In the i915 days,
there used to be something called AIGLX which required some explicit
configuration in xorg.conf.  Could you check on that?


My understanding from reading the xwin list and others is that the intel
driver is in some aspects broken for x.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Tweetless

2012-07-05 Thread Lars Eighner


Thanks for those who have attempted to help with the problem of twitter
pages not loading completely in Firefox 13.0.1,1.

My solution was to deinstall Firefox 13.0.1,1 and install firefox-esr
(10.0.5.1).  This version handles twitter competently and everything else
that I have check that is mission critical for me.  I do not know what
bleeding-edge functionality is lost in this rollback, but it works for me.

Since twitter works correctly in firefox-esr and opera (in exactly the same
machine with the same os version and network connection), I think the most
reasonable assumption is that something in twitter is hitting a bug in
firefox 13.0.1,1.  If firefox 13.0.1,1 is correct then it is the only one
in step on the parade ground.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Tweetless

2012-07-04 Thread Lars Eighner

On Wed, 4 Jul 2012, Subhro Sankha Kar wrote:


On 04-Jul-2012, at 1:59 AM, Lars Eighner wrote:


On Wed, 4 Jul 2012, Subhro Sankha Kar wrote:


Hello,

On 03-Jul-2012, at 9:14 PM, Tobias Rehbein wrote:


Am Tue, Jul 03, 2012 at 01:04:07AM -0500 schrieb Lars Eighner:


Call me crazy, but it seems that since the perl bump (5.12 - threaded-5.16)
when firefox (13.0.1,1) got rebuilt, it seems twitter pages do not fully
load, give me the slow loading banner, and the page (not browser or X)
freezes, but no such problems were evident before, and twitter seems
entirely normal in Opera 12.00.




Disabling SPDY in about:config (a solution proposed on the net) didn't fix
this issue.





Another thing that doesn't work is rebuilding firefox from the ground up
with portupgrade -fR firefox.


Where does it burp? Can you post, say, the last 10-15 lines of the compile?


Oh, no, the rebuilds go perfectly.  What I meant was, it does not work to
solve the problem.




Can you post the contents of about:config and also try to launch FF from
command line and see if there is anything interesting reported back? Also, I 
hope you do not have any funky CFLAGS set in your make.conf?


Of course firefox will not run from the command line (Error: no display
specified), but there are no messages as firefox fails repeated to load
twitter pages fully when firefox is launched in an xterm.


Sorry for the ambiguity, I indeed meant to launch FF from xterm (or some 
equivalent Terminal Emulator in X) and report back the error. But since you say 
there is no problem with that, guess things should be good.



make.conf:

QT4_OPTIONS=CUPS
WITH_GCC = yes
# added by use.perl 2012-07-03 02:17:12
PERL_VERSION=5.16.0


This looks pretty generic, so nothing to complain about.




I hate GUIs, so my mouse-fu skills are not good enough to copy about.config,
but here is a save as


snip

Okay, try this out. Go to preferences and disable hardware acceleration.
Also go to about:config and search for gfx.  Set the property
gfx.direct2d.disabled to true.  Bounce the browser and go to
about:support.  At the bottom of the page, GPU Accelerated Windows
should read 0/1.  See if that makes a difference.



--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Tweetless

2012-07-04 Thread Lars Eighner

On Wed, 4 Jul 2012, Subhro Sankha Kar wrote:


On 04-Jul-2012, at 1:59 AM, Lars Eighner wrote:


On Wed, 4 Jul 2012, Subhro Sankha Kar wrote:


Hello,

On 03-Jul-2012, at 9:14 PM, Tobias Rehbein wrote:


Am Tue, Jul 03, 2012 at 01:04:07AM -0500 schrieb Lars Eighner:


Call me crazy, but it seems that since the perl bump (5.12 - threaded-5.16)
when firefox (13.0.1,1) got rebuilt, it seems twitter pages do not fully
load, give me the slow loading banner, and the page (not browser or X)
freezes, but no such problems were evident before, and twitter seems
entirely normal in Opera 12.00.




Disabling SPDY in about:config (a solution proposed on the net) didn't fix
this issue.



Okay, try this out. Go to preferences and disable hardware acceleration.


Could not find this.



Also go to about:config and search for gfx.  Set the property
gfx.direct2d.disabled to true.


Did not exist, so I edited prefs.js directly.



Bounce the browser and go to
about:support.  At the bottom of the page, GPU Accelerated Windows
should read 0/1.  See if that makes a difference.


Adapter Description
   GLXtest process failed (exited with status 1): GLX version older /
than the required 1.3

WebGL Renderer:
   Blocked for your graphics card because of unresolved driver issues.

GPU Accelerated Windows: 0. Blocked for your graphics driver version. /
   Try updating your graphics driver to version /
   Anything with EXT_texture_from_pixmap support or newer.


The only drivers that work with this machine (Intel G33) are intel and vesa.
The intel driver does occasionally freeze X entirely requiring a boot, but
this is not what happens when trying to load twitter pages.

Anyway, above did not help with problem at hand.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Tweetless

2012-07-03 Thread Lars Eighner


Call me crazy, but it seems that since the perl bump (5.12 - threaded-5.16)
when firefox (13.0.1,1) got rebuilt, it seems twitter pages do not fully
load, give me the slow loading banner, and the page (not browser or X)
freezes, but no such problems were evident before, and twitter seems
entirely normal in Opera 12.00.

FreeBSD noos.larseighner.com 8.3-RELEASE-p2 FreeBSD 8.3-RELEASE-p2 #0: \
Thu Jun 14 10:31:16 CDT 2012   \
t...@noos.6dollardialup.com:/usr/obj/usr/src/sys/NOOSJUNE12  amd64

I'm guessing weirdness in Firefox 13.0.1,1.  Many other sites (Facebook,
Google Maps, Google, Bing, etc seem to be normal.

Is anyone else noticing something of the sort?


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Tweetless

2012-07-03 Thread Lars Eighner

On Wed, 4 Jul 2012, Subhro Sankha Kar wrote:


Hello,

On 03-Jul-2012, at 9:14 PM, Tobias Rehbein wrote:


Am Tue, Jul 03, 2012 at 01:04:07AM -0500 schrieb Lars Eighner:


Call me crazy, but it seems that since the perl bump (5.12 - threaded-5.16)
when firefox (13.0.1,1) got rebuilt, it seems twitter pages do not fully
load, give me the slow loading banner, and the page (not browser or X)
freezes, but no such problems were evident before, and twitter seems
entirely normal in Opera 12.00.




Disabling SPDY in about:config (a solution proposed on the net) didn't fix
this issue.





Another thing that doesn't work is rebuilding firefox from the ground up
with portupgrade -fR firefox.


Can you post the contents of about:config and also try to launch FF from
command line and see if there is anything interesting reported back? 
Also, I hope you do not have any funky CFLAGS set in your make.conf?


Of course firefox will not run from the command line (Error: no display
specified), but there are no messages as firefox fails repeated to load
twitter pages fully when firefox is launched in an xterm.

make.conf:

QT4_OPTIONS=CUPS
WITH_GCC = yes
# added by use.perl 2012-07-03 02:17:12
PERL_VERSION=5.16.0


I hate GUIs, so my mouse-fu skills are not good enough to copy about.config,
but here is a save as


?xml version=1.0?

?xml-stylesheet href=chrome://global/skin/config.css type=text/css?

!DOCTYPE window SYSTEM chrome://global/locale/config.dtd

window id=config
xmlns=http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul;
title=window.title;
windowtype=Preferences:ConfigManager
role=application
width=750
height=500
disablefastfind=true
onunload=onConfigUnload();
onload=onConfigLoad();

script src=chrome://global/content/config.js/

stringbundle id=configBundle src=chrome://global/locale/config.properties/

menupopup id=configContext onpopupshowing=if (event.target == this) 
updateContextMenu();
  menuitem id=toggleSelected default=true
label=toggle.label; accesskey=toggle.accesskey;
oncommand=ModifySelected();/
  menuitem id=modifySelected default=true
label=modify.label; accesskey=modify.accesskey;
oncommand=ModifySelected();/
  menuseparator/
  menuitem id=copyPref label=copyPref.label; accesskey=copyPref.accesskey; 
oncommand=copyPref();/
  menuitem id=copyName label=copyName.label; accesskey=copyName.accesskey; 
oncommand=copyName();/
  menuitem id=copyValue label=copyValue.label; accesskey=copyValue.accesskey; 
oncommand=copyValue();/
  menu label=new.label; accesskey=new.accesskey;
menupopup
  menuitem label=string.label; accesskey=string.accesskey; 
oncommand=NewPref(nsIPrefBranch.PREF_STRING);/
  menuitem label=integer.label; accesskey=integer.accesskey; 
oncommand=NewPref(nsIPrefBranch.PREF_INT);/
  menuitem label=boolean.label; accesskey=boolean.accesskey; 
oncommand=NewPref(nsIPrefBranch.PREF_BOOL);/
/menupopup
  /menu
  menuitem id=resetSelected label=reset.label; accesskey=reset.accesskey; 
oncommand=ResetSelected();/
/menupopup

keyset id=configTreeKeyset disabled=true
  key keycode=VK_ENTER oncommand=ModifySelected();/
  key keycode=VK_RETURN oncommand=ModifySelected();/
  key key=focusSearch.key; modifiers=accel 
oncommand=document.getElementById('textbox').focus();/
/keyset
deck id=configDeck flex=1
  vbox id=warningScreen flex=1 align=center style=overflow: auto;
spacer flex=1/
hbox id=warningBox align=top
  image id=exclam/
  vbox id=warningInnerBox flex=1
label id=warningTitleaboutWarningTitle.label;/label
label id=warningTextaboutWarningText.label;/label
checkbox id=showWarningNextTime label=aboutWarningCheckbox.label; 
checked=true/
hbox pack=center
  button id=warningButton oncommand=ShowPrefs(); 
label=aboutWarningButton.label;/
/hbox
  /vbox
/hbox
spacer flex=2/
  /vbox
  vbox flex=1
hbox id=filterRow align=center
  label value=searchPrefs.label; accesskey=searchPrefs.accesskey; 
control=textbox/
  textbox id=textbox flex=1 type=search class=compact
   aria-controls=configTree
   oncommand=FilterPrefs();/
/hbox

tree id=configTree flex=1 seltype=single
  onselect=updateCommands('select');
  enableColumnDrag=true context=configContext
  treecols
treecol id=prefCol label=prefColumn.label; flex=7
ignoreincolumnpicker=true
persist=hidden width ordinal sortDirection/
splitter class=tree-splitter /
treecol id=lockCol label=lockColumn.label; flex=1
persist=hidden width ordinal sortDirection/
splitter class=tree-splitter /
treecol id=typeCol label=typeColumn.label; flex=1
persist=hidden width ordinal sortDirection/
splitter class=tree-splitter /
treecol id=valueCol label=valueColumn.label; flex=10

Re: printing jpeg slides to a Postscript printer

2012-06-25 Thread Lars Eighner

On Mon, 25 Jun 2012, Matthias Apitz wrote:



Hello,

I have 10 jpeg slides (screen shoots) and I want to print them to a
Postscript printer (CUPS controlled), on each page 2 slides. I know I
could make some presentation from them or wrap them into a HTML file,
but I was thinking there must be some easy way with some tool from
our ports.

Any idea? Thanks in advance


I'll take that Any at face value.  Did you check your printer's manual?

Many printers these days can print photos stand-alone.  The least hassle
option might to be to load your photos on a card or memory stick, and use
your printer's stand-alone functions, since I gather from your question that
you are not embedding the photos in some larger document.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: text format

2012-06-12 Thread Lars Eighner

On Tue, 12 Jun 2012, pwnedomina wrote:


On 12-06-2012 08:22, Polytropon wrote:

On Tue, 12 Jun 2012 09:06:07 +0100, i pwn wrote:

on groff i've used this cmd to format the text
groff -Tascii  normal.txt | sed 's/^/   /'$1  formatted.txt
on nroff what would be the cmd?

Depending on your input data, I'd say the same command:
groff -Tascii  normal.txt  formatted.txt. But you need
to test this yourself with your input text format.

See man nroff for details.

For using roff macros, man 7 mdoc has a nice summary.



im only asking what cmd should i use to format an ascii text to be identical 
to that one, centered and aligned..



I do not believe there is one.  It seems to me there were some DOS
amusement programs that would do this, and you might find one and run it
in dosbox.  There is very little demand for fully justified monospaced text
because it is extremely ugly, hard to read, and error prone.  Nonetheless,
OpenOffice appears able to do this and so can MS-Word.  I suspect many
others can without the necessity of writing your own macro.  There may be
modules in perl and other scripting languages that might be helpful.

Rivers are very difficult to avoid, but as Matthew suggests, you might start
with fmt and fix up the output with whatever scripting language you know. 
If you could find a good hyphenation routine you might get better results.



--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: note

2012-06-11 Thread Lars Eighner

On Mon, 11 Jun 2012, Arlen McIntyre wrote:


 I have a ASUS laptop that came with Windows 7. I finally
ended up with XP on one partition and Ubuntu on the other.
ASUS only supports the Windows 7 OS with this particular
architect. I want to keep XP on one partition and put FreeBSD
on the other partition ( I already have created). The problem is that
the files I see for installation are ISO files for booting.
 I don't have audio in XP but it worked in Ubuntu. I was told by
an authorized ASUS dealer that I would not find any support from them
because of switching from the pre-installed Windows 7. I cannot update the
drivers in the BIOS
to tell my laptop to boot from DVD/CD.


Really?  What happens when you press F2 and keep it down during boot?


How can I get FreeBSD on
my other partition and have a dual OS system without the boot installation?

  I cannot afford to buy FreeBSD.


FreeBSD is not for sale.  It is free.  Some services will sell releases on
CD or DVD, generally at very affordable prices which are well worth it
compared to downloading by dial-up.  But what those services are selling is
the media and the service of copying FreeBSD to the media and getting the
media into your hands.  You can download and/or install FreeBSD for free.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: altfn going to X

2012-06-10 Thread Lars Eighner

On Sun, 10 Jun 2012, Gary Aitken wrote:


What's the trick to allow altfn to still be used to switch vtys when
running X?



At first I thought it was the wm grabbing it, but I've disabled that and
now it goes to whatever app has the focus.  Seems like something in the
kernel has to grab it before it gets passed on to X.


KVM does not allow VT switching (at last report), but changes are promised.

Otherwise, in an xterm (or other terminal in X) dump xmodmap in
its reloadable form:

$xmodmap -pke  foo.txt

now you can edit foo.txt as you please.

This is mine with ctrl-alt-Fn mapped to VT_switching.

keycode  67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
keycode  68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2

You may want, for example:

keycode  67 = F1 F1 F1 F1 XF86Switch_VT_1 F1 F1
keycode  68 = F2 F2 F2 F2 XF86Switch_VT_2 F2 F2

when you have finished editing, save this file to .xmodmap

because you used -pke and were careful in your editing, this can be loaded
by your window manager.

In fvwm2 that loading looks like:

+ I exec xmodmap .xmodmap

as in, for example:

DestroyFunc InitFunction
AddToFunc InitFunction
+ I Module FvwmBanner
+ I exec xphoon
+ I exec xmodmap .xmodmap
+ I exec xmodmap -e keysym Num_Lock = Num_Lock Pointer_EnableKeys 
+ I exec xclipboard


You can also load .xmodmap by running

$xmodmap .xmodmap

in an xterm.

But you almost certainly want it loaded automatically (as in the fvwm2
example above), but how to do this in your particular window manager you
will have to discover from the documentation of your window manger.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: altfn going to X

2012-06-10 Thread Lars Eighner

On Sun, 10 Jun 2012, Gary Aitken wrote:


On 06/10/12 10:47, Gary Aitken wrote:

What's the trick to allow altfn to still be used to switch vtys when running 
X?
At first I thought it was the wm grabbing it, but I've disabled that and now it 
goes to whatever app has the focus.  Seems like something in the kernel has to 
grab it before it gets passed on to X.


I see it's ctlaltfn when in X.

However, once out of X on another vty, switching to the vty where X was
started does not get me back to X.  How do I get back to the X display
which is running?


Oh, you have to swith to the vtty where X is running, which certainly is NOT
where you started X.

Look in /etc/ttys for a line like this:

ttyvb   /usr/local/bin/xdm -nodaemonxterm   off secure

The above is not standard on installation, so probably the
'ttyv?' is different.  The ? is the ttyv number (in hex) where
your X should be running - BUT the hex number start at 0 (zero)
while your F keys start with 1.  For example, the above says X should run in
ttyv b = 11 decimal, but that is associated with F12 (so that F1 can be
mapped to ttyv0).


It is possible to run some gui programs like zgv without a terminal, but in
that case there is no way to switch terminals into or out of them.  You can
only launch them and quit them.  Maybe (or not) X could run like that if you
did not have a dedicated ttyv set up in /etc/ttys.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: driver for cell phone modem

2012-06-07 Thread Lars Eighner

On Thu, 7 Jun 2012, Fbsd8 wrote:


Running 9.0 and thinking about changing to this verizon model 551L usb
cell phone modem.



http://www.verizonwireless.com/b2c/store/controller?\
item=phoneFirstaction=viewPhoneDetailselectedPhoneId=5632


Your link does not lead to specific information about this device.  However,
I gather it is a LTE device, which is good because at least some are
supported (whereas no WiMax devices are supported).  Moreover, the promise
of Linux and Mac 10.4+ compatibility seems a positive sign.  But I can't
find anything that flatly says it will work with FreeBSD.

Have you considered a mobile (or base station) hotspot?  Since these will
connect with up to five wi-fi devices, and you can almost certainly find a
dongle that will work with your ethernet card, maybe you should take a look
at them.



It's a usb plugin cell modem for internet access.

Before I go through the purchase and signup process I want to verify
Freebsd has a driver that works with this 4G cell device.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: umount device busy

2012-06-04 Thread Lars Eighner

On Sun, 3 Jun 2012, Gary Aitken wrote:


This almost always means someone (i.e. you) is sitting in the directory.
If you tried this while su'ed and the un-su'ed you were still in the
directory /mnt/goflex, you'd get this message. This may also happen if
someone (i.e. you) is in the directory on another vtty. Naturally it can
also mean some operation is in progress, but generally you would have
recognized and avoided that.


That's what I kept thinking.  Backed out of all su ops, checked all
xterms; nada.  no other vtys opened.  In any case, the mount was done
after X was started, and switching vtys crashes X so I don't do that.


This needs fixing.


I thought maybe so, but didn't know for sure.  Thanks.
But Lars' mount -p is more assuring.


I like it because if you happen to have a configuration you would
like to use again, you can capture the output and make it your
fstab, + or - automount adjustments.




3.  I tried lsof but I don't get any output from it:
   lsof +d /mnt/goflex -x -- /mnt/goflex
   Where does it go if not to stdout?



You've got me! But why is there anything after -x? I don't quite
understand.


Otherwise -x thinks the /mnt/goflex belongs to it.


But what if you leave out ALL the stuff after -x.  Isn't it redundant with
the +d switch?  (That's not a Socratic question: I don't know.)

Anyway, I found the lsof FAQ by make extract in the port.  I quess I am not
too good at reading Makefiles because I don't see why it isn't copied to
/usr/local/share/lsof with the README and whatnot.


man -t lsof | sp2ascii  savefile.txt


Where'd you get/find sp2ascii?  I don't see one anywhere, not even on google.
(Except this thread...)  Secret weapon?


That's a good question.  Turns out all kinds of ps converters are installed
by ghostscript.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: umount device busy

2012-06-03 Thread Lars Eighner

On Sun, 3 Jun 2012, Gary Aitken wrote:


Something I'm overlooking here and a lot of questions I can't seem to find
the answers to...

I mounted a usb drive
 mount -t ntfs /dev/da0s1 /mnt/goflex

Then, as nearly as I can remember...
 I then poked around a bit using the xfce4 browser.
 I tried to mkdir from the mount point as a normal user:
   cd /mnt/goflex
   %mkdir breakaway
   mkdir: .: No such file or directory
 After checking write premissions, which I didn't have,
 I did an su -l and tried again, with the same results.

I then tried to unmount the drive, believing it was mounted read-only:
   #umount /mnt/goflex
   umount: unmount of /mnt/goflex failed: Device busy


This almost always means someone (i.e. you) is sitting in the directory.
If you tried this while su'ed and the un-su'ed you were still in the
directory /mnt/goflex, you'd get this message.  This may also happen if
someone (i.e. you) is in the directory on another vtty.  Naturally it can
also mean some operation is in progress, but generally you would have
recognized and avoided that.


As nearly as I can tell, I don't have anything pointing at that drive.


As I said, were you in the directory when you su'd?  If so, you need to drop
back and get out before you su again an umount.



Questions:

1.  What does the No such file or directory mean from mkdir?
   It's a relative dir name, and I'm sitting at a valid dir.


You did not provide a history with this problem, but generally it means some
part of the path before the last does not exist.  I get it for using a
leading /, when I meant a relative path, or not using the leading slash when
I meant an absolute path -- and of course for misspelling some part of the
path.




2.  How do I find out how the file-system was mounted?
   mount (noargs) does not show read/write status


Did you try

$mount -p

?




3.  I tried lsof but I don't get any output from it:
 lsof +d /mnt/goflex -x -- /mnt/goflex
   Where does it go if not to stdout?


You've got me! But why is there anything after -x?  I don't quite
understand.



4.  lsof has a *long* man page, so I'd like to save it temporarily so I
can search it in an editor.  If I do man lsof temp.tmp the output
contains backspace sequences which screw up searching.  How do I get man
to produce plain text without the control sequences?


man -t lsof | sp2ascii  savefile.txt




5.  The lsof man page references a faq which is supposed to be part of the
distribution.
   find . -ls | grep lsof doesn't show any faq.


I can't find it either, but I don't know why the above did not show
/usr/local/share/lsof .  /usr/local/share is where to look for such things,
and /usr/local/share/doc is generally where any docs that are install are
/  found.




6.  And finally, any idea why umount says the device is busy?


Answered above.  When you su, where you may go while su'd has no effect on
where you left yourself.  You (as a normal user) are still on the mounted
directory so the mounted device is busy. You have to drop back (exit su)
and move out of the device before you can umount it.



Seems like I should have been able to find the answer to at least one of those 
but I'm coming up short.

Thanks for relevant pointers,



--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


How to rollback xorg to working tty switch

2012-05-24 Thread Lars Eighner


I need to rollback x.org to a point that tty switching worked.  I'm dead in
the water when stuck in x.org.

How do I do that?  I suppose the whole ports tree has to go back since
x.org drags in a bunch of stuff without doing anything itself.

I'm on 8.3 amd64.

PS: the WITHOUT_NOUVEAU switch does not exist anymore because nouveau
doesn't exist anymore.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Connect to Clear hub modem

2012-05-24 Thread Lars Eighner

On Wed, 23 May 2012, Warren Block wrote:


On Wed, 23 May 2012, Lars Eighner wrote:


Whoops!  By imaginary, I meant not really on the internet, but in
198.168.x.x block reserved for private netting.

This combination of things seems to work in rc.conf:

network_interfaces=lo0 re0


That is normally not needed.


ifconfig=DCHP
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0


These are variable assignments, and the second line overwrites the value 
assigned by the first.  The first alone is preferable because DHCP will do 
other setup, like the route and resolve.conf.



Actually, it seems DCHP won't do it alone.  But doing without DCHP does
work.  Since I gather DCHP  the other stuff can introduce contradictions,
I'm doing without DCHP until I understand this better.

If I can get x.org to work with tty switching again, I'll further
investigate the combinations.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Connect to Clear hub modem

2012-05-24 Thread Lars Eighner

On Thu, 24 May 2012, Warren Block wrote:

Looking at the code above again, there's an error.  The first line is not 
going to do anything (I think, rc.conf has surprised me before). It should 
have the interface name.  So either of these two lines should work:


ifconfig_re0=DHCP
 or
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0


I am only following up here because someday someone may find this thread in
the archives.

We are talking about the Clear hub modem (which is for wireless but can be
connect by ethernet cable).

 ifconfig_re0=DHCP

doesn't work.  Possibly because the hub so far as I can get it to reveal
itself is running DHCP itself.

This does work:

network_interfaces=lo0 re0
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0
defaultrouter=192.168.15.1


If they were both having DHCP, could some kind of race condition result,
where they are dynamically reassigning each other?  I don't know.  I'm
guessing at any rate, if you can firmly deliver the local machine to the
tender mercies of the Clear hub, it will take over everything.

Okay, so I can't explain it, but works convinces me.

Perhaps as I move to the wireless side some light will be shed.  I gather
the ethernet cable connection is supposed to be the bullet-proof fallback
for this device.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: How to rollback xorg to working tty switch

2012-05-24 Thread Lars Eighner

On Thu, 24 May 2012, Polytropon wrote:


On Thu, 24 May 2012 20:11:32 +0200, Polytropon wrote:

On Thu, 24 May 2012 06:45:06 -0500 (CDT), Lars Eighner wrote:


I need to rollback x.org to a point that tty switching worked.  I'm dead in
the water when stuck in x.org.


Maybe putting

Option  DontVTSwitchfalse

in Section ServerFlags or /etc/X11/xorg.conf helps?


Of course not or - of. Maybe it belongs to section
ServerLayout, I'm not sure, it changes quite often
which options are supported and where they have to be
placed. :-)


Doesn't seem to help, and also it appears from my researches that is not
assignable, but like make options, if it present it is true but there is no
way to make it false.



And in worst case, use portdowngrade to get an older version
of the port (may require recompiling a lot of dependencies in
both directions).


portdowngrade does not really provide much help for meta ports, but I took a
flier and rolled xorg-server back to 1.7.5,1 and this sort of worked (mapped
tty changing to shift-Fx - not my first choice, but makes life possible.



portdowngrade x11/xorg -s :pserver:anon...@anoncvs.tw.freebsd.org:/home/ncvs

(Maybe you need to be more specific as x11 is only a metaport.)



--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: How to rollback xorg to working tty switch

2012-05-24 Thread Lars Eighner

On Thu, 24 May 2012, Warren Block wrote:


On Thu, 24 May 2012, d...@safeport.com wrote:


On Thu, 24 May 2012, Polytropon wrote:


On Thu, 24 May 2012 20:11:32 +0200, Polytropon wrote:

On Thu, 24 May 2012 06:45:06 -0500 (CDT), Lars Eighner wrote:



And in worst case, use portdowngrade to get an older version
of the port (may require recompiling a lot of dependencies in
both directions).

portdowngrade x11/xorg -s 
:pserver:anon...@anoncvs.tw.freebsd.org:/home/ncvs


(Maybe you need to be more specific as x11 is only a metaport.)


That was such a great idea, I also just tried it. For me at least it is not 
that alt-ctrl-Fn does not switch, it does. What is does not do is connect 
to the monitor except for alt-ctrl-F9. So in the absence of a crash I can:


alt-ctrl-F1 - get a blank screen with the monitor displaying no signal
alt-ctrl-F2 - same thing sometimes required (for me) to make the next one 
work

alt-ctrl-F9 - back to my desktop

In the event of a crash I am fairly far up the creek. No errors are logged 
anywhere. I installed 9.0-RELEASE #0 and then did a pkg_add for Xorg. In my 
case I would not think there is anything to backup to. I did not see any 
PRs with this symptom. A similar one was deemed user error as I recall. 
Google finds a few similar complaints.


The latest xorg switches to and from console with my Radeon 4650.  It might 
be a problem specific to the newer version of the Intel video driver.



It is definitely a problem for (at least some of) those with Intel chips,
but at least for me the VESA driver did not fix the tty switching problem.
--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Connect to Clear hub modem

2012-05-23 Thread Lars Eighner

On Wed, 23 May 2012, Robert Bonomi wrote:


From owner-freebsd-questi...@freebsd.org  Tue May 22 23:03:03 2012
Date: Tue, 22 May 2012 22:58:39 -0500 (CDT)
From: Lars Eighner luvbeas...@larseighner.com
To: freebsd-questions@freebsd.org
Subject: Connect to Clear hub modem


This is NOT a wireless question.

I am running FreeBSD 8.3-p1.

I want to connect to Clear Wireless Internet.  I know I cannot do this with
a Clear dongle, because Clear uses WiMax which is not supported.

Instead I have a Clear hub modem.  I want to connect by ethernet to it by
wire.

I get this from ifconfig:

re0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
ether 40:61:86:e9:96:0e
media: Ethernet autoselect (100baseTX full-duplex)
status: active

But I don't have a clue what to do from here.

The hub is supposed to have a web page at (imaginary address) 192.168.15.1,
but I haven't been able to raise it.


Whoops!  By imaginary, I meant not really on the internet, but in
198.168.x.x block reserved for private netting.

This combination of things seems to work in rc.conf:

network_interfaces=lo0 re0
ifconfig=DCHP
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0
defaultrouter=192.168.15.1

This seems to be the basic setup for all Clear hub modems for fixed
locations.  It may or may not be a step in the right direct for Clear mobile
hotspot type modems.

I also added the nameservers that the hub told me about to resolv.conf
although it is not clear to me that this is consulted.

tun0 will stomp all over this configuration (which is, as a reminder, wire
ethernet connection to Clear hub-modem) and pppoe is not pertinent on
your side anyway.  It is much simpler than I thought.  You can leave
/etc/ppp/ppp.conf alone in case you have to drop back - just don't invoke
tunX in rc.conf.

Also part of the learning experience before the original question: ethernet
cables are not created equal.  Use the one that comes in the modem box (four
wire), not some two-wire cable you have lying around.

Later today, dongles that will work with FreeBSD are expected to arrive, so
we will see whether it is possible to get wireless connections to the Clear
hub modem.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Connect to Clear hub modem

2012-05-22 Thread Lars Eighner


This is NOT a wireless question.

I am running FreeBSD 8.3-p1.

I want to connect to Clear Wireless Internet.  I know I cannot do this with
a Clear dongle, because Clear uses WiMax which is not supported.

Instead I have a Clear hub modem.  I want to connect by ethernet to it by
wire.

I get this from ifconfig:

re0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500

options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
ether 40:61:86:e9:96:0e
media: Ethernet autoselect (100baseTX full-duplex)
status: active

But I don't have a clue what to do from here.

The hub is supposed to have a web page at (imaginary address) 192.168.15.1,
but I haven't been able to raise it.

The handbook has only a couple of references to ethernet, neither of which
seem to apply here, and seem to be from the point of view of setting up a
hub server, but the hub is more or less a black box to me.

If anyone has already done this, please explain -- slowly and loudly.

Oh, yeah, Clear Customer Service is strictly for the entertainment of
masochists.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: First character typed lost

2012-04-29 Thread Lars Eighner

On Sun, 29 Apr 2012, Warren Block wrote:

On a Gateway ML6732 notebook, FreeBSD 9-stable is working great.  Video works 
(i915), sound works, the only thing that isn't quite right is that the first 
character typed after the FreeBSD kernel loads is lost. After that, it works 
normally.  This makes entering a passphrase more challenging.


These are total shots in the dark:

1. It is entirely normal (and generally thought desirable) for the
screensaver to swallow the first character when it is running -- see if this
is worth further investigation by changing screensavers or disabling it
altogether.

2. check /etc/issue to see if there is a trailing ANSI sequence that might
eat a character.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: converting UTF-8 to HTML

2012-04-22 Thread Lars Eighner

On Sun, 22 Apr 2012, Matthew Seaman wrote:


On 22/04/2012 10:17, Erik Nørgaard wrote:

UTF-8 is variable with, ascii characters are stored as single bytes (not
sure about iso-8859-1) while other characters are stored as two byte chars.


ascii uses the low 128 values that you can assign to an unsigned char,
ie. those where the high-order bit is zero.

Programming a text-only display to assume
everything is UTF-8 would be quite viable, and backwardly compatible
with ascii-only displays.



The hardware doesn't exist to display UTF-8 characters in text MODE.  The
whole point of avoiding GUIs is rasterized and GUI fonts cannot put 4000
characters on a screen as legibly as VGA does (not to mention the
performance hit the rasterization and GUIs deliver).

One look at recent Linux distributions which make it all but impossible to
reach text MODE because they had the thought that sticking a rasterized
white-on-black font on the screen (via yet another kernel module) would be
just as good as VGA should amply demonstrate the point.  Yeah, you need
that crap if you are running a server in Outer Fubaristan where there are 38
languages written in 49 different alphabets -- but crippling text mode is
not worth while for most people, especially people who work in text.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266___
freebsd-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: converting UTF-8 to HTML

2012-04-21 Thread Lars Eighner

On Sat, 21 Apr 2012, Erik Nørgaard wrote:

When characters show up wrong in the users browser it's usually because the 
browser is set to use a non-UTF-8 charset by default such as windows-1252, 
the web server sends the charset=ascii in the http header and there is no or 
incorrect meta tag to resolve the problem. Non UTF-8 charsets are a leftover 
from last millenia that we sometimes still choke on .. sorry the rant ;)


UTF-8 is a waste of storage for most people and is incompatiple with
text-mode tools: it's simple another bid to make it impossible to run
without a GUI.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266___
freebsd-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: pcre library linking issues

2012-04-19 Thread Lars Eighner

On Thu, 19 Apr 2012, Aleksandr Miroslav wrote:


I inadvertently updated my PCRE library and in the process broke a number of
things that depended on the old library.


Not the right answer but works:

Create a symbolic link in the library so libpcre.so.0 points to libpcre.so.1

The old library should have been moved to a compatibility library so that
things that still depended on it could find it.  This did not happen for
some reason.  Fortunately, it appears that libpcre.so.1 is (largely)
backwards compatible, so much (all?) of what depended on it will work if
fooled by a symbolic link.  Some upgrades will wipe out the link so it may
be necessary to recreate it until things get straightened out.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: FreeBSD's backwards webdesign / corporate identity

2012-04-09 Thread Lars Eighner

On Sun, 8 Apr 2012, Tony wrote:


Satanic 3D-lookalike logo



Satanic logo complaints: Hallmark of retarded trolls


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: GIMP(1) don't run

2012-03-20 Thread Lars Eighner

On Tue, 20 Mar 2012, Xavier FreeBSD questions wrote:


Hi to all,

When I want run GIMP(1) it say:


gimp

Shared object libpcre.so.0 not found, required by gimp

How I can solvent this problem ?




Check to see whether you have installed devel/pcre.  You almost certainly
have. You probably updated devel/pcre either intentionally or by installing
something that depended on the new version.

UPDATING 20120204 indicates that there is a way to update devel/pcre so that
the old shared libraries will be preserved.  That, however, does not work. 
(Does anyone ever test stuff put in UPDATING?)



So, in /usr/local/lib make a symbolic link to libpcre.so.1 from libpcre.so.0
.

That's not the right answer,  but it will work.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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/home vs /home (was: Re: One or Four?)

2012-02-17 Thread Lars Eighner

On Fri, 17 Feb 2012, Daniel Staal wrote:

--As of February 17, 2012 11:46:23 PM +0100, Polytropon is alleged to have 
said:



Well, to be honest, I never liked the old style default
with /home being part of /usr. As I mentioned before, _my_
default style for separated partitions include:

/
swap
/tmp
/var
/usr
/home

In special cases, add /opt or /scratch as separate partitions
with intendedly limited sizes.

You can see that all user data is kept independently from
the rest of the system. It can easily be switched over to
a separate home disk if needed.


--As for the rest, it is mine.

I'm in agreement with you on that I like to have /home be a separate 
partition, and not under /usr.


It seems to me that partition and mount point are being confused to a
degree.  There is no reason what is mounted at /usr/home cannot be a
separate partition as well as if it were mounted at root.  There are some
good reasons for the user directories (and perhaps some other data) to be on
a separate partition - mostly the reasons relate to ease of back up and
migration whether planned or emergency.  Arguments about where to mount that
partition are not so practical, being more in the philosophic and historical
realm. Pick one, recognize not everyone will be on the same page and put
appropriate links in.

(Of course, my current zfs system has 40 
partitions...)  Partly though I recognize that I like it because that's what 
I'm used to, and how I learned to set it up originally.  (My first unix 
experience was with OpenBSD, over 10 years ago now.)


I've never seen anything listing the main reasons for having /home under /usr 
though.  I figure there must be a decent reason why.  Would anyone care to 
enlighten me?  What are the perceived advantages?  (Particularly if you then 
make a symlink to /home.)


There may have been a historic reason, but now it is philosophical - trying
to keep the system and userland distinction clear.  But there are many flaws
in the attempted separation. /var for example is the default location for
many logs, both system and user, the spools (remember news?), and databases.
You really cannot drop /usr into a different system and have an operational
result.

(I put the home directories, the www directory, databases and spools all on
the same physical partition which I mount arbitrarily at /usr/local/data. It
isn't exactly plug-n-play, but in tests and emergencies is has proved
practical to drop the partition into several linices with a high level of
functionally  - depending on application versioning being close to in sync.)


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


FreeBSD 8.2 (stable) never boots successfully after installkernel/installworld

2011-12-17 Thread Lars Kellogg-Stedman
Hello list,

I've been having a recurring problem with my FreeBSD 8.2 stable
system: after going through the whole
buildworld/buildkernel/installkernel/reboot/mergemaster/installworld/mergemaster
process, the system no longer boots successfully: the loader reports,
Can't work out which disk we are booting from.  It looks to my eyes
like the zfsloader binary is not getting built correctly: I've been
carrying around an older zfsloader in /boot, so that if at the boot
prompt I type:

  /boot/zfsloader.working

Everything works out fine.

The complete output of the boot process is here:

  https://twitter.com/#!/larsks/status/148191554278928384/photo/1

Additional details:

- This is FreeBSD 8.2 STABLE on amd64
- The kernel (and world) are current as of this afternoon
- This has only ZFS filesystems

This has been a very frustrating problem, and I'm not sure how to
start debugging things.  I'd appreciate your help.

Thanks,

-- Lars
___
freebsd-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: libgcrypt SHA256 mismatch?

2011-09-29 Thread Lars Eighner

On Thu, 29 Sep 2011, Kurt Buff wrote:


The source file is being truncated because fetch loses its connection for
one reason or another.  Many servers now cut you off if you are at dial-up
speeds because net fairness means broadband users always go to the front
of the line.

You can make a shell script to fetch the file and keep running it until you
finally get the whole file a piece at a time or you can try ftp.  When you
have the whole source file (check it against distinfo) place it in
/usr/ports/distfiles. Things should go fine.

Checksum mismatch nearly always means a truncated file.  I cannot ever
remember seeing it otherwise.  Do not override it with NO_CHECKSUM.  That
will be useless with a truncated file and worse than useless if a security
port really has been tampered with.


Interesting. I found out what the problem is, but haven't figured out
how to work around it.

As a test, I put the URL
(http://gnupg.org.favoritelinks.net/libgcrypt/libgcrypt-1.5.0.tar.bz2)
into a web browser, and found that it's being blocked by our web
filter, because the site is marked as also serving adult content.


This is absurd unless there is an extremely low bar for adult content such
as mention of evolution.  It's a wonder you can receive email from me.


The supposed tarball in /usr/ports/distfiles is the response from the web
filter, so it's junk.

After repeated fetches, that is the only site my machine is using to
grab the tarball. How to I tell the machine to vary its download sites
(if indeed there are alternatives?)

In the Makefile I see the line

MASTER_SITES=   ${MASTER_SITE_GNUPG}


find the GNUPG master sites in /usr/ports/Mk/bsd.sites.mk.  Search on GNUPG
to find the list of pertinent sites.

You can move to a empty work directory.  Create a shell script to fetch the
file.

I use git.sh
__
#!/bin/sh

fetch -raR URL of file
__


The url of the file is the master site with the subdirectory filled in
according the Makefile of the port and the file name (find the exact right
one in distinfo of the port.  Give your script executable permissions and
run it.

If it seems to work, check sha265 and length of file against distinfo for
the port.  If you have repeated problems with one site, just substitute the
next site in you script.

When you have all of the right file, move it to /usr/ports/distfiles.




which I'd bet controls how it finds what sites to visit, but don't
know anything beyond that.


Thanks,

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





--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266___
freebsd-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: libgcrypt SHA256 mismatch?

2011-09-28 Thread Lars Eighner

On Wed, 28 Sep 2011, Kurt Buff wrote:


All,

I've just spun up a new 8.2-RELEASE VM, and gotten a fresh ports tree.
I tried to install XFCE4, but it has ended with an error:

===Verifying install for gcrypt.18 in /usr/ports/security/libgcrypt
===  License GPLv2 LGPL21 accepted by the user
===  Extracting for libgcrypt-1.5.0
= SHA256 Checksum mismatch for libgcrypt-1.5.0.tar.bz2.
===  Refetch for 1 more times files: libgcrypt-1.5.0.tar.bz2
===  License GPLv2 LGPL21 accepted by the user
= libgcrypt-1.5.0.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch
http://gnupg.org.favoritelinks.net/libgcrypt/libgcrypt-1.5.0.tar.bz2
fetch: http://gnupg.org.favoritelinks.net/libgcrypt/libgcrypt-1.5.0.tar.bz2:
size unknown
fetch: http://gnupg.org.favoritelinks.net/libgcrypt/libgcrypt-1.5.0.tar.bz2:
size of remote file is not known
libgcrypt-1.5.0.tar.bz2   4634  B 5734 kBps
===  License GPLv2 LGPL21 accepted by the user
= SHA256 Checksum mismatch for libgcrypt-1.5.0.tar.bz2.
===  Giving up on fetching files: libgcrypt-1.5.0.tar.bz2
Make sure the Makefile and distinfo file
(/usr/ports/security/libgcrypt/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type make NO_CHECKSUM=yes [other args].


Anyone else run into this?


The source file is being truncated because fetch loses its connection for
one reason or another.  Many servers now cut you off if you are at dial-up
speeds because net fairness means broadband users always go to the front
of the line.

You can make a shell script to fetch the file and keep running it until you
finally get the whole file a piece at a time or you can try ftp.  When you
have the whole source file (check it against distinfo) place it in
/usr/ports/distfiles. Things should go fine.

Checksum mismatch nearly always means a truncated file.  I cannot ever
remember seeing it otherwise.  Do not override it with NO_CHECKSUM.  That
will be useless with a truncated file and worse than useless if a security
port really has been tampered with.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Firefox clean installation but does not execute

2011-09-20 Thread Lars Eighner

On Tue, 20 Sep 2011, Alain G. Fabry wrote:


Hello,

I've installed Firefox36 from ports, it installed without a problem but it
does not launch.  In other words, there's no firefox file on my system. 
Had it installed before and working, then to clean out the system with

unnecessary ports, I removed all ports and reinstalled only what is
necessary.  Somehow now I can't get firefox to work.  The installation
runs through cleanly, but when I try to run firefox, the system just
responds with 'command not found'

fabry@desmo 7:27 % pkg_info | grep firefox
firefox-3.6.22,1Web browser based on the browser portion of Mozilla
afabry@desmo 7:28 % firefox
firefox: Command not found.

What could be the problem, where could I start looking?



what happens when you

%which firefox3

?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: Using ports and packages together (or, how do I get mod_php5 ? )

2011-09-19 Thread Lars Eighner

On Mon, 19 Sep 2011, Brandon Kuczenski wrote:

I'm concerned that, if I have some packages built from ports and some 
installed from the release, that the system will become unstable if things 
get too out of sync.


I'd like to say it doesn't matter, but ...

If you are using packages from the time of 8.2 release, you almost certainly
will have trouble using the current (not CURRENT) ports tree for 8.2.  With
a fresh ports tree study UPDATING.  There is quite a lot of reading since
8.2 release. Ruby rolled forth and back, perl has rolled forward etc.

You may do better upgrading with packages first before recompiling things
you need to recompile.

In principle there is nothing wrong with having mixed self-compiled ports
and packages.

THE MAIN PERILS are letting the ports tree get out of sync with itself. 
This could happen, for example, if you cvsup and it stops (or is stopped)

before it is finished (to deal with that example, redo cvsup and be sure it
completes before doing anything with ports); or getting the package database
snafued which can happen if you or the electric company interrupt the
database update process.



Am I incorrect? i.e. should I just go ahead and install libtool 2.4 from the 
port?  I don't see this discussed explicitly in the handbook.


The handbook should not have much to say about this. Compiling ports
yourself or using packages should leave you in exactly the same place
(unless of course you make changes when you compile).  The system cannot
tell where the binary came from. We have the habit of saying port when we
compile from the ports tree and package when install a package - but they
are really the same thing at a slightly deeper level.  Packages ARE ports.

/usr/ports/UPDATING is the key document.

I don't see any notes since 8.2 release to suggest libtool backward
compatibility problems have cropped up since then. Since more things depend
on libtool than you can shake a stick at it is likely to a long time for
pkgdb to edit the dependencies in the usual way.  Investigating -s might
help.


PS: installing mod_php is an option which I think is called WITH_APACHE.
To be absolutely sure it is set, run make config in php5 port.  The config
will be saved and some port maintenance tools may assume it is right without
prompting you.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: copyrights

2011-09-13 Thread Lars Eighner

On Tue, 13 Sep 2011, Alan Clements wrote:


On the front page of the FreeBSD Handbook the copyright notice reads:

Copyright © 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The FreeBSD
Documentation Project

This seems excessively long. Is there a reason why it just doesn't simply read:

Copyright © 1995-2011 The FreeBSD Documentation Project

This seems more readable. The former is running off the end of the
page and is starting to look cluttered. Unless there is some legal
reason I'm not aware of  listing each year in order seems unnecessary.


Signatories of the Berne Convention, including the United States and almost
all civilized countries, do not require the notice at all. As a reminder to
nice people, the shorter form would surely do.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266___
freebsd-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: Can't log in as toor since package update

2011-09-09 Thread Lars Eighner

On Fri, 9 Sep 2011, Paul Keusemann wrote:

I use the toor login on my FreeBSD systems to log in with the korn shell. 
Since August 22, When I try to log in as toor or even when I try to su - 
toor, I get logged in as root.  For example:


ushers# ssh -l toor woodstock

Password:

Last login: Fri Sep  9 06:30:23 2011 from 172.16.175.216

Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994

   The Regents of the University of California.  All rights reserved.

FreeBSD 8.2-RELEASE-p1 (WOODSTOCK) #1: Mon Jul 11 09:05:07 CDT 2011

woodstock# who am i

root 0Sep  9 07:46


This has been entirely normal since I have been using toor - sometime
around 5.X.

Toor is root. If you are not in your korn shell, you should check that
it is install and the path is correct in passwd.

If you have been running at toor with the thought that somehow it is better
than running as root, you are mistaken.  You should have a normal user
account to use for most everyday tasks.  You can put that user in the wheel
group if you want to be able to su to root.


woodstock# su - toor

woodstock# who am i

root 0Sep  9 07:47


Unfortunately, I haven't tried to log in since a package update I did around 
August 22, so I didn't notice this problem until now.  Does anybody have any 
idea what might be causing this?


The fact that user 0 is root to the system.  Calling it toor to use an
alternate shell does not change that.



--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


What USB dialup modem WILL work with 8.2?

2011-08-26 Thread Lars Eighner


On the basis of what I now believe was malicious advice, I am out of pocket
for a USB US Robotics 56k dialup modem.  However, this device attaches as a
ugen device.  I haven't found a way to make ppp on demand work with it
attached that way.

I do not load umass because I am using hplip and it must be grabbed by ugen. 
Otherwise my kernel is generic.  However, I would be very surprised that

umass is necessary for the modem to attach correctly.

So I am asking again: does anyone have a dialup modem of any kind which
works correctly on 8.x to provide ppp-on-demand? If so what is it?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: What USB dialup modem WILL work with 8.2?

2011-08-26 Thread Lars Eighner

On Fri, 26 Aug 2011, Mike Tancsa wrote:


On 8/26/2011 3:21 PM, Erik Trulsson wrote:

So I am asking again: does anyone have a dialup modem of any kind which
works correctly on 8.x to provide ppp-on-demand? If so what is it?

(As for promises about what *will* 100% guaranteed work, which seems to
be what you really want, I am afraid I can't give any.  It has been
several years since I last used a dialup modem, so I don't know for
sure what *will* work with todays software, only what should work.)



Works for me once umodem is loaded as a kld...



bingo.

ucom was in my nearly GENERIC conf, so was ubsa and some other modules
mentioned.  umodem wasn't - and if the line was in GENERIC or NOTES I must
have deleted it for some reason instead of commenting it out.  Nonetheless,
locate reveals it is being built.  Works when it is loaded and creates
cuaU0.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-23 Thread Lars Eighner

On Mon, 22 Aug 2011, Robert Bonomi wrote:


From: Lars Eighner luvbeas...@larseighner.com



That's why I sprang for the 3Com which WAS supported by sio for years and is
NOT supported by uart since 8.x.  Why it is this device could be supported
for so many years, but somehow it is impossible on 8.x?


The answer is because it *iS*.  Whether or not you understand 'why' does't
change that real-world FACT.

The world changed.  The old driver -doesn't- work any more.  Because of
architectural changes to other parts of the system.


It is only natural for me to resist the conclusion that I have wasted years
of my time and poured trasure down a rat hole.


I'll look at anything, but if I have to buy something, I want to know it is
actually IS working with uart, not that sort of should've.


*sigh*

If it is a USB serial port, it _doesn't_ use the uart driver.  And you avoid
any limitations that it might have.


drop-in repIacement were the exact words used when I asked about it the
first time I heard sio was being dropped and was assured uart would be a
drop-in replacement. But it is not, so theoretical ought to works are
not helpful.  I'm looking for really actually does work.


You've been told what actually does work.  I'm running 8.2 on several
machines -- *with* working serial ports that live directly on the legacy
ISA bus.  Using only the standard kernel drivers.  And doing PPP over
those ports.  I'm not using a modem, just a null-modem cable but I could
swap in a pair of _any_ type of hardware modems.


Well, see, my question was about dialup, not null modem.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: freebsd-update, fetch once upgrade many machines

2011-08-23 Thread Lars Eighner

On Tue, 23 Aug 2011, Paul Schenkeveld wrote:


On Fri, Aug 19, 2011 at 04:10:30PM +0200, Paul Schenkeveld wrote:

Hi,

Is it possible to fetch files needed for freebsd-update once and put
them on a local fileserver to update many machines?


Thanks for the pointers on how to set up my own build servers for
freebsd-update but I'm not really interested in building locally, I
just want to mirror the releases and patches that we're interested in
locally and point freebsd-update at my local mirror.


I'm coming in late to this, so this may not be pertinent or may already have
been suggested.

The cvs-supfile in /usr/share/examples/cvsup if you have installed cvsup,
seems to say it will reproduce the entire CVS tree on your machine.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-22 Thread Lars Eighner

On Mon, 22 Aug 2011, Conrad J. Sabatier wrote:


On Sun, 21 Aug 2011 11:34:22 -0500 (CDT)
Lars Eighner luvbeas...@larseighner.com wrote:


Since uart in 8.x will not support my PCI 3com hardware modem (as
FreeBSD sio has since 4.x) and my PR is gathering dust, before I buy
any more coaster sets from osdisc.com, it behooves to ask if there
are any dialup modems that 8.x uart actually supports for ppp on
demand?


Do you have a serial port on your machine?  If so, why not go with an
external modem?  Always worked for me, back in the day.  :-)


And my internal hardware modem worked for me when there was a serial driver,
namely sio.  It won't work with 8.x and uart, so there is no reason to think
that things that used to work with sio will work with uart.

That's my question: what dialup modem is KNOWN to work with uart on 8.x?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-22 Thread Lars Eighner

On Mon, 22 Aug 2011, Odhiambo Washington wrote:


BTW, Lars, which country do you live in? Still no 3G there??



I live in Texas. It has a greed-based economy, so 3G is practically
available only for the very greedy, which is to say rich.  I do not
speak the language of the very greedy - it is a very strange language
in which unlimited means not really unlimited but only so much as
we think you deserve.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-22 Thread Lars Eighner

On Mon, 22 Aug 2011, Robert Bonomi wrote:


Even 'sio' support of PCI serial ports and/or modems was -very-limitid.
precisely *two* models of cards -- The 3Com FaxModem PCI and the Advantec
56k Voice Messaging PCI FaxModem.


That's why I sprang for the 3Com which WAS supported by sio for years and is
NOT supported by uart since 8.x.  Why it is this device could be supported
for so many years, but somehow it is impossible on 8.x? It's not as if
dozens of new such devices from dozens of new vendors are flooding the
market.  It's the same thing it ever was.


Supporting serial controllers across a PCI bridge takes lots of work. and
does *not* 'generalize' well.

If I were in your situation, I'e look at a USB serial port and external
RS-232 modem.


I'll look at anything, but if I have to buy something, I want to know it is
actually IS working with uart, not that sort of should've.  Uart should've
sort of been a drop-in replacement for sio - drop-in repIacement were
the exact words used when I asked about it the first time I heard sio was
being dropped and was assured uart would be a drop-in replacement. But it
is not, so theoretical ought to works are not helpful. I'm looking for
really actually does work.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


What dialup modem WILL work with 8.x and uart?

2011-08-21 Thread Lars Eighner

Okay, I'm back.  I sprang for Gentoo and Fedora 15 distribution discs, and
now I seem to have a nice, but expensive, set of coasters because apparently
all of Linux has gone tiny console fonts at something like 170x48 resolution
(and really are turning themselves into Gnome machines that totally neglect
command line applications).  Since I am in unices for the command line
applications I don't have much choice.  But I still don't want to be
stranded in an orphaned version when 7.x reaches the end of its life.

Since uart in 8.x will not support my PCI 3com hardware modem (as FreeBSD
sio has since 4.x) and my PR is gathering dust, before I buy any more
coaster sets from osdisc.com, it behooves to ask if there are any dialup
modems that 8.x uart actually supports for ppp on demand?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: new to os

2011-08-19 Thread Lars Eighner

On Fri, 19 Aug 2011, Julian H. Stacey wrote:


Aloha Lars,

You mentioned WP5 in this thread. I have some docs on disks that were
created in WP5. You know any FreeBSD based app like abiword that can
read them for transfer to a contemporary program?


Do you mean Word Perfect ?
Wordperfect-8.0 used to run on FreeBSD 3.4-RELEASE  was free,
while Corel charged for the MS based version !


If I recall correctly, this was a Linux version which ran with Linux
compatibility as it was then.  Also it only ran with a GUI - the command
line version was available for $$$.

I have no idea whether it could be persuaded (easily) to run with recent
Linux compatibility.



I have distfile
MD5 (GUILG00.GZ) = 386d2c4c1422992e8f8242bd74f3f705
-r--r--r--  1 jhs  staff  23730473 Mar 12  2002 GUILG00.GZ

It got taken out of FreeBSD ports/ some years back.

http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/jhs/editors/wordperfect/pkg/README.JHS

You might need to either:
upgrade port to run it on a new BSD
run it on an old machine
or emulator of an old FreeBSD

Cheers,
Julian



--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Anyway to mount ext4fs?

2011-08-19 Thread Lars Eighner

Is there any port or other means of mount ext4fs?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: new to os

2011-08-18 Thread Lars Eighner

On Thu, 18 Aug 2011, 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.


The main problem with DOS is lack of applications.  If it was not so,
I would be running it myself.  You might, for example, still have your copy
of WP 5 -- I do.  But printers that work with the printer drivers are now
museum pieces.  There are work-arounds for this sort of thing -- including
the hobby of maintaining ancient hardware -- but as for a working machine to
do anything practical, there are stumbling blocks like this at every turn.


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.


Of course there are still many old DOS tutorials online in various archives
and some games and stuff. But now you are asking about FreeBSD, I think.

One of the virtues of all of the unix-like systems (the BSDs and  Linuxices)
is that there are many maintained command-line applications, and the basic
stuff is well-domuented with the online manual (man command).  These
applications are very similar from one BSD or Linux system to another, and
are often compiled from the same source code.  They all have true
multiprocessing so you can switch from one command line environment (virtual
terminal) to another with a keystroke.  They are a little short of
command-line (launched) graphics programs (viewers, paint, etc.) but they
have a choice of GUIs, some of which are very lightweight, when you have to
have graphics, and you can switch between the GUI and a command line virtual
terminal with a keystroke.


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.


No ONE thing comes to mind.  There are some web versions of the man command
online, which is a good place to start.  But the best thing seems to me is
to find some disk space and make a small installation.  Start by running

#man man

and go from there.



--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: new to os

2011-08-18 Thread Lars Eighner

On Thu, 18 Aug 2011, Al Plant wrote:


Aloha Lars,

You mentioned WP5 in this thread. I have some docs on disks that were created 
in WP5. You know any FreeBSD based app like abiword that can read them for 
transfer to a contemporary program?


I don't know of anything.  If I recall correctly, abiword could open such
files but made mincemeat of them - perhaps some progress has been made since
I last tried.

Since I still have my copy of WP5, I run it in dosbox and re-export file to
a more widely supported format.  This is subject to the limitations of the
time, so the conversion of special characters and formating is iffy and
tables are almost guaranteed to be a mess.  I believe there is a dummy print
driver for WP6DOS which prints WP6 documents to disc in pdf or ghostscript
which can subsequently be printed to paper (or converted) with modern tools. 
There might be something similar for WP5, but in both cases this depends on

having the original WP program to run in dosbox.

Since intellectual property puts meat on my family's table, I naturally
would not suggest that pirate copies of WP5 might be on the web somewhere.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: ISO images

2011-08-17 Thread Lars Eighner

On Wed, 17 Aug 2011, Rui Silva wrote:


Hi,

I want to install FreeBSD for the first time but I have some doubts regarding 
the ISO images.


I have downloaded an ISO image (FreeBSD-8.2-RELEASE-i386-dvd1.iso) via 
torrent, but soon realised that the packages collection was very poor when 
compared to 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.2-RELEASE/packages/;


Is there any complete ISO image that includes all the packages I saw in 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.2-RELEASE/packages/;? That 
would be really nice.


Of course there is not because no media appropriate to an ISO image could
contain such an ISO.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: more information

2011-08-04 Thread Lars Eighner

On Thu, 4 Aug 2011, zareena crisostomo wrote:


Please help me with my research work..I'm working on Freebsd as my OS.
Tnx.


And you attach a Word document?  Your scam stinks to high heaven.






Zareena C. Bohol


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Sio won't compile in 8.2

2011-07-22 Thread Lars Eighner


Although the code for sio appears to be in 8.2 (or at least cvsup does not
delete) but it does not compile - apparently owing to a missing tty related
library or a version difference.

Since there does not appear to be any likelihood that uart will be fixed, I
figure I will be stuck in 7.4 forever.  But what does that mean in the not
too distant future when 7.4 is no longer supported?  Is there some way to
prepare for that eventuality?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: How to add sio to 8.2 ?

2011-07-21 Thread Lars Eighner

On Thu, 21 Jul 2011, per...@pluto.rain.com wrote:


Lars Eighner luvbeas...@larseighner.com wrote:


I've come to the conclusion that I need sio to be able to use 8.x.

Can it be as simple as just dropping the code from 7.x into the
source for 8.x and adding a line to the kernel configuration?

Or would this be fraught with all kinds of deep traps?


sio(4) was replaced by uart(4) as part of the Giant retirement.
Depending on what you need that uart(4) does not currently have,
it might be easier to improve uart(4) than to resurrect sio(4).


In the meantime I actually answered my own question. sio is in the source
code for 8.2 (or at least it was not deleted by cvsup).  It certainly
appears that it is only necessary to add device sio to the kernel
configuration.  I have not actually compiled it yet.  I think I might have
to remove uart to keep it from grabbing the COMM devices.

uart cannot properly identify the only internal hardware dial-up modem still
obtainable (and incorrectly identifies its chip) --- the one we all had to
buy to run FreeBSD.  Whether its inability to handle dial-up PPP on demand
is the fault of the new TTY set up (as some have suggested) can only really
be determined by seeing if sio can function in the same environment, but
that uart authors overlooked a piece of hardware required for years in
FreeBSD sort of suggests that perhaps they overlooked other things.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Tools to find unlegal files ( videos , music etc )

2011-07-19 Thread Lars Eighner

On Tue, 19 Jul 2011, C. P. Ghost wrote:


Speaking with my university sysadmin hat on: you're NOT allowed to
peek inside personal files of your users, UNLESS the user has waived
his/her rights to privacy by explicitly agreeing to the TOS and
there's legal language in the TOS that allows staff to inspect files
(and then staff needs to abide by those rules in a very strict and
cautious manner). So unless the TOS are very explicit, a sysadmin or
an IT head can get in deep trouble w.r.t. privacy laws.


Yes, but I am not an expert on privacy laws in France, and I suspect
you are not either.  Whether examining the magic number (first four bytes)
of a file constitutes a breach of privacy is a matter for legal advice
applicable to the particular jurisdiction.  You certainly can look at the
external package: file size and name.


You may want to look for files that are unusually large.
They could possibly be ISOs, dvdrips, HD movie dumps...


Not to forget encrypted RAR files (which btw. could contain anything,
including legitimate content, so be careful here).


We have the same problem here with users sharing movies on the file
servers, and what makes it worse is some of their movie files are
legit because they're, for example, official trailers that are
reworked and redistributed to our customers.

You won't win this, tell your boss it can not be done.


What can technically be done is that the copyright owner provides a
list of hashes for his files, and requests that you traverse your
filesystems, looking for files that match those hashes. AND, even
then, all you can do is flag the files, and you'll have to check with
the user that he/she doesn't own a license permitting him/her to own
that file!


You cannot generate a hash without at a certain automated level opening the
file.  If you can do that, couldn't you generate a hash of the first four
bytes to match with hashes of known magic numbers? If you can look at the
whole file, surely you can look at just the first four bytes.

Of course software cannot determine legal issues, such as whether works are
properly licensed or are pornographic according to local legislation, etc.



However, even that isn't foolproof: nothing prevents a user from
flipping a bit or two, rescaling, resampling, splitting the files into
multiple files in a non-obvious manner, adding random bytes at the end
etc...: the result would still be infringing, but can't be detected
automatically (at least not in a reasonable amount of time).


This is a bit like security.  There is no absolute that can be achieved. 
You don't have to be smarter than God, you just have to be smarter than the

users.  Now the whole point of infringing schemes is that most dumb users
have to be able to use the files they download.  They can reasonablely do
things like rename the files or pass them through a commonly available
decoder.  No point in trying to file share if users have to be the NSA to
play the music.

You can scan (where legal) for the common stuff.  You can't find stuff
encoded by Dr. Evil Genius Hacker -- but neither can the party claiming to
be infringed and neither can Suzie Shebop who just wants free music.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


How to add sio to 8.2 ?

2011-07-19 Thread Lars Eighner

I've come to the conclusion that I need sio to be able to use 8.x.

Can it be as simple as just dropping the code from 7.x into the source
for 8.x and adding a line to the kernel configuration?

Or would this be fraught with all kinds of deep traps?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: compat directory

2011-07-19 Thread Lars Eighner

On Tue, 19 Jul 2011, Dick Hoogendijk wrote:

It may be a stupid question but my FreeBSD-8.2 system lacks a /compat 
directory. Is this normal? does it get installed through some kind of 
software package?



check /usr/ports/misc/ for the various  compat?x ports.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Two Networks on one System

2011-06-21 Thread Lars Kellogg-Stedman
 This, in of itself, doesn't follow.  In the absence of stateful firewalls
 and anti-spoofing filtering (blocking packets that don't have a source IP
 address on the expected list),

While I can't comment on anyone else's environment, it is in my
experience very common in most corporate and educational settings for
routers to have anti-spoofing rules that will drop anything with an ip
address that does not originate on the local subnet.

-- Lars
___
freebsd-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: Two Networks on one System

2011-06-21 Thread Lars Kellogg-Stedman
        When I set up the secondary interface, I have not been
 able to come up with a statement or statements that tell fxp1
 that it's default router is y.y.y.y so you can't ever reach it
 from outside the new subnet.

What you want to do is called policy routing or source routing,
since you want to select a route based on your local address.  While
I've done this frequently under Linux, I've never had to set this up
on a FreeBSD system.  It looks like you would do this through the pf
subsystem...unfortunately, openbsd.org appears to be down right now,
and that appears to be the repository for the pf documentation.  Look
at the ROUTING section of the pf.conf(5) man page.
___
freebsd-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: sed argument processing b0rked?

2011-06-21 Thread Lars Kellogg-Stedman
 sed -i'' -e 's/^\(REVOKE ALL ON SCHEMA public FROM \)postgres/\1pgsql/' \
 ?          -e 's/^\(GRANT ALL ON SCHEMA public TO \)postgres/\1pgsql/'    \
 ?          /tmp/pgdump
 sed: -e: No such file or directory

If you put a space after -i:

  sed -i '' ...

It will work.  The '-i' option takes an argument, and if you put a
null argument right next to it, with no spaces, the shell doesn't see
anything there.  That is, this:

  -i''

Is exactly equivalent to this:

  -i

Which means that sed is consuming the following argument as the
extension...so the first '-e' is the argument to the '-i' option.

-- Lars
___
freebsd-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: sed argument processing b0rked?

2011-06-21 Thread Lars Kellogg-Stedman
 Aha... I knew it had to be something.  I couldn't quite wrap my head around 
 the idea that sed is misbehaving.. it seems way too old and set in its ways 
 for that.   However, I did get the -i'' syntax from somewhere.. perhaps it's 
 a GNUism and I just forgot where I picked it up.

In GNU sed, the -i option does not require an argument, so sed -i -e
's/a/b/' -e 's/c/d/' ... is legal syntax.
___
freebsd-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: /etc/rc.d/jail using new-style jail command?

2011-06-20 Thread Lars Kellogg-Stedman
 To the originator of this thread - do give qjail a try - it's very good.

I'll definitely give it a look! Thanks for the suggestion/
___
freebsd-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: copying hard drives

2011-06-10 Thread Lars Eighner

On Fri, 10 Jun 2011, David Banning wrote:


2. I'd like a simple way to copy - my FreeBSD system to another
drive - a clone so to speak - which I know dd can do -


Won't reliably leave you with an operable system.

Use dump and restore


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: No keyboard after ports update, 2x moused_enable=YES culprit

2011-05-15 Thread Lars Eighner

On Sat, 14 May 2011, Rob Clark wrote:


After restarting X, prior to any reboot, I lost the mouse in X.
So I figured a reboot was in order.


This is almost certainly HAL.  If you do not know you need HAL for
something, mark the hal and hal-info ports FORBIDDEN (set FORBIDDEN to any
value in the Makefiles) whenever you update your ports tree.  Grep /var/db/ports
for hal and then remove the with hal option in the affected ports using make
config.  Force reinstall the affected ports.  Try to pkg_delete hal, to check
for dependencies you haven't resolved.  When all the dependencies are
removed, then remove hal.


Some digging around revealed that I had the following line in /etc/rc.conf
twice: moused_enable=YES

I removed one of these (which I guess was the culprit) and left one as it
should have been, then all was well.  Keyboard found at reboot, no further
issues -- mouse was available in X too.

I have no idea why I had  moused_enable=YES  in there twice, whether it
was from an old or recent rc.conf edit, but it clearly seems to have been
causing the issue.


This cannot be.  Once or a million times should have exactly the same
effect.  Commonly ports, people, and sysinstall just add stuff to the end of
this file.  They add everything they know they need because only the last of
similar entries has effect.  rc.conf can become unwieldly over time because
of this.  It is safe to delete duplicate entries, but that should not affect
the result.  When the same value is assigned differing values only the last
is effective.  The defaults are in /etc/defaults/rc.conf which should never
be edited.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: ZFS performance strangeness

2011-04-21 Thread Lars Wilke
Hi,

thanks to all who answered.

* Damien Fleuriot wrote:
  I refer you to this post by Jeremy Chadwick with tuning values *AND*
  their actual explanation.

  http://lists.freebsd.org/pipermail/freebsd-stable/2011-February/061642.html

Good post indeed, but i think i found my problem elsewhere, though i have to 
admit
that i don't really understand what is happening.

The Citrix XenServers 5.6 boxes are connected with 2x1GB, using bonding with
balance-slb, to an HP ProCurve 2910al-24G Switch.

It seems this balance-slb mode is patch from Citrix and i could not come
up with some documentation for it. Only thing i know it is a modified
form of balance-alb.

The FreeBSD box is also connected to this switch with two NICs,
one em and one igb driven NIC. If i do not use lagg and assign just
a single address to one of the NICs on FBSD, everything works well.

I do only set vm.kmem_size_scale and vfs.zfs.arc_max and get r/w speed
of a little bit above 100MB/s when doing: dd bs=1M count=4096 ...
and remounting before reading or writting.

But if i do use lagg in loadbalance or in lacp mode (here also
enabled lacp on the necessary switch ports) i see via a tcpdump, that
ip packets seem to get lost!? On top of that this only happens when
reading data via NFS, writting is fine.

Then again lagg in failover mode seems to work ok.

The NICs themself look fine and are automatically set to 1000baseT full
duplex. There are also no errors reported via netstat.

I am not sure if the switch does not like playing with the arp
addresses on its ports or if it has something to do with the slb
implementation from citrix. When i have a downtime for the xenserver
i will reconfigure it to use lacp, then lets see if that works.

cheers
   --lars

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


ZFS performance strangeness

2011-04-12 Thread Lars Wilke
Hi,

There are quite a few threads about ZFS and performance difficulties,
but i did not find anything that really helped :)
Therefor any advice would be highly appreciated.
I started to use ZFS with 8.1R, only tuning i did was setting

vm.kmem_size_scale=1
vfs.zfs.arc_max=4M

The machines are supermicro boards with 48 GB ECC RAM and 15k RPM SAS
drives. Local read/write performance was and is great.
But exporting via NFS was a mixed bag in 8.1R.
Generally r/w speed over NFS was ok, but large reads or writes took
ages. Most of the reads and writes were small, so i did not bother.

Now i upgraded one machine to 8.2R and i get very good write performance
over NFS but read performance drops to a ridiciously low value, around
1-2 MB/s. While writes are around 100MB/s. The network is a dedicated
1GB Ethernet. The zpool uses RAIDZ1 over 7 drives, one vdev.
The filesystem has compression enabled. Turning it off made no
difference AFAICT

Now i tried a few of the suggested tunables and my last try was this

vfs.zfs.txg.timeout=5
vfs.zfs.prefetch_disable=1
vfs.zfs.txg.synctime=2
fs.zfs.vdev.min_pending=1
fs.zfs.vdev.max_pending=1

still no luck. Writting is fast, reading is not. Even with enabled
prefetching. The only thing i noticed is, that reading for example 10MB
is fast (on a freshly mounted fs) but when reading larger amounts, i.e.
couple hundred MBs, the performance drops and zpool iostat or iostat -x
show that there is not much activity on the zpool/hdds.

It seems as if ZFS does not care that someone wants to read data, also idle
time of the reading process happily ticks up and gets higher and higher!?
When trying to access the file during this time, the process blocks and
sometimes is difficult to kill, i.e. ls -la on the file.

I read and write with dd and before read tests i umount and mount the
NFS share again.

dd if=/dev/zero of=/mnt/bla size=1M count=X
dd if=/mnt/bla of=/dev/null size=1M count=Y

mount is done with this options from two centos 5 boxes:
rw,noatime,tcp,bg,intr,hard,nfsvers=3,noacl,nocto

thanks
   --lars

___
freebsd-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: HAL must die!

2011-03-17 Thread Lars Eighner

On Thu, 17 Mar 2011, Krutov Mikle wrote:


On Mon, Mar 07, 2011 at 03:32:59PM +0100, Ivan Voras wrote:

On 06/03/2011 19:56, Lars Eighner wrote:

Using the -C switch with portupgrade, I am managing to turn WITH_HAL off in
ports that I install or upgrade. Is there a way to make this a global
default?

Is there a (convenient) way to list ports that might pull in HAL without
having a configuration switch?


Um, why exactly are so many people against HAL? It's the only
cross-platform thing available for non-Linux systems which handles
device enumeration, hotplugs, etc.


Hi Ivan!
As for me, it is like a habit:
I've installed Xorg + HAL for the first time;
I've seen that my config is ignored;
I disabled HAL by-default in make.conf
:)


Setting FORBIDDEN in the HAL port helps to avoid accidentally installing hal
as can easily happen.  The gstreamer plugin pseudoports have something that
installs hal and breaks Firefox so any mouse click kills it.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: HAL must die!

2011-03-15 Thread Lars Eighner

On Tue, 15 Mar 2011, Jerry wrote:


Now, as far as HAL goes, the fragmented open-source community cannot
even begin to agree on its replacement. Every distro is busy trying to
reinvent the wheel. Here you want the majority of users to be dictated
to by a minority of users who cannot even agree on a common platform
that is uniformly used throughout all the non-Microsoft community. That
reasoning is totally irrational.


Well you know if HAL were made to work without breaking essential stuff,
no one would say a word against it.  Unfortunately it was put together by
egos too big to make corrections to their beautiful code.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Character shortcuts

2011-03-12 Thread Lars Eighner

On Sat, 12 Mar 2011, 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


Several (all?) shells (bash, for one) and many editors will allow you to
enter character codes if you hold the ALT key down and enter three decimal
digits using the numeric key pad with the number lock on (not the number
keys in the row above the letter keys).  The problem is that what character
you see varies according to what font you are using and what character set
you declare.  Freebsd keymaps are fairly easy to understand, and characters
you use frequently can be assigned to key combinations that are easy to
remember if you wish -- but you will not get the results you expect unless
the character is where you expect it to be in the screen font you are using.

For Western European languages, if you want the Euro, iso-8859-15 (aka
Latin9) is perhaps your best choice.  The Euro replaces the squashed bug
from iso-8859-1.

Both of these support, for example, Spanish.  You can choose a Spanish
keymap which will make available characters you are likely to want (tilde n
and N, for examples) as single strokes on your keyboard.  Of course it won't
change the keycaps on a keyboard manufactured for US use, but you can learn
the keys or paint over the keycaps if it is your own keyboard.  For
example, tilde N/n is often the key marked :/; on keyboards made for the US.

The problem with console (VGA, text) fonts is that hardware to support more
than 256 characters AT ONE TIME is not generally available.   To get more
characters at one time you have to draw the characters graphically, which is
to say, you have to use a GUI.  This is why a Windows font (or Xorg) font
can have many more characters - because they draw characters instead of
setting them in the video card.  DOS is just as limited as the FreeBSD
console, so comparing Windows to the FreeBSD console is as unfair as
comparing Xorg fonts to DOS.


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


Because there are no ASCII characters above 127.  ASCII is a seven-bit
standard.  127 is the greatest number that can be expressed in seven bits.
VGA supports 8-bit character sets, but no 8-bit character set is ASCII.


u + 00F1 is the ñ,but I don't know which key combination gives the
same results as above.


ALT+241  should work in iso-8859-1 (does not have the Euro) and
iso-8859-15 (has the Euro).

Gui editors that support unicode generally allow you to select characters
that are not on the keyboard from a grid. Those editors may or may not have
short cuts for character you use frequently.


 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266___
freebsd-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: Best practices on upgrading, etc.

2011-03-11 Thread Lars Eighner

On Fri, 11 Mar 2011, Ed Flecko wrote:


Hi folks,



I'm trying to fully understand the whole FBSD version thing and when, if ,
and why you should consider upgrading.

I have a production server running FBSD 8.1 (and I'm following the errata
branch) that works just fine, with no problems.

I see that the Production Release of 8.2 is available.

Obviously, 8.2 has features that 8.1 does not, but I guess my primary
questions is:



1.) If you have a production server that's running well (and is fully
patched, i.e. following the errata branch), is there a compelling
reason to upgrade or do most people do it because there are features
in the new release that you want/need? I guess what I'm really asking
is if it makes more sense to take the if it aint broke - don't fix
it mindset or should you really consider upgrading when a new version
is released???


Even with backups, upgrades can be troublesome.  Read the release notes.  I
suggest you have a reason for upgrading in mind -- other than that the
number got bumped, and this goes double for a production maching.



2.) If I DO upgrade, I can simply change my supfile to RELENG_8_2 and then:


The correct order is given in /usr/src/UPDATING.  Do not rely on the
following comments, but consult /usr/src/UPDATING.



run csup
upgrade the ports


Update the ports tree and ports after the OS.  Otherwise, you may have to do
it twice.  This is not especially likely in a minor version bump, but it can
happen.


make buildworld
make buildkernel
make installkernel


make kernel
 combines the above two steps.  Then as single user run mergemaster -p.


make installworld


then run mergermaster and delete old if you please.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: HAL must die!

2011-03-07 Thread Lars Eighner

On Mon, 7 Mar 2011, Ivan Voras wrote:


On 06/03/2011 19:56, Lars Eighner wrote:

Using the -C switch with portupgrade, I am managing to turn WITH_HAL off in
ports that I install or upgrade. Is there a way to make this a global
default?

Is there a (convenient) way to list ports that might pull in HAL without
having a configuration switch?


Um, why exactly are so many people against HAL?


It breaks my mouse and keyboard.  I assume it would break other stuff if I
had esoteric devices.

It was born broken, and although there have been about a half-dozen
announced fixes, it always reverts to being broken in pretty much the
same way.

When I eliminate HAL and everything that depends on it, everything works.

It is just this simple:

with HAL = nothing works
without HAL = everything works


It's the only cross-platform thing available for non-Linux systems which
handles device enumeration, hotplugs, etc.



I'm not running a cross-platform.  I'm running FreeBSD.  There were native
FreeBSD solutions to hotplugging the devices I use before HAL.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Bug report marked [regression]

2011-03-06 Thread Lars Eighner

If my bug report is marked [regression] what does that mean?

Am I a troglodyte or a Luddite or something?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


HAL must die!

2011-03-06 Thread Lars Eighner

Using the -C switch with portupgrade, I am managing to turn WITH_HAL off in
ports that I install or upgrade.  Is there a way to make this a global
default?

Is there a (convenient) way to list ports that might pull in HAL without
having a configuration switch?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


8.1-p2 uart appears hopelessly broken

2011-02-24 Thread Lars Eighner

Through the years I have become accustomed to having to have a hardware
modem.  7.2 sio correctly identifies my modem as a 3-COM PCI FAX/MODEM
and correct identifies the chip as 16550A.

In 8.1 uart calls the same device an unstandard ns8250 uart.  Nonetheless,
tun0 can fireup at boot.  But it is never possible to bring it back up on
demand after it times out.  This is pretty much my definition of hopelessly
broken behavior and I cannot find a word of warning in the documentation.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: bash can not find most of my commands

2011-02-22 Thread Lars Eighner

On Tue, 22 Feb 2011, Alokat wrote:


Paul has satisfied me. I have changed back to csh.


If you want to run as root and use bash, well, that is what the user toor is
for (examine master.passwd -- use vipw to edit master.passwd to enter a
password for toor and the path to bash for toor, but set EDITOR first if you
are not comfortable with vi).  If you activate toor, you can log in as toor,
use bash, and yet you are root (try whoami as toor).  This preserves the
root login for emergencies when /usr may not be mounted.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


ppp auto only works on boot (8.1)

2011-02-17 Thread Lars Eighner
[255]: tun0: Chat: Expect(5): OK
Feb 17 09:54:54 debranded ppp[255]: tun0: Chat: Received: ATM0L0^M^M
Feb 17 09:54:54 debranded ppp[255]: tun0: Chat: Received: OK
Feb 17 09:54:54 debranded ppp[255]: tun0: Chat: Send: ATDT4194220^M
Feb 17 09:54:56 debranded ppp[255]: tun0: Chat: Expect(80): CONNECT
Feb 17 09:54:56 debranded ppp[255]: tun0: Chat: Received: ^M
Feb 17 09:56:16 debranded ppp[255]: tun0: Chat: Expect timeout
Feb 17 09:56:16 debranded ppp[255]: tun0: Warning: Chat script failed
Feb 17 09:56:16 debranded ppp[255]: tun0: Phase: deflink: dial - hangup
Feb 17 09:56:16 debranded ppp[255]: tun0: Phase: deflink: Disconnected!
Feb 17 09:56:16 debranded ppp[255]: tun0: Phase: deflink: Connect time: 82 
secs: 0 octets in, 0 octets out
Feb 17 09:56:16 debranded ppp[255]: tun0: Phase: deflink: 2819 packets in, 160 
packets out
Feb 17 09:56:16 debranded ppp[255]: tun0: Phase:  total 0 bytes/sec, peak 0 
bytes/sec on Thu Feb 17 09:54:54 2011
Feb 17 09:56:16 debranded ppp[255]: tun0: Phase: deflink: hangup - closed
Feb 17 09:56:16 debranded ppp[255]: tun0: Phase: bundle: Dead
Feb 17 09:56:17 debranded ppp[255]: tun0: Phase: bundle: Establish
Feb 17 09:56:17 debranded ppp[255]: tun0: Phase: deflink: closed - opening
Feb 17 09:56:17 debranded ppp[255]: tun0: Phase: deflink: Connected!
Feb 17 09:56:17 debranded ppp[255]: tun0: Phase: deflink: opening - dial
Feb 17 09:56:17 debranded ppp[255]: tun0: Chat: Phone: 4194220
Feb 17 09:56:17 debranded ppp[255]: tun0: Chat: deflink: Dial attempt 1 of 1
Feb 17 09:56:17 debranded ppp[255]: tun0: Chat: Send: ATM0L0^M
Feb 17 09:56:17 debranded ppp[255]: tun0: Chat: Expect(5): OK
Feb 17 09:56:17 debranded ppp[255]: tun0: Chat: Received: 
ATDT4194220^MATM0L0^M^M
Feb 17 09:56:17 debranded ppp[255]: tun0: Chat: Received: OK
Feb 17 09:56:17 debranded ppp[255]: tun0: Chat: Send: ATDT4194220^M
Feb 17 09:56:19 debranded ppp[255]: tun0: Chat: Expect(80): CONNECT
Feb 17 09:56:19 debranded ppp[255]: tun0: Chat: Received: ^MA


ppp.conf --- except for /dev change exactly the same as worked in 7.3

(I have also tried with hardware control off with the same result.
ipv6cp and mppe are disabled because they are not supported by my
ISP and trying to negotiate them is a waste of time.)


#
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by ws...@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.10 2004/11/19 17:12:56 obrien Exp $
#

default:
 set log Phase Chat LCP IPCP CCP tun command
 # set log Phase Chat IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)
 disable ipv6cp
 disable mppe

 # Ensure that device references the correct serial port
 # for your modem. (cuad0 = COM1, cuad1 = COM2)
 #
 set device /dev/cuau2
 set ctsrts on
 # set accmap 000a
 set server /var/run/internet  0177
 set speed 115200
 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\ \
   ATM0L0 OK \\dATDT\\T TIMEOUT 80 CONNECT
# set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
#   \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 80 CONNECT
 set timeout 300# 3 minute idle timer (the default)
 enable dns # request DNS info (for resolv.conf)

papchap:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #

 set phone 4194220
 set authname XX
 set authkey X

 set ifaddr 10.0.0.3/0 10.0.0.4/0 255.255.255.0 0.0.0.0
 add default HISADDR# Add a (sticky) default route




--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: What is the best way to image copy a FreeBSD system?

2011-02-15 Thread Lars Eighner

On Tue, 15 Feb 2011, Xn Nooby wrote:


Is there an image-copy backup program that understands the UFS
file-system? Or perhaps there is a better solution on FreeBSD?


Perhaps I do not understand what you are trying to do, but dump and restore
are the only sort-of bulletproof way to backup (copy, clone, move) and
restore filesystems.  Recipes can be found in the Handbook so you do not
have to work out the switches for common tasks for yourself.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


7.3 Get uart to grab modem instead of sio

2010-12-09 Thread Lars Eighner

I am running 7.3.  I would like uart to grab the modem, but sio does.  I
don't want to upgrade to 8.x until I see that things will work with uart.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Make gtk widgets use a larger font

2010-12-09 Thread Lars Eighner

How do I make gtk widgets use larger fonts? I found an old linux FAQ on
this, but it appears to have nothing to do with the way configuration works
on FreeBSD.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Switch ppp.conf with tun w/o reboot

2010-12-02 Thread Lars Eighner

Can I switch ppp configurations for ppp on demand using tunneling without
rebooting?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: need help with php.

2010-10-19 Thread Lars Eighner

On Mon, 18 Oct 2010, Gary Kline wrote:


r...@ethic:/usr/local/www/apache22/data# php
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
PHP Warning:  Module 'session' already loaded in Unknown on line 0

Does this mean anything obvious to you?  I have my mysql notes
on two other computers and will dig into the matter in the
morning.  IIRC, the mysql stuff shouldn't have any effect on a
counter.


It means a module is listed twice in extensions.ini (usually in
/usr/local/etc/ )  Make the message go away by removing redundant entries
manually or with sort -u.  This warning should be harmless in execution and
usually is only a bother when running command-line one-liners.

Unfortunately, many of the php module ports add themselves to
extensions.ini without checking whether they are already there.  After a few
upgrades you may have many entries for some modules.

Whatever is really wrong with your php, this isn't it.  As I said, harmless,
and generally not noticed except at the command line.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Clear and FBSD

2010-07-31 Thread Lars Eighner

Does Clear:

1) Work with FreeBSD --- you just plug it in.

2) Works with FreeBSD --- you need a custom kernel and you sacrifice a goat.

3) Doesn't work with FreeBSD.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: encrypt whole system using zfs

2010-07-29 Thread Lars Kristiansen

 Den 29.07.2010 13:26, skrev Jozsi Vadkan:

With dm_cryptlvm, i can install a Debian [in sraid1], that has only the
mbr  the /boot unencrypted.

So if someone steals the server/hdds, it can't do anything to them.
That's ok.


I'm a newbie to FreeBSD, and I want to use it in the future. I'm looking
for these features, that i mentioned above.

So, if someone has a little time, can someone post just a few
howtos/links, how to do this? [i mean what is the best-practise for
this? - to encrypt the whole system/data. And e.g.: the /boot  the mbr
would stay unencrypted]

e.g.: How to install a FreeBSD in encrypted ZFS [and ZFS does the
mirroring instead of RAID-1]

Thank you!

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

Hi!
The latest pcbsd does this.
If you make a /boot partition, it will keep the keys there, and you may 
populate the geli encrypted area with zfs if you like.
Even if pc-bsd is not your choice, an installation might be a nice 
tutorial in the subject.


Regards,
 Lars

___
freebsd-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: Alternate method for fetching source

2010-06-04 Thread Lars Eighner

On Fri, 4 Jun 2010, Ross Penner wrote:


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


You are talking about the system source, not the ports, right?

Actually, the advice is not much different.  In either case, cvsup does not
always work very well for big upgrades (such as across major version
numbers) and also (though it theoretically should) doesn't work well
creating a source tree from scratch.  If you install source (or ports) from
the most recent release below your taget before, cvsup is much less likely
to crack under pressure.

Also, consider changing your mirror.  Network conditions may be better for
you with some mirrors than with others.  And finally, make sure cvsup is
up-to-date with your current system.  It's in ports/net .

(Of course backup what you have before trying any of this.)

You may get a more specific response if you include uname -a for your
current system and the tags you are trying to use with cvsup.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: text editor

2010-05-30 Thread Lars Eighner

On Sun, 30 May 2010, Fbsd1 wrote:


Been using ee and been happy.

Now I have need for an editor with block commands.


I recommend joe which is one binary with several flavors including
pico, emacs, and wordstar work-alikes as well as its own interface.
The macro language is easy and powerful.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: (No subject header)

2010-03-08 Thread Lars Hartmann
Hi,
  i have a acer aspire one with no oprating system it has
 no cd drive would i  be possible to download a redy top use
 version of software so i could boot form  a memory stick?
  (i have no other computer to unlock to iso file) 
Google is your friend:
http://miwi.bsdcrew.de/2009/06/freebsd-80-install-with-a-usb-stick/

next time, do that yourself.



signature.asc
Description: OpenPGP digital signature


Re: how to disable loadable kernel moduels?

2010-02-24 Thread Lars Eighner

On Wed, 24 Feb 2010, Robert Bonomi wrote:




I'm building custom kernels for use in 'hostile' environments -- where I
need to enforce restricted capabilities, even in the event of malicious
'root' access.  (if the bad guy has *physical* access to the machine, I
know I'm toast, so I don't try to protect against _that_ in software --
beyond the usual access-control mechnisms, that is.)

To accomplish this, I need to (among other things) *completely* disable
kernel 'loadable module' functionality.  Building the required monolithic
kernel is no problem, and by booting from _physical_ read-only media, I
can protect against bootloader/kernel/application substitution.  I just
need to make it impossible to add modules to the running system.


I don't see how this is really bullet-proof possible.  Anyone with root
access can edit loader.conf and force a reboot --- or wait until a power
interuption or something causes a reboot.  You pretty much have to be able
to reboot the machine, soo...

It seems to me you could replace kldload (the command, not the system call)
with a dummy script which would raise the bar a bit.  You could remove (I
think) the modules you are afraid of, but someone with root priviledges
could replace them with trojans.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: does toor have passwd or not? According to logins -p: yes

2009-12-30 Thread Lars Eighner

On Wed, 30 Dec 2009, Matthew Seaman wrote:


Anton Shterenlikht wrote:

I was checking for passwordless accounts with 'logins -p'.
None was found. However, I understand toor doesn't have
passwd by default, and I never touched it, so I expected
logins -p to show toor, but it didn't.

Just to check I also tried to su toor with root passwd - no access. 
Please can somebody clarify if toor does indeed have

passwd.


If there's nothing in the second field, then you have a problem, as that
means the account has a NULL password (ie.  just hit return when prompted
for a password --


I've been wrong before, but I think you do not get a password prompt at all,
at least not on login.  You enter the login: name and you are off to motd
and a command prompt.


this is what 'logins -p' detects).  That may or may not
actually work to get into the toor account depending on how you're trying
to authenticate and on various other security settings eg.  in /etc/pam.d,
but even so it is something that should be fixed pronto.  Use vipw(8) to
edit master.passwd and insert a * -- vipw will regenerate /etc/passwd and
pwd.db automatically for you.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: request

2009-12-20 Thread Lars Eighner

On Sun, 20 Dec 2009, Peter Boosten wrote:

Isn't Iran one of the countries US does not export to? That could explain the 
unability to download...


Shirley, there are mirrors outside the US.

Downloading isos by dial-up can be a pain, but a good ftp client which can
restart reliably makes it possible.

Here are the FTP mirrors:

http://www.freebsd.org/./doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html
FTP Sites


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: hplip 3.9.8 on fbsd 7.1 with HP LJ P2035

2009-12-09 Thread Lars Eighner

On Wed, 9 Dec 2009, Rich Winkel wrote:


Hi, I can't seem to get it to probe the printer.  hp-setup says:
error: No devices found.
error: Error occured during interactive mode. Exiting.


Did you run hp-setup from the command line?  The GUI has been broken for a
long time.

Can you find the printer from the CUPS control panel? Is it set as the
default printer in CUPS?


dmesg|grep HP says:
ugen0: Hewlett-Packard HP LaserJet P2035, class 0/0, rev 2.00/1.00, addr 2 on 
uhub0

The
http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_p2035.html
page says a plugin is required, but no info on how to get that
plugin.

Help!!

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




--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: Why is sendmail is part of the system and not a package?

2009-10-30 Thread Lars Eighner

On Fri, 30 Oct 2009, Ian Smith wrote:


 Why does sendmail call up the internet during boot?  If it needs to know who
 it is, why can't it look in hosts?

See the section: WHO AM I? in /usr/src/contrib/sendmail/cf/README
(assuming you haven't deleted the documentation from your system)


Or did not install the src.  WHO AM I? doesn't answer the question of how to
turn off calling up the internet on every boot.

But let's see how far we can get in the README

 divert(0)

Evidently doesn't really matter.

 VERSIONID(`SCCS or RCS version id')

Evidently doesn't really matter.

 OSTYPE(`hpux9')dnl

You must specify an OSTYPE to properly configure things such as the
pathname of the help and status files, the flags needed for the local
mailer, and other important things.  If you omit it, you will get an
error when you try to build the configuration.  Look at the ostype
directory for the list of known operating system types.

Okay, let's look in ostype directory: freebsd4, freebsd5, freebsd6.
But wait! on freshly cvsupped source for 7.2-p4, freebsd7 is not a
recognized ostype according to the ostype directory.  It says the
configuration won't build without.

No point in going on from here if my ostype doesn't exist.


And it looks like if I could get past here, I'd be back editing the source
every time I upgraded the system because for some reason, after all these
years, there cannot be a plain English configuration file in /etc such every
other service has managed to come up with.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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