Re: what kind of freeBSD to download for my pc?

2013-10-12 Thread Bernt Hansson

On 2013-10-13 01:50, cikitaluzza wrote:

can i run exe files on freeBSD?


Yes, but the files are not called exe files.

it spoils fast or not?

Google translate?

do you have any problems within freeBSD

Yes.

how much total ram and bit is my pc of amd athlon(tm) 64 x2 dual core 
processor 4000+ 2.11 GHz 960 MB RAM?


Download amd64


i want stable os and never to reinstall or update

You should consider pen and paper then.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NAT: Handbook vs mailing list

2013-10-09 Thread Bernt Hansson

On 2013-10-08 06:21, Chris Stankevitz wrote:

http://www.freebsd.org/doc/handbook/network-natd.html

http://lists.freebsd.org/pipermail/freebsd-questions/2011-April/229017.html

Hello,

Handbook section 31.9.3 suggests I should, among other things, add the
line ipdivert_load=YES to /boot/loader.conf when setting up NAT.

The mailing list message linked above suggests that the handbook
information is the old way and that the correct way is to set
ipfw_enable and natd_enable in rc.conf.  Then /etc/rc.d/ipfw will
load ipfw.ko, and if natd_enable is set, will invoke /etc/rc.d/natd,
which loads ipdivert.ko at the right time.

My inclination is to follow the handbook, but I thought I should first
check to ensure the handbook is up-to-date.

Thank you,



This is my rc.conf with ipf (ipfilter) firewall.


# Bring up the ipfilter software
ipfilter_enable=YES
ipmon_enable=YES # Start IP monitor log
ipmon_flags=-D -f /var/log/ipf.log

## Tell ipfilter where to get its rules
ipfilter_rules=/etc/ipf.rules

#Enable ipnat
ipnat_enable=YES

#Tell ipnat where to get its rules
ipnat_rules=/etc/ipnat.rules
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No Sound from Firefox

2013-10-06 Thread Bernt Hansson

On 2013-10-06 21:31, Jerry wrote:

$ /usr/local/bin/firefox

(process:71385): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size 
== 0' failed

This is all I could gather.


I get the same for firefox and thunderbird

% firefox 
[1] 37788
%
(process:37788): GLib-CRITICAL **: g_slice_set_config: assertion 
`sys_page_size == 0' failed


% thunderbird 
[2] 38745
%
(process:38745): GLib-CRITICAL **: g_slice_set_config: assertion 
`sys_page_size == 0' failed


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


Qcad port error

2013-10-05 Thread Bernt Hansson

Hello list!

When trying to build qcad I get this error;

===  Configuring for qcad-3.2.1.0
/usr/bin/sed -i.bak -e s|%%DATADIR%%|/usr/local/share/qcad| 
/usr/ports/cad/qcad/work/qcad-3.2.1.0/src/core/RSettings.cpp

cd /usr/ports/cad/qcad/work/qcad-3.2.1.0  /usr/local/bin/qmake-qt4 -r
Reading /usr/ports/cad/qcad/work/qcad-3.2.1.0/src/src.pro
 Reading /usr/ports/cad/qcad/work/qcad-3.2.1.0/src/3rdparty/3rdparty.pro
Project ERROR: Script bindings not available for Qt version 4.8.2. You 
can add them to src/scripting/qt-labs-qtscriptgenerator-4.8.2 or use 
another version of Qt.

*** [do-configure] Error code 2

Stop in /usr/ports/cad/qcad.

There is other ports that is broken like multimedia/audacious among others.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to ask a DNS resolver listening on a different port than the tcp/udp 53

2013-09-29 Thread Bernt Hansson

On 2013-09-28 09:37, loran42o wrote:

Le 28.09.2013 00:08, Terje Elde a écrit :

On 28. sep. 2013, at 00:03, Frank Leonhardt fra...@fjl.co.uk wrote:


If I understand the way it works correctly, the resolver pulls a list of the NS 
and hard-sets the port number for each to 53 (via a manifest constant) . See 
libc/resolv/res_init.c. All you need to do(!) is change this to a value of your 
choice and recompile libc


Sorry, but this is startin to look a lot like a complicated solution to a 
problem that isn't really there...

Why not just point from resolv.conf to localhost, run a caching and/or 
recursive dns-server there, and point it whereever?

As far as I can tell, that'd solve everything, add caching, and let it all be 
controlled from the config of the DNS-server?

Terje


Hi,
I guess this is the way that'll end.

Laurent SALIN



You'll need to setup your bind.conf;

zone fqdn IN {
type forward;
forward first;
forwarders {
127.0.0.1 port 530;
};
};
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


HP Workstation install

2013-09-24 Thread Bernt Hansson

Hello list!

I've bought an HP Workstation xw8200 and trying to install fsb 8.3, 8.4 
and 9.1. The machine boots with all of the 8.x but never install, trying 
to install from usb stick.


Installing 9.1 works, sort of, installation works fine but it never boot.

Gives;

Non-system disk or disk error
replace and strike any key when ready.

It is a dual xeon system with 6 Gb ram and 4 HDDs
2 73Gb scsi one 120Gb PATA and one 160Gb SATA

___
freebsd-questions@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 does CD ripping fail?

2013-08-20 Thread Bernt Hansson

On 2013-08-19 16:12, Ben Laurie wrote:

On 19 August 2013 09:15, Rares Aioanei bsdlis...@gmail.com wrote:


On Mon, 19 Aug 2013 05:35:48 -0400
Ben Laurie b...@links.org wrote:


Using grip, trying to rip a CD, I get:

(cd0:ahcich3:0:0:0): MODE_SENSE(6) failed, increasing minimum CDB
size to 10 bytes
(cd0:ahcich3:0:0:0): MODE SENSE(10). CDB: 5a 0 e 0 0 0 0 0 20 0
(cd0:ahcich3:0:0:0): CAM status: SCSI Status Error
(cd0:ahcich3:0:0:0): SCSI status: Check Condition
(cd0:ahcich3:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
field in CDB)
(cd0:ahcich3:0:0:0): Command byte 2 is invalid

and no audio data is ripped. Unsure what changed, because this used to
work, which is a little frustrating. I think I updated ports since it
last worked.


Those usually indicate hardware issues. I'd start by checking
connectors, cables and the like and go on from there.



Even though I get the TOC? This seems a little unlikely...


But none the less.
___
freebsd-questions@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 freebsd usb boot

2013-07-25 Thread Bernt Hansson

On 2013-07-25 11:01, Erhan Gulsen wrote:

Hi,
I am Erhan,i have a problem,i read your all definition but i can not
create usb boot FreeBSD,i have a ubuntu 12.04 operating system.I want to
create it with FreeBSD-9.1-RELEASE-amd64-disc1.iso but when i try
this,it shows ''boot error''.Can you help me?


Don't use that, use the memstick image.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Newbye question VIM problem

2013-07-23 Thread Bernt Hansson



On 2013-07-23 18:07, Teske, Devin wrote:


(opening a can of squiggly worms here)


Well, then you can go fishing

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


Re: Saving scanned document

2013-07-23 Thread Bernt Hansson

On 2013-07-23 19:14, Jerry wrote:

I have a Brother MFC-9560CDW printer. The printer is hooked up wireless


If you want it to work, use HP. Or make sure its compatible with HP.
___
freebsd-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/qt4-corelib dosen´t build

2013-07-02 Thread Bernt Hansson

Hello list.

I´m having problems with devel/qt4-corelib

../../include/QtCore/../../src/corelib/tools/qbytearray.h:535: note: 
 bool operator==(const QByteArray, const QByteArray)
../../include/QtCore/../../src/corelib/tools/qbytearray.h:537: note: 
 bool operator==(const QByteArray, const char*)
../../include/QtCore/../../src/corelib/tools/qbytearray.h:539: note: 
 bool operator==(const char*, const QByteArray)

../../include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
../../include/QtCore/../../src/corelib/tools/qbytearray.h:583: error: 
'QBool' does not name a type
../../include/QtCore/../../src/corelib/tools/qbytearray.h:585: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:587: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:589: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:592: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:594: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:596: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:598: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:600: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:605: error: 
expected initializer before '' token
../../include/QtCore/../../src/corelib/tools/qbytearray.h:606: error: 
expected initializer before '' token
../../include/QtCore/../../src/corelib/tools/qbytearray.h:610: error: 
expected initializer before 'qCompress'
../../include/QtCore/../../src/corelib/tools/qbytearray.h:611: error: 
expected initializer before 'qUncompress'
../../include/QtCore/../../src/corelib/tools/qbytearray.h: In function 
'QByteArray qCompress(const QByteArray, int)':
../../include/QtCore/../../src/corelib/tools/qbytearray.h:613: error: 
'const class QMemArraychar' has no member named 'constData'
../../include/QtCore/../../src/corelib/tools/qbytearray.h: In function 
'QByteArray qUncompress(const QByteArray)':
../../include/QtCore/../../src/corelib/tools/qbytearray.h:614: error: 
redefinition of 'QByteArray qUncompress(const QByteArray)'
/usr/local/include/qcstring.h:124: error: 'QByteArray qUncompress(const 
QByteArray)' previously defined here
../../include/QtCore/../../src/corelib/tools/qbytearray.h:615: error: 
'const class QMemArraychar' has no member named 'constData'

../../include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
../../include/QtCore/../../src/corelib/tools/qbytearray.h:618: error: 
'Q_MOVABLE_TYPE' has not been declared
../../include/QtCore/../../src/corelib/tools/qbytearray.h:618: error: 
expected constructor, destructor, or type conversion before ';' token
../../include/QtCore/../../src/corelib/tools/qbytearray.h:621: error: 
expected constructor, destructor, or type conversion before 
'QT_END_NAMESPACE'

*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/devel/qt4-corelib.

FreeBSD 8.3-STABLE #0: Fri Feb 22 20:03:01 CET 2013
/usr/obj/usr/src/sys/GENERIC  amd64
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: devel/qt4-corelib dosen´t build

2013-07-02 Thread Bernt Hansson

On 2013-07-02 19:33, Bernt Hansson wrote:

Hello list.



EDIT: How odd, it builds just fine on i386

FreeBSD testbox.fqdn 8.3-STABLE FreeBSD 8.3-STABLE #0: Fri Feb 22 
20:03:01 CET 2013 root@fqdn:/usr/obj/usr/src/sys/GENERIC  i386



I´m having problems with devel/qt4-corelib

../../include/QtCore/../../src/corelib/tools/qbytearray.h:535: note:
  bool operator==(const QByteArray, const QByteArray)
../../include/QtCore/../../src/corelib/tools/qbytearray.h:537: note:
  bool operator==(const QByteArray, const char*)
../../include/QtCore/../../src/corelib/tools/qbytearray.h:539: note:
  bool operator==(const char*, const QByteArray)
../../include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
../../include/QtCore/../../src/corelib/tools/qbytearray.h:583: error:
'QBool' does not name a type
../../include/QtCore/../../src/corelib/tools/qbytearray.h:585: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:587: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:589: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:592: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:594: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:596: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:598: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:600: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:605: error:
expected initializer before '' token
../../include/QtCore/../../src/corelib/tools/qbytearray.h:606: error:
expected initializer before '' token
../../include/QtCore/../../src/corelib/tools/qbytearray.h:610: error:
expected initializer before 'qCompress'
../../include/QtCore/../../src/corelib/tools/qbytearray.h:611: error:
expected initializer before 'qUncompress'
../../include/QtCore/../../src/corelib/tools/qbytearray.h: In function
'QByteArray qCompress(const QByteArray, int)':
../../include/QtCore/../../src/corelib/tools/qbytearray.h:613: error:
'const class QMemArraychar' has no member named 'constData'
../../include/QtCore/../../src/corelib/tools/qbytearray.h: In function
'QByteArray qUncompress(const QByteArray)':
../../include/QtCore/../../src/corelib/tools/qbytearray.h:614: error:
redefinition of 'QByteArray qUncompress(const QByteArray)'
/usr/local/include/qcstring.h:124: error: 'QByteArray qUncompress(const
QByteArray)' previously defined here
../../include/QtCore/../../src/corelib/tools/qbytearray.h:615: error:
'const class QMemArraychar' has no member named 'constData'
../../include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
../../include/QtCore/../../src/corelib/tools/qbytearray.h:618: error:
'Q_MOVABLE_TYPE' has not been declared
../../include/QtCore/../../src/corelib/tools/qbytearray.h:618: error:
expected constructor, destructor, or type conversion before ';' token
../../include/QtCore/../../src/corelib/tools/qbytearray.h:621: error:
expected constructor, destructor, or type conversion before
'QT_END_NAMESPACE'
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/devel/qt4-corelib.

FreeBSD 8.3-STABLE #0: Fri Feb 22 20:03:01 CET 2013
/usr/obj/usr/src/sys/GENERIC  amd64
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org




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


Re: Firefox 21 not proceeding to URL

2013-06-28 Thread Bernt Hansson

On 2013-06-28 19:07, Jerry wrote:

Using Firefox 21, if I enter this URL:

http://www.nclawreview.org/documents/91/1/wegner.pdf

nothing happens. The PDF is not displayed nor is there any evidence
that Firefox did anything at all.

Now, entering the same URL using the same version of Firefox on a
Windows machine, it works perfectly. No surprise there. Why is it
failing on the FreeBSD machine? I posted on another forum and was told
it works under Linux, so it must be a FreeBSD problem. Can anyone
confirm this or have an idea what the problem is?


Works as intended, asks if i want to save it or open it.

Mozilla Firefox 21.0

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


Re: FFMpeg and FreeBSD

2013-06-26 Thread Bernt Hansson



On 2013-06-27 02:27, Simon wrote:

Hello Everyone,

Does anyone use the latest FFMpeg version 1.2 and FreeBSD?

How did you compile it? did you run into any issues?

The FFMpeg port is 6+ months behind and I feel like I'm the only one who uses
this which would be very odd given everything uses video nowadays.

Thanks,
Simon


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


Re: logging during loader

2013-06-24 Thread Bernt Hansson

On 2013-06-24 15:23, Robert Huff wrote:


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


Have you checked dmsg?

Try start freebsd with verbose logging then check dmesg.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Per-IP Bandwidth Monitoring

2013-06-09 Thread Bernt Hansson

On 2013-06-09 04:32, Kenta Suzumoto wrote:

Hello. I'm running a FreeBSD machine with 5 IP addresses, each of them attached to a 
specific jail. I'm wondering if there is an easy way to monitor the bandwidth usage of 
each of them individually. Upon googling, I ran into a lot of suggestions like 
bandwidthd. I gave it a try and it seemed very broken and basically didn't work at all. 
I'm basically looking for a vnstat that works per IP instead of per interface 
kind of thing. jnettop wasn't what I was looking for. It doesn't have to make pretty 
graphs(but that's nice too), just human-readable text is fine. Anyone have a 
recommendation?

Some links I came across that were unhelpful:
http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5797422.html

http://forum.pfsense.org/index.php?topic=32256.0

http://www.daemonforums.org/showthread.php?t=1199

Thanks


IPFW with pipes. No graphs.

man ipfw

TRAFFIC SHAPER CONFIGURATION
 The ipfw pipe, queue and sched commands are used to configure the 
traffic

 shaper and packet scheduler.  See the TRAFFIC SHAPER (DUMMYNET)
 CONFIGURATION Section below for details.

 If the world and the kernel get out of sync the ipfw ABI may 
break, pre-
 venting you from being able to add any rules.  This can adversely 
effect

 the booting process.  You can use ipfw disable firewall to temporarily
 disable the firewall to regain access to the network, allowing you 
to fix

 the 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: USB can't mount msdosfs drive

2013-06-05 Thread Bernt Hansson

On 2013-06-05 22:12, Joseph Mays wrote:

did you already try to access da2 instead of da2s1?


Yeah, tried that early on, got the same result.

root@warehouse:/backups/postgres-02/info # mount_msdosfs /dev/da2 /usb2
mount_msdosfs: /dev/da2: Invalid argument


But just to be fully sure: This is a USB stick / thumb drive, right?


Yes. It's one of several thumb drives that were mounted in the back of
some linux machines at remote sites we help a customer with. The client
is unsure what was on them, but needs to know. We asked them to gather
them up and stick them into usb ports on a freebsd machine we have
access to and manage at their location (in another state). Most of them
I got mounted as either msdosfs, or ufs, or ntfs, or extfs2, and was
able to get the data off them. This thumb drive is one of two holdouts.


If you do a ls /dev/da* What does it show.


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


Re: define more partitions in freebsd

2013-06-03 Thread Bernt Hansson

On 2013-06-01 08:40, s m wrote:

hello all

i want to install freebsd8.2 on my system. for some reasons, i need
partitions more than 6. my freebsd just allow me to define partitions
from a to h, not any more.

i checked FreeBSD handbook, but it doesn't say anything about defining
more partitions.

my question is: how can i define more partitions on my freebsd? (for
example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...).

any comments or hints are appreciated.
SAM


Put another disk in your machine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Restarting exports disturbs clients

2013-05-03 Thread Bernt Hansson

2013-05-03 12:49, Daniel Feenberg skrev:


When we change the exportfs file on our FreeBSD 9.1 fileserver:

   kill -HUP `cat /var/run/mountd.pid`


That seems a bit harsh, try /etc/rc.d/nfsd restart or
/etc/nfsserver restart.


it kills the jobs on  clients that have files open on the fileserver.
This is pretty inconvenient for users (and us). Is there a way around
this? We have noticed that a Linux fileserver can restart nfs without
distrubing clients (other than a short pause). The Linux restart
doesn't restart the locking mechanism - is that the difference? We
could do without locks, even without NFSv4, for that matter, if it
would let us change exports without disturbing users. Perhaps there
there is an NFS shutdown procedure that we should be using?

Daniel Feenberg
NBER

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


Re: Diskless question

2013-04-27 Thread Bernt Hansson

2013-04-25 16:03, krad skrev:

type id from your user account and paste the results back here


uid=1001(bernt) gid=65534(nobody) groups=65534(nobody),0(wheel)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sendmail 8.14.5/8.14.5 on fbsd-9.1R (EC2)

2013-04-27 Thread Bernt Hansson

2013-04-27 18:43, doug skrev:


If sendmail is listening on port 587, it will relay for any valid sender
who can reach that port.


Only if it is listed in /etc/mail/access file.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Diskless question

2013-04-24 Thread Bernt Hansson

Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can log 
in, but when I try to log in as root it won't work. How to resolv that 
issue. I have tried with and without password but the computer said no.

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


Re: Diskless question

2013-04-24 Thread Bernt Hansson

2013-04-24 10:36, Ralf Mardorf skrev:


On Wed, 2013-04-24 at 10:18 +0200, Bernt Hansson wrote:

I have set up a diskless machine with 8.3-stable and i as a user can log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


Do you want to start a X session as root?


No.


~/.xinitrc?

Or are you missing a root account and you even can't log in without X?


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


Re: Diskless question

2013-04-24 Thread Bernt Hansson

2013-04-24 12:12, Steve O'Hara-Smith skrev:

On Wed, 24 Apr 2013 10:18:59 +0200
Bernt Hansson b...@bananmonarki.se wrote:


Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


Are you logging in on the console or by ssh ? By default ssh does
not allow root login, it can be enabled but you should read up on the
security implications carefully before enabling it. I would expect console
login to work fine.


I'm trying to login as root on the diskless machine. Console.


As a general rule it is better to use sudo or su rather than
logging in as root, although for a single user system this doesn't really
make much difference.


su does not work it sayes sorry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Bernt Hansson

2013-04-24 12:30, Arthur Chance skrev:

On 04/24/13 09:18, Bernt Hansson wrote:

Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


How did it say no? What does the entry for root in /etc/passwd say?


$su
Sorry

root:*:0:0:Charlie :/root:/bin/csh

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


Re: Diskless question

2013-04-24 Thread Bernt Hansson



2013-04-24 13:21, Arthur Chance skrev:

On 04/24/13 11:55, Bernt Hansson wrote:

2013-04-24 12:30, Arthur Chance skrev:

On 04/24/13 09:18, Bernt Hansson wrote:

Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can
log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


How did it say no? What does the entry for root in /etc/passwd say?


$su
Sorry

root:*:0:0:Charlie :/root:/bin/csh



That's not logging in directly as root, that's using su as a normal
user. Only members of wheel group can use su. Try logging in directly on
the console as root. That should work unless you've marked the console
as insecure or have an impossible password in /etc/master.passwd.


I am a member of the wheel group.


In the long run you need to add your normal user to wheel group so you
can use su. Can you edit the diskless machine's /etc/group from the
server that's supplying its disk(s)? In the days when I ran diskless
systems I usually found it easier to work on the diskless systems'
config files via the server.


I have tried and my own password is easily changed via the server.

if i try, on the diskless,

Login: root
Password: password or none

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


Re: Diskless question

2013-04-24 Thread Bernt Hansson



2013-04-24 13:04, Ralf Mardorf skrev:

On Wed, 2013-04-24 at 12:52 +0200, Bernt Hansson wrote:


su does not work it sayes sorry.


Is the user in a group that does fulfil special permissions? Regarding
to Google results, the group for FreeBSD is wheel.


Yes the user is in the wheel group.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless question

2013-04-24 Thread Bernt Hansson

2013-04-24 15:07, Lowell Gilbert skrev:

Bernt Hansson b...@bananmonarki.se writes:


2013-04-24 12:30, Arthur Chance skrev:

On 04/24/13 09:18, Bernt Hansson wrote:

Hello list!

I have set up a diskless machine with 8.3-stable and i as a user can log
in, but when I try to log in as root it won't work. How to resolv that
issue. I have tried with and without password but the computer said no.


How did it say no? What does the entry for root in /etc/passwd say?


$su
Sorry

root:*:0:0:Charlie :/root:/bin/csh

^
   / \

Root has no valid password.


Well. The user can login, root can not.


You'll need to go into single-user mode and either give it one or
install sudo and add your regular user to the sudoers file.



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


Re: Diskless question

2013-04-24 Thread Bernt Hansson



2013-04-24 15:40, Lowell Gilbert skrev:

Arthur Chance free...@qeng-ho.org writes:


On 04/24/13 14:07, Lowell Gilbert wrote:

No, that's from /etc/passwd which never shows any real password
information. The true password field is in /etc/master.passwd and I'm
not going to ask anyone to show that here. However, the OP should
check it's got a valid looking field value rather than just a '*'


Oops. Right.



Ok this is master.password for root

root:a lot of tokens.:0:0::0:0:Charlie :/root:/bin/csh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Youtube Flash Videos broken?

2013-04-09 Thread Bernt Hansson

2013-04-09 12:22, Polytropon skrev:

On Tue, 9 Apr 2013 12:15:35 +0200, Harald Weis wrote:

I've also seen that the '-h' option did tell a lot of things, except the
the reqirement to quote the URL...


This is something you'll find in man csh or man bash. :-)




Now I get the following:

me@pollux:~ % youtube-dl -v http://www.youtube.com/watch?v=6xuubjIrYkc;
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 6xuubjIrYkc: Downloading video webpage
[youtube] 6xuubjIrYkc: Downloading video info webpage
[youtube] 6xuubjIrYkc: Extracting video information

ERROR: unable to download video
me@pollux:~ %


You should see something like this instead:

% youtube-dl http://www.youtube.com/watch?v=6xuubjIrYkc;
[youtube] Setting language
[youtube] 6xuubjIrYkc: Downloading video webpage
[youtube] 6xuubjIrYkc: Downloading video info webpage
[youtube] 6xuubjIrYkc: Extracting video information
[download] Destination: 6xuubjIrYkc.flv
[download]   1.9% of 482.49M at  180.22k/s ETA 44:49
...
and so on.


Or something like this.

% youtube-dl -t 'http://www.youtube.com/watch?v=6xuubjIrYkc'
[youtube] Setting language
[youtube] 6xuubjIrYkc: Downloading video webpage
[youtube] 6xuubjIrYkc: Downloading video info webpage
[youtube] 6xuubjIrYkc: Extracting video information
[download] Destination: Pat Metheny - Secret Story-6xuubjIrYkc.flv
[download]   0.9% of 482.49M at  457.60k/s ETA 17:50





Unable(!) to see the reason.


What version are you running?

I have youtube_dl-2012.09.27 here, not the most recent one.
Sometimes there is a problem when your version has been
obsoleted by something YouTube did change.



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


Re: No sound with Thinkpad X60

2013-03-22 Thread Bernt Hansson

2013-03-22 12:31, Jerry skrev:

On Fri, 22 Mar 2013 06:28:57 +0100
Bernt Hansson articulated:


2013-03-22 00:42, Peter Harrison skrev:

Put this in your /boot/loader.conf and report back.

hw.snd.default_unit=0

Test with other nubers if 0 do not work.


Using an nVidia card, I had to do the following:

/etc/sysctl.conf
   hw.snd.default_unit=4

Rebooted and the sound worked. I never found any truly accurate
information on it, it was basically just a trail and error experiment.
And YES, it sucks that in all to many cases, sound doesn't just work.



If it just work there is no fun. Tinkering and using a braincell, or 
at the most two is much more rewarding.

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


Re: No sound with Thinkpad X60

2013-03-21 Thread Bernt Hansson

2013-03-22 00:42, Peter Harrison skrev:

Sorry for the late reply, been away from the keyboard for a while.

I'm not loading snd_hda separately, but it's definitely there:

root@thinkpad:/home/peter # kldload snd_hda
kldload: can't load snd_hda: File exists

I've seen that blog and a couple of other sites describing configure FreeBSD on 
the X60, and they all seem to infer that sound works without a problem.

So for the moment at least I'm stumped.

Thanks for trying to help.

Cheers,


In your /etc/rc.conf you have

mixer_enable=YES  # Run the sound mixer.

sound_enable=YES Dont know if that should be in loader.conf or

rc.conf. Not having it myself.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No sound with Thinkpad X60

2013-03-21 Thread Bernt Hansson

2013-03-22 00:42, Peter Harrison skrev:

Put this in your /boot/loader.conf and report back.

hw.snd.default_unit=0

Test with other nubers if 0 do not work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems Printing

2013-03-13 Thread Bernt Hansson

2013-03-13 16:34, Joseph A. Nagy, Jr skrev:

On 03/13/13 10:11, Bernt Hansson wrote:

On 2013-03-10 20:26, Joseph A. Nagy, Jr wrote:

On 03/05/13 23:47, Matthias Apitz wrote:

El día Tuesday, March 05, 2013 a las 03:42:15PM -0600, Joseph A.
Nagy, Jr escribió:



Canon pixma mp210. Is not 100% supported under cups.





Surprise surprise


No. Not really. If you had followed the link to openprinting.org
you would have knowed that. So no surprise, not for me anyhow.

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


Re: Problems Printing

2013-03-11 Thread Bernt Hansson

2013-03-05 09:10, Joseph A. Nagy, Jr skrev:

Cups is setup so I should be able to print:
http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png

My pdf reader sees the printer:
http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png

yet it won't print and delivers this dialog:
http://www.joseph-a-nagy-jr.us/images/problems/print-error.png

any ideas on how to correct this?


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


Re: growisofs does not burn folders correctly all files are flat on the disk no folders

2013-03-10 Thread Bernt Hansson

2013-03-10 21:07, CeDeROM skrev:

Hey :-)

I have problem with growisofs - I get all files flat on the disk there
are no directories as on the source drive :-( I had this once with BD
and once with DVD disk on my new 9.1-RELEASE machine.

growisofs -Z/dev/cd2 -dvd-compat -R -J -iso-level 3 -udf *

% growisofs --version
* growisofs by ap...@fy.chalmers.se, version 7.1,
   front-ending to mkisofs: mkisofs 3.00 (amd64-unknown-freebsd9.1)
Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2010 J�rg Schilling

Any hints welcome :-)
Tomek


Make an ISO file first, then burn.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Problems Printing

2013-03-10 Thread Bernt Hansson

2013-03-10 20:26, Joseph A. Nagy, Jr skrev:


D [10/Mar/2013:14:18:04 -0500] [Job 12] Running /usr/local/bin/espgs
-dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS
-sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c -


What happens when you run this from a prompt.



D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object libgnutls.so.47
not found, required by rastertogutenprint.5.2
D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object libgnutls.so.47
not found, required by espgs
printer-state-message=/usr/local/libexec/cups/filter/rastertogutenprint.5.2
failed
D [10/Mar/2013:14:18:04 -0500] [Job 12] printer-state-reasons=none


This doesn't look right. Do you have gnutls installed?


Still no printing going 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: dvd+rw-tools/cdrtools write only 4GB to BluRay

2013-03-01 Thread Bernt Hansson

2013-02-26 16:32, Tomek CEDRO skrev:

I guess its time to update Handbook again :-)


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


Re: Jail question

2013-02-27 Thread Bernt Hansson

2013-02-26 15:18, Teske, Devin skrev:

Yes, this is possible.

When I get into work, I'll share with you the recipe


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


Re: dvd+rw-tools/cdrtools write only 4GB to BluRay

2013-02-26 Thread Bernt Hansson

2013-02-26 15:07, Tomek CEDRO skrev:

Hey,

I have noticed that growisofs writes only 4GB of data to BluRay disks
- this happended to 2x BD-R and 1x BD-RE - what is the problem?

I am using both cdrtools and dvd+rw-tools from fresh port tree...

Any hints appreciated :-)
Tomek


It's all in the handbook, and is very good reading.


Note: In order to support working files larger than 4.38GB, an 
UDF/ISO-9660 hybrid filesystem must be created by passing -udf 
-iso-level 3 to mkisofs(8) and all related programs, such as 
growisofs(1). This is required only when creating an ISO image file or 
when writing files directly to a disk. Since a disk created this way 
must be mounted as an UDF filesystem with mount_udf(8), it will be 
usable only on an UDF aware operating system. Otherwise it will look as 
if it contains corrupted files.


To create this type of ISO file:

% mkisofs -R -J -udf -iso-level 3 -o imagefile.iso /path/to/data

To burn files directly to a disk:

# growisofs -dvd-compat -udf -iso-level 3 -Z /dev/cd0 -J -R 
/path/to/data


When an ISO image already contains large files, no additional 
options are required for growisofs(1) to burn that image on a disk.


Be sure to use an up-to-date version of sysutils/cdrtools, which 
contains mkisofs(8), as an older version may not contain large files 
support. If the latest version does not work, install 
sysutils/cdrtools-devel and read its mkisofs(8).


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


Re: I made a mess. libc

2013-02-22 Thread Bernt Hansson

Thank you all for your input.

Went to the office very dark in my mind.

I found a cd with amd64 8.0-R and I could
copy libc.so.7

I Thank you ALLnow i'm crying
so I leave you now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cdrecord: Please report.

2013-02-21 Thread Bernt Hansson

2013-02-21 00:52, Ronald F. Guilmette skrev:



I am not a happy camper.

Now that I've ``upgraded'' from 8.3-RELEASE to 9.1-RELEASE it appears that
good old burncd no longer works, apparently because the CD/DVD drive is
now exclusively handled as an ATAPICAM device.

So I try to use cdrecord and I get this:

# cdrecord dev=0,0,0 driveropts=burnfree FreeBSD-9.1-RELEASE-i386-disc1.iso
cdrecord: No write mode specified.
cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent 
defaults.
Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-freebsd9.1) Copyright (C) 
1995-2010 J�rg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Using libscg version 'schily-0.9'.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: '_NEC'
Identifikation : 'DVD_RW ND-3550A '
Revision   : '1.05'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
Starting to write CD/DVD/BD at speed 48 in real SAO mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
CDB:  2A 00 00 00 02 80 00 00 20 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 02 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 65536
cmd finished after 4.257s timeout 200s
write track data: error after 1310720 bytes
cdrecord: The current problem looks like a buffer underrun.
cdrecord: It looks like 'driveropts=burnfree' does not work for this drive.
cdrecord: Please report.
cdrecord: Make sure that you are root, enable DMA and check your HW/OS set up.


So, um, WTF?  To whom am supposed to report this failure?

And more to the point, how can I burn a simple damn CD now?

Try http://fy.chalmers.se/~appro/linux/DVD+RW/ its in ports as 
sysutils/dvd+rw-tools

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


I made a mess. libc

2013-02-21 Thread Bernt Hansson

Hello list!

It's me again.

I was happily upgrading my jail make build* and so on.

Make installworld failed with som chflag set on libc.so.7
so i left jail and went to the host and tought I fixit from there.

I did remove the chflag and all was well I tought, but no.

Copy it to the jail, someone screamed, ok I'll do that

Well the problem is I copied it to the host amd64 and jail is i386.

the host locked up hard and after a reboot I get

libc.so.7 invalid file format. How do I get it back.

I can not burn a cd with livefs, wich should be on memorystick
anyway.

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


Re: cdrecord: Please report.

2013-02-21 Thread Bernt Hansson

2013-02-21 15:47, Warren Block skrev:

On Thu, 21 Feb 2013, Bernt Hansson wrote:

2013-02-21 00:52, Ronald F. Guilmette skrev:


And more to the point, how can I burn a simple damn CD now?


Try http://fy.chalmers.se/~appro/linux/DVD+RW/ its in ports as
sysutils/dvd+rw-tools


But growisofs from dvd+rw-tools only writes DVDs.  cdrecord from
cdrtools-3.00_2 worked for me yesterday, burning a CD on an external USB
drive.


growisofs writes cd's, no matter what they are called.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I made a mess. libc

2013-02-21 Thread Bernt Hansson

2013-02-21 15:43, Fleuriot Damien skrev:


On Feb 21, 2013, at 3:34 PM, Bernt Hansson b...@bananmonarki.se wrote:


Hello list!

It's me again.

I was happily upgrading my jail make build* and so on.

Make installworld failed with som chflag set on libc.so.7
so i left jail and went to the host and tought I fixit from there.

I did remove the chflag and all was well I tought, but no.

Copy it to the jail, someone screamed, ok I'll do that

Well the problem is I copied it to the host amd64 and jail is i386.

the host locked up hard and after a reboot I get

libc.so.7 invalid file format. How do I get it back.

I can not burn a cd with livefs, wich should be on memorystick
anyway.

Thanks for any help and it's needed.




This is my libc.so.7 from the 19th, for 8-stable amd64, after the patch for the 
security advisory.

root@pf1:/usr/ports/emulators/fuse # ls -l /lib/libc.so.7
-r--r--r--  1 root  wheel  1399225 Feb 19 15:27 /lib/libc.so.7

root@pf1:/usr/ports/emulators/fuse # md5 /lib/libc.so.7
MD5 (/lib/libc.so.7) = 9e4b09aa6dbc731bf56593b736e9fef1

root@pf1:/usr/ports/emulators/fuse # shasum /lib/libc.so.7
19e856f287586f52611aca9a4aa8a4104b65fb4e  /lib/libc.so.7

root@pf1:/usr/ports/emulators/fuse # uname -a
FreeBSD pf1.backbone.dev 8.3-STABLE FreeBSD 8.3-STABLE #6 r247008M: Tue Feb 19 
20:14:57 UTC 2013 r...@pf1.backbone.dev:/usr/obj/usr/src/sys/UNIVERSAL  
amd64


I can host the file over HTTP if you want.



That was very nice of you, but how do I get the file into my machine?


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


Re: I made a mess. libc

2013-02-21 Thread Bernt Hansson

2013-02-21 18:01, Teske, Devin skrev:

Is it the base machine that won't boot? I got this ...


That is correct. So no cd burning no nothing...Well it want to drop in 
to a single shell bla bla bla press enter for /bin/sh


enter
libexec* libc.so.7: invalid file format

I do not want to reinstall, have 4 encrypted disks.



My latest version of Druid has a very sophisticated Interactive Disk Repair script that 
will assemble your system humpty-dumpty style while booted from a CD or Thumb drive 
(you said you couldn't burn a CD, but it wasn't clear whether you could master a thumb drive).

http://sourceforge.net/projects/druidbsd/files/FreeBSD-8.3_Druid-1.0b60.iso/download

When you run the Interactive Disk Repair (IDR) Shell option, it presents you with a few 
questions (like, I've found a saved network interface in rc.conf(5) -- would you like me to 
activate it for you?), and ultimately mounts your system to present a working shell to fix 
your problems.

Important: when it asks you if you want to chroot into the mounted filesystem, 
say NO (you're libc isn't working, so that would be a bad idea) -- rather, run 
from the LiveFS environment where /mnt is your mounted system. There's even a 
copy of libc in the LiveFS environment that you can copy over your old one...

cp /cdrom/freebsd/rescue/lib/libc.so.7 /mnt/lib/libc.so.7

(if I recall correctly)


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


Re: jail and networking

2013-02-20 Thread Bernt Hansson

2013-02-20 19:59, Teske, Devin skrev:

On Wed, 20 Feb 2013, Bernt Hansson wrote:


On 2013-02-20 19:07, Jeff Tipton wrote:

On 02/20/2013 19:42, Bernt Hansson wrote:

On 2013-02-20 17:23, Teske, Devin wrote:

On Wed, 20 Feb 2013, Bernt Hansson wrote:


Hello list!

I dont seem to get net working in a test jail.

These I've tried;

ftp, fetch, telnet

They time out.

Ssh sort of work.

32bit# ssh 10.0.0.3
ssh_askpass: exec(/usr/local/bin/ssh-askpass): No such file or
directory
Host key verification failed.

jail is 8.3-STABLE i386 GENERIC

host is FreeBSD 8.3-STABLE amd64 GENERIC

I'm sure you want more info so just tell me what info.


Commonly the problem is that you are jexec'd into the jail and I
find that tools like ssh, ftp, telnet, etc. don't work when you're in
the jail via jexec but instead what works way better is if you ssh
into the jail (via the jail'd ssh process of course).

Does that seem to be the case in your situation?


If you mean this sshd  IsJ0:00,00 /usr/sbin/sshd

Then no.

%ssh 10.0.0.10 ssh: connect to host 10.0.0.10 port 22: Operation timed
out

I did have an alias on the host to the jail's ip.
Tried to restart the jail it went fine, but now I can't jexec in to
the jail.

testbox# jexec 1 tcsh
jexec: jail_attach(1): Invalid argument

Sooo... I'm kind of out of ideas.



What does jls command say? If you have restarted your jail, it's ID
most likely has changed.


The ID did change, didn't know about that, thank you.

But still, sshd isn't running in the jail

32bit# ps ax
PID  TT  STAT  TIME COMMAND
   2385  ??  IsJ0:00,00 sendmail: Queue runner@00:30:00 for
/var/spool/clientmqueue (sendmail)
   2391  ??  SsJ0:00,00 /usr/sbin/cron -s
   2464   0  SJ 0:00,01 tcsh
   2482   0  R+J0:00,00 ps ax

testbox# ps ax | grep J
   2385  ??  IsJ0:00,00 sendmail: Queue runner@00:30:00 for
/var/spool/clientmqueue (sendmail)
   2391  ??  SsJ0:00,00 /usr/sbin/cron -s
   2488   0  S+ 0:00,00 grep J

testbox is the host.


A stab in the dark, but...

Did you add sshd_enable=YES to the jail's rc.conf(5)?



Yes, yes I did.

rc.conf from the jail

#ifconfig_xl0=DHCP
#defaultrouter=10.0.0.3
sendmail_enable=NO
#inetd_enable=NO
sshd_enable=YES
#ntpdate_enable=YES
#ntpdate_flags=time1.stupi.se
# -- sysinstall generated deltas -- # Mon Jan 21 01:22:37 2013
keymap=swedish.iso
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: jail and networking

2013-02-20 Thread Bernt Hansson

2013-02-20 20:10, Jeff Tipton skrev:

On 02/20/2013 20:59, Teske, Devin wrote:

On Wed, 20 Feb 2013, Bernt Hansson wrote:


On 2013-02-20 19:07, Jeff Tipton wrote:

On 02/20/2013 19:42, Bernt Hansson wrote:

On 2013-02-20 17:23, Teske, Devin wrote:

On Wed, 20 Feb 2013, Bernt Hansson wrote:


Hello list!

I dont seem to get net working in a test jail.

These I've tried;

ftp, fetch, telnet

They time out.

Ssh sort of work.

32bit# ssh 10.0.0.3
ssh_askpass: exec(/usr/local/bin/ssh-askpass): No such file or
directory
Host key verification failed.

jail is 8.3-STABLE i386 GENERIC

host is FreeBSD 8.3-STABLE amd64 GENERIC

I'm sure you want more info so just tell me what info.

Commonly the problem is that you are jexec'd into the jail and I
find that tools like ssh, ftp, telnet, etc. don't work when you're in
the jail via jexec but instead what works way better is if you ssh
into the jail (via the jail'd ssh process of course).

Does that seem to be the case in your situation?

If you mean this sshd  IsJ0:00,00 /usr/sbin/sshd

Then no.

%ssh 10.0.0.10 ssh: connect to host 10.0.0.10 port 22: Operation timed
out

I did have an alias on the host to the jail's ip.
Tried to restart the jail it went fine, but now I can't jexec in to
the jail.

testbox# jexec 1 tcsh
jexec: jail_attach(1): Invalid argument

Sooo... I'm kind of out of ideas.

What does jls command say? If you have restarted your jail, it's ID
most likely has changed.

The ID did change, didn't know about that, thank you.

But still, sshd isn't running in the jail

32bit# ps ax
PID  TT  STAT  TIME COMMAND
   2385  ??  IsJ0:00,00 sendmail: Queue runner@00:30:00 for
/var/spool/clientmqueue (sendmail)
   2391  ??  SsJ0:00,00 /usr/sbin/cron -s
   2464   0  SJ 0:00,01 tcsh
   2482   0  R+J0:00,00 ps ax

testbox# ps ax | grep J
   2385  ??  IsJ0:00,00 sendmail: Queue runner@00:30:00 for
/var/spool/clientmqueue (sendmail)
   2391  ??  SsJ0:00,00 /usr/sbin/cron -s
   2488   0  S+ 0:00,00 grep J

testbox is the host.

A stab in the dark, but...

Did you add sshd_enable=YES to the jail's rc.conf(5)?

Or, from within the jail, what does

service sshd status

say?


32bit# service sshd status
sshd is not running.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: jail and networking

2013-02-20 Thread Bernt Hansson

2013-02-20 22:17, doug skrev:


On Wed, 20 Feb 2013, Jeff Tipton wrote:


On 02/20/2013 20:59, Teske, Devin wrote:

On Wed, 20 Feb 2013, Bernt Hansson wrote:


On 2013-02-20 19:07, Jeff Tipton wrote:

On 02/20/2013 19:42, Bernt Hansson wrote:

On 2013-02-20 17:23, Teske, Devin wrote:

On Wed, 20 Feb 2013, Bernt Hansson wrote:


Hello list!

I dont seem to get net working in a test jail.

These I've tried;

ftp, fetch, telnet

They time out.

Ssh sort of work.

32bit# ssh 10.0.0.3
ssh_askpass: exec(/usr/local/bin/ssh-askpass): No such file or
directory
Host key verification failed.

jail is 8.3-STABLE i386 GENERIC

host is FreeBSD 8.3-STABLE amd64 GENERIC

I'm sure you want more info so just tell me what info.

Commonly the problem is that you are jexec'd into the jail and I
find that tools like ssh, ftp, telnet, etc. don't work when
you're in
the jail via jexec but instead what works way better is if you ssh
into the jail (via the jail'd ssh process of course).

Does that seem to be the case in your situation?

If you mean this sshd  IsJ0:00,00 /usr/sbin/sshd

Then no.

%ssh 10.0.0.10 ssh: connect to host 10.0.0.10 port 22: Operation
timed
out

I did have an alias on the host to the jail's ip.
Tried to restart the jail it went fine, but now I can't jexec in to
the jail.

testbox# jexec 1 tcsh
jexec: jail_attach(1): Invalid argument

Sooo... I'm kind of out of ideas.

What does jls command say? If you have restarted your jail, it's ID
most likely has changed.

The ID did change, didn't know about that, thank you.

But still, sshd isn't running in the jail

32bit# ps ax
PID  TT  STAT  TIME COMMAND
   2385  ??  IsJ0:00,00 sendmail: Queue runner@00:30:00 for
/var/spool/clientmqueue (sendmail)
   2391  ??  SsJ0:00,00 /usr/sbin/cron -s
   2464   0  SJ 0:00,01 tcsh
   2482   0  R+J0:00,00 ps ax

testbox# ps ax | grep J
   2385  ??  IsJ0:00,00 sendmail: Queue runner@00:30:00 for
/var/spool/clientmqueue (sendmail)
   2391  ??  SsJ0:00,00 /usr/sbin/cron -s
   2488   0  S+ 0:00,00 grep J

testbox is the host.



Or from the host: sockstat | grep :22. You should see something like

   root sshd   2016  3  tcp4   192.168.17.15:22   *:*

for each jail


testbox# sockstat | grep :22

berntsshd   3541  3  tcp4   10.0.0.3:22   80.x.x.x:25605
root sshd   3539  3  tcp4   10.0.0.3:22   80.x.x.x:25605
root sshd   1296  3  tcp6   *:22  *:*
root sshd   1296  4  tcp4   *:22  *:*

The jail has ip 10.0.0.10. There is only one jail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sendmail relaying for Intranet?

2013-02-13 Thread Bernt Hansson

2013-02-14 03:07, Chris Maness skrev:

On Wed, Feb 13, 2013 at 12:47 AM, Zyumbilev, Peter
pe...@aboutsupport.com wrote:


On 13/02/2013 09:50, Bernt Hansson wrote:


dnl define(`SMART_HOST', `your.isp.mail.server')
  on your intranet machine and put in your inet machine name.


That looks like would only take care of outbound mail, but what about
incoming mail?


You mean incoming to the relay or your other machine?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sendmail relaying for Intranet?

2013-02-12 Thread Bernt Hansson

2013-02-13 06:30, Chris Maness skrev:

On Tue, Feb 12, 2013 at 3:05 PM, Robison, Dave
david.robi...@fisglobal.com wrote:


On 02/12/2013 12:54, Chris Maness wrote:

I have a FreeBSD box running sendmail that can see the whole internet.
  I have another mail server that hosts mail for an intranet.  It does
not have access to the i-net.  I think I remember reading that it is
possible for the i-net attached sendmail to relay mail for a domain to
another host.  Is there an easy answer and configuration for this?  If
not, no biggy since this exercise is more academic than a necessity.

Thanks,
Chris Maness




in sendmail.cf on the host to be your relay, check for DS and use it
like this:

DS relayhost.domain.com

in sendmail.cf on the hosts which will be relaying, use the DS command
but point them to your new relay host.

hope this helps.

Dave


Dave, how would I add this to the MC file instead of the CF file?  I
usually rebuild these after an upgrade or a configuration change, and
I would rather do it in the MC file for that reason.

Thanks,
Chris Maness


Look in /etc/mail/your-hosts-name.mc for this line

dnl define(`SMART_HOST', `your.isp.mail.server')
 on your intranet machine and put in your inet machine name.

You also need to edit /etc/mail/access on your relay to allow to relay 
for your itranet machine.

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


Re: Full disk encryption without root partition

2012-12-29 Thread Bernt Hansson

2012-12-26 22:17, mhca12 skrev:

Are there any plans or is there already support for full
disk encryption without the need for a root partition?


Not exactly what asked for, but here it is

http://forums.freebsd.org/showthread.php?t=2775
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: well, try here first...

2012-11-13 Thread Bernt Hansson

2012-11-13 06:22, Gary Kline skrev:


guys,

hold your flame-throwers, because this is about how to get ssh working
from an outside computer into my brand new tao that is running a
flavor of linux.  I just got my quad i5 box to replace the old, broken
tao.  this was the box with the busted USB. [!]  Anyway, linux is
installed; the box is on my internal IP net.  I can ssh *out*. to my
server, vut from my server or wherever, I cant ssh back in.

doing an % ssh 10.47.0.114  OR ssh tao gives me an instant
Connection refused.  if I try an ssh -X tao I get a string like
Connnection closed.  can any of you network wizards or setup
wizards clue me in.  {FWIW:: the ssh stuff is from OpenBSD.}

anybody know what im NOT doing?


You have to start the ssh daemon (sshd)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OT: gEDA, SPICE, electronic cad/simulation

2012-10-19 Thread Bernt Hansson

2012-10-18 12:40, Da Rock skrev:

On 10/16/12 20:38, Bernt Hansson wrote:

2012-10-14 14:26, Da Rock skrev:

I'm struggling with this damn gEDA/SPICE thing - I think I have gEDA
schem figured, but I can't be sure because I can't test it. For the life
of me I can't seem to get my head around it, but then I might just be
too tired.

Can anyone point out what I'm missing? I open geda, create a sch file
(circuit), and then run gnetlist -g spice-sdb sch-file. I then run
ngspice (or gspiceui) but it comes up with errors over the 555 (U1) and
diodes (d?) I'm running like this:


You are using the spice models for those components?

geda does not have spice models for diodes and 555 at least not mine.



That may be it. Where are they supposed to be located on FreeBSD?


If it where up to me /usr/local/share/geda/spice but it is not up to me,
that directory does not exist.


And I suppose I would need to find where I can get them in the first place :)


Well, my guess is gnu.org. I'm not at the office right now, maybe later 
so I can't check the url.

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


Re: Virtualbox

2012-10-09 Thread Bernt Hansson



2012-10-09 03:05, Michael Hughes skrev:

On Sun, 07 Oct 2012 05:49:19 +0200
Bernt Hansson b...@bananmonarki.se wrote:


Hello list!

When I try to start a virtual os in virtualbox i get an error.

kldload vboxdrv.ko
kldload: can't load vboxdrv.ko: Exec format error

Rebuilt VB and still this error

8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Jan 12 15:13:06 CET 2012
GENERIC amd64




Are you using a PAE kernel?  If so you will get this error when truing
to load the vboxdrv.ko.


No PAE kernel. Updated source mon 8 oct 2012. Deinstalled virtualbox and
virtualbox-kmod, rebuilt both but the problem persists.

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


Re: Audio out via HDMI... how?

2012-10-09 Thread Bernt Hansson



2012-10-09 13:46, Ronald F. Guilmette skrev:



I have a laptop which has an HDMI output port.

I can get video out of that (with xbmc) just fine.  Audio, not so much.
Like not at all, as far as I can tell.

So anyway, here is what I get when I do cat /dev/sndstat:

pcm0: HDA Realtek ALC888 PCM #0 Analog (play/rec) default
pcm1: HDA Realtek ALC888 PCM #1 Analog (rec)
pcm2: HDA Intel Cantiga HDMI PCM #0 HDMI (play)


As root sysctl hw.snd.default_unit=2


I have the HDMI output wired into my everything-capable Sony 5.1 channel
receiver, which then in turn is wired into my 4 (count 'em four) speakers.

OK, so now, could somebody please just tell me how I can do a test
that will determine why I ain't gettin' no audio?

The receiver is capable of decoding 5.1 DTS-HD, Dolby TrueHD, and eveything
else too.  It is working just fine.. not a thing wrong with it.  It works
great with my Blu-Ray player and does the digital-analog decoding for
anything and everything I throw at it.

Again, I just want to know how to _test_ doing some output to that from
my laptop, via HDMI.  I tried these things, but not a sound was heard:

cat /dev/random  /dev/dsp

cat /dev/random  /dev/dsp2

The FreeBSD handbook page that deal with setiing up audio cards doesn't
provide a whole lot of guidance for how to test and/or fix digital audio
output, whether it is coming out via HDMI (as in my case) or via any other
kind of physical transport (e.g. coax or S/PDIF).

Somwebody please pass me a clue.  I'd really like to get this working.
Thanks.

P.S.  If I have to downmix to 2ch in xbmc before the audio even hits the
HDMI cable, I could even live with that.  Bu right now, as far as I can
tell, I can't get _any_ audio flowing down that cable, period.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



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


Virtualbox

2012-10-06 Thread Bernt Hansson

Hello list!

When I try to start a virtual os in virtualbox i get an error.

kldload vboxdrv.ko
kldload: can't load vboxdrv.ko: Exec format error

Rebuilt VB and still this error

8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Jan 12 15:13:06 CET 2012
GENERIC amd64
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: have desktop on freebsd

2012-09-19 Thread Bernt Hansson

2012-09-19 07:23, saeedeh motlagh skrev:

thanks Bernt, i deinstall it and then try startx. startx works and
displays graphical page. but when i restart me system i do not have
desktop yet.
you know, startx displays graphical page when fbdev is installed too.

please let me know if you have any idea or hint that can solved my
problem becuase i don't have any idea anymore.

thanks


Try this;

cd /usr/ports/x11-drivers/xorg-drivers  make rmconfig

Then when you run make double check you do not have fbdev marked.

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


Re: have desktop on freebsd

2012-09-18 Thread Bernt Hansson

2012-09-17 07:39, saeedeh motlagh skrev:

my video card is intel, you mean i should change my driver to intel?
could you please tell me how to do that? i change my driver type from
fbdev to vesa in xorg.conf file but it has the fbdevhw error yet. i
think i should do something else to change my driver.
please let me know if i'm making mistake and how to fix it.
thanks



Try to deinstall /x11-drivers/xf86-video-fbdev. Then try startx again.





On 9/16/12, Stephan Schindel s...@tp1.rub.de wrote:

Am 16.09.2012 13:59, schrieb saeedeh motlagh:

*hello guys,

i installed freebsd8.2 and upgraded my portsnap.then i installed X11 and
gnome2 and configured x11 but it does not work correctly. when i run
startx
command, it has the following error:

failed to load module fbdev

when i install fbdev from /x11-drivers/xf86-video-fbdev the other error
occurred:
loadmodule: module fbdevhw does not have a fbdevhwModuleData data
object

i try to change my driver from fbdev to vesa. in order to do that, i
change
the name of driver in Xorg.conf but the same error happend again.

anybody knows how i should solve it to have desktop on my freebsd box?
*
___
freebsd-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 video card do you have? You need to have the correct driver installed.

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


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



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


Re: EXIF inspector

2012-08-24 Thread Bernt Hansson

2012-08-23 19:14, Gary Aitken skrev:


On 08/23/12 08:38, Polytropon wrote:

On Thu, 23 Aug 2012 00:00:08 -0600, Gary Aitken wrote:

For the photo folks --

What do you use for inspecting EXIF data?
I've tried
exif
exiftags
exifprobe
and none of them show the full compliment of tags present on my oly pen-ep3.
In particular, they omit most of the vendor specific stuff,
and they seem to display different parts of things, but not everything.


I've been using exiv2 (port graphics/exiv2) which fits my needs.
Here's an example of its output:

% exiv2 cam/img_6842.jpg
File name   : cam/img_6842.jpg
File size   : 2887326 Bytes
MIME type   : image/jpeg
Image size  : 2816 x 2112
Camera make : Canon
Camera model: Canon PowerShot S3 IS
Image timestamp : 2011:08:19 09:14:42
Image number: 120-6842
Exposure time   : 1/50 s
Aperture: F2.7
Exposure bias   : 0 EV
Flash   : No, red-eye reduction
Flash bias  : 0 EV
Focal length: 6.0 mm
Subject distance: 68
ISO speed   : 100
Exposure mode   : Easy shooting (Auto)
Metering mode   : Multi-segment
Macro mode  : Off
Image quality   : Fine
Exif Resolution : 2816 x 2112
White balance   : Auto
Thumbnail   : image/jpeg, 5981 Bytes
Copyright   :
Exif comment:

See man exiv2 for details. It's a really versatile program
which can be excellently integrated into scripts.

In case you need more info from a photo file, use the strings
utility provided by the system and parse its output.


Thanks
This is rather weird.

I had tried exiv2 and concluded it did not report everything because on a
windows system I had previously used PhotoME to ascertain that the image
stabilization parameter for my camera was in a field whose tag name was
ImageQuality3, and exiv2 does not report anything with uality in it.
However, I now see that it does report a string called 
Exif.OlympusCs.ImageStabilization of the same type with the corresponding
value.

Strings reports neither tag.
That makes sense, since exif tags are numerically encoded and not text,
so I don't think strings is particularly useful.

Upon further investigation, it appears that the choice of string to print
for a tag is probably a translation provided by the program, not the image file.
A strings on /usr/local/lib/libexiv2.so.10 shows:
   Image stabilization
   ImageStabilization
   Image Stabilization for the Sony DSLR-A100
   Image stabilization data
   Image Stabilization Data
   ImageStabilizationData
   Image Stabilization A100
   ImageStabilizationA100
   Digital Image Stabilization
and also specific tags for different camera manufacturers, e.g.
   Exif.OlympusCs.
etc.

bah --
   exif doesn't report all the tags


Try exif -l filename and it will show you all exif fields and the fields 
that's in the picture.


From man exif

-l, --list-tags
  List all known EXIF tags and IFDs.  A JPEG image  must  be  pro-
  vided, and those tags which appear in the file are shown with an
  asterisk in the corresponding position in the list.



warren --
   thanks, I thought I tried p5-Image-ExifTool but in looking back at my notes
I have a thing that says install ExifTool and its not there so obviously I
didn't to that.  Will check it if exiv2 doesn't work out.

Gary

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



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


Re: EXIF inspector

2012-08-24 Thread Bernt Hansson

2012-08-24 17:14, Gary Aitken skrev:

On 08/24/12 05:05, Bernt Hansson wrote:

2012-08-23 19:14, Gary Aitken skrev:


On 08/23/12 08:38, Polytropon wrote:

On Thu, 23 Aug 2012 00:00:08 -0600, Gary Aitken wrote:

For the photo folks --

What do you use for inspecting EXIF data?
I've tried
 exif
 exiftags
 exifprobe
and none of them show the full compliment of tags present on my oly pen-ep3.
In particular, they omit most of the vendor specific stuff,
and they seem to display different parts of things, but not everything.

...

bah --
exif doesn't report all the tags


Try exif -l filename and it will show you all exif fields and the fields that's 
in the picture.

  From man exif

-l, --list-tags
List all known EXIF tags and IFDs.  A JPEG image  must  be  pro-
vided, and those tags which appear in the file are shown with an
asterisk in the corresponding position in the list.


exif appears to list only known exif tags, and seems to omit vendor specific
information.  Much of the important information about an image is stored in the
vendor specific tags.


exif -'|' filename show the camera vendors stuff

kw# exif -'|' IMG_0657.JPG
MakerNote contains 109 values:
Macro Mode  |Normal
Self-timer  |Off
Quality |Fine
Flash Mode  |Off
Drive Mode  |Single
Unknown Tag |0x
Focus Mode  |Single
Unknown Tag |0x
Record Mode |JPEG
Image Size  |Large
Easy Shooting Mode  |Full auto
Digital Zoom|None
Contrast|Normal
Saturation  |Normal
Sharpness   |Normal
ISO |Auto
Metering Mode   |Evaluative
Focus Range |Auto
AF Point|0x4006
Exposure Mode   |Easy shooting
Unknown Tag |0x7fff
Lens Type   |0x
Long Focal Length of|6
Short Focal Length o|5000
Focal Units per mm  |1000
Maximal Aperture|3.40
Minimal Aperture|8.00
Flash Activity  |0x
Flash Details   |
Unknown Tag |0x
Unknown Tag |0x
Focus Mode  |Continuous
AE Setting  |Normal AE
Image Stabilization |On
Display Aperture|3.40
Zoom Source Width   |4000
Zoom Target Width   |4000
Unknown Tag |0x
Unknown Tag |0x
Photo Effect|0x
Manual Flash Output |Off
Color Tone  |0x7fff
Unknown Tag |0x7fff
Unknown Tag |0x
Unknown Tag |0x
Unknown Tag |0x
Unknown Tag |0x0078
Focal Type  |Zoom
Focal Length|5000
Focal Plane X Size  |6.35 mm
Focal Plane Y Size  |4.75 mm
Unknown Tag |
Auto ISO|4.000
Shot ISO|100
Measured EV |2.38 EV
Target Aperture |3.40
Target Exposure Time|1/25
Exposure Compensatio|0.00 EV
White Balance   |Auto
Slow Shutter|Off
Sequence Number |0
Unknown Tag |0x
Unknown Tag |0x
Unknown Tag |0x
Flash Guide Number  |0.00
AF Point|0x
Flash Exposure Compe|0.00 EV
AE Bracketing   |Off
AE Bracket Value|0.00 EV
Unknown Tag |0x0001
Focus Distance Upper|61 mm
Focus Distance Lower|0 mm
FNumber |3.47
Exposure Time   |1/27
Unknown Tag |0x
Bulb Duration   |0x
Unknown Tag |0x0008
Camera Type |Compact
Auto Rotate |None
ND Filter   |Off
Self-timer  |Off
Unknown Tag |0x
Unknown Tag |0x
Unknown Tag |0x
Manual Flash Output |Off
Image Type  |IMG:PowerShot SX130 IS JPEG
Firmware Version|Firmware Version 1.01
Image Number|121-0657
Owner Name  |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |
Unknown Tag |



In the case of my oly pen-ep3, exif -l lists 143 known exif tags,
of which only 49 are used by my camera.  However, exiv2 shows over
300 pieces of relevant information which actually appear, and well over 100
I can identify as relevant to the particular image (the others may or may not
be relevant, I just can't interpret them; some are unlabelled).



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


Re: EXIF inspector

2012-08-23 Thread Bernt Hansson

2012-08-23 08:00, Gary Aitken skrev:

For the photo folks --

What do you use for inspecting EXIF data?
I've tried
   exif
   exiftags
   exifprobe
and none of them show the full compliment of tags present on my oly pen-ep3.
In particular, they omit most of the vendor specific stuff,
and they seem to display different parts of things, but not everything.


Have you tried exif?

exif-0.6.20Command line utility to read and manipulate EXIF data

It's in /usr/ports/graphics/exif
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Linux-firefox does not start

2012-08-09 Thread Bernt Hansson

On 2012-08-09 10:02, Manish Jain wrote:


Hi,

I installed www/linux-firefox from ports (FreeBSD 8.2/amd64). The first
time it ran, it did some checks. During this time there was an
unexpected power loss. Since then whenever I try to start linux-firefox,
I get the error message An instance of firefox is already. Close it or
restart your system. But no solution works. I even did a 'make
deinstall' followed by 'make install clean' a couple of times. All of no
avail.

Can anyone please point out what I need to do to get linux-firefox to
start ?


You need to remove the .parentlock file which is at

/usr/home/user/.mozilla/firefox/random.default/
___
freebsd-questions@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 Clang

2012-06-21 Thread Bernt Hansson

2012-06-21 19:33, Mark Felder skrev:

On Thu, 21 Jun 2012 12:30:40 -0500, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:


z woj...@wojtek.tensor.gdynia.pl wrote:



programs compiled by GPLv3 compiler are not encumbered.


This has not been decided in court yet.



sources please!


Google GPLv3 court case. There are no applicable results. Until a
Judge decides what the license truly means everyone using it is at risk.

As you've already been told it's not English it's Law


I fought the law, and the law won

http://en.wikipedia.org/wiki/I_Fought_the_Law

This whole thread has gone wayward, and I don't think it's going 
anywhere, except down.

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


Re: Flaming mailing lists (was Re: Why Clang)

2012-06-21 Thread Bernt Hansson

2012-06-21 10:59, fred.mor...@gmail.com skrev:

we have feelings too!!!



Ouch! Another feeling person. Can't you just stop this feeling stuff.

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


Re: Flaming mailing lists (was Re: Why Clang)

2012-06-21 Thread Bernt Hansson

2012-06-22 06:50, Erich Dollansky skrev:

Hi,

On Friday 22 June 2012 11:18:01 Bernt Hansson wrote:

2012-06-21 10:59, fred.mor...@gmail.com skrev:

we have feelings too!!!


Ouch! Another feeling person. Can't you just stop this feeling stuff.


do not forget the feelings regarding the devil.


Aaa. Yes the devil That fill's my whole body with concrete.

I want to whish all a very mery Midsummer's Eve and Midsummer's Day

http://en.wikipedia.org/wiki/Midsummer#Sweden
___
freebsd-questions@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 surround sound with Creative SB Live! card

2012-06-20 Thread Bernt Hansson

2012-06-18 20:27, David Demelier skrev:

On 15/06/2012 13:25, Bernt Hansson wrote:

On 2012-06-15 10:06, David Demelier wrote:

On 15/06/2012 05:43, Edward M wrote:

On 06/14/2012 09:03 AM, David Demelier wrote:

I have an old SB Live! card with a 5.1 speaker set, but i can't get
sound from center and rear speakers with mplayer.

I'm using the snd_emu10kx driver and when I try to play a DVD I get
sound only through the front speakers (and LFE) like a 2.1

Adding -channels 6 to the mplayer args does not help.

Cheers,


Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or
DTS. So a decorder is needed.



That's what mplayer says:

==


Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==


AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)

What do you mean by a decoder is needed?


Have you tried vlc or xine?


It does not work with VLC too, do you need to tweak some settings?


Try $ vlc filename

I've tried a file that gave this error

[0x2bb4b43c] main decoder error: no suitable decoder module for fourcc 
`mp4v'. VLC probably does not support this sound or video format.

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


Re: OT: Robotics or embedded or hardware programming... what is this called?

2012-06-20 Thread Bernt Hansson

2012-06-21 03:54, Modulok skrev:

List,

Sorry for the off-topic post. There are a lot of technically adept people on
this list, so I thought I'd try my luck here:

I want to get started programming for hardware. Motors, sensors, actuators, etc.
I have a programming background, (python, PHP, C++) but no experience with code
that drives hardware. (Motors, sensors, etc.)

I *don't* want closed-source kit robots where the point is to build the robot
the book and thats it. I also don't want ladder logic-based PMC's. Some kind of
micro-controller that runs a *nix flavor (or a BSD flavor!) would be great! (If
that's what I need.) Basically, I want to do stuff like if input1() is True
then apply_voltage_on_output3(), etc. Build my own traffic light, coffee
maker, mars rover, automatic-plant waterer, whatever.

What do you call this? Embedded programming? Generic hardware programming?
Robotics programming? Are there prefabricated, standard embedded boards and
hardware specs that play together like PC parts do? In short, I don't even know
where to start.

Even general pointers to books/websites would be great. Once I know what it's
called I can google much more effectively ;)

Thanks!
-Modulok-


That ballpark is quite large. I'll give you some links

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


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

2012-06-18 Thread Bernt Hansson

On 2012-06-18 16:41, Budnev Vladimir wrote:


The strange thing with possibly empty password is that login from
ip-console accepted correct password. So dont sure about empty...It
seems like su was accepting any password at that time.


That is the behavior with an empty password. The login would accept
any password.
___
freebsd-questions@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 surround sound with Creative SB Live! card

2012-06-15 Thread Bernt Hansson

On 2012-06-15 10:06, David Demelier wrote:

On 15/06/2012 05:43, Edward M wrote:

On 06/14/2012 09:03 AM, David Demelier wrote:

I have an old SB Live! card with a 5.1 speaker set, but i can't get
sound from center and rear speakers with mplayer.

I'm using the snd_emu10kx driver and when I try to play a DVD I get
sound only through the front speakers (and LFE) like a 2.1

Adding -channels 6 to the mplayer args does not help.

Cheers,


Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or
DTS. So a decorder is needed.



That's what mplayer says:

==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==
AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)

What do you mean by a decoder is needed?


Have you tried vlc or xine?
___
freebsd-questions@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 Bernt Hansson

2012-06-10 19:02, Gary Aitken skrev:

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

What's the trick to allowaltfn 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'sctlaltfn 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?


Alt+F9
___
freebsd-questions@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: SOLVED: FreeBSD9 - I can't get my mouse to work (was : FreeBSD9 - I can't get my mouse to work)

2012-06-08 Thread Bernt Hansson

2012-06-08 17:51, Walter Hurry skrev:

On Fri, 08 Jun 2012 15:39:22 +, Walter Hurry wrote:
Never mind: Stupid moi. The answer was staring me in the face in man
rc.conf. moused_port.



You also have moused_flags=Put your flags here

That does not help, not me anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dumping file system subtree (/var)

2012-06-07 Thread Bernt Hansson

2012-06-07 22:05, Gary Aitken skrev:

When I originally set up my SSD, the stuff I was following indicated there was 
no need to put anythng on a separate filesystem.  I'm now trying to build a 
backup system on a usb drive and I want a separate /var and /tmp.

I had originally set the nodump flag on /tmp and /var, so my snapshot is empty 
for those.

I don't think there's any reason to preserve /tmp, but is there any good way to 
copy /var from the running system on the SSD to another filesystem (and still 
preserve everything, including flags)?  My impression is both mksnap_ffs and 
dump should only be used on a complete filesystem, not a subtree.

Or do I need to unset the nodump flag on /var, make a snapshot of /, take a 
dump :-), and then split the /var out upon restore?

And would it be wise to repartition the SSD to put /var and /tmp on their own 
partitions?



http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK
___
freebsd-questions@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-questions Digest, Vol 418, Issue 7

2012-06-06 Thread Bernt Hansson

2012-06-06 13:36, kwel kwel skrev:




Please remove my email from your database i don't want to receive any other 
mail from you plzz 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

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


Re: FreeBSD9 - I can't get my mouse to work

2012-06-05 Thread Bernt Hansson

2012-06-06 01:14, Walter Hurry skrev:

Firstly, sorry if this is a bit of a newbie question. I am quite new to
FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD
is fine, except that no matter what I try I cannot get the (USB) mouse to
work.

I have scoured the handbook, and Googled, but to no avail.

This is 9.0-RELEASE on amd64 - fully updated.

I don't need the mouse in consoles, but I do want it in X.

Here is my xorg.conf in its entirety:

##
Section ServerLayout
 Identifier XFree86 Configured
 Screen  0  Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
 Option Clone off
EndSection

Section ServerFlags
Option AutoAddDevices On


Set this to off.


EndSection

Section Files
 ModulePath   /usr/local/lib/xorg/modules
 FontPath /usr/local/lib/X11/fonts/Liberation/
 FontPath /usr/local/lib/X11/fonts/LinLibertineG/
 FontPath /usr/local/lib/X11/fonts/OTF/
 FontPath /usr/local/lib/X11/fonts/TTF/
 FontPath /usr/local/lib/X11/fonts/bitstream-vera/
 FontPath /usr/local/lib/X11/fonts/dejavu/
 FontPath /usr/local/lib/X11/fonts/URW/
EndSection

Section Module
 Load   ddc
 Load   dbe
 Load   extmod
EndSection

Section InputDevice
 Identifier Keyboard0
 Driver keyboard
 Option XkbModel pc105
 Option XkbLayout gb
EndSection

Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol auto
 Option Device /dev/sysmouse
EndSection

Section Monitor
 Identifier Monitor0
 VendorName Monitor Vendor
 ModelName  Monitor Model
EndSection


Section ServerLayout
 Identifier XFree86 Configured
 Screen  0  Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
 Option Clone off
EndSection

Section ServerFlags
Option AutoAddDevices On
EndSection

Section Files
 ModulePath   /usr/local/lib/xorg/modules
 FontPath /usr/local/lib/X11/fonts/Liberation/
 FontPath /usr/local/lib/X11/fonts/LinLibertineG/
 FontPath /usr/local/lib/X11/fonts/OTF/
 FontPath /usr/local/lib/X11/fonts/TTF/
 FontPath /usr/local/lib/X11/fonts/bitstream-vera/
 FontPath /usr/local/lib/X11/fonts/dejavu/
 FontPath /usr/local/lib/X11/fonts/URW/
EndSection

Section Module
 Load   ddc
 Load   dbe
 Load   extmod
EndSection

Section InputDevice
 Identifier Keyboard0
 Driver keyboard
 Option XkbModel pc105
 Option XkbLayout gb
EndSection

Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol auto
 Option Device /dev/sysmouse
EndSection

Section Monitor
 Identifier Monitor0
 VendorName Monitor Vendor
 ModelName  Monitor Model
EndSection


Section Device
 Identifier Card0
 Screen  0
 Driver radeonhd
 VendorName Radeon Video Driver
 Option XAANoOffscreenPixmaps true
 Option AccelMethod EXA
 Option DRI true
 BusID  PCI:1:5:0
EndSection


Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 DefaultDepth   24
 SubSection Display
 Depth  24
 Modes  1366x768
 EndSubSection
EndSection
##

and here are the relevant Xorg.0.log messages:

##
(EE) config/hal: couldn't initialise context: unknown error (null)
(EE) xf86OpenSerial: Cannot open device /dev/psm0
(EE) PS/2 Mouse: cannot open input device
(EE) PreInit returned NULL for PS/2 Mouse
(EE) config/hal: NewInputDeviceRequest failed (8)
((WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(WW) Usb Mouse: No Device specified, looking for one...
(WW) PS/2 Mouse: No Device specified, looking for one...
(WW) Usb Mouse: No Device specified, looking for one...
(WW) Usb Mouse: No Device specified, looking for one...
(WW) Usb Mouse: No Device specified, looking for one...
(WW) Usb Mouse: No Device specified, looking for one...
(WW) Usb Mouse: No Device specified, looking for one...
(WW) Usb Mouse: No Device specified, looking for one...
(WW) Usb Mouse: No Device specified, looking for one...
##

Can anyone assist with 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



___
freebsd-questions@freebsd.org mailing list

Re: HP networked printer -- hp-setup won't use, hp-probe finds

2012-06-04 Thread Bernt Hansson

2012-06-03 02:08, Gary Aitken skrev:


I've deinstalled cups and its dependencies and rebuilt only hpijs.


Did you build it with foomatic-rip if so then you have ppd files in

/usr/local/share/foomatic/db/source/PPD/

Don't know if it is for your specific printer.
___
freebsd-questions@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] why no libXXX after make install of libXXX?

2012-05-28 Thread Bernt Hansson

2012-05-27 01:17, Gary Aitken skrev:

On 05/26/12 14:03, Gary Aitken wrote:

I'm trying to install audacious, which depends on libmowgli.
The port fails to build because of a missing library.
Shouldn't the build of a library result in the library being placed in 
/usr/local/lib?


I notice that /var/db/pkg/libmowgli-1.0.0/+CONTENTS
and similar files for a few other packages
shows files which don't exist:

@comment PKG_FORMAT_REVISION:1.1
@name libmowgli-1.0.0
@comment ORIGIN:devel/libmowgli
@cwd /usr/local
...

lib/libmowgli.so

It's a link.

lib/libmowgli.so.2

So is this one.

lib/libmowgli.so.2.0.0

Links to this file.


I had no problems building devel/libmowgli

lrwxr-xr-x   1 root  wheel18 28 Maj 12:38 libmowgli.so - 
libmowgli.so.2.0.0
lrwxr-xr-x   1 root  wheel18 28 Maj 12:38 libmowgli.so.2 - 
libmowgli.so.2.0.0

-rwxr-xr-x   1 root  wheel 88546 28 Maj 12:38 libmowgli.so.2.0.0



I think this is a screwed up situation;
there are no libmowgli files in /usr/local/lib

What's the best way to recover from it if so?


Try pkg_add -r libmowgli
___
freebsd-questions@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 stopped working in X

2012-05-22 Thread Bernt Hansson

012-05-20 14:17, C. P. Ghost skrev:

On Fri, May 18, 2012 at 2:27 PM, Bernt Hanssonb...@bananmonarki.se  wrote:

2012-05-18 13:49, J. W. Ballantine skrev:


Hi,

Before the update of x11 on 4/21/2012, X was working fine, but now
when I startx, my usb and touchpad mouse are no longer found.  The
mouse works in terminal mode, and hald and dbus are started in
/etc/rc.conf.


I have exactly the same problem. What windowmanager are you
using? I'm using xfce4, I have a workaround for that.

1. start X
2. when it comes up press alt+F2, the start program dialog comes up
3. type in xterm or your terminal of choice
4. in your terminal su to root then type

/usr/local/etc/rc.d/dbus restart  /usr/local/etc/rc.d/hald restart

wait a few seconds and the mouse should work again.



There is a second way of doing this stunt.

Start X
When X is up and running press CTRL+ALT+F3 or any F* frpm F3 up to F8 
then you get to the console

Su to root in the console and type in

/usr/local/etc/rc.d/dbus restart  /usr/local/etc/rc.d/hald restart

Then press ALT+F9 to get back to X


I have the same problem but with a ps/2 mouse. Restarting dbus
and hald from within an xterm is a workable workaround.

Since I'm using fluxbox, I start an xterm in ~/.xinitrc in the background
to get a terminal before exec-ing fluxbox. Luckily, this xterm has
already the focus.

This is the relevant part of /var/log/Xorg.0.log regarding the
mouse:

(II) config/hal: Adding input device PS/2 Mouse
(II) LoadModule: mouse
(II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor=X.Org Foundation
 compiled for 1.7.7, module version = 1.7.1
 Module class: X.Org XInput Driver
 ABI class: X.Org XInput driver, version 7.0
(WW) PS/2 Mouse: No Device specified, looking for one...
(II) PS/2 Mouse: Setting Device option to /dev/psm0
(--) PS/2 Mouse: Device: /dev/psm0
(==) PS/2 Mouse: Protocol: Auto
(**) PS/2 Mouse: always reports core events
(**) Option Device /dev/psm0
(EE) xf86OpenSerial: Cannot open device /dev/psm0
 Device busy.
(EE) PS/2 Mouse: cannot open input device
(II) UnloadModule: mouse
(EE) PreInit returned NULL for PS/2 Mouse
(EE) config/hal: NewInputDeviceRequest failed (8)

After restarting hald:

(II) config/hal: Adding input device PS/2 Mouse
(WW) PS/2 Mouse: No Device specified, looking for one...
(II) PS/2 Mouse: Setting Device option to /dev/sysmouse
(--) PS/2 Mouse: Device: /dev/sysmouse
(==) PS/2 Mouse: Protocol: Auto
(**) PS/2 Mouse: always reports core events
(**) Option Device /dev/sysmouse
(==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5
(**) PS/2 Mouse: Buttons: 9
(II) XINPUT: Adding extended input device PS/2 Mouse (type: MOUSE)

Interestingly, the first time Xorg tries to access the
mouse, it opens /dev/psm0, and the second time after
manually restarting hald, it accesses /dev/sysmouse...
which is the driver that I always use in /etc/X11/xorg.conf:

Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol auto
 Option  Device /dev/sysmouse
 Option  ZAxisMapping 4 5 6 7
EndSection

Shouldn't Xorg use /dev/sysmouse all the time then?
Why does it try to open /dev/psm0?

I hope this problem will get fixed soon. ;-)

Thanks for the good workaround.

Regards,
-cpghost.


___
freebsd-questions@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 stopped working in X

2012-05-22 Thread Bernt Hansson

2012-05-22 10:44, Polytropon skrev:

On Tue, 22 May 2012 10:17:16 +0200, Bernt Hansson wrote:

There is a second way of doing this stunt.

Start X
When X is up and running press CTRL+ALT+F3 or any F* frpm F3 up to F8
then you get to the console
Su to root in the console and type in

/usr/local/etc/rc.d/dbus restart   /usr/local/etc/rc.d/hald restart

Then press ALT+F9 to get back to X


So if that is the _solution_, why not try to automate it?
Not tested, just a suggestion:

Make this the last-1 line in ~/.xinitrc (or ~/.xsession depending
on actual setup), before the exec call to the WM / DE, maybe
like this:

#!/bin/sh
[ -f ~/.xmodmaprc ]  xmodmap ~/.xmodmaprc
xterm
xsetroot -solid rgb:3b/4c/7a
xset b 100 1000 15
xset r rate 250 30
xset s off
xset -dpms
  - sudo /usr/local/etc/rc.d/dbus restart  sudo /usr/local/etc/rc.d/hald 
restart
exec wmaker

It should happen when X is running, and it should be
back to normal when the WM or DE is launched (and
all background programs have fully started).


We don't use sudo, only su. But I guess it work for those that use sudo.

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


Re: ls-F tcsh built-in command

2012-05-17 Thread Bernt Hansson

2012-05-17 08:12, fake fake skrev:

BSD's 'ls' seems to support only ANSI colors, so I want to use 'ls-F'
instead. (which supports ISO 6429 colors)
'ls-F' colors directories beautifully. But 'ls-F -l' does not, at all.
Is this designed, or am I doing something wrong?


From ls manpage

-F
Display a slash (`/') immediately after each pathname that is a
directory, an asterisk (`*') after each that is executable,an at sign 
(`@') after each symbolic link, an equals sign (`=') after
each socket, a percent sign (`%') after each whiteout, and a vertical 
bar (`|') after each that is a FIFO.

___
freebsd-questions@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 will not start

2012-05-11 Thread Bernt Hansson

2012-05-11 12:48, fake fake skrev:

$firefox
returns this:
/libexec/ld-elf.so.1: /usr/local/lib/firefox/libmozsqlite3.so:
Undefined symbol posix_fallocate

It seems failed to link, but how to solve this?

 System Information
FreeBSD 8.3-RELEASE
amd64


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


4294967287 messages downloaded - Thunderbird

2012-05-04 Thread Bernt Hansson

Hello list!

What and why is this?

4294967287 messages downloaded

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


USB Problems

2012-04-15 Thread Bernt Hansson

Hello list!

I have an external HDD connected with usb from dmesg i get this

umass0: Generic External, class 0/0, rev 2.00/2.10, addr 4 on usbus5
umass0:  SCSI over Bulk-Only; quirks = 0x4000
umass0:7:0:-1: Attached to scbus7
da0 at umass-sim0 bus 0 scbus7 target 0 lun 0
da0: Generic External 2.10 Fixed Direct Access SCSI-4 device
da0: 40.000MB/s transfers
da0: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C)

df -hi say this

Filesystem   SizeUsed   Avail Capacity iused ifree %iused 
Mounted on


/dev/da0.eli 916G385G531G42% 53k   61M0% 
/usr/home/bernt/usbdisk


dmesg

pid 83024 (dd), uid 1001 inumber 2 on /usr/home/bernt/usbdisk: out of inodes

softdep_waitidle: Failed to flush worklist for 0xff0008ab82f0

What is going on? I can cd to the disk but not copy to or from the disc.
A reboot fix the problem but I think it should not be that way.

umount -f /dev/da0.eli
umount: unmount of /usr/home/bernt/usbdisk failed: Device busy

geli stop /dev/da0.eli
geli: No such device: /dev/da0.eli

ls -l /dev/da*
crw-r-  1 root  operator0, 176 15 Apr 01:10 /dev/da0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: problem with Xorg

2012-04-11 Thread Bernt Hansson



2012-04-10 16:50, Da Rock skrev:

It gives a black screen. Vesa or not.


Is that with the retro option?


No it was not. Now I have fixed it, wife on my back so I had to fix it 
quickly. Pkg_delete \* cd x11-wm/xfce4 so now it starts up without errors.


Thank you all for your input.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Questions about Jail

2012-04-03 Thread Bernt Hansson

2012-04-03 08:20, James Y Chen skrev:

Hi


Hello


My question is: can I install other version of FreeBSD on the Jailed
environment?


Since all jails use the same kernel I think you can not do that.

There has been a lot of changes between versions of freebsd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-21 Thread Bernt Hansson

2012-03-21 10:29, Anton Shterenlikht skrev:

On Wed, Mar 21, 2012 at 04:12:50AM +0100, Bernt Hansson wrote:

2012-03-19 13:21, Anton Shterenlikht skrev:

I can't lauch www/epiphany or www/rekonq
on ia64 -current, due to some dbus issue:

TZAV   ps ax|grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid
  5 --print-address 7 --sess
  1434  2- I0:00.01 dbus-launch
  --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41284  5  RL+  0:00.00 grep dbus

TZAV   epiphany

** (epiphany:41285): WARNING **: Unable to connect to session bus: Failed
to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory

TZAV   rekonq
unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session
server:  Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file
or directory

unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly.

TZAV   ps ax | grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid
  5 --print-address 7 --sess
  1434  2- I0:00.01 dbus-launch
  --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41294  5  RL+  0:00.00 grep dbus

What am I doing wrong?

I understand dbus is a required part of
a modern browser, it is no longer an option, right?

Many thanks


You do have this in /etc/rc.conf

dbus_enable=YES


I didn't think it was necessary,


It is.


as firefox3 launches dbus-daemon on startup.


Only for that firefox3 process, no one else get in.


But I'll give it a go.


Do that, and my guess is you are going to be a lot happier.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-21 Thread Bernt Hansson

2012-03-21 16:18, Anton Shterenlikht skrev:

On Wed, Mar 21, 2012 at 10:51:23AM +0100, Polytropon wrote:

On Wed, 21 Mar 2012 09:29:09 +, Anton Shterenlikht wrote:

On Wed, Mar 21, 2012 at 04:12:50AM +0100, Bernt Hansson wrote:

You do have this in /etc/rc.conf

dbus_enable=YES


I didn't think it was necessary, as firefox3
launches dbus-daemon on startup. But I'll give
it a go.


I think those are mandatory when running X + { KDE | Gnome }.
Maybe it's even required for running KDE or Gnome applications
without the whole desktop environment? Maybe the dependencies
are that deep that they affect the libraries used...

Always check for

hald_enable=YES
dbus_enable=YES

in your /etc/rc.conf.

See:
http://www.freebsd.org/gnome/docs/halfaq.html


That's funny. Now I'm back to

TZAV  ps ax|grep dbus
15636  -  Is  0:00.06 /usr/local/bin/dbus-daemon --system
15726  -  Is  0:00.01 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sessi
11463  0- I   0:00.01 dbus-launch --autolaunch 
fb0372ea595109904f5a068e0180 --binary-syntax
10857  6  R+  0:00.01 grep dbus
TZAV  ps ax | grep hald
15647  -  Is  0:04.57 /usr/local/sbin/hald
15654  -  I   0:00.08 hald-runner
10859  6  R+  0:00.01 grep hald
TZAV  epiphany

** (epiphany:10860): WARNING **: Unable to connect to session bus: Failed to 
connect to socket /tmp/dbus-7LOjFYELtv: No such file or directory
TZAV  rekonq
unnamed app(10863): KUniqueApplication: Cannot find the D-Bus session server:  
Failed to connect to socket /tmp/dbus-7LOjFYELtv: No such file or directory

unnamed app(10862): KUniqueApplication: Pipe closed unexpectedly.

TZAV


To me it seems that dbus can't write to /tmp and/or create files under /tmp.

This is my home desktop

 915  ??  Is 0:04,06 /usr/local/bin/dbus-daemon --system
 1317  ??  Is 0:00,24 /usr/local/bin/dbus-daemon --fork --print-pid 
5 --print-address 7 --session
 3763  ??  Is 0:00,35 /usr/local/bin/dbus-daemon --fork --print-pid 
5 --print-address 7 --session
 8557  ??  Is 0:00,21 /usr/local/bin/dbus-daemon --fork --print-pid 
5 --print-address 7 --session





1186  ??  Is 3:47,36 /usr/local/sbin/hald
 1193  ??  I  0:00,12 hald-runner
 1197  ??  S  0:37,69 hald-addon-storage: no polling on /dev/fd0 
because it is explicitly disabled (hald-addon-storag
 1241  ??  IW 0:00,00 hald-addon-mouse-sysmouse: /dev/ums0 
(hald-addon-mouse-sy)



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


Re: dbus, epiphany, rekonq

2012-03-20 Thread Bernt Hansson

2012-03-19 13:21, Anton Shterenlikht skrev:

I can't lauch www/epiphany or www/rekonq
on ia64 -current, due to some dbus issue:

TZAV  ps ax|grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sess
  1434  2- I0:00.01 dbus-launch 
--autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41284  5  RL+  0:00.00 grep dbus

TZAV  epiphany

** (epiphany:41285): WARNING **: Unable to connect to session bus: Failed to 
connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory

TZAV  rekonq
unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session server:  
Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory

unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly.

TZAV  ps ax | grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sess
  1434  2- I0:00.01 dbus-launch 
--autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41294  5  RL+  0:00.00 grep dbus

What am I doing wrong?

I understand dbus is a required part of
a modern browser, it is no longer an option, right?

Many thanks


You do have this in /etc/rc.conf

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


Jail and questions

2012-03-12 Thread Bernt Hansson

Hello list

I've setup a 32-bit jail on amd64 freebsd 8.2-stable.

It works, sort of, but when i run portsnap extract in the jail it say

Building new INDEX files... make_index: fopen(/dev/stdin): No such file 
or directory


#ls /dev

lrwxr-xr-x  1 root  wheel12  6 Mar 02:56 log - /var/run/log
-rw-r--r--  1 root  wheel76 12 Mar 23:09 null
-rw-r--r--  1 root  wheel 0 10 Mar 03:01 stderr
-rw-r--r--  1 root  wheel  1360  7 Mar 04:44 stdout

Where is stdin?

or running #ps ps: /boot/kernel/kernel: No such file or directory
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Suggestion

2012-03-11 Thread Bernt Hansson

2012-03-11 18:42, Polytropon skrev:

On Sun, 11 Mar 2012 11:23:54 +0700, Erich Dollansky wrote:

On Sunday 11 March 2012 10:53:26 Chad Perrin wrote:

On Sat, Mar 10, 2012 at 11:31:33PM +0700, Erich Dollansky wrote:

FAT rules!


Uh . . . what?


It is on every phone, every camera, every toaster ...


Sorry, you must be wrong. I tried to FORMAT.EXE my toaster


Perhaps you didn't plug it in right. Sata, FW or usb.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Raspberry Pi

2012-03-09 Thread Bernt Hansson

2012-03-08 19:46, Chad Perrin skrev:

On Thu, Mar 08, 2012 at 08:51:03AM +, Arthur Chance wrote:

On 03/07/12 21:40, Chad Perrin wrote:


If anyone has more information about planned BSD Unix ports to Raspberry
Pi, or comes up with more in the next few weeks, I'd appreciate it if
someone would let me know (perhaps with URIs or contact information for
people and projects working on this).


There was a discussion about it over on hackers@ last November. The
thread starts at

http://lists.freebsd.org/pipermail/freebsd-hackers/2011-November/036742.html

TL;DR summary: some are wildly in favour of it, others are
completely negative. I.e. the usual network response to anything :-}


I'm curious about the reasoning for the negative.  I'll have to go skim
that thread.  Thanks for pointing it out to me.




Unless someone capable and willing to do the port managed to get one
of the first production batch, the next lot won't be available for
7-8 weeks at the earliest. My order is currently expected to be
delivered the second week in May.


That helps me get sort of a timeline in mind, I think.


The production is halted.

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


port to package amd64 to i386

2012-03-05 Thread Bernt Hansson

Hello list

I want to build packages from ports on AMD64 for use on i386
since the i386 system is;


pid 21629 (cc1plus), uid 0, was killed: out of swap space

When building firefox.

Added some swap as a file so it's building as I type.

Thinking that the AMD system I can access is a wee more powerfull
than the i386, I was thinking in the line of;

Build the port on amd64 and install it on i386 as a package.

Is it possible? Pointers? Handholding? How-to?

This is the i386;

FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011
r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.53GHz (2524.94-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Family = f  Model = 2  Stepping 
= 7 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

Features2=0x400CNXT-ID
real memory  = 537395200 (512 MB)
avail memory = 498135040 (475 MB)


This is the amd64;

FreeBSD 8.2-STABLE #0: Thu Jan 12 15:13:06 CET 2012 
user@fqdn:/usr/home/user/disk8/obj/usr/home/user/disk8/src/sys/GENERIC amd64

Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) II X2 250 Processor (3013.63-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0x100f63  Family = 10  Model = 6 
Stepping = 3


Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
Features2=0x802009SSE3,MON,CX16,POPCNT
AMD 
Features=0xee500800SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!
AMD 
Features2=0x37ffLAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT

TSC: P-state invariant
real memory  = 17179869184 (16384 MB)
avail memory = 16523640832 (15758 MB)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: port to package amd64 to i386

2012-03-05 Thread Bernt Hansson



2012-03-05 10:20, Edward M. skrev:

On 03/05/2012 12:42 AM, Bernt Hansson wrote:

Build the port on amd64 and install it on i386 as a package.

Is it possible? Pointers? Handholding? How-to?



http://filipenf.wordpress.com/2011/10/18/cross-compiling-for-x86-in-freebsd-64-bit/


Thank you for the pointer. I do find it a bit overkill to setup jails 
and such, just to build a few ports. I was thinking more along the line of;


cd /usr/ports/random port

make it for i386 even if we are building it on amd64, ooh by the way 
build it as a package, and all dependencies as packages as well


Oh man, man ports. But I do not find the flag 
-build-for-another-system-cpu-whatever


Can the ports system be (ab)used in that way?
___
freebsd-questions@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 issues, relay failure

2012-02-25 Thread Bernt Hansson

2012-02-25 19:39, Bender, Chris skrev:


There aren't any firewalls between the devices but they are far apart. I can 
telnet from x to a and I can ssh from a to x.


Have you tried the correct IP from A to X?
Try dig -x X-IP and dig X-hostname.
Can you ping X from A? Try telnet to X from A with the hostname of X.
Have X changed IP-address?
___
freebsd-questions@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 issues, relay failure

2012-02-25 Thread Bernt Hansson

2012-02-25 22:44, Bender, Chris skrev:

NP on all counts.

Names and IPs are same results using both digson A and resolving.
In fact both are identical results on A and B.  I can easily ssh
user@X-Username

From a too.


The issue doesn't appear be at getting to X the issues is something to
do with the service on X.
I amnot sure if postfix has certs, or password. I don't see anything on
the maillog of X when the email from A
Is sent to it.  Maillog on A says connection timed out.


What is the output on X for ps ax|grep libexec/postfix/smtpd
___
freebsd-questions@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 issues, relay failure

2012-02-25 Thread Bernt Hansson

2012-02-25 22:52, Bernt Hansson skrev:

2012-02-25 22:44, Bender, Chris skrev:

NP on all counts.

Names and IPs are same results using both digson A and resolving.
In fact both are identical results on A and B. I can easily ssh
user@X-Username

From a too.


The issue doesn't appear be at getting to X the issues is something to
do with the service on X.
I amnot sure if postfix has certs, or password. I don't see anything on
the maillog of X when the email from A
Is sent to it. Maillog on A says connection timed out.


What is the output on X for ps ax|grep libexec/postfix/smtpd


Also try, on X, netstat -aptcp | grep smtp.

It should be something along the line of;

tcp40   0  *.smtp*.*LISTEN

Is the postfix machine running freebsd?

Found this on postfix.org http://www.postfix.org/smtpd.8.html

As of Postfix version 2.3, the SMTP server refuses to receive
mail from the network when it runs with non $mail_owner privileges

$mail_owner = http://www.postfix.org/postconf.5.html#mail_owner
___
freebsd-questions@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 issues, relay failure

2012-02-25 Thread Bernt Hansson

2012-02-25 23:29, Bender, Chris skrev:

Hi Brent,
Thanks for that, I am still digesting it.

tools2# uname -a
FreeBSD tools2 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #

So I put a 0 in the first two octets of the ip address below, but  that
IP address is A.
I am not sure what that means. I was horsing around and tried to start
sendmail
On X then I tried to send an email from A. I have no  idea what all that
means.

Here is netstat results:
netstat: kvm not available: /dev/mem: No such file or directory
tcp4   0  0 tools2.smtp0.0.81.10.33679 SYN_RCVD
tcp4   0  0 tools2.smtp*.*LISTEN


Ok. I'm stabbing in the dark here, but didn't you say that X was a jail
system?

Is every postfix process in a jail?

I have never used a jailed system. So my WILD guess it's a something
with jail, or jail setup.



What is non $mail_owner privileges or how to determine that?

tools2# postconf -d | grep mail_version
mail_version = 2.7.0
milter_macro_v = $mail_name $mail_version

I am still not sure about the non mail owner issue yet, but I would
think because this has run in the past that it wouldn't have changed.
And how do I run smtp as a non mail user when I am root?

Hopfully we are getting somewhere.

___
freebsd-questions@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 issues, relay failure, perhaps Jails is causing it.

2012-02-25 Thread Bernt Hansson

2012-02-26 00:54, Bender, Chris skrev:

Hi Brent

Yes the system we are calling X, is jailed by another system.

Here is the jailer system:

zs1#  netstat -aptcp | grep smtp
tcp4   0  0 tools2.smtp10.156.31.20.45081
SYN_RCVD
tcp4   0  0 tools2.smtp*.*LISTEN
tcp4   0  0 rt3.smtp   *.*LISTEN
tcp4   0  0 npims.smtp *.*LISTEN
tcp4   0  0 wiki.smtp  *.*LISTEN
tcp4   0  0 localhost.smtp *.*LISTEN


Here is about jails;

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

Have you tried to telnet into the other jailed hostnames and 
ip-addresses, like telnet rt3.* 25


What does it say? Can you connect?

There seems to be either a jail problem or a routing problem

You can look at your routing table with netstat -r
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why is this Symbol in the front of your website. A humble request.

2012-02-23 Thread Bernt Hansson

2012-02-23 13:29, Al Hadith skrev:


I am highly educated and qualified.


Not really, no.
___
freebsd-questions@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 package update / upgrade

2012-02-21 Thread Bernt Hansson

2012-02-22 04:56, alexus skrev:


all I want is to update these

f9# portaudit -a
Affected package: python27-2.7.2_3
Type of problem: Python -- DoS via malformed XML-RPC / HTTP POST request.
Reference: 
http://portaudit.FreeBSD.org/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html


portupgrade -iR (use p also if you want to build a package) python27


Affected package: sudo-1.8.3_1
Type of problem: sudo -- format string vulnerability.
Reference: 
http://portaudit.FreeBSD.org/7c920bb7-4b5f-11e1-9f47-00e0815b8da8.html


portupgrade -iR(p) sudo


Affected package: ruby-1.8.7.352_2,1
Type of problem: Multiple implementations -- DoS via hash algorithm collision.
Reference: 
http://portaudit.FreeBSD.org/91be81e7-3fea-11e1-afc7-2c4138874f7d.html


portupgrade -iR(p) ruby


3 problem(s) in your installed packages found.

You are advised to update or deinstall the affected package(s) immediately.
f9#

P.S. why is it pkg_add installing vulnerable versions at the first
place? i just installed ruby and already is a problem??


Because pakages are built for *-RELEASE
___
freebsd-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   >