Decoding the ifconfig verbose output and determining the strength of a wireless connection

2010-06-27 Thread Eitan Adler
I have two questions

AAAXXX  00:00:10:10:00:032   54M -81:-96  100 EPS
SSID RATES DSPARMS<2> ERP<0x0>
???<2f0100> RSN
XRATES VEN WME

ABCDE   00:00:10:10:00:002   54M -81:-96  100 ES
SSID RATES DSPARMS<2> ERP<0x0>
???<2f0100> XRATES VEN
WME


1) How do I determine which of the above networks is closer or has a
stronger signal?

2) Can you please fill in the missing pieces and correct any
misconceptions I might have about how to decode the data below?

ABCDEThis SSID of the network
00:00:10:10:00:00 The MAC address of the AP
2 The channel that the signal is being broadcasted on
54M This is a "g" network
-81:-96?
100?
ES Extended Rate Phy (ERP) and  Short Preamble
SSID Same exact thing as the SSID above
RATES
DSPARMS<2>   ?
ERP<0x0>  ?
???<2f0100>?
XRATES   ?
VEN  ?
WME ?


-- 
Eitan Adler
___
freebsd-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: Booting multiple choice, and pause to read bootup info

2010-06-21 Thread Eitan Adler
> 2. Usually, when the system boots, there are several lines
> showing the kernel and various modules loading, possibly with
> diagnostics.  Is there a way to pause after that stage, so that
> those lines can be read?  Or is there any way to retrieve them
> after the system has booted?

You have found the use of the "scroll lock" key ;)
If you press it you can go up and down.

Look at /var/run/dmesg.boot for after the system has booted ;)

-- 
Eitan Adler
___
freebsd-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: RESOLVED: Problem upgrading ports - libintl.so.8 not found

2010-06-16 Thread Eitan Adler
On Wed, Jun 16, 2010 at 4:11 PM, Alexandre L.  wrote:
> I have encountered the same problem. On FreeBSD forums, I have found the 
> solution :
> http://forums.freebsd.org/showthread.php?t=14655
> You have to symlink /usr/local/lib/libintl.so.8 to /usr/local/lib/libintl.so.9

This is a bad idea.
Instead use /etc/libmap.conf or just recompile the ports.





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


Re: Problem upgrading ports - libintl.so.8 not found

2010-06-15 Thread Eitan Adler
always read UPDATING
On Wed, Jun 16, 2010 at 1:26 AM, Scott Schappell  wrote:
> I'm trying to upgrade ports and they keep choking. In particular gpg is one 
> of them:
...
> /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by 
> "libgcrypt.so.16"
...
> What do I need to do to fix this problem?
>



20100530:
  AFFECTS: users of devel/gettext (i.e.: YOU)
  AUTHOR: a...@freebsd.org

  Another version of gettext (0.18), and another shared library version
  bump (from intl.8 to intl.9), so:

  All ports that have an identifiable known direct dependency on gettext
  have had their PORTREVISIONs bumped.  If after upgrading:

# portupgrade -rf gettext
# portmaster -w -r gettext

  The upgrade of devel/gobject-introspection may fail because it is looking
  for libintl.so.8.  In this case, do the following:

# cd /usr/ports/devel/gobject-introspection
# make clean
# make deinstall
# make install clean

  Then continue your upgrade procedure normally.

  If there are still ports on your system that are looking for libintl.so.8
  (either in ${LOCALBASE}/lib/compat/pkg, or non-existent), _please_ file
  a PR so that a correct direct dependency can be added.

  Once you are satisfied that no ports still depend on the old versions (such
  as libgettextpo.so.4 and libintl.so.8) you can safely delete them from the
  ${LOCALBASE}/lib/compat/pkg directory if they are present there.





-- 
Eitan Adler

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


Re: Question on packages and ports (and versions)

2010-06-11 Thread Eitan Adler
On Fri, Jun 11, 2010 at 9:23 AM, Antonio Vieiro
 wrote:
> Hi,
>
> Ah, I see.
>
> So if I need a more advanced version of some software, that has been
> installed as a package, I can use portupgrade (or other port
> management tools) to upgrade the package to a port. Am I right?
The packages are built from the ports tree itself. Therefore if your
ports tree matches the one that is used to build the packages exactly
you will have no problems.
If your ports tree is newer you will have no problems attempting to
upgrade using a port.
However if you want to use packages after you upgraded via ports and
the build cluster has yet to catch up to your version the package may
"depend" on an old version and see to install it.

-- 
Eitan Adler
___
freebsd-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: xsltproc: failed to load external entity

2010-06-09 Thread Eitan Adler
>
> I'm not a common user of xsltproc, but the combination of an argument
> beginning "http://"; along with the option "-nonet" (described as "Do not
> use the Internet to fetch DTDs, entities or documents" on the man page)
> seems rather fishy to me.  Can this combination ever work?
>
> Has anyone else seen this?  Does anyone have a suggestion for a fix?

Install with NO_INSTALL_MANPAGES and the problem will go away.
I think it comes from a configuration option for docbook.

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


Too many defunct processes; kill -9 not working

2010-06-09 Thread Eitan Adler
Lately I've been getting a considerable number of defunct processes. I
do not know of any major event that changed my computer (ie it is not
related to an ports update or a freeBSD upgrade).

This is often caused by me killing the process using kill -15 or kill
-3 or kill -9.

What can I do to determine why processes are not getting killed by kill -9?

% ps -o ppid -o comm|grep defunct|cut -d ' ' -f 1 |xargs kill -9
typically gets rid of them (by killing their parent)

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


why does ps |grep sometimes not return itself?

2010-06-09 Thread Eitan Adler
Why do I sometimes see the grep in ps's output and sometimes not see it?
[ei...@alphabeta ~ ]% ps aux|grep Me
eitan 96325  0.0  0.0  1856   724   5  RL+  10:14AM   0:00.00 grep Me
[ei...@alphabeta ~ ]% ps aux|grep Me
[ei...@alphabeta ~ !1! ]%

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


mixer relative values don't work without a dev: bug or by design?

2010-06-07 Thread Eitan Adler
% mixer vol +4
Setting the mixer vol from 90:90 to 94:94.
% mixer vol -4
Setting the mixer vol from 94:94 to 90:90.
% mixer 95
Setting the mixer vol from 90:90 to 95:95.
% mixer 90
Setting the mixer vol from 95:95 to 90:90.

% mixer +5
>Setting the mixer vol from 90:90 to 5:5.
% mixer -5
usage: mixer [-f device] [-s | -S] [dev [+|-][voll[:[+|-]volr]] ...
   mixer [-f device] [-s | -S] recsrc ...
   mixer [-f device] [-s | -S] {^|+|-|=}rec rdev ...
 devices: vol, bass, treble, pcm, mic, rec
 rec devices: mic


I have a patch that changes this so that the latter two commands work
like the first few and I'm wondering if this would be wanted?

-- 
Eitan Adler
___
freebsd-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: Small webserver recommendations

2010-06-06 Thread Eitan Adler
On Sun, Jun 6, 2010 at 8:44 PM, peter harrison
 wrote:
> Hello all,
>
> I'm looking for a small webserver to add to a nanobsd image, so preferably
> with few dependencies too. Needs to be able to run Perl cgi's as well.
> Anyone willing to make a recommendation?
>

lighttpd is a decent lightweight web server

% pwd
/usr/ports/www/lighttpd

% make all-depends-list
/usr/ports/devel/libtool22
/usr/ports/devel/pkg-config
/usr/ports/devel/pcre
/usr/ports/www/spawn-fcgi
/usr/ports/devel/gmake



-- 
Eitan Adler
___
freebsd-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's the difference between portupgrade and portmaster ?

2010-06-01 Thread Eitan Adler
On Tue, Jun 1, 2010 at 10:46 AM, David DEMELIER
 wrote:
> 2010/6/1 Eitan Adler :
>> On Tue, Jun 1, 2010 at 3:37 AM, zaxis  wrote:
>>>
>>> Why do we need two tools ?
>>>
>> Its three. Add portmanager.
>>
>> The answer is personal choice and we number of bikesheds.
>>
>> Also portmaster used to not be able to work with packages when
>> portupgrade could.
>>
>
> portmaster can! See portmaster manpage. -P[P] options.
>

Also portmaster ****used to not be able to work with packages when
portupgrade could.

-- 
Eitan Adler
___
freebsd-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's the difference between portupgrade and portmaster ?

2010-06-01 Thread Eitan Adler
On Tue, Jun 1, 2010 at 3:37 AM, zaxis  wrote:
>
> Why do we need two tools ?
>
Its three. Add portmanager.

The answer is personal choice and we number of bikesheds.

Also portmaster used to not be able to work with packages when
portupgrade could.

-- 
Eitan Adler
___
freebsd-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: multimedia/ffmpeg fails with internal compiler error

2010-05-31 Thread Eitan Adler
On Mon, May 31, 2010 at 8:11 PM, Roland Smith  wrote:
> On Mon, May 31, 2010 at 05:16:50PM +0300, Eitan Adler wrote:
>> Is this a
>> a) PEBKAC
>
> Maybe. I don't know how many ports have actually been tested with gcc 4.6. I'm
> guessing the ports build cluster uses the base system compiler or the 
> required version.

I've been using gcc46 for a while now and just remove certain ports in
/etc/make.conf

 SSSE3=on "Enable ssse3 support (gcc 4.4+)"

seems to mean that 4.4+ works.

>> d) compiler problem (as the error seems to be saying)
>
> Could be. I recompiled it with gcc-4.4.5.20100518 without problems. So it
> could be a bug specific to gcc 4.6.

Maybe I will do as the error says and report the error ;)

> e) hardware error.
unlikely: I tested both my RAM and HDD recently. It is also the only
port that has failed with this type of error.

> Sometimes these errors are triggered by e.g. bad RAM.
>
> Does removing these cflags make any difference?

turning off OPTIMIZED_CFLAGS (but leaving ssse3) does not help.


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


multimedia/ffmpeg fails with internal compiler error

2010-05-31 Thread Eitan Adler
Is this a
a) PEBKAC
b) freeBSD ports error
c) ffmpeg problem
d) compiler problem (as the error seems to be saying)

gcc46 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I. -I"/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2" -pipe -mssse3
-mtune=native -O3 -ffast-math -fno-finite-math-only
-fomit-frame-pointer -Wl,-rpath=/usr/local/lib/gcc46
-fno-strict-aliasing -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-I/usr/local/include/vorbis -I/usr/local/include -std=c99
-fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef
-O3 -fno-math-errno -fno-signed-zeros  -c -o libavutil/crc.o
libavutil/crc.c
libavutil/crc.c: In function 'av_crc_init':
libavutil/crc.c:58:5: internal compiler error: in predicate_bbs, at
tree-if-conv.c:555
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [libavutil/crc.o] Error 1
gmake: *** Waiting for unfinished jobs
*** Error code 1

# make showconfig
===> The following configuration options are available for ffmpeg-0.5.2,1:
 AMR_NB=off "AMR Narrow Band encoder"
 AMR_WB=off "AMR Wide Band encoder"
 DIRAC=off "Dirac codec via libdirac"
 FAAC=off "FAAC mp4/aac audio encoder"
 FAAD=on "FAAD mp4/aac audio decoder"
 FFSERVER=off "Build and install ffserver"
 GSM=off "GSM audio codec"
 IPV6=off "IPV6 network support"
 LAME=off "LAME MP3 encoder"
 OPENJPEG=off "JPEG 2000 decoder"
 OPTIMIZED_CFLAGS=on "Additional optimizations"
 SCHROEDINGER=off "Dirac codec via libschroedinger"
 SDL=off "SDL support (build ffplay)"
 SPEEX=off "Speex audio decoder"
 SSSE3=on "Enable ssse3 support (gcc 4.4+)"
 THEORA=on "Theora encoder (implies OGG)"
 VHOOK=off "Video hook support"
 VORBIS=on "Vorbis encoder via libvorbis (implies OGG)"
 X11GRAB=off "enable X11 grabbing"
 X264=on "H.264 encoder"
 XVID=on "Xvid encoder via xvidcore"
===> Use 'make config' to modify these settings

# make -V CC
gcc46
# make -V CFLAGS
-pipe -mssse3 -mtune=native -O3 -ffast-math -fno-finite-math-only
-fomit-frame-pointer -Wl,-rpath=/usr/local/lib/gcc46
-fno-strict-aliasing
# cat /etc/libmap.conf
libgcc_s.so.1   gcc46/libgcc_s.so.1
libgomp.so.1gcc46/libgomp.so.1
libobjc.so.3gcc46/libobjc.so.2
libssp.so.0 gcc46/libssp.so.0
libstdc++.so.6  gcc46/libstdc++.so.6

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


devel/gojbect-introspection fails due to not finding libintl

2010-05-31 Thread Eitan Adler
Here is the output of $make install
env LPATH=.libs  env PYTHONPATH=..:..
UNINSTALLED_INTROSPECTION_SRCDIR=..
UNINSTALLED_INTROSPECTION_BUILDDIR=.. ../tools/g-ir-scanner -v
--add-include-path=../gir --add-include-path=. -v
--add-include-path=../gir --add-include-path=. --namespace=Everything
--nsversion=1.0 --libtool="/bin/sh /usr/local/bin/libtool"
--library=libgirepository-everything-1.0.la --pkg=gobject-2.0
--pkg=cairo --pkg=gio-2.0 --include=GObject-2.0 --include=cairo-1.0
--include=Gio-2.0   ./everything.h ./everything.c --output
Everything-1.0.gir

/libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required
by "libgirepository-1.0.so.0"

Command 
'['/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/gir/tmp-introspectLatOlI/Everything-1.0',
'--introspect-dump=/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/gir/tmp-introspectLatOlI/types.txt,/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/gir/tmp-introspectLatOlI/dump.xml']'
returned non-zero exit status 1
gmake[2]: *** [Everything-1.0.gir] Error 1
gmake[2]: Leaving directory
`/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/gir'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/dta/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11'
gmake: *** [all] Error 2
*** Error code 1


-- 
Eitan Adler
___
freebsd-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 would take to allow binary upgrade to amd64?

2010-05-31 Thread Eitan Adler
> Sure, its possible. But my point was that it is not a good idea and
> not something worth encouraging via tools like freebsd-upgrade. What
> is the use case you have in mind for this where a reformat isn't an
> option?

Upgrading from 7.1 to 7.2 is also possible via a format but we have a
tool like freebsd-update do help us instead. My question was is this
possible to add this functionality or worth it. The answer is no -
that is all that is needed.

-- 
Eitan Adler
___
freebsd-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: top memory usage question

2010-05-31 Thread Eitan Adler
On Thu, May 27, 2010 at 12:52 PM, Coert  wrote:
> Hello all,
>
> Just a question, on Linux the output of top's memory usage looks like this:
>
> Mem:   2075424k total,  1760848k used,   314576k free,   151872k buffers
> Swap:  4192924k total,        0k used,  4192924k free,  1214052k cached
>
>
> on FreeBSD:
>
> Mem: 48M Active, 945M Inact, 190M Wired, 112M Buf, 804M Free
> Swap: 4063M Total, 4063M Free
>
>
> I have looked at the respective man pages, and googled.
> Where can I find out what Active, Inactive, and Wired mean?
>

The differences have to do with the way memory is managed. Active
memory is currently is RAM and is being used by a currently running
process. Inactive is in RAM but is not currently being used. Wired
means that the page is locked into ram and won't be paged out.

Look at http://en.wikipedia.org/wiki/Paging and
http://en.wikipedia.org/wiki/Virtual_memory for more info












-- 
Eitan Adler
___
freebsd-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 would take to allow binary upgrade to amd64?

2010-05-30 Thread Eitan Adler
On Sun, May 30, 2010 at 10:44 PM, Demelier David
 wrote:
> On Sun, May 30, 2010 at 09:51:11PM +0300, Eitan Adler wrote:
>> I know that attempting to change from i386 to amd64 is is not possible
>> using freebsd-update and difficult using source.
>> Why is this? Would it require a significant amount of work to allow
>> such transitions?
>
> While the system is running we won't be able to do this. Because you canno't
> overwrite file with a different architecture if you are running on it !

Why can't we handle this the same we handle upgrading cross major
versions systems?

-- 
Eitan Adler
___
freebsd-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 would take to allow binary upgrade to amd64?

2010-05-30 Thread Eitan Adler
On Sun, May 30, 2010 at 10:52 PM, Rob Farmer  wrote:
> On Sun, May 30, 2010 at 11:51 AM, Eitan Adler  wrote:
>> I know that attempting to change from i386 to amd64 is is not possible
>
> The proper procedure for such an upgrade is as follows:

>
> If the thought of reformatting your system is scary, because you don't
> have backups or aren't sure they are comprehensive or work, then solve
> that problem, rather than trying to invent workarounds to cover for
> bad system administration. It will serve you much better in the long
> run.
This isn't my question. I know how to currently perform the upgrade.

My question is
a) is it possible in theory to allow binary upgrades to be done?
and b) if yes how much work would it take?


-- 
Eitan Adler
___
freebsd-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 would take to allow binary upgrade to amd64?

2010-05-30 Thread Eitan Adler
I know that attempting to change from i386 to amd64 is is not possible
using freebsd-update and difficult using source.
Why is this? Would it require a significant amount of work to allow
such transitions?

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


portmaster not replacing %var% in final pkg-msg

2010-05-30 Thread Eitan Adler
$cd lang/go && portmaster .
--
 To build Go programs for FreeBSD, you'll want to set up your
 environment properly. The following environment variables should
 be set:
...
 GOOS=freebsd
 GOARCH=386
 GOROOT=/usr/local/lib/go

===>   Registering installation for go-20100413

===>  Cleaning for go-20100413

===>>> pkg-message for go-20100413
--
 To build Go programs for FreeBSD, you'll want to set up your
 environment properly. The following environment variables should
 be set:

 GOOS=freebsd
 GOARCH=%%ARCH%%
 GOROOT=%%PREFIX%%/lib/go

 To build Go programs, you may include %%PREFIX%%/share/go/Make.pkg
 or %%PREFIX%%/share/go/Make.cmd in your build infrastructure
 (note: this requires gmake).

 Your compiler is %%GOOBJ%%g and your linker is %%GOOBJ%%l.


===>>> Installation of lang/go (go-20100413) complete


-- 
Eitan Adler
___
freebsd-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: Verifying a DVD

2010-05-24 Thread Eitan Adler
> I think it isn't important how many blocks are on the DVD, but more
> important that a) all files area readable on the DVD and b) are MD5
> identically with the original on the hard disk. That's why after burning
> a tree of files for backup to some DVD I use a combination of
> find+md5+sort+diff to verify the result.

Take a look at mtree as a replacement for the first three parts ;)


-- 
Eitan Adler
___
freebsd-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 TTF fonts in X

2010-05-23 Thread Eitan Adler
On Sun, May 23, 2010 at 7:56 PM, Tijl Coosemans  wrote:
> On Sunday 23 May 2010 18:46:38 Eitan Adler wrote:
>> I have a folder with a bunch of TTF fonts.
>> when I run mkfontdir the fonts.dir file is just a "0"
>> and when I run xset +fp . I get
>> % xset +fp .
>> xset:  bad font path element (#23), possible causes are:
>>     Directory does not exist or has wrong permissions
>>     Directory missing fonts.dir
>>     Incorrect font server address or syntax
>> % cat fonts.dir
>> 0
>> % ls -laod . fonts.dir
>> drwxr-xr-x  2 eitan  eitan  - 14336 May 23 18:54:55 2010 ./
>> -rw-r--r--  1 eitan  eitan  -     2 May 23 18:55:32 2010 fonts.dir
>
> For TTF fonts you have to create a fonts.scale file first. Check the 
> mkfontdir(1) and mkfontscale(1) manpages.
>

Thanks for that.
In order to complete the xset +fp I needed to use the absolute dir
name as well.
The issue has been solved - thanks.








-- 
Eitan Adler

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


using TTF fonts in X

2010-05-23 Thread Eitan Adler
I have a folder with a bunch of TTF fonts.
when I run mkfontdir the fonts.dir file is just a "0"
and when I run xset +fp . I get
% xset +fp .
xset:  bad font path element (#23), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
% cat fonts.dir
0
% ls -laod . fonts.dir
drwxr-xr-x  2 eitan  eitan  - 14336 May 23 18:54:55 2010 ./
-rw-r--r--  1 eitan  eitan  - 2 May 23 18:55:32 2010 fonts.dir

-- 
Eitan Adler
___
freebsd-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: Terminal thinks start of line is first character of previous line

2010-05-22 Thread Eitan Adler
>> On Fri, 21 May 2010 01:02:04 +0300, Eitan Adler  wrote:
>>> For some reason the output of my terminal at times seems to put the
>>> first character of a line as the last character of the previous line.
>>> This occurs with x11/Terminal x11/Eterm x11/xterm and probably others.
>>> As far as I could tell this does not not occur on console but I have
>>> not tested as thoroughly.
>>
>> When you state "at some times" for this strange shifting to happen,
>> what programs are affected, for example, or is terminal output
>> affected in general?
> this often happens with ls output - but not all the time - it seems
> only when ls doesn't do one column output
> this.

Some more testing:
cat can do this with some files but not with all - I have to find a
common denominator.

-- 
Eitan Adler
___
freebsd-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: File system

2010-05-21 Thread Eitan Adler
gjournal will replay all write attempts
> (metadata and data) before the failure, so you should be relatively
> sure that all writes are done correctly.

As I understand it journals work by writing to disk a log of all the
changes that have to be made - waits for confirmation that it wrote
the data - and then attempts to make those changes. If after the
confirmation there is a crash the log file is replayed.
Certain virtual machines will report to the OS that it wrote the data
to disk before it actually does so. In that case journaling doesn't
actually help as the log file is still not on some form of stable
storage.
--
Eitan Adler
___
freebsd-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: Terminal thinks start of line is first character of previous line

2010-05-20 Thread Eitan Adler
On Fri, May 21, 2010 at 1:34 AM, Polytropon  wrote:
> On Fri, 21 May 2010 01:02:04 +0300, Eitan Adler  wrote:
>> For some reason the output of my terminal at times seems to put the
>> first character of a line as the last character of the previous line.
>> This occurs with x11/Terminal x11/Eterm x11/xterm and probably others.
>> As far as I could tell this does not not occur on console but I have
>> not tested as thoroughly.
>
> Do you have any idea what sets $COLUMN for your terminal session?
> I don't have this variable defined neither in xterm or text mode
> console.
I'm unsure - I believe this is bash or zsh  - the problem occurs with
both of them

> When you state "at some times" for this strange shifting to happen,
> what programs are affected, for example, or is terminal output
> affected in general?
this often happens with ls output - but not all the time - it seems
only when ls doesn't do one column output
this.

Maybe $COLUMNS setting interferes with
> something...

Even I change it I still get the same problem.

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


Terminal thinks start of line is first character of previous line

2010-05-20 Thread Eitan Adler
For some reason the output of my terminal at times seems to put the
first character of a line as the last character of the previous line.
This occurs with x11/Terminal x11/Eterm x11/xterm and probably others.
As far as I could tell this does not not occur on console but I have
not tested as thoroughly.

echo $TERM $COLUMNS
xterm 140

I'm unsure what other debugging data is needed. I am able to provide
any other data that might be needed to solve the problem though.

-- 
Eitan Adler
___
freebsd-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 automounter (automatically mounting USB drives)

2010-05-19 Thread Eitan Adler
On Wed, May 19, 2010 at 4:09 PM, Alexandre L.  wrote:
> To enable it at system startup, you must add the following line to 
> /etc/rc.conf :
> automounter_enable="YES"
>
Which I have already done. However this only causes the labels in
/media to appear to disappear. It does not seem like it actually
mounts anything.

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


using automounter (automatically mounting USB drives)

2010-05-18 Thread Eitan Adler
How can I automatically mount USB drives when I plug them in?
I found a program sysutils/automounter which appears to create a link
/media/msdosfs/USB20FD but doesn't actually mount anything.
___
freebsd-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: Find a file with an unknown name

2010-05-18 Thread Eitan Adler
> I want to find a file that was recently created.

find  -newerct '1 hour ago' -print

> The content within the file is known, so I can grep for that. The
> directory structure that contains the file is also known. The filename
> is not known.

grep -R "content" 
___
freebsd-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: user friendliest gui

2010-05-12 Thread Eitan Adler
> Don't mean to sound TOO ignorant, but which Tcl should I be installing?
> This one?
> /usr/ports/lang/p5-Tcl

p5-Tcl is the perl interface for Tcl. Try lang/tcl86
___
freebsd-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 driver goes with what PCI device

2010-05-12 Thread Eitan Adler
I ran the following command and I was wondering how I could figure out
what drivers are needed for each of the following.

$pciconf -lv|grep -A 4 none
no...@pci0:0:31:3:  class=0x0c0500 card=0x3a1d17aa chip=0x29308086
rev=0x03 hdr=0x00
   vendor = 'Intel Corporation'
   device = '82801IB/IR/IH (ICH9 Family) SMBus Controller'
   class  = serial bus
   subclass   = SMBus
no...@pci0:2:0:0:   class=0x088000 card=0x3d9b17aa chip=0x2382197b
rev=0x00 hdr=0x00
   vendor = 'JMicron Technology Corp.'
   device = 'JMB38X SD/MMC Host Controller (JMB38X)'
   class  = base peripheral
no...@pci0:2:0:2:   class=0x080501 card=0x3d9a17aa chip=0x2381197b
rev=0x00 hdr=0x00
   vendor = 'JMicron Technology Corp.'
   class  = base peripheral
   subclass   = SD host controller
no...@pci0:2:0:3:   class=0x088000 card=0x3d9c17aa chip=0x2383197b
rev=0x00 hdr=0x00
   vendor = 'JMicron Technology Corp.'
   device = 'JMB38X MS Host Controller (JMB38X)'
   class  = base peripheral
___
freebsd-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: replies from mpcustomer.com

2010-05-12 Thread Eitan Adler
On Wed, May 12, 2010 at 2:35 AM, Adam Vande More  wrote:
> Recently, when posting to this list, I've been getting replies to my
> messages like below:  Any ideas what's going on?
>
As Chuck Swiger said this is just someone's childish prank. In the
future you could report problems like this to postmas...@freebsd.org
(make sure to include the full headers of the email). In this case it
has already been reported and it is being worked on.
___
freebsd-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: user friendliest gui

2010-05-11 Thread Eitan Adler
Why??  Because, In this case, the GUI is entirely -un-necessary-.  The user

> doesn't have to do anything other than stick the flash drive in the USB
> port.
>

> My users here,  "no gui" = "machine is broken"

makes it very necessary.

Anyway if you want a really simple GUI try icewm or dwm. The former recently
had a thread on its mailing list about how to lock it down for use as a
kiosk and the latter has < 5000 lines of code so it should be easy to modify
to your liking if you know some C.

Also look at devd(8) for running your script - The devd daemon provides a
way to have userland programs run when certain kernel events happen.
___
freebsd-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: md5(1) and cal(1)

2010-05-11 Thread Eitan Adler
> D> 2. Why doesn't md5(1) have a "check" option?  Seems to me requiring a
> D> manual inspection is error-prone at best, and makes scripting
> D> unecessarily complicated.
>

Would something like the attached patch be good?
It adds a -c option for a string to check against. It prints "[failed]" if
the string does not match the files md5 unless in -q mode.
It also returns 2 to indicate md5 match failure for use in scripts.


md5-check.patch
Description: Binary data
___
freebsd-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: user friendliest gui

2010-05-11 Thread Eitan Adler
On Tue, May 11, 2010 at 9:36 PM, Gary Gatten  wrote:

> If that's all your doing on that system, maybe some restricted shell with
> automagical scan script would be fine?  Just a thought.  Avoid GUI's if you
> can!
>

Why? For most users GUIs are far easier to understand and use.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


PCI devices without drivers

2010-05-05 Thread Eitan Adler
I ran the following command and I was wondering how I could figure out
what drivers are needed for each of the following.

$pciconf -lv|grep -A 4 none
no...@pci0:0:31:3:  class=0x0c0500 card=0x3a1d17aa chip=0x29308086
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) SMBus Controller'
class  = serial bus
subclass   = SMBus
no...@pci0:2:0:0:   class=0x088000 card=0x3d9b17aa chip=0x2382197b
rev=0x00 hdr=0x00
vendor = 'JMicron Technology Corp.'
device = 'JMB38X SD/MMC Host Controller (JMB38X)'
class  = base peripheral
no...@pci0:2:0:2:   class=0x080501 card=0x3d9a17aa chip=0x2381197b
rev=0x00 hdr=0x00
vendor = 'JMicron Technology Corp.'
class  = base peripheral
subclass   = SD host controller
no...@pci0:2:0:3:   class=0x088000 card=0x3d9c17aa chip=0x2383197b
rev=0x00 hdr=0x00
vendor = 'JMicron Technology Corp.'
device = 'JMB38X MS Host Controller (JMB38X)'
class  = base peripheral
___
freebsd-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: Portsnap metadata is correctly signed, but contains at least one line which appears bogus.

2010-05-04 Thread Eitan Adler
Woops - I missed this email

> Eitan Adler  wrote:
>
>> I've been getting the following message a lot lately.
>>
>> Portsnap metadata is correctly signed, but contains
>> at least one line which appears bogus.
>>

I'm still getting this error even after a complete removal of /var/db/portsnap

> If the metadata is correctly signed then it sounds like it should be a
> server-side problem. OTOH  no-one else is mentioning it, are you
> running portsnap from a reasonably recent release?

Yeah - I'm running from 8-RELEASE

>
> It might be instructive to edit portsnap, look for the places where
> fetch_metadata_freakout is called and have it make a copy of the
> offending file.

I added some echo lines to help

if grep -qvE "^[0-9A-Z.]+\|[0-9a-f]{64}$" tINDEX.new; then
fetch_metadata_freakout
return 1
fi
appears to be the part which goes nuts.
___
freebsd-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: email address on google through this link

2010-04-27 Thread Eitan Adler
> At least one mailing list I'm on obfuscates the addresses on the server so all
> messages would, for example, appear to come *from* freebsd-
> questi...@freebsd.org.
Which make it quite annoying when you want to reply privately to someone.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


geom, glabel, and related terminology

2010-04-27 Thread Eitan Adler
I'm a little bit confused about some of the file system terminology.

What exactly is a GEOM label?  What does it mean to have one or for
one to be stopped?
What is a GEOM provider?
What is the difference between a bsd label and a geom label?

If you could provide a high level overview the terminology it would
help me immensely.
___
freebsd-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: Wpoison?????

2010-04-26 Thread Eitan Adler
>> There are better systems that have a pure honeypot which actually
>> accepts mail (and add the IPs that send mail to a blacklist)
>
> OK - where do we find one of THOSE?
I have never researched this topic in depth but
http://en.wikipedia.org/wiki/Honeypot_%28computing%29#Further_reading_and_external_links
seems to have some links.
Setting one up on your own isn't hard. Just create a new mail account
and blacklist anyone who sends mail to that account.
___
freebsd-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: Wpoison?????

2010-04-26 Thread Eitan Adler
> I'm pretty concerned about its effectiveness.  It appears not to have
> been touched since 2001.  If it actually accomplished its goals, I think
> it would have been tuned up a bit, and it would be much more popular.
> I've been hanging around the web quite a bit in the last nine years, and
> it concerns me that I've never run into it before.
I've heard of this program (and others like it) many times. The big
problem with its effectiveness is that the generated emails don't
actually work. Spammers generally send at least one probe message to
create a "working emails" list which can sell for a higher price.
There are better systems that have a pure honeypot which actually
accepts mail (and add the IPs that send mail to a blacklist)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there PHP 5.2.x in ports?

2010-04-22 Thread Eitan Adler
>   Is there 5.2.x in ports, or is there other way to get it installed?
>   For MySQL, for example, there are both 5.0.x and 5.1.x in ports.

php 5.2 is not currently in the ports system. You could get it by
using porteasy or portdowngrade.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Portsnap metadata is correctly signed, but contains at least one line which appears bogus.

2010-04-22 Thread Eitan Adler
I've been getting the following message a lot lately.

Portsnap metadata is correctly signed, but contains
at least one line which appears bogus.

I've used the following command in the past to fix the error but it
didn't work this time.
find /var/db/portsnap/ -newerct "1 day ago" -delete
___
freebsd-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: [ HEADS UP ] Ports unstable for the next 10 days

2010-04-22 Thread Eitan Adler
>
> But it's working today.  I use portsnap to get the updates -- is there a
> delay in that process?
Yes - there is. I've found it takes a couple of hours to get the
newest updates but once in a while it takes longer.
___
freebsd-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: creating a socket for use with nc

2010-03-25 Thread Eitan Adler
> I think what you want - I'm not sure I understood you
> corretly - is a combination of a named pipe created by
> the mkfifo program, and the detach program from the
> ports collection.
Either I don't understand how to use mkfifo or it is not what I want.
mkfifo ppp; cat ppp; cat /dev/urandom |nc -U ppp;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


creating a socket for use with nc

2010-03-25 Thread Eitan Adler
I have a program which reads from stdin. I'd like to be able to close
the terminal it is running in and interact with it via nc -U.
How can I create a socket which I attach to the stdin of the program?
___
freebsd-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: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit?

2010-03-16 Thread Eitan Adler
>        I have built a fairly decent Bourne shell script to run
> just after installing mfsbsd on a target system. It figures out
> the likely boot drive, formats it and then begins to build a
> FreeBSD system on it. The script could intelligently ask for the
> 64-bit or 32-bit trees if it could determine whether it was
> running on the i86 or 64-bit system.
>

Either sysctl -n hw.machine_arch or uname -m (which is POSIX compliant)
___
freebsd-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: ports/144357: emulators/wine build failure

2010-03-15 Thread Eitan Adler
> rebuilding wine without any make.conf changed nothing
>

OK - I managed to build wine after a recent ports update. The only
difference I could see is that I used to use "su" to get root. I now
use "su -" to get root.
___
freebsd-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: Portsnap vs cvsup

2010-03-15 Thread Eitan Adler
On Mon, Mar 15, 2010 at 7:08 PM, mailinglist  wrote:
> What is the difference between using portsnap and cvsupping a ports supfile?  
> The last time I really used FreeBSD was several years ago, but it seems that 
> portsnap has replaced "cvsup ports-supfile".  What exactly is the difference 
> between the two?  What makes portsnap the better option?

http://www.daemonology.net/portsnap/ is a good summary.
Basic idea: portsnap is more secure, faster, and easier to use
cvsup tends to have updates a tad bit sooner
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sysinstall: download via pure http

2010-03-13 Thread Eitan Adler
> For the initial install? Yes -- you're right: there's no obvious
> 'install via HTTP' option.   Trying to install via HTTP proxy and saying
> ftp.freebsd.org:80 when prompted seems like it should work to me, but I
> haven't verified that.
Next time I install I'll try this - I was just wondering if this was an option

> One handy hint when installing is *don't feel you have to do everything
> from within sysinstall*.  Your priority should be to get the OS up and
> running: everything else you can do from within the OS, which is a far
> more flexible and powerful platform than sysinstall.
Exactly the same as my own sentiments

> If you're trying to install packages via HTTP rather than FTP, then try
> setting PACKAGEROOT in your environment.  Like this:
I don't use binary packages - only ports.

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


Re: sysinstall: download via pure http

2010-03-13 Thread Eitan Adler
>
> You can just access ftp.freebsd.org by HTTP

but sysinstall doesn't give me that option - or at least I can't find it
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


sysinstall: download via pure http

2010-03-11 Thread Eitan Adler
instead of "ftp through an http proxy" is it possible to get a pure http mirror?
___
freebsd-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: ports/144357: emulators/wine build failure

2010-03-08 Thread Eitan Adler
On Mon, Mar 8, 2010 at 11:41 AM, Gerald Pfeifer  wrote:
> On Mon, 8 Mar 2010, Eitan Adler wrote:
>> Interesting - I just used whatever flex was in my path. Is wine making
>> the same mistake?
>> % /usr/local/bin/flex --version
>> flex 2.5.35
>
> The following in wine/Makefile
>
>  CONFIGURE_ENV=  ... FLEX="${LOCALBASE}/bin/flex"
>
> takes care of using the ports version instead of the base one.
>
> Gerald
>

rebuilding wine without any make.conf changed nothing
___
freebsd-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: ports/144357: emulators/wine build failure

2010-03-07 Thread Eitan Adler
> On Mon, 1 Mar 2010, Eitan Adler wrote:
>>> Which version of flex are you using (you can find out running
>>> /usr/local/bin/flex --version)?
>> %flex --version
>> flex version 2.5.4
>
> that is the system version of flex; I was specifically asking for
> the one in /usr/local/bin/flex which is used by the wine port (since
> the system one is too old for wine).

Interesting - I just used whatever flex was in my path. Is wine making
the same mistake?
% /usr/local/bin/flex --version
flex 2.5.35

> It should not, but if you can rebuild flex and Wine without this, that
> would be an interesting data point.

> My take it this is that _something_ is causing flex to generate incorrect
> code or the toolchain is miscompiling something.  That's why I asked about
> the version of flex you are using, that is the one thing I could think of.
> (Over here it is flex 2.5.35, the package 2.5.35_3.)
Same here: flex-2.5.35_3
>
> Gerald
>
___
freebsd-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 viewer for FBSD

2010-03-07 Thread Eitan Adler
On Sat, Mar 6, 2010 at 1:07 PM, C. P. Ghost  wrote:
> On Sat, Mar 6, 2010 at 9:25 AM, Polytropon  wrote:
>> On Sat, 6 Mar 2010 09:03:58 +0100, Sabine Baer  wrote:
>>> Well, it is, indeed. Me I am very glad beeing able to do eg
>>> linux-opera -display :0 http://www.youtube.com/watch?v=bhmf4l4OxNw
>>> since I live in a Windows free zone at home.
>>
>> Well, there's always "youtube-dl -a" for that. Just for YT
>> I don't need "Flash".
>
> That's true. I love youtube-dl too, as it helps me keep a local
> .flv copy, even for videos that have been removed for one reason
> or another.
>
> However, there are other video sites like dailymotion. What
> downloader do you use for these?
>
> And remember, youtube-dl is a hack. It can break anytime
> YT changes its embedding. I wished YouTube would switch
> to HTML5, or at least added this as an option.
>
They do
http://www.youtube.com/html5
___
freebsd-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: Thousands of ssh probes

2010-03-05 Thread Eitan Adler
On Fri, Mar 5, 2010 at 2:54 PM, John  wrote:
> My nightly security logs have thousands upon thousands of ssh probes
> in them.  One day, over 6500.  This is enough that I can actually
> "feel" it in my network performance.  Other than changing ssh to
> a non-standard port - is there a way to deal with these?  Every
> day, they originate from several different IP addresses, so I can't
> just put in a static firewall rule.  Is there a way to get ssh
> to quit responding to a port or a way to generate a dynamic pf
> rule in cases like this?
> --
>
> John Lind
> j...@starfire.mn.org
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>

Look at security/blocksshd and security/denyhosts
Also changing SSH to a non-standard port helps - a lot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


signal strength for wireless

2010-03-03 Thread Eitan Adler
Does any of the output of ifconfig have to do with the signal strength
of the network?
If yes - which part? If no - how can I determine that?
I looked in the ifconfig man page but could not find any information
relating to this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ports/144357: emulators/wine build failure

2010-02-28 Thread Eitan Adler
> I am not seeing this in any of my tests, nor is the FreeBSD ports
> cluster, nor have I seen any other report related to this.  This
> means something must be different/special with your system.
>
> Is your ports collection up-to-date?  (Running 'portupgrade -a'
> may be an option, then.)
My ports collection is fully up-to-date except for wine (portsnap
fetch update; portmaster -a)

>
> Which version of flex are you using (you can find out running
> /usr/local/bin/flex --version)?
%flex --version
flex version 2.5.4

>
> Which version of FreeBSD are you using?  Which compiler are you
> using to build this port?  Anything special on your system?
%uname -rms
FreeBSD 8.0-RELEASE-p2 i386
my CC is not set in /etc/make.conf so I assume it is the system default.

WITHOUT_NLS=YES
OPTIMIZED_CFLAGS=yes
PERL_VERSION=5.10.1

that is all. Perhaps it is the NLS which is causing a problem?
>
> Are you sure you did not modify anything in the port itself or
> the extracted source tree?  The error really is one that should
> either appear always, or never, in general.  Since nobody else
> is seeing this, I'm afraid you'll have to do some debugging on
> your side.

I've tried to play around /after/ I get this error. On a clean make
(make distclean; make install clean) I still get this error.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=144357
>
___
freebsd-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: NTOS: Timer fired even though it was canceled

2010-02-15 Thread Eitan Adler
> Can you explain what you did in detail and it have something to do with 
> ndis(4)?
> Did you ever used ndisgen(8)?

Last June I used ndisgen and my computer has been running fine since
then. When I saw the NTOS warning I emailed this list. When I got your
reply I removed if_bwi_ndis_load from /boot/loader.conf and the
warning went away. When I readded to /boot/loader.conf the warning was
*still* gone. Because this was the only change I made I assume that it
was an intermittent problem.
___
freebsd-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: NTOS: Timer fired even though it was canceled

2010-02-14 Thread Eitan Adler
On Sun, Feb 14, 2010 at 2:53 AM, Paul B Mahol  wrote:
> On 2/13/10, Eitan Adler  wrote:
>> On Sun, Feb 14, 2010 at 12:31 AM, Paul B Mahol  wrote:
>>> On 2/13/10, Eitan Adler  wrote:
>>>> On Fri, Feb 12, 2010 at 1:12 PM, Paul B Mahol  wrote:
>>>>> On 2/11/10, Eitan Adler  wrote:
>>>>>>> What miniport driver, what arch, how to reproduce it?
>>>>>> a) no idea
>>>>>> b) Sorry for leaving that out: 8.0-RELEASE-p2 i386
>>>>>> c) Boot the computer and watch tty0
>>>>>
>>>>> Does it happens also if you load module (bcmwl5_sys.ko) after boot via
>>>>> kldload instead via /boot/loader.conf
>>>>>
>>>> Is this what you mean?
>>>>
>>>> Id Refs Address    Size     Name
>>>>  8    1 0xc101c000 1ddb8    if_bwi.ko
>>>>  9    1 0xc103a000 180ae4   if_bwi_ndis.ko
>>>
>>> if_bwi is unrelated to NDIS.
>>>
>>> I'm asking about module you created with ndisgen.
>>>
>>>>
>>>> If you meant loading these via kldload instead of at boot time then
>>>> No,
>>>> But when I put it back in I also no longer see the warning.
>>>>
>>>
>>
>> I didn't recognize what you meant with "bcmwl5_sys.ko".
>> Either way the answer applies: I no longer see the warning regardless
>> of whether it is in /boot/loader.conf or not. Perhaps it was an
>> intermittent problem? If so what could it mean?
>
> Are you using bwi(4) and ndis(4) at same time for same device?
>

No - I was trying to get if_bwi working but the device never shows up.
I removed it from /boot/loader.conf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: NTOS: Timer fired even though it was canceled

2010-02-13 Thread Eitan Adler
On Sun, Feb 14, 2010 at 12:31 AM, Paul B Mahol  wrote:
> On 2/13/10, Eitan Adler  wrote:
>> On Fri, Feb 12, 2010 at 1:12 PM, Paul B Mahol  wrote:
>>> On 2/11/10, Eitan Adler  wrote:
>>>>> What miniport driver, what arch, how to reproduce it?
>>>> a) no idea
>>>> b) Sorry for leaving that out: 8.0-RELEASE-p2 i386
>>>> c) Boot the computer and watch tty0
>>>
>>> Does it happens also if you load module (bcmwl5_sys.ko) after boot via
>>> kldload instead via /boot/loader.conf
>>>
>> Is this what you mean?
>>
>> Id Refs Address    Size     Name
>>  8    1 0xc101c000 1ddb8    if_bwi.ko
>>  9    1 0xc103a000 180ae4   if_bwi_ndis.ko
>
> if_bwi is unrelated to NDIS.
>
> I'm asking about module you created with ndisgen.
>
>>
>> If you meant loading these via kldload instead of at boot time then
>> No,
>> But when I put it back in I also no longer see the warning.
>>
>

I didn't recognize what you meant with "bcmwl5_sys.ko".
Either way the answer applies: I no longer see the warning regardless
of whether it is in /boot/loader.conf or not. Perhaps it was an
intermittent problem? If so what could it mean?
___
freebsd-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: NTOS: Timer fired even though it was canceled

2010-02-13 Thread Eitan Adler
On Fri, Feb 12, 2010 at 1:12 PM, Paul B Mahol  wrote:
> On 2/11/10, Eitan Adler  wrote:
>>> What miniport driver, what arch, how to reproduce it?
>> a) no idea
>> b) Sorry for leaving that out: 8.0-RELEASE-p2 i386
>> c) Boot the computer and watch tty0
>
> Does it happens also if you load module (bcmwl5_sys.ko) after boot via
> kldload instead via /boot/loader.conf
>
Is this what you mean?

Id Refs AddressSize Name
 81 0xc101c000 1ddb8if_bwi.ko
 91 0xc103a000 180ae4   if_bwi_ndis.ko

If you meant loading these via kldload instead of at boot time then
No,
But when I put it back in I also no longer see the warning.
___
freebsd-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: NTOS: Timer fired even though it was canceled

2010-02-11 Thread Eitan Adler
> What miniport driver, what arch, how to reproduce it?
a) no idea
b) Sorry for leaving that out: 8.0-RELEASE-p2 i386
c) Boot the computer and watch tty0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


NTOS: Timer fired even though it was canceled

2010-02-11 Thread Eitan Adler
Running freeBSD 8.0-RELEASE I got
NTOS: timer 0xc4817a08 timer fired even though canceled

from
http://fxr.watson.org/fxr/source/compat/ndis/subr_ntoskrnl.c?v=FREEBSD8

   /*
* This should never happen, but complain
* if it does.
*/

if (timer->k_header.dh_inserted == FALSE) {
   mtx_unlock(&ntoskrnl_dispatchlock);
printf("NTOS: timer %p fired even though "
"it was canceled\n", timer);
return;
}


What might have caused this and how could I fix it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: using leds on laptop

2010-02-01 Thread Eitan Adler
It is a Broadcom card and I need ndis to use it. I do not know if the light
is attached to the wireless card though (it appears next to the power and
charging lights)
ndis0:  mem 0xf470-0xf4703fff irq 18
at device 0.0 on pci4
bge0:  mem 0xf460-0xf460 irq
17 at device 0.0 on pci7


On Mon, Feb 1, 2010 at 11:35 PM, Brandon Gooch
wrote:

> On Mon, Feb 1, 2010 at 2:24 PM, Eitan Adler 
> wrote:
> > I'm not sure if FreeBSD will detect the "pure LED", but as
> >
> >> you mentioned that it is labelled "wireless", it is in
> >> relation to the WLAN inside the laptop. Maybe there's a
> >> device driver functionality that activates the LED when
> >> the WLAN device is active?
> >>
> >
> > Might be - but I don't have windows so I have no way of testing
> >
> >
> >> Do you use the laptop's WLAN, and does the LED correspond
> >> to any state (like activated, connected, scanning etc.) of
> >> the WLAN?
> >>
> > I do use WLAN but it does not correspond to any specific state. Nor does
> the
> > physical switch change anything
> >
> >>
> >> Anyway, I would predict that you won't find an easy way
> >> to utilize this LED except you're writing a driver for it
> >> with specifications the laptop's manufacturer will sell to
> >> you if you put enough money onto the table. :-)
> >>
> >  It happens to be a Lenovo laptop. If I could get a copy of the
> > specification it would make a nice project for me - writing a driver -
> > *wonders*
> >
> >>
> >> Otherwise, it's completely useless.
> >> --
> >> Polytropon
> >> Magdeburg, Germany
> >> Happy FreeBSD user since 4.0
> >> Andra moi ennepe, Mousa, ...
> >>
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
> >
>
> If it's and Intel card (iwi(4), ipw(4), iwn(4)), it's a matter of
> knowing what command to send to the firmware.
>
> What device do you have in the laptop?
>
> Check the dmesg(8) output...
>
> -Brandon
>
___
freebsd-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 leds on laptop

2010-02-01 Thread Eitan Adler
I'm not sure if FreeBSD will detect the "pure LED", but as

> you mentioned that it is labelled "wireless", it is in
> relation to the WLAN inside the laptop. Maybe there's a
> device driver functionality that activates the LED when
> the WLAN device is active?
>

Might be - but I don't have windows so I have no way of testing


> Do you use the laptop's WLAN, and does the LED correspond
> to any state (like activated, connected, scanning etc.) of
> the WLAN?
>
I do use WLAN but it does not correspond to any specific state. Nor does the
physical switch change anything

>
> Anyway, I would predict that you won't find an easy way
> to utilize this LED except you're writing a driver for it
> with specifications the laptop's manufacturer will sell to
> you if you put enough money onto the table. :-)
>
 It happens to be a Lenovo laptop. If I could get a copy of the
specification it would make a nice project for me - writing a driver -
*wonders*

>
> Otherwise, it's completely useless.
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


using leds on laptop

2010-02-01 Thread Eitan Adler
My laptop has a led for "wireless" - It has never been used since I
installed freeBSD on this laptop. I was wondering if there was a way I could
figure out a) if freeBSD detects it b) a way to use it for something
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


will these (bluetooth) devices work with freeBSD

2009-12-26 Thread Eitan Adler
Can anyone tell me if either of these devices are likely to work with
freeBSD for a bluetooth headset?
http://www.newegg.com/Product/Product.aspx?Item=N82E16833242004&cm_re=bluetooth_dongle-_-33-242-004-_-Product
http://www.newegg.com/Product/Product.aspx?Item=N82E16833242004&cm_re=bluetooth_adapter-_-33-242-004-_-Productf
___
freebsd-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: icewm - error during portupgrade / compiling

2009-11-10 Thread Eitan Adler
Hey,
I'm the maintainer for x11-wm/icewm.

Could you tell me if add the port devel/gnome-vfs helps? And could you
tell me what the output of make showconfig is for icewm?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


disable ACPI for mouse

2009-09-29 Thread Eitan Adler
Is it possible to disable ACPI support for one specific device? (/dev/psm)
___
freebsd-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: Moused crashes with Synaptics

2009-09-16 Thread Eitan Adler
>> >   hw.psm.synaptics_support="1"
>> >   hw.psm.synaptics.vscroll_hor_area=1300
>> >
Did this help your problem?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


rebinding keys to functions

2009-09-14 Thread Eitan Adler
My laptop has a bunch of volume-up/down/mute internet/mail/etc keys.
How do I map each of them to run a specific shell command when pressed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Mouse fails with ACPI enabled 8-B4

2009-09-10 Thread Eitan Adler
If I boot with ACPI enabled and then either start X or moused the
mouse will appear to work for a few moments and then cease to proccess
any input (as tested by moused verbose output, xev, and failure of the
mouse to move).
This happens on 8.0 BETA 4
If I boot without ACPI the mouse works.

Any ideas on how to fix?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


metadata is incorrect - freebsd-update

2009-09-08 Thread Eitan Adler
When I try to update to 8.0-BETA3 using freebsd-update I get a gunzip
problem like: metadata iscorrupt
I tried to remove /var/db/freebsd-update/files/* but I get the same
error message

Is this a client side problem or a server problem?
If the former how do I fix it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ACPI - works for wireless fails for mouse

2009-09-07 Thread Eitan Adler
On my laptop when I boot with ACPI enabled my wireless card works but
my mouse fails a few seconds after starting moused or X.  If I boot
without ACPI my mouse works but the wireless card fails.
Is it possible to disable ACPI for the mouse and only the mouse
(/dev/psm0, IRQ 12, glidepoint type)?

OS == FreeBSD 8.0 BETA2

I'm currently stuck with a sub-par internet connection so if this has
been covered by the handbook or google I appologize.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


freebsd-update to -BETA2 p1

2009-08-17 Thread Eitan Adler
AlphaBeta# freebsd-update fetch install
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 8.0-BETA2 from update5.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 8.0-BETA2-p1.

WARNING: FreeBSD 8.0-BETA2 HAS PASSED ITS END-OF-LIFE DATE.
Any security issues discovered after Thu Aug 13 20:00:00 EDT 2009
will not have been corrected.

AlphaBeta# freebsd-update install
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.


AlphaBeta# uname -a
FreeBSD AlphaBeta 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Wed Jul 15 23:25:30
UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 i386
___
freebsd-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: ndis driver - freeze on scan

2009-08-17 Thread Eitan Adler
 > If you break out of the scan (^C), is the machine responsive?  I've
> noticed a hang when scanning with my ndis'd 4318, but no problems
> otherwise.
I can't break out of the scan with ^C. It just hangs.



-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


(was ndis driver - freeze on scan) actually freezes on up

2009-08-17 Thread Eitan Adler
Eitan Adler wrote:
> I created an ndis driver for my wireless card and kldloaded it.
> When I try
> ifconfig ndis0 up scan
> my computer just freezes and it does not find any of the 100
> (exaggeration) APs around.
> 
> This is a broadcom wireless card.
> 

I just tried
ifconfig ndis0 up
and it also freezes.

-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ndis driver - freeze on scan

2009-08-17 Thread Eitan Adler
I created an ndis driver for my wireless card and kldloaded it.
When I try
ifconfig ndis0 up scan
my computer just freezes and it does not find any of the 100
(exaggeration) APs around.

This is a broadcom wireless card.

-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


bwi driver (broadcom) on 8.0

2009-08-17 Thread Eitan Adler
I can't seem to find any reference to a broadcom wireless driver for 8.0.
I did find one forum reference
(http://forums.freebsd.org/archive/index.php/t-170.html) for a 7.x
driver but it according to the thread does not work with 8.x.

Can anyone point me to some instructions on getting my wireless working?

-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-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: mouse not working - X or console

2009-08-16 Thread Eitan Adler
 > Also you may want to update Xorg to current version.  I think that
may help
> as my intel chipset just starting working w/ freebsd again relatively
> recently.

I was running 7.2-STABLE.
I used freebsd-update to 8.0-BETA2 and mouse finally works.


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-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: mouse not working - X or console

2009-08-15 Thread Eitan Adler
> /var/log/Xorg.0.log would be help as well.
http://pastebin.com/f30f93edb


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-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: mouse not working - X or console

2009-08-15 Thread Eitan Adler
> Do you have
> 
> moused_enable="YES"
> 
> in /etc/rc.conf?
> 
> Do you have xorg drivers installed for kb and mouse?
> 
> eg
> 
> xf86-input-keyboard-1.3.2_2
> xf86-input-mouse-1.4.0_6
> 

After some work on IRC I got to the following:
I have X compiled WITH hald.
dbus and hald are enabled and running
All relevant drivers are installed.
/dev/sysmouse exists.

The mouse works for a tiny bit and then fails.

Its a laptop mouse - but it might be connected to the USB bus; 8.0 has
better support for USB so I'm running freebsd-update currently to
determine if it fixes the problem.


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


mouse not working - X or console

2009-08-15 Thread Eitan Adler
On my Lenovo G530 the mouse does not work in X or with moused.
http://www.newegg.com/Product/Product.aspx?Item=N82E16834146534 for
laptop specs.
My laptop's dmesg output: http://pastebin.com/f7500570e
AllowEmptyInput is on.
The keyboard is not frozen in X as I am able to get to the other VTYs.


(mouse+X+


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-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: bwi driver

2009-08-15 Thread Eitan Adler
On Fri, Aug 14, 2009 at 1:39 PM, Eitan Adler wrote:
>
>> You really should post the full pciconf(8) and dmesg(8) for us, as well
>> as kldstat(8) -v.
I sent an email previously which may have been caught by some spam
filters as having too many links so I'm resending this.
The links include dmesg, kldstat -v, and pciconf -lv
https://groups.google.com/group/lucky.freebsd.questions/msg/4cd06e29318614ce
> --
> Eitan Adler
> "Security is increased by designing for the way humans actually behave."
> -Jakob Nielsen
>
___
freebsd-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: bwi driver

2009-08-14 Thread Eitan Adler

> You really should post the full pciconf(8) and dmesg(8) for us, as well
> as kldstat(8) -v.
http://pastebin.com/f368e0550
http://pastebin.com/f7d5f883d
http://pastebin.com/f7500570e
http://pastebin.com/f606e2c81

-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


bwi driver

2009-08-14 Thread Eitan Adler
I have a Lenovo G530 laptop with a broadcom wireless card.
I downloaded the drivers referenced here:
http://forums.freebsd.org/showthread.php?t=170
I installed them and loaded them.

However pciconf -lv|grep bwi produces no output and ifconfig does not
mention any wireless cards.

What should I try now?


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


badly munged system

2009-07-17 Thread Eitan Adler
I tried to do a make buildworld, make buildkernel, make installkernel,
reboot, make installworld from an old version of 7.2-STABLE to revision
195666. I was in single user mode the entire time.
The first three steps worked perfectly. The final step resulted in an
error which I forgot to log. I then proceeded to do a make clean and try
to rebuild the world.
This results in the following error:
cc -O2 -fno-strict-aliasing -pipe
-I/usr/obj/home/src/stable7/tmp/legacy/usr/in

clude -c /home/src/stable7/usr.bin/makewhatis/makewhatis.c
/home/src/stable7/usr.bin/makewhatis/makewhatis.c:146: warning: 'struct
dirent'

declared inside parameter list

/home/src/stable7/usr.bin/makewhatis/makewhatis.c:929: error:
dereferencing poin

ter to incomplete type
*** Error code 1

Stop in /home/src/stable7/usr.bin/makewhatis.
*** Error code 1
...

Along with this error I am now missing quite a number of system files:
among them include /usr/share/mk/bsd.port.mk
/libexec/ld-elf.so.1: sort: Shared object has no run-time symbol table
and man.

How could I get out of this state without losing data?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Installation - VT4

2009-05-11 Thread Eitan Adler
When you install freeBSD via sysinstall you could switch to VT2 which
displays what files it is currently installing and you could switch to
VT4 which displays some kind of prompt. What exactly is that prompt? sh?
 What utilities does it have access to?  When would you want to use it?

-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-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: snd-hda no sound whatsoever

2009-04-19 Thread Eitan Adler
> If it still doesn't work put a verbose boot dmesg of snd_hda and pcm
> somewhere (see the man page of snd_hda) and ask on the
> freebsd-multimedia@ mailing list.
#sysctl hw.snd.default_unit=0
Works - thanks.  Now - to make this change stick I add it to
/boot/loader.conf ?

Thanks all for your help.

> 
> Regards
> 


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-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: showing dependency information in ports

2009-04-18 Thread Eitan Adler
Michael P. Soulier wrote:
> I'm sure that this has been asked before, but I cannot find the answer
> recorded anywhere. I'm likely looking in the wrong places.
> 
> Is there a simple tool in freebsd to show the reverse dependency tree of a
> package?
pkg_tree in ports
> 
> Mike


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-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: snd-hda no sound whatsoever

2009-04-18 Thread Eitan Adler

> After upgrade upgrade my system to 7.2-PRERELEASE, my sound card works 
> perfectly.
This is why my sound broke (I forgot to mention it was after an
upgrade). cd ~/stable7/sys/dev/sound/pci/hda && svn update -r182969
"fixed" my problem.


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-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: snd-hda no sound whatsoever

2009-04-17 Thread Eitan Adler
Polytropon wrote:
>>From your diagnostics, the sound card seems to be detected okay,
> as far as I see it.
> 
> Things worth checking are the mixer settings, such as:
> 
>   % mixer pcm 100
>   % mixer vol 100
Mixer vol  is currently set to  100:100
Mixer pcm  is currently set to  100:100
Mixer line is currently set to  100:100
> 
> which will turn PCM and master volume to 100:100. For checking,
> it's usually the most comfortable way to play some media file,
> instead of a "plain file" into /dev/dsp.
I tried mplayer
> 
> The play command from the port / package sox or mpg123 / madplay
> for mp3 files work well, as does mplayer.
$ls -lao /dev/dsp0.0
crw-rw-rw-  1 root  wheel  -   0,  94 Apr 17 13:48 /dev/dsp0.0
ls -lao /dev/dsp0.0
crw-rw-rw-  1 root  wheel  -   0,  94 Apr 17 13:48 /dev/dsp0.0


> 
> Have a look at where /dev/dsp points to, it should be the dsp0
> device.
> 
> I don't have furtther experiences with the hda stuff, so these
> would be my basic ideas.

Thanks
> 
> 
> 


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


snd-hda no sound whatsoever

2009-04-17 Thread Eitan Adler
I have no sound whatsoever.  Speakers are plugged in and turned on.
I'm not sure what debugging information I need.

$kldstat |grep snd
 51 0xc5985000 19000snd_hda.ko

$cat /bin/sh >/dev/dsp
  Produces no sound

$sysctl -a|grep hda
  http://isis.poly.edu/~eitan/files/hda-sound-problem-sysctl-output.txt

$cat /dev/sndstat
  (hw.snd.verbose: 4)
  http://isis.poly.edu/~eitan/files/hda-sound-problem-sndstat-output.txt

Any ideas?

-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-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: kern.maxfiles limit exceeded... what to do?

2009-04-14 Thread Eitan Adler
VeeJay wrote:
> Hi there
> 
> I am keep getting this error on the screen. I have tried to solve this
> problem by myself but still no luck. Could anyone guide what to do to
> increase the limit and avoid this error?

please see tuning(7)




-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-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: Desktop environments

2009-03-26 Thread Eitan Adler
You also have selectwm.

$cat /usr/ports/x11-wm/selectwm/pkg-descr
This is a small application (using GTK+) which lets you select your window
manager. It looks for a file named .selectwmrc in the user's directory
which contains a list of window managers.

When you start X it should show a list which lets you choose your window
manager (by double clicking on it with the mouse or with the arrow keys
and the return or space key).

WWW: http://ordiluc.net/selectwm/


___
freebsd-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: Finding Dependencies

2009-03-17 Thread Eitan Adler
Jerry wrote:
> Assuming program: 'foo', how can I determine what other programs depend
> on 'foo', not what programs 'foo' depends on? I have a program on my
> system and I want to determine what other programs are dependent upon
> it. 'pkg_info' doesn't seem to give me that information.
> 
man pkg_info
try pkg_info -R
and also look at /usr/ports/ports-mgmt/pkg_tree
-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-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 archiver?

2009-03-13 Thread Eitan Adler
Gary Kline wrote:
>   guys, this is for any compression experts on-list.  my main desktop is 
> nearly
>   full.  i'm looking for the best means of compressing [mostly] audio 
> files.
>   mp3, ogg, and .flag.  i cross backup among my servers and would like to 
> have
>   the most reasoned approach to compressing my ~/Music/ files.  is 
> rar/unrar
>   better that bzip -9?  is there any new/forthcoming archiver on the 
> horizon?
man shar

Just kidding!

I would look into archivers/bunzip and archivers/p7zip.  I recall
reading that the 7z format produces better compression rates than RAR
for already compressed audio files but I don't remember the source.  The
file formats you mentioned are already compressed and depending on the
contents you probably won't get /much/ better than you have now.

-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen
___
freebsd-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   >