Re: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Ralf Mardorf

Good morning,

if I run 'make deinstall reinstall' for a port, it doesn't ask a single  
question, at least not for dbus.


# ls -l /usr/local/bin/dbus-daemon
-r-xr-xr-x  1 rocketmouse  wheel  377744 Jan 18 22:44  
/usr/local/bin/dbus-daemon


# cd /usr/ports/devel/dbus ; make deinstall reinstall

# ls -l /usr/local/bin/dbus-daemon
-r-xr-xr-x  1 root  wheel  377744 Jan 27 08:55 /usr/local/bin/dbus-daemon

Is there a command to deinstall and reinstall all ports or an idea for a  
script to do it?


Do I have to reboot into single user mode and then to run make  
installworld only to reinstall world?


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


Re: Cronjob Cvsup - What?

2013-01-27 Thread Zyumbilev, Peter


On 27/01/2013 06:34, Lowell Gilbert wrote:
 If you needed version control features on your ports tree (especially if
 you were regularly contributing changes to ports), getting and updating
 your tree through subversion would have some extra features you might
 want, but it doesn't sound as if that is the case for you.
 
 Unless you have a specific reason why portsnap doesn't fit your use
 case, it's definitely the way to go for just keeping a ports tree
 updated regularly.


Last 10 years I am using cvsup. Any good guide for the transition to
subversion  ?

For ports is easy(portsnap), but I for system update I still have
problems saying good bye to old habits and I still use cvsup...:-)

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


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Erich Dollansky
Hi,

On Sun, 27 Jan 2013 09:15:09 +0100
Ralf Mardorf ralf.mard...@rocketmail.com wrote:

 Good morning,

ood morning? The sun is settling soon!
 
 if I run 'make deinstall reinstall' for a port, it doesn't ask a
 single question, at least not for dbus.
 
 # ls -l /usr/local/bin/dbus-daemon
 -r-xr-xr-x  1 rocketmouse  wheel  377744 Jan 18 22:44  
 /usr/local/bin/dbus-daemon
 
 # cd /usr/ports/devel/dbus ; make deinstall reinstall
 
 # ls -l /usr/local/bin/dbus-daemon
 -r-xr-xr-x  1 root  wheel  377744 Jan 27
 08:55 /usr/local/bin/dbus-daemon
 
 Is there a command to deinstall and reinstall all ports or an idea
 for a script to do it?
 
Check portupgrade or one of other utilities to handle ports. There is
one option to force an upgrade even if it would be a downgrade.

 Do I have to reboot into single user mode and then to run make  
 installworld only to reinstall world?

No, you just run it as root. It should work afterword except for
currently running programs.

Erich
___
freebsd-questions@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-ish] Need a Binary for lang/sml-nj

2013-01-27 Thread Matthew Seaman
On 27/01/2013 02:57, Joseph A. Nagy, Jr wrote:
 On 01/26/13 15:52, Jimmy Olgeni wrote:

 Hello,

 On Sat, 26 Jan 2013, Joseph A. Nagy, Jr wrote:

 The pkg repo's are down. I'm not sure how you got it to work (if you
 did). It will not work on this end, thanks though.

 It seems to work from here. Maybe with a mirror?

 ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz



 
 root@alex-laptop:/root # pkg add
 ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz
 
 smlnj-110.0.7_3.tbz 100% 3203KB   1.0MB/s   2.4MB/s 00:03
 pkg: ./smlnj-110.0.7_3.tbz is not a valid package: no +MANIFEST found
 pkg: ./smlnj-110.0.7_3.tbz is not a valid package: no +MANIFEST found
 
 Failed to install the following 1 package(s):
 ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz
 

Trying to install a pkg_tools style package with pkgng is not going to work.

At least, not with pkg-1.0.6.  pkgng-1.1 will have the capability of
converting from pkg_tools to pkgng format.  And vice-versa.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: Cronjob Cvsup - What?

2013-01-27 Thread Matthew Seaman
On 27/01/2013 00:11, W. D. wrote:
 What would be the best Cron command to keep ports updated on a daily
 basis?

Try this as a crontab entry:

0  3  *  *  *  *  /usr/sbin/portsnap cron update

Two points to note:

1) The 'cron' verb is important for anyone setting up an automated job
like this.  It causes portsnap to wait for a random number of seconds
(but less than 1 hour) before connecting to the portsnap server.  Since
the tendency is for people to schedule cron jobs to happen on the hour,
this helps to avoid everyone connecting at once and smooths out the
server load.

2) This assumes that you have previously run

   portsnap fetch extract

to get yourself a portsnap-ready copy of the ports tree.  You only need
to do that once, but you should move aside any pre-existing copy of
/usr/ports obtained by any means other than portsnap(8) before you do
(but keep anything under /usr/ports/distfiles and maybe
/usr/ports/packages).  Something like:

   cd /usr
   mv ports ports.old
   mkdir ports
   mv ports.old/distfiles ports/distfiles
   mv ports.old/packages ports/packages
   portsnap fetch extract

Although this may be complicated if any of /usr/ports,
/usr/ports/distfiles or /usr/ports/packages are on a separate partition
or ZFS.

I say 'move aside' due to the caution imbued by having been a
professional sysadmin for more years than I care to remember.  If you
are still convinced of your own infallibility, then you might find rm(1)
an acceptable alternative.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matt...@infracaninophile.co.uk



signature.asc
Description: OpenPGP digital signature


Re: Cronjob Cvsup - What?

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

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

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

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


Re: Cronjob Cvsup - What?

2013-01-27 Thread Matthew Seaman
On 27/01/2013 08:35, Zyumbilev, Peter wrote:
 Last 10 years I am using cvsup. Any good guide for the transition to
 subversion  ?

Most of the guides around freebsd.org are aimed at developers who will
be using SVN read-write.  For simple read-only use (ie. not checking
anything into the repository) the following should suffice:

  0) Install svn

 It isn't part of the base system, and it has too many external
 dependencies with different licensing terms for it to be bought
 in easily.  There's been some discussion about this, but it hasn't
 happened yet.  If it did, the imported version would be fairly
 minimal, and anyone wanting to use it for serious development
 would probably just grab the ports version anyhow.

 If all you want to do is pull down a copy of the sources then you
 can turn off most of the options to reduce the fairly large
 dependency tree to something more manageable:

 BDB=off: Berkeley Database
 BOOK=off: Install the Subversion Book
 ENHANCED_KEYWORD=on: Enhanced svn:keyword support
 FREEBSD_TEMPLATE=on: FreeBSD Project log template
 GNOME_KEYRING=off: Build with GNOME Keyring auth support
 KDE_KWALLET=off: Build with KDE KWallet auth support
 MAINTAINER_DEBUG=off: Build debug version
 MOD_DAV_SVN=off: mod_dav_svn module for Apache 2.X
 MOD_DONTDOTHAT=off: mod_dontdothat for Apache 2.X
 NEON=off: WebDAV/Delta-V repo access module (neon)
 P4_STYLE_MARKERS=off: Perforce-style conflict markers
 SASL=off: SASL support
 SERF=on: WebDAV/Delta-V repo access module (serf)
 STATIC=off: Build static version (no shared libs)
 SVNAUTHZ_VALIDATE=off: install svnauthz-validate
 SVNMUCC=off: Install Multiple URL Command Client
 SVNSERVE_WRAPPER=off: Enable svnserve wrapper
 TEST=off: Run subversion test suite

 There is the new devel/subversion-static port which does all that,
 and compiles subversion with static linkage so it has *no* runtime
 dependencies on anything else.  The disadvantage here is that if
 there is, say, a security hole discovered in the one of the
 libraries subversion links against, you won't secure the
 statically linked copy of subversion simply by updating to a fixed
 version of the shlib.  subversion-static is really only intended
 for providing a one-off binary package that people can download
 and install in order to bootstrap a more standard FreeBSD
 environment.

  1) Choose a SVN mirror close to you.  Currently there are two choices:

svn0.us-west.FreeBSD.org  -- Western USA
svn0.us-east.FreeBSD.org  -- Eastern USA

 Use whichever one gives you best performance.  Certainly from
 Europe at the moment us-east seems to be the best choice.

 The number of SVN mirrors and their global coverage should increase
 over time, but it will never need as many servers as the old cvsup
 network.

 The canonical list of SVN mirrors is here:


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

  2) Choose a protocol for access the SVN servers.  Your choices in
 order of preference are

 svn://
 https://
 http://

 Use svn:// for best performance.  If you're concerned about MITM
 attacks injecting trojans into the FreeBSD sources, then use
 https and be sure to verify the certificate hashes on first
 connection.  Otherwise, if you're stuck behind a restrictive
 firewall, use http://

  3) Choose which branch you want to mirror.  It's relatively easy to
 switch between branches and doesn't involve downloading the entire
 contents of /usr/src all over again if you change your mind.
 However right now, the viable choices are

head --- Current, the bleeding edge, really only suitable
 for development purposes

stable/9 --- 9-STABLE  Still a rapidly changing development
 branch, but not quite so close to the edge, and
 with less bleeding involved.

stable/8 --- 8-STABLE  Ditto.

releng/9.1 --- 9.1-RELEASE  This tracks any security patches to
 version 9.1.  However, in this case you would be
 better advised to use freebsd-update(8) to maintain
 your /usr/src directory tree instead.

Similarly releng/9.0 releng/8.3 releng/7.4 for other supported
release versions.

 Don't be fooled into pulling down release/9.1.0 or the like --
 this is not a *branch* but a *snapshot*.  If you think you want
 release/9.1.0 then you really want releng/9.1 instead.

  4) Make sure /usr/src is empty.  Pre-existing files can cause you
 grief at some unexpected later date even if they don't cause the
 initial checkout to fail.

  5) Put it all together.  Run a command like so to check out the
 content of /usr/src for your chosen branch from your chosen 

Re: lagg problems (or lack of understanding?)

2013-01-27 Thread Jerry
On Sun, 27 Jan 2013 01:20:13 +0100
markus.hoeni...@mhoenicka.de articulated:

 hald_enable=NO

Its defaults to NO. No reason to specifically set it.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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

Re: Cronjob Cvsup - What?

2013-01-27 Thread Matthew Seaman
On 27/01/2013 10:07, Mike Clarke wrote:

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

Yes.  That would do the trick quite neatly.  In fact, snapshot before
each time you run portsnap.

Cheers

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matt...@infracaninophile.co.uk



signature.asc
Description: OpenPGP digital signature


Re: Cronjob Cvsup - What?

2013-01-27 Thread Zyumbilev, Peter


On 27/01/2013 12:46, Matthew Seaman wrote:

   Cheers,
 
   Matthew
 


Matthew,

Fantastic howto ! Thanks ! Really a good job...as usual :-)

Peter
___
freebsd-questions@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-ish] Need a Binary for lang/sml-nj

2013-01-27 Thread Jimmy Olgeni


On Sat, 26 Jan 2013, Joseph A. Nagy, Jr wrote:

Failed to install the following 1 package(s): 
ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz


My fault - I didn't immediately connect pkg repo to pkgng :)

I fired up a 9.1 VM and built an i386 package which should work better.

  http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz

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


KDE Mouse Themes

2013-01-27 Thread Carmel
I have KDE version 4.8.4 (4.8.4) installed on a FreeBSD-8.3 system. I
have tried reading through the KDE documentation; however, I cannot
find the setting on my system to change the mouse theme(s). According
to the KDE documentation, the settings tab that should exist under
settings does not. Is there some special package I have to install to
get this ability? I cannot seem to find anything that specifically
relates to this problem in the ports tree. I can do this so easily in
an MS Windows environment, yet now I am just wasting time trying to do
something that should be simple and intuitive.

-- 
Carmel ✌
carmel...@hotmail.com

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Polytropon
On Sun, 27 Jan 2013 15:38:38 +0700, Erich Dollansky wrote:
 Hi,
 
 On Sun, 27 Jan 2013 09:15:09 +0100
 Ralf Mardorf ralf.mard...@rocketmail.com wrote:
 
  Good morning,
 
 ood morning? The sun is settling soon!

The sun of the planet of the ood?
Or the former Sun of one of the microsystems? :-)



  if I run 'make deinstall reinstall' for a port, it doesn't ask a
  single question, at least not for dbus.
  
  # ls -l /usr/local/bin/dbus-daemon
  -r-xr-xr-x  1 rocketmouse  wheel  377744 Jan 18 22:44  
  /usr/local/bin/dbus-daemon
  
  # cd /usr/ports/devel/dbus ; make deinstall reinstall
  
  # ls -l /usr/local/bin/dbus-daemon
  -r-xr-xr-x  1 root  wheel  377744 Jan 27
  08:55 /usr/local/bin/dbus-daemon
  
  Is there a command to deinstall and reinstall all ports or an idea
  for a script to do it?
  
 Check portupgrade or one of other utilities to handle ports. There is
 one option to force an upgrade even if it would be a downgrade.

With tools like portmaster, this task can easily be automated.
If you only will have to handle a few ports, using the bare
ports method (make) is probably the easiest way (in case
everything else stays definitely consistent).



  Do I have to reboot into single user mode and then to run make  
  installworld only to reinstall world?
 
 No, you just run it as root. It should work afterword except for
 currently running programs.

The comment header of /usr/src/Makefile suggests installing the
world in single user mode (steps 5 - 11).

#  1.  `cd /usr/src'   (or to the directory containing your source tree).
#  2.  `make buildworld'
#  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
#  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
#   [steps 3.  4. can be combined by using the kernel target]
#  5.  `reboot'(in single user mode: boot -s from the loader prompt).
#  6.  `mergemaster -p'
#  7.  `make installworld'
#  8.  `make delete-old'
#  9.  `mergemaster'(you may wish to use -i, along with -U or -F).
# 10.  `reboot'
# 11.  `make delete-old-libs' (in case no 3rd party program uses them anymore)

This should be the safest method.


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


Re: lagg problems (or lack of understanding?)

2013-01-27 Thread markus . hoenicka
Jerry writes:
  On Sun, 27 Jan 2013 01:20:13 +0100
  markus.hoeni...@mhoenicka.de articulated:
  
   hald_enable=NO
  
  Its defaults to NO. No reason to specifically set it.
  

That's correct. This is a leftover of an attempt to track down some
problem which turned out to be influenced by hald. IIRC I needed hald
only for xfburn as I use an external CD burner. This screwed up other
stuff, so today I start hald manually in the rare cases where I need
it.

regards,
Markus

-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: KDE Mouse Themes

2013-01-27 Thread ajtiM
On Sunday 27 January 2013 07:26:59 Carmel wrote:
 I have KDE version 4.8.4 (4.8.4) installed on a FreeBSD-8.3 system. I
 have tried reading through the KDE documentation; however, I cannot
 find the setting on my system to change the mouse theme(s). According
 to the KDE documentation, the settings tab that should exist under
 settings does not. Is there some special package I have to install to
 get this ability? I cannot seem to find anything that specifically
 relates to this problem in the ports tree. I can do this so easily in
 an MS Windows environment, yet now I am just wasting time trying to do
 something that should be simple and intuitive.

Do you have:

System Settings - Input Devices - and there are Keyboard, Mouse and Remote 
control.

-- 
Mitja
--
http://www.redbubble.com/people/lumiwa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Erich Dollansky
Hi,

On Sun, 27 Jan 2013 13:58:06 +0100
Polytropon free...@edvax.de wrote:

 On Sun, 27 Jan 2013 15:38:38 +0700, Erich Dollansky wrote:
  Hi,
  
  On Sun, 27 Jan 2013 09:15:09 +0100
  Ralf Mardorf ralf.mard...@rocketmail.com wrote:
  
   Good morning,
  
  ood morning? The sun is settling soon!
 
 The sun of the planet of the ood?
 Or the former Sun of one of the microsystems? :-)
 
both Suns are gone now. Only one will return tomorrow morning.
 
 
   if I run 'make deinstall reinstall' for a port, it doesn't ask a
   single question, at least not for dbus.
   
   # ls -l /usr/local/bin/dbus-daemon
   -r-xr-xr-x  1 rocketmouse  wheel  377744 Jan 18 22:44  
   /usr/local/bin/dbus-daemon
   
   # cd /usr/ports/devel/dbus ; make deinstall reinstall
   
   # ls -l /usr/local/bin/dbus-daemon
   -r-xr-xr-x  1 root  wheel  377744 Jan 27
   08:55 /usr/local/bin/dbus-daemon
   
   Is there a command to deinstall and reinstall all ports or an idea
   for a script to do it?
   
  Check portupgrade or one of other utilities to handle ports. There
  is one option to force an upgrade even if it would be a downgrade.
 
 With tools like portmaster, this task can easily be automated.
 If you only will have to handle a few ports, using the bare
 ports method (make) is probably the easiest way (in case
 everything else stays definitely consistent).
 
I would say that - especially in his case - he will get a working
system as he does not want to upgrade a single port.
 
 
   Do I have to reboot into single user mode and then to run make  
   installworld only to reinstall world?
  
  No, you just run it as root. It should work afterword except for
  currently running programs.
 
 The comment header of /usr/src/Makefile suggests installing the
 world in single user mode (steps 5 - 11).
 
I think that installing it in multi-user mode without other users having
things running, will work in 99.% of the cases. In his special
case, it will work 100% as only the permissions should et changed.

 #  1.  `cd /usr/src'   (or to the directory containing your
 source tree). #  2.  `make buildworld'
 #  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is
 GENERIC). #  4.  `make installkernel
 KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC). #   [steps 3.
  4. can be combined by using the kernel target] #  5.
 `reboot'(in single user mode: boot -s from the loader
 prompt). #  6.  `mergemaster -p' #  7.  `make installworld'
 #  8.  `make delete-old'
 #  9.  `mergemaster'(you may wish to use -i, along with
 -U or -F). # 10.  `reboot'
 # 11.  `make delete-old-libs' (in case no 3rd party program uses them
 anymore)
 
 This should be the safest method.
 
 

Isn't it the overkill in his situation?

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


Re: KDE Mouse Themes

2013-01-27 Thread Carmel
On Sun, 27 Jan 2013 08:09:10 -0600
ajtiM articulated:

 Do you have:
 
 System Settings - Input Devices - and there are Keyboard, Mouse and
 Remote control.

Yes, and there is suppose to be a themes setting according to the KDE
documentation; however, there is none. I have checked under every item
setting in system settings for one.
-- 
Carmel ✌
carmel...@hotmail.com

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Locking USB Serial Device to Specific Com port

2013-01-27 Thread dweimer

On 2013-01-26 16:40, Shane Ambler wrote:

On 27/01/2013 08:15, dweimer wrote:

I would like to lock down the USB serial port adapter used on the 
UPS to
/dev/cuaU0, to make sure the UPS is always monitored and I will get 
a

clean shutdown in event of a power failure.

I believe that this requires setting a hint line of some sort in the
/boot/loader.conf file, but I am having trouble tracking down what 
this

should be, or maybe I am on the wrong track.  Here is the current
information from the adpapters, the UPS adapter was connected at 
boot,

is on /dev/cuaU0, the other one was plugged in after boot, and is on
/dev/cuaU1.


start with man devd.conf

You can add your own devd files in /usr/local/etc/devd/
Something along the lines of -

attach 200 {
device-name cuaU[0-9]+;
match vendor 0x067b;
match product 0x2303;
action sleep 2; cd /dev; ln -s ${device-name} upsmonitor;
};

use usbconfig to get info. I am thinking with the similarity of the 
two
you may need to rely on bus and hubaddr or devaddr to keep each 
device

identified by usb port location.


OK, so I was looking in the wrong direction, which might explain why my 
searching wasn't finding anything.


However I might still be out of luck, after doing some checking, and a 
reboot the only difference I can find is below.


dev.uplcom.0.%location: bus=1 hubaddr=1 port=0 devaddr=2 interface=0
dev.uplcom.1.%location: bus=1 hubaddr=3 port=0 devaddr=3 interface=0

The devices have switch at this point, all info from usbconfig, dmesg, 
looks identical, these two lines from the sysctl -a | grep uplcom 
output is all that changed, the hubaddr=1 and hubaddr=3 have switched, 
however the man devd.conf has a variable list, to use, and doesn't seem 
to have an option to match agains that hubaddr variable.


 Variable  Description
 bus   Device name of parent bus.
 cdev  Device node path if one is created by the devfs(5) 
filesys-

   tem.
 cisproductCIS-product.
 cisvendor CIS-vendor.
 class Device class.
 deviceDevice ID.
 devclass  Device Class (USB)
 devsubclass   Device Sub-class (USB)
 device-name   Name of attached/detached device.
 endpoints Endpoint count (USB)
 function  Card functions.
 interface Interface ID (USB)
 intclass  Interface Class (USB)
 intprotocol   Interface Protocol  (USB)
 intsubclass   Interface Sub-class (USB)
 manufacturer  Manufacturer ID (pccard).
 mode  Peripheral mode (USB)
 notifyMatch the value of the ``notify'' variable.
 parentParent device
 port  Hub port number (USB)
 product   Product ID (pccard/USB).
 release   Hardware revision (USB)
 sernumSerial Number (USB).
 slot  Card slot.
 subvendor Sub-vendor ID.
 subdevice Sub-device ID.
 subsystem Matches a subsystem of a system, see below.
 systemMatches a system type, see below.
 type  Type of notification, see below.
 vendorVendor ID.


But the action line above does give me an idea though, I should be able 
to write a script to run at startup to find the line, and create the 
link to the device.  The only one I care about is the UPS monitor, as 
the other is only occasionally used, and I can easily check which com 
port its on before connecting to it.


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Ralf Mardorf
On Sun, 27 Jan 2013 15:28:47 +0100, Erich Dollansky  
erichsfreebsdl...@alogt.com wrote:

I think that installing it in multi-user mode without other users having
things running, will work in 99.% of the cases. In his special
case, it will work 100% as only the permissions should et changed.


I think so, but I asked, because world might be a more serious issue, than  
Opera and Jack are.


Btw. I even run a complete port upgarde during a X session. I didn't  
launch apps or did hard work, but kept Opera open. Reading mails become  
impossible, but writing mails and using the browser was possible all the  
time.


Today I take a rest ;).

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


Re: Cronjob Cvsup - What?

2013-01-27 Thread MFV
Hello Matthew,

Thanks for an outstanding piece of documentation.  It resolves a number of 
concerns I had and convinced me to move from portsnap where I discovered an 
apparent bug  that gave me security concerns.  More specifically I manually 
edited /usr/ports/UPDATING and portsnap did not recognise the change and 
download a proper copy.

The only downside with svn seems to be the 728 MB footprint.

Cheers ...

Mark

On Sun, 27 Jan 2013 05:46:23 Matthew Seaman wrote:
 On 27/01/2013 08:35, Zyumbilev, Peter wrote:
  Last 10 years I am using cvsup. Any good guide for the transition to
  subversion  ?
 
 Most of the guides around freebsd.org are aimed at developers who will
 be using SVN read-write.  For simple read-only use (ie. not checking
 anything into the repository) the following should suffice:
 
   0) Install svn
 
  It isn't part of the base system, and it has too many external
  dependencies with different licensing terms for it to be bought
  in easily.  There's been some discussion about this, but it hasn't
  happened yet.  If it did, the imported version would be fairly
  minimal, and anyone wanting to use it for serious development
  would probably just grab the ports version anyhow.
 
  If all you want to do is pull down a copy of the sources then you
  can turn off most of the options to reduce the fairly large
  dependency tree to something more manageable:
 
  BDB=off: Berkeley Database
  BOOK=off: Install the Subversion Book
  ENHANCED_KEYWORD=on: Enhanced svn:keyword support
  FREEBSD_TEMPLATE=on: FreeBSD Project log template
  GNOME_KEYRING=off: Build with GNOME Keyring auth support
  KDE_KWALLET=off: Build with KDE KWallet auth support
  MAINTAINER_DEBUG=off: Build debug version
  MOD_DAV_SVN=off: mod_dav_svn module for Apache 2.X
  MOD_DONTDOTHAT=off: mod_dontdothat for Apache 2.X
  NEON=off: WebDAV/Delta-V repo access module (neon)
  P4_STYLE_MARKERS=off: Perforce-style conflict markers
  SASL=off: SASL support
  SERF=on: WebDAV/Delta-V repo access module (serf)
  STATIC=off: Build static version (no shared libs)
  SVNAUTHZ_VALIDATE=off: install svnauthz-validate
  SVNMUCC=off: Install Multiple URL Command Client
  SVNSERVE_WRAPPER=off: Enable svnserve wrapper
  TEST=off: Run subversion test suite
 
  There is the new devel/subversion-static port which does all that,
  and compiles subversion with static linkage so it has *no* runtime
  dependencies on anything else.  The disadvantage here is that if
  there is, say, a security hole discovered in the one of the
  libraries subversion links against, you won't secure the
  statically linked copy of subversion simply by updating to a fixed
  version of the shlib.  subversion-static is really only intended
  for providing a one-off binary package that people can download
  and install in order to bootstrap a more standard FreeBSD
  environment.
 
   1) Choose a SVN mirror close to you.  Currently there are two choices:
 
 svn0.us-west.FreeBSD.org  -- Western USA
 svn0.us-east.FreeBSD.org  -- Eastern USA
 
  Use whichever one gives you best performance.  Certainly from
  Europe at the moment us-east seems to be the best choice.
 
  The number of SVN mirrors and their global coverage should increase
  over time, but it will never need as many servers as the old cvsup
  network.
 
  The canonical list of SVN mirrors is here:
 
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/svn-mirrors.html
 
   2) Choose a protocol for access the SVN servers.  Your choices in
  order of preference are
 
  svn://
  https://
  http://
 
  Use svn:// for best performance.  If you're concerned about MITM
  attacks injecting trojans into the FreeBSD sources, then use
  https and be sure to verify the certificate hashes on first
  connection.  Otherwise, if you're stuck behind a restrictive
  firewall, use http://
 
   3) Choose which branch you want to mirror.  It's relatively easy to
  switch between branches and doesn't involve downloading the entire
  contents of /usr/src all over again if you change your mind.
  However right now, the viable choices are
 
 head --- Current, the bleeding edge, really only suitable
  for development purposes
 
 stable/9 --- 9-STABLE  Still a rapidly changing development
  branch, but not quite so close to the edge, and
  with less bleeding involved.
 
 stable/8 --- 8-STABLE  Ditto.
 
 releng/9.1 --- 9.1-RELEASE  This tracks any security patches to
  version 9.1.  However, in this case you would be
  better advised to use freebsd-update(8) to maintain
your /usr/src directory tree instead.
 
 Similarly 

Re: KDE Mouse Themes

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

Try System Settings - Workspace Appearance - Cursor Theme

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


Re: Cronjob Cvsup - What?

2013-01-27 Thread Steve O'Hara-Smith
On Sun, 27 Jan 2013 09:51:12 -0500
MFV mrk...@acm.org wrote:

 The only downside with svn seems to be the 728 MB footprint.

With hard disc space running at around 10c per gigabyte it's a
minor issue.

-- 
Steve O'Hara-Smith st...@sohara.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: Cronjob Cvsup - What?

2013-01-27 Thread Robert Huff

Steve O'Hara-Smith writes:

   The only downside with svn seems to be the 728 MB footprint.
  
   With hard disc space running at around 10c per gigabyte it's a
  minor issue.

Doesn't that depend on whose money it is?


Robert Huff

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


Re: Cronjob Cvsup - What?

2013-01-27 Thread Warren Block

On Sun, 27 Jan 2013, Matthew Seaman wrote:


 2) Choose a protocol for access the SVN servers.  Your choices in
order of preference are

svn://
https://
http://

Use svn:// for best performance.  If you're concerned about MITM
attacks injecting trojans into the FreeBSD sources, then use
https and be sure to verify the certificate hashes on first
connection.  Otherwise, if you're stuck behind a restrictive
firewall, use http://


HTTPS is preferred.  The SVN mirrors section of the Handbook will soon 
reflect that.


Performance should not be very different from svn://.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/usr/bin/ld: cannot find -liconv

2013-01-27 Thread Leonardo M . Ramé
Hi, I'm trying to compile FreePascal from sources, but it keeps complaining 
about cannot find -liconv:

When I do gmake all on fpc src directory, I get this:

Output of ldconfig -r|grep iconv:

19:-lkiconv.4 = /lib/libkiconv.so.4
112:-liconv.3 = /usr/local/lib/libiconv.so.3
433:-lbiconv.2 = /usr/local/lib/libbiconv.so.2
434:-lticonv.6 = /usr/local/lib/libticonv.so.6


Output of gmake all:

...
/usr/bin/ld: cannot find -liconv
fpdoc.pp(404,1) Error: Error while linking
fpdoc.pp(404,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
gmake[3]: *** [fpdoc] Error 1
gmake[3]: Leaving directory `/usr/home/martin/fpc/utils/fpdoc'
gmake[2]: *** [fpdoc_all] Error 2
gmake[2]: Leaving directory `/usr/home/martin/fpc/utils'
gmake[1]: *** [utils_all] Error 2
gmake[1]: Leaving directory `/usr/home/martin/fpc'
gmake: *** [build-stamp.x86_64-freebsd] Error 2


This is a FreeBsd 9.1 RELEASE x86-64 machine.

What I'm doing wrong?.
 
Leonardo M. Ramé
http://leonardorame.blogspot.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cronjob Cvsup - What?

2013-01-27 Thread RW
On Sun, 27 Jan 2013 09:51:12 -0500
MFV wrote:

 Hello Matthew,
 
 Thanks for an outstanding piece of documentation.  It resolves a
 number of concerns I had and convinced me to move from portsnap where
 I discovered an apparent bug  that gave me security concerns.  More
 specifically I manually edited /usr/ports/UPDATING and portsnap did
 not recognise the change and download a proper copy.

I don't see why that's a problem. The function of portsnap update is
to update files in the tree that have been updated, deleted or added
in the repository. Resynchronising the tree and it's metadata with the
snapshot is what portsnap extract is for.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Locking USB Serial Device to Specific Com port

2013-01-27 Thread Warren Block

On Sun, 27 Jan 2013, dweimer wrote:


On 2013-01-26 16:40, Shane Ambler wrote:

On 27/01/2013 08:15, dweimer wrote:


I would like to lock down the USB serial port adapter used on the UPS to
/dev/cuaU0, to make sure the UPS is always monitored and I will get a
clean shutdown in event of a power failure.

I believe that this requires setting a hint line of some sort in the
/boot/loader.conf file, but I am having trouble tracking down what this
should be, or maybe I am on the wrong track.  Here is the current
information from the adpapters, the UPS adapter was connected at boot,
is on /dev/cuaU0, the other one was plugged in after boot, and is on
/dev/cuaU1.


start with man devd.conf

You can add your own devd files in /usr/local/etc/devd/
Something along the lines of -

attach 200 {
device-name cuaU[0-9]+;
match vendor 0x067b;
match product 0x2303;
action sleep 2; cd /dev; ln -s ${device-name} upsmonitor;
};

use usbconfig to get info. I am thinking with the similarity of the two
you may need to rely on bus and hubaddr or devaddr to keep each device
identified by usb port location.


OK, so I was looking in the wrong direction, which might explain why my 
searching wasn't finding anything.


However I might still be out of luck, after doing some checking, and a reboot 
the only difference I can find is below.


dev.uplcom.0.%location: bus=1 hubaddr=1 port=0 devaddr=2 interface=0
dev.uplcom.1.%location: bus=1 hubaddr=3 port=0 devaddr=3 interface=0


usbconfig may be able to get the device serial number, although they 
may not be unique.  Jamming useful scripts inside an action can be complicated. 
It may be easier to just trigger an external script.

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


Re: /usr/bin/ld: cannot find -liconv

2013-01-27 Thread Leonardo M . Ramé
- Original Message -

 From: Leonardo M. Ramé martinr...@yahoo.com
 To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Cc: 
 Sent: Sunday, January 27, 2013 12:28 PM
 Subject: /usr/bin/ld: cannot find -liconv
 
 Hi, I'm trying to compile FreePascal from sources, but it keeps complaining 
 about cannot find -liconv:
 
 When I do gmake all on fpc src directory, I get this:
 
 Output of ldconfig -r|grep iconv:
 
 19:-lkiconv.4 = /lib/libkiconv.so.4
 112:-liconv.3 = /usr/local/lib/libiconv.so.3
 433:-lbiconv.2 = /usr/local/lib/libbiconv.so.2
 434:-lticonv.6 = /usr/local/lib/libticonv.so.6
 
 
 Output of gmake all:
 
 ...
 /usr/bin/ld: cannot find -liconv
 fpdoc.pp(404,1) Error: Error while linking
 fpdoc.pp(404,1) Fatal: There were 1 errors compiling module, stopping
 Fatal: Compilation aborted
 gmake[3]: *** [fpdoc] Error 1
 gmake[3]: Leaving directory `/usr/home/martin/fpc/utils/fpdoc'
 gmake[2]: *** [fpdoc_all] Error 2
 gmake[2]: Leaving directory `/usr/home/martin/fpc/utils'
 gmake[1]: *** [utils_all] Error 2
 gmake[1]: Leaving directory `/usr/home/martin/fpc'
 gmake: *** [build-stamp.x86_64-freebsd] Error 2
 
 
 This is a FreeBsd 9.1 RELEASE x86-64 machine.
 
 What I'm doing wrong?.
  


The solution was doing:

gmake all OPT=-Fl/usr/local/lib


 
Leonardo M. Ramé
http://leonardorame.blogspot.com

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


Re: Locking USB Serial Device to Specific Com port

2013-01-27 Thread dweimer

On 2013-01-27 08:48, dweimer wrote:

On 2013-01-26 16:40, Shane Ambler wrote:

On 27/01/2013 08:15, dweimer wrote:

I would like to lock down the USB serial port adapter used on the 
UPS to
/dev/cuaU0, to make sure the UPS is always monitored and I will get 
a

clean shutdown in event of a power failure.

I believe that this requires setting a hint line of some sort in 
the
/boot/loader.conf file, but I am having trouble tracking down what 
this

should be, or maybe I am on the wrong track.  Here is the current
information from the adpapters, the UPS adapter was connected at 
boot,
is on /dev/cuaU0, the other one was plugged in after boot, and is 
on

/dev/cuaU1.


start with man devd.conf

You can add your own devd files in /usr/local/etc/devd/
Something along the lines of -

attach 200 {
device-name cuaU[0-9]+;
match vendor 0x067b;
match product 0x2303;
action sleep 2; cd /dev; ln -s ${device-name} upsmonitor;
};

use usbconfig to get info. I am thinking with the similarity of the 
two
you may need to rely on bus and hubaddr or devaddr to keep each 
device

identified by usb port location.


OK, so I was looking in the wrong direction, which might explain why
my searching wasn't finding anything.

However I might still be out of luck, after doing some checking, and
a reboot the only difference I can find is below.

dev.uplcom.0.%location: bus=1 hubaddr=1 port=0 devaddr=2 interface=0
dev.uplcom.1.%location: bus=1 hubaddr=3 port=0 devaddr=3 interface=0

The devices have switch at this point, all info from usbconfig,
dmesg, looks identical, these two lines from the sysctl -a | grep
uplcom output is all that changed, the hubaddr=1 and hubaddr=3 have
switched, however the man devd.conf has a variable list, to use, and
doesn't seem to have an option to match agains that hubaddr variable.

 Variable  Description
 bus   Device name of parent bus.
 cdev  Device node path if one is created by the devfs(5) 
filesys-

   tem.
 cisproductCIS-product.
 cisvendor CIS-vendor.
 class Device class.
 deviceDevice ID.
 devclass  Device Class (USB)
 devsubclass   Device Sub-class (USB)
 device-name   Name of attached/detached device.
 endpoints Endpoint count (USB)
 function  Card functions.
 interface Interface ID (USB)
 intclass  Interface Class (USB)
 intprotocol   Interface Protocol  (USB)
 intsubclass   Interface Sub-class (USB)
 manufacturer  Manufacturer ID (pccard).
 mode  Peripheral mode (USB)
 notifyMatch the value of the ``notify'' variable.
 parentParent device
 port  Hub port number (USB)
 product   Product ID (pccard/USB).
 release   Hardware revision (USB)
 sernumSerial Number (USB).
 slot  Card slot.
 subvendor Sub-vendor ID.
 subdevice Sub-device ID.
 subsystem Matches a subsystem of a system, see below.
 systemMatches a system type, see below.
 type  Type of notification, see below.
 vendorVendor ID.


But the action line above does give me an idea though, I should be
able to write a script to run at startup to find the line, and create
the link to the device.  The only one I care about is the UPS 
monitor,

as the other is only occasionally used, and I can easily check which
com port its on before connecting to it.


This probably wouldn't work for anyone else, but here is my solution in 
case it does help someone else.


Created a new script in /usr/local/etc/rc.d/nutusblink
#!/bin/sh

# PROVIDE: NUTUSBLINK
# REQUIRE: NETWORKING
# BEFORE: nut
# KEYWORD: shutdown

. /etc/rc.subr

name=nutusblink
start_cmd=nutusblink_start
stop_cmd=nutusblink_stop
rcvar=nutusblink_enable


find_comport() {
  grepstring='uplcom.*hubaddr='${nutusblink_hubaddr}
  comnum=`sysctl -a | grep ${grepstring} | awk '{print $1}' | awk -F . 
'{print $3}'`

}

nutusblink_start() {
  find_comport
  echo 
  echo ...Creating USB Serial Adapter Comport Link for NUT UPS 
Monitoring...

  ln -s /dev/cuaU${comnum} /dev/${nutusblink_link}
  echo/dev/${nutusblink_link} Linked to /dev/cuaU${comnum}
  echo 
}

nutusblink_stop() {
  find_comport
  echo 
  echo ...Removing USB Serial Adapter Comport Link for NUT UPS 
Monitoring...

  rm /dev/${nutusblink_link}
  echo/dev/${nutusblink_link} No longer linked to 
/dev/cuaU${comnum}

  echo 
}

load_rc_config $name

: ${nutusblink_enable=NO}
: ${nutusblink_hubaddr=}
: ${nutusblink_link=}

run_rc_command $1


Added these lines to /etc/rc.conf
# Create NUT USB Link
nutusblink_enable=YES
nutusblink_hubaddr=3
nutusblink_link=nutusblink

End Result,
I now have a link /dev/nutusblink pointed at /dev/cuaU#, where # is the 
correct port number.  I have tested on a couple of reboots, and 
configured NUT to use the link instead of the actual com port.  Using 
the BEFORE: nut in the script ensures that it gets ran 

who am i logged in as

2013-01-27 Thread Fbsd8

I know there is a command that will give me the name
of the account I am logged in on.

But I can not recall the name of this command.

What is the name of this command?

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


Re: who am i logged in as

2013-01-27 Thread Ralf Mardorf

On Sun, 27 Jan 2013 17:01:46 +0100, Fbsd8 fb...@a1poweruser.com wrote:


I know there is a command that will give me the name
of the account I am logged in on.

But I can not recall the name of this command.

What is the name of this command?


As user run

$ id
uid=1000(rocketmouse) gid=1000(rocketmouse)  
groups=1000(rocketmouse),0(wheel)

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


Re: who am i logged in as

2013-01-27 Thread Joe Altman
On Sun, Jan 27, 2013 at 11:01:46AM -0500, Fbsd8 wrote:

 I know there is a command that will give me the name
 of the account I am logged in on.
 
 But I can not recall the name of this command.
 
 What is the name of this command?

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


Re: Locking USB Serial Device to Specific Com port

2013-01-27 Thread dweimer

On 2013-01-27 09:29, Warren Block wrote:

On Sun, 27 Jan 2013, dweimer wrote:


On 2013-01-26 16:40, Shane Ambler wrote:

On 27/01/2013 08:15, dweimer wrote:

I would like to lock down the USB serial port adapter used on the 
UPS to
/dev/cuaU0, to make sure the UPS is always monitored and I will 
get a

clean shutdown in event of a power failure.
I believe that this requires setting a hint line of some sort in 
the
/boot/loader.conf file, but I am having trouble tracking down what 
this

should be, or maybe I am on the wrong track.  Here is the current
information from the adpapters, the UPS adapter was connected at 
boot,
is on /dev/cuaU0, the other one was plugged in after boot, and is 
on

/dev/cuaU1.

start with man devd.conf
You can add your own devd files in /usr/local/etc/devd/
Something along the lines of -
attach 200 {
device-name cuaU[0-9]+;
match vendor 0x067b;
match product 0x2303;
action sleep 2; cd /dev; ln -s ${device-name} upsmonitor;
};
use usbconfig to get info. I am thinking with the similarity of the 
two
you may need to rely on bus and hubaddr or devaddr to keep each 
device

identified by usb port location.


OK, so I was looking in the wrong direction, which might explain why 
my searching wasn't finding anything.


However I might still be out of luck, after doing some checking, and 
a reboot the only difference I can find is below.


dev.uplcom.0.%location: bus=1 hubaddr=1 port=0 devaddr=2 interface=0
dev.uplcom.1.%location: bus=1 hubaddr=3 port=0 devaddr=3 interface=0


usbconfig may be able to get the device serial number, although they
may not be unique.  Jamming useful scripts inside an action can be
complicated. It may be easier to just trigger an external script.


That's just it, can't get usbconfig to give me anything different 
between the two, they don't appear to have a serial number set on them.


# usbconfig -d ugen0.2 dump_device_desc
ugen0.2: USB-Serial Controller Prolific Technology Inc. at usbus0, 
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON


  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0040
  idVendor = 0x067b
  idProduct = 0x2303
  bcdDevice = 0x0300
  iManufacturer = 0x0001  Prolific Technology Inc.
  iProduct = 0x0002  USB-Serial Controller
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001

# usbconfig -d ugen0.3 dump_device_desc
ugen0.3: USB-Serial Controller Prolific Technology Inc. at usbus0, 
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON


  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0040
  idVendor = 0x067b
  idProduct = 0x2303
  bcdDevice = 0x0300
  iManufacturer = 0x0001  Prolific Technology Inc.
  iProduct = 0x0002  USB-Serial Controller
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: who am i logged in as

2013-01-27 Thread Chris Hill

On Sun, 27 Jan 2013, Fbsd8 wrote:


I know there is a command that will give me the name
of the account I am logged in on.

But I can not recall the name of this command.

What is the name of this command?


whoami



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



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: who am i logged in as

2013-01-27 Thread Rajarajan Rajamani
On Jan 27, 2013 11:19 AM, Chris Hill ch...@monochrome.org wrote:

 On Sun, 27 Jan 2013, Fbsd8 wrote:

 I know there is a command that will give me the name
 of the account I am logged in on.

 But I can not recall the name of this command.

 What is the name of this command?


 whoami



 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


 --
 Chris Hill   ch...@monochrome.org
 ** [ Busy Expunging / ]

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

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


Re: who am i logged in as

2013-01-27 Thread cpet
 I know there is a command that will give me the name
 of the account I am logged in on.

 But I can not recall the name of this command.

 What is the name of this command?

 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

name@hactar:/home/name % who
namepts/0Jan 27 16:31 (xxx.xxx.xxx.xxx)
name@hactar:/home/name % whoami
name
name@hactar:/home/name %

also id

man who
man whoami
man id

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


http://localhost/phpmyadmin

2013-01-27 Thread Rasel Ahmed
Please help me what the applied host in website ?

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


Re: who am i logged in as

2013-01-27 Thread ill...@gmail.com
On 27 January 2013 11:31,  c...@sdf.org wrote:
 I know there is a command that will give me the name
 of the account I am logged in on.

 But I can not recall the name of this command.

 What is the name of this command?

 Thanks

 name@hactar:/home/name % who
 namepts/0Jan 27 16:31 (xxx.xxx.xxx.xxx)
 name@hactar:/home/name % whoami
 name
 name@hactar:/home/name %

 also id

 man who
 man whoami
 man id


~ ls -li `which whoami id`
1201423 -r-xr-xr-x  3 root  wheel  12008 Nov 30 20:26 /usr/bin/id
1201423 -r-xr-xr-x  3 root  wheel  12008 Nov 30 20:26 /usr/bin/whoami

-- 
--
___
freebsd-questions@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-ish] Need a Binary for lang/sml-nj

2013-01-27 Thread Joseph A. Nagy, Jr

On 01/27/13 05:20, Jimmy Olgeni wrote:


On Sat, 26 Jan 2013, Joseph A. Nagy, Jr wrote:


Failed to install the following 1 package(s):
ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz



My fault - I didn't immediately connect pkg repo to pkgng :)

I fired up a 9.1 VM and built an i386 package which should work better.

   http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz



My bad for assuming people were switching over to pkgng en masse. (:

At this point I'm not sure what the problem is, though I do appreciate 
the help.


root@alex-laptop:/root # pkg add 
http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz
smlnj-110.0.7_3.txz 100% 2586KB 287.3KB/s 285.9KB/s 
00:09
Installing smlnj-110.0.7_3...pkg: wrong architecture: freebsd:9:x86:32 
instead of freebsd:9:x86:64


Failed to install the following 1 package(s): 
http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz


I'm about ready to give up and unenroll in the free course I signed up 
for. Unless someone else has a suggestion, I don't know what to do at 
this point.


--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.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: [OT-ish] Need a Binary for lang/sml-nj

2013-01-27 Thread Jimmy Olgeni


On Sun, 27 Jan 2013, Joseph A. Nagy, Jr wrote:

root@alex-laptop:/root # pkg add 
http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz

smlnj-110.0.7_3.txz 100% 2586KB 287.3KB/s 285.9KB/s 00:09
Installing smlnj-110.0.7_3...pkg: wrong architecture: freebsd:9:x86:32 
instead of freebsd:9:x86:64


pkg is right - I built the package on i386 and it refuses to install 
it on amd64 :|


I'm about ready to give up and unenroll in the free course I signed up for. 
Unless someone else has a suggestion, I don't know what to do at this point.


Would using sml in a jail or virtualbox vm work for you?

--
jimmy
___
freebsd-questions@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-ish] Need a Binary for lang/sml-nj

2013-01-27 Thread Polytropon
On Sun, 27 Jan 2013 16:40:51 -0600, Joseph A. Nagy, Jr wrote:
 At this point I'm not sure what the problem is, though I do appreciate 
 the help.
 
 root@alex-laptop:/root # pkg add 
 http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz
 smlnj-110.0.7_3.txz 100% 2586KB 287.3KB/s 285.9KB/s 
 00:09
 Installing smlnj-110.0.7_3...pkg: wrong architecture: freebsd:9:x86:32 
 instead of freebsd:9:x86:64
 
 Failed to install the following 1 package(s): 
 http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz

Did you have any success using the old-fashioned pkg_add method
with the -f option, and using the FreeBSD 9-STABLE precompiled
package (should work for 9.1-RELEASE too)?

# pkg_add -f 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/smlnj.tbz

Again, check /usr/ports/lang/sml-nj/Makefile for runtime dependencies
you might need to add, and in worst case use libmap (the library mapper)
to make them work for this program.

Also see /usr/ports/lang/sml-nj/pkg-descr if you can use a different
ML interpreter as suggested in the description. ;-)





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


Re: [OT-ish] Need a Binary for lang/sml-nj

2013-01-27 Thread Joseph A. Nagy, Jr

On 01/27/13 16:44, Jimmy Olgeni wrote:


On Sun, 27 Jan 2013, Joseph A. Nagy, Jr wrote:


root@alex-laptop:/root # pkg add
http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz
smlnj-110.0.7_3.txz 100% 2586KB 287.3KB/s 285.9KB/s 00:09
Installing smlnj-110.0.7_3...pkg: wrong architecture: freebsd:9:x86:32
instead of freebsd:9:x86:64


pkg is right - I built the package on i386 and it refuses to install it
on amd64 :|


I'm about ready to give up and unenroll in the free course I signed up
for. Unless someone else has a suggestion, I don't know what to do at
this point.


Would using sml in a jail or virtualbox vm work for you?



Possibly, I have the space (~18GB free on my /home partition, even more 
free on /). It's just a matter of me taking the time to work on setting 
either one up and I seem to be a perpetual corner case when it comes 
to software issues. Either way I have the package locally now (in 
distfiles, I assume) so it's just a matter of doing what's needed to get 
it working.


--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.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: [OT-ish] Need a Binary for lang/sml-nj

2013-01-27 Thread Joseph A. Nagy, Jr

On 01/27/13 16:49, Polytropon wrote:

On Sun, 27 Jan 2013 16:40:51 -0600, Joseph A. Nagy, Jr wrote:

At this point I'm not sure what the problem is, though I do appreciate
the help.

root@alex-laptop:/root # pkg add
http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz
smlnj-110.0.7_3.txz 100% 2586KB 287.3KB/s 285.9KB/s
00:09
Installing smlnj-110.0.7_3...pkg: wrong architecture: freebsd:9:x86:32
instead of freebsd:9:x86:64

Failed to install the following 1 package(s):
http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz


Did you have any success using the old-fashioned pkg_add method
with the -f option, and using the FreeBSD 9-STABLE precompiled
package (should work for 9.1-RELEASE too)?

snip

No, because I have pkgng since I installed 9.1 release (first update I 
did) back in December when the 9.1 image was available on the ftp 
server. pkg_add is no longer a valid command.


--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.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: [OT-ish] Need a Binary for lang/sml-nj

2013-01-27 Thread Polytropon
On Sun, 27 Jan 2013 16:53:05 -0600, Joseph A. Nagy, Jr wrote:
 On 01/27/13 16:49, Polytropon wrote:
  Did you have any success using the old-fashioned pkg_add method
  with the -f option, and using the FreeBSD 9-STABLE precompiled
  package (should work for 9.1-RELEASE too)?
 snip
 
 No, because I have pkgng since I installed 9.1 release (first update I 
 did) back in December when the 9.1 image was available on the ftp 
 server. pkg_add is no longer a valid command.

Okay, I didn't know that, as I'm still on an older system
here, so I've not advanced enough to use the new pkg command
on a daily basis. :-)

I assume getting the sources for pkg_add from a 9.0 system
and building it, then using it to forcedly install the
available package is going to break something...

However, does any other available (S)ML implementation (nml,
polyml, moscow_ml) fit your needs?




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


Re: [OT-ish] Need a Binary for lang/sml-nj

2013-01-27 Thread Joseph A. Nagy, Jr

On 01/27/13 16:59, Polytropon wrote:

On Sun, 27 Jan 2013 16:53:05 -0600, Joseph A. Nagy, Jr wrote:

On 01/27/13 16:49, Polytropon wrote:

Did you have any success using the old-fashioned pkg_add method
with the -f option, and using the FreeBSD 9-STABLE precompiled
package (should work for 9.1-RELEASE too)?

snip

No, because I have pkgng since I installed 9.1 release (first update I
did) back in December when the 9.1 image was available on the ftp
server. pkg_add is no longer a valid command.


Okay, I didn't know that, as I'm still on an older system
here, so I've not advanced enough to use the new pkg command
on a daily basis. :-)

I assume getting the sources for pkg_add from a 9.0 system
and building it, then using it to forcedly install the
available package is going to break something...


Probably.


However, does any other available (S)ML implementation (nml,
polyml, moscow_ml) fit your needs?






I don't know. The course I signed up for (should have read and 
researched the requirements, I never though i386-only would be one for a 
compiler) seems to require SML/NJ. I could ask the professor, though, 
and will.


--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.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: [OT-ish] Need a Binary for lang/sml-nj

2013-01-27 Thread Joseph A. Nagy, Jr

On 01/27/13 17:37, Jimmy Olgeni wrote:


On Sun, 27 Jan 2013, Joseph A. Nagy, Jr wrote:


Possibly, I have the space (~18GB free on my /home partition, even
more free on /). It's just a matter of me taking the time to work on
setting either one up and I seem to be a perpetual corner case when
it comes to software issues. Either way I have the package locally now
(in distfiles, I assume) so it's just a matter of doing what's needed
to get it working.


You may try this ugly emergency fix and see if SML starts at least in a
temporary jail.

snip

Thanks, I'll get to work on it and let you know the results. (:

--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.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


ZFS - whole disk or partition or BSD slice?

2013-01-27 Thread james

I have a 9.1 system with some SATA disks in RAIDZ, upgraded from 9.0.

The disks are all the same type, and I formatted them for FreeBSD and 
put ZFS in a slice covering most of them.


I have seen suggestions for OpenIndiana etc that it is better to let ZFS 
have the whole raw disk and that this can control the way it manages the 
disk writeback mode.


Does this apply to FreeBSD and ZFS too?

Presumably the disks are currently FreeBSD-specific.  If I used raw 
disks instead of slices, could I read them from a Solaris system too?

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


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Ralf Mardorf
On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote:
 #  1.  `cd /usr/src'   (or to the directory containing your source tree).
 #  2.  `make buildworld'
 #  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
 #  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
 #   [steps 3.  4. can be combined by using the kernel target]
 #  5.  `reboot'(in single user mode: boot -s from the loader prompt).
 #  6.  `mergemaster -p'
 #  7.  `make installworld'
 #  8.  `make delete-old'
 #  9.  `mergemaster'(you may wish to use -i, along with -U or -F).
 # 10.  `reboot'
 # 11.  `make delete-old-libs' (in case no 3rd party program uses them anymore)


What source tree? I only checked out the kernel source using svn and
IIRC it's using the /usr/src directory (I'm booted into Linux at the
moment), without a subdirectory /kernel. I can delete the kernel source,
since it's IMO fishy to have headers of another revision, than the
kernel is, but when I asked, I got a reply, that it should be ok for
FreeBSD. However, I never used the kernel source.

When I updated I did it like that (without subversion or cvs):

# cd /usr/ports/misc/mc  make install clean
# uname -r
8.3-RELEASE
# freebsd-update -r 9.1-RELEASE upgrade
# freebsd-update install
# shutdown -r now

# freebsd-update install
# cd /usr/ports/ports-mgmt/portupgrade  make install clean
# /usr/local/sbin/portupgrade -f ruby
# rm /var/db/pkg/pkgdb.db
# /usr/local/sbin/portupgrade -f ruby18-bdb
# rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
# /usr/local/sbin/portupgrade -af
# freebsd-update install
# shutdown -r now

# freebsd-update IDS  outfile.ids

I wanted to run it tonight, but since I don't know where my source tree
is, I can't continue.

Regards,
Ralf

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


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Polytropon
On Mon, 28 Jan 2013 01:36:36 +0100, Ralf Mardorf wrote:
 On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote:
  #  1.  `cd /usr/src'   (or to the directory containing your source 
  tree).
  #  2.  `make buildworld'
  #  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is 
  GENERIC).
  #  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is 
  GENERIC).
  #   [steps 3.  4. can be combined by using the kernel target]
  #  5.  `reboot'(in single user mode: boot -s from the loader 
  prompt).
  #  6.  `mergemaster -p'
  #  7.  `make installworld'
  #  8.  `make delete-old'
  #  9.  `mergemaster'(you may wish to use -i, along with -U or 
  -F).
  # 10.  `reboot'
  # 11.  `make delete-old-libs' (in case no 3rd party program uses them 
  anymore)
 
 
 What source tree? I only checked out the kernel source using svn and
 IIRC it's using the /usr/src directory (I'm booted into Linux at the
 moment), without a subdirectory /kernel. I can delete the kernel source,
 since it's IMO fishy to have headers of another revision, than the
 kernel is, but when I asked, I got a reply, that it should be ok for
 FreeBSD. However, I never used the kernel source.

The content of /usr/src does not only contain the kernel. It's
the whole OS, except of course you have only installed selected
parts of this tree. The file I've mentioned is at the top of
this structure: /usr/src/Makefile contains a short instruction
of how to install kernel and world (and explains other possible
targets).



 When I updated I did it like that (without subversion or cvs):
 
 # cd /usr/ports/misc/mc  make install clean
 # uname -r
 8.3-RELEASE
 # freebsd-update -r 9.1-RELEASE upgrade
 # freebsd-update install
 # shutdown -r now
 
 # freebsd-update install
 # cd /usr/ports/ports-mgmt/portupgrade  make install clean
 # /usr/local/sbin/portupgrade -f ruby
 # rm /var/db/pkg/pkgdb.db
 # /usr/local/sbin/portupgrade -f ruby18-bdb
 # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
 # /usr/local/sbin/portupgrade -af
 # freebsd-update install
 # shutdown -r now
 
 # freebsd-update IDS  outfile.ids
 
 I wanted to run it tonight, but since I don't know where my source tree
 is, I can't continue.

That's the binary way of updating. If you'd update from source,
the steps would usually involve first updating /usr/src (by
whatever means, CVS no more, SVN or as part of a binary update
that also keeps the OS sources current). To take this approach,
the sources have to be complete. You can follow a -STABLE and
even -CURRENT (-HEAD) branch if you like.

My suggestion would have been: If you have already used this
method before, and maybe if your current system has been installed
that way, you can do it again; if /usr/obj (the result tree
for building world and kernel) is still present, only the
make installworld steps would have been involved; even better,
if you only have to deal with a few system components, a selective
make install would have been sufficient.

However, it has already been suggested to utilize mtree, because
a real re-installation isn't actually needed (as no files have
been changed, only their permissions, and that can be checked
and corrected using the /etc/mtree reference files).




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


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Ralf Mardorf
PS:
On Mon, 2013-01-28 at 01:36 +0100, Ralf Mardorf wrote:
 # cd /usr/ports/misc/mc  make install clean
 # uname -r
 8.3-RELEASE
 # freebsd-update -r 9.1-RELEASE upgrade
 # freebsd-update install
 # shutdown -r now
 
 # freebsd-update install
 # cd /usr/ports/ports-mgmt/portupgrade  make install clean
 # /usr/local/sbin/portupgrade -f ruby
 # rm /var/db/pkg/pkgdb.db
 # /usr/local/sbin/portupgrade -f ruby18-bdb
 # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
 # /usr/local/sbin/portupgrade -af
 # freebsd-update install
 # shutdown -r now
 
 # freebsd-update IDS  outfile.ids

And I didn't, still don't understand how to set the BATCH-variable to
yes, so it didn't run automatically.
# setenv BASH yes
Is this correct?

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


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Ralf Mardorf
On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote:
 On Sun, 27 Jan 2013 15:38:38 +0700, Erich Dollansky wrote:
  Hi,
  
  On Sun, 27 Jan 2013 09:15:09 +0100
  Ralf Mardorf ralf.mard...@rocketmail.com wrote:
   Is there a command to deinstall and reinstall all ports or an idea
   for a script to do it?
   
  Check portupgrade or one of other utilities to handle ports. There is
  one option to force an upgrade even if it would be a downgrade.
 
 With tools like portmaster, this task can easily be automated.
 If you only will have to handle a few ports, using the bare
 ports method (make) is probably the easiest way (in case
 everything else stays definitely consistent).

*?*

This is how I updated my ports, after I updated FreeBSD:

root@freebsd:/root # portmaster --list-origins  ~/installed-port-list
root@freebsd:/root # portsnap fetch update
root@freebsd:/root # portmaster -ty --clean-distfiles
root@freebsd:/root # portmaster --check-port-dbdir

delete? always y

root@freebsd:/root # portmaster -Faf
root@freebsd:/root # pkg_delete -a
root@freebsd:/root # rm -rf /usr/local/lib/compat/pkg

No backup of files in /usr/local, such as configuration files in  
/usr/local/etc needed.

root@freebsd:/root # ls -hAl /usr/local/bin
total 0
root@freebsd:/root # ls -hAl /usr/local/sbin
total 0
root@freebsd:/root # ls -hAl /usr/local/lib
total 12
drwxr-xr-x  4 root  wheel   512B Jan 18 16:17 X11
-r--r--r--  1 root  wheel   2.2k Jan 14 19:30 charset.alias
drwxr-xr-x  2 root  wheel   3.0k Jan 18 16:19 compat
drwxr-xr-x  2 root  wheel   1.0k Jan 18 16:10 dssi
root@freebsd:/root # ls -hAl /usr/local/lib/dssi
total 0
root@freebsd:/root # ls -hAl /usr/local/lib/compat
total 0
root@freebsd:/root # ls -hAl /usr/local/lib/X11
total 4
drwxr-xr-x  2 root  wheel   512B Jan 18 16:14 app-defaults
drwxr-xr-x  4 root  wheel   512B Jan 18 16:14 fonts
root@freebsd:/root # ls -hAl /var/db/pkg
total 9424
-rw-r--r--  1 root  wheel   9.2M Dec 23 22:42 pkgdb.db

root@freebsd:/root # cd /usr/ports/ports-mgmt/portmaster  make
deinstall  
install clean
root@freebsd:/usr/ports/ports-mgmt/portmaster # portmaster `cat  
~/installed-port-list`

I still had to manually answer yes a million times, when I was asked if
something should be deleted or not.

I stopped by Ctrl + C, add --no-confirm to the command and run it again.

I guess I need to add

--force-config -G -y -no-confirm
?


Compiling  400, from  800 packages needed  2 day.
How do I reinstall all ports [1]? Is recompiling everything needed?
Isn't it possible to reinstall everything? Isn't there a cache with all
the binaries? Resp. the binaries are already installed ;) and could be
copied to a cache, tmp.

[1]
*?*
http://howtounix.info/man/FreeBSD/man8/portmaster.8
*?*

Regards,
Ralf

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


Re: ZFS - whole disk or partition or BSD slice?

2013-01-27 Thread Shane Ambler

On 28/01/2013 10:27, james wrote:

I have a 9.1 system with some SATA disks in RAIDZ, upgraded from 9.0.

The disks are all the same type, and I formatted them for FreeBSD and
put ZFS in a slice covering most of them.

I have seen suggestions for OpenIndiana etc that it is better to let ZFS
have the whole raw disk and that this can control the way it manages the
disk writeback mode.

Does this apply to FreeBSD and ZFS too?

Presumably the disks are currently FreeBSD-specific.  If I used raw
disks instead of slices, could I read them from a Solaris system too?


I recall reading that using partitions for zfs on FreeBSD was as good as 
full disks. For a boot zpool we need to at least have a partition for 
the boot-code and one for zfs preventing the use of a full disk.


ZFS is meant to be compatible between different endian systems (x86 and 
sparc) From what I have read and heard it sounds like zpools are 
expected be compatible between different OS's as well - as far as zpool 
versions are compatible - but I do expect it would depend on the 
partition tables being readable - while full disk usage should work I 
would also think GPT is compatible. OSX 10.5 (x86 and ppc) included a 
read-only zfs kext (before Apple canned the project) so it must have 
been able to read Solaris or FreeBSD created zpools which does indicate 
a fairly high level of compatibility.


I believe the way ZFS marks disks/partitions with the zpool data is so 
that the zpools can be recognised between systems and controllers - it 
would be interesting to know if and under what conditions a zpool can be 
accessed, both between different FreeBSD machines as well as the 
possibility of reading on a Solaris/Indiana machine. Anyone have the 
resources to test?


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


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Ralf Mardorf
On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote:
  If you only will have to handle a few ports, using the bare
  ports method (make) is probably the easiest way (in case
  everything else stays definitely consistent).

What could become inconsistent without upgrading or downgrading? I
didn't update again, I e.g. kept the Chromium version with the security
risk, since, as you explained, there's no way to really control
dependency issues, when installing security updates.

If there should be a valid method I understand, to find out what ports
have wrong permissions, it would be nice, but I don't understand what to
do, the output I already have is hardly comprehensible and
understandable.

:)

Regards,
Ralf

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


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Ralf Mardorf
On Mon, 2013-01-28 at 01:46 +0100, Polytropon wrote:
 On Mon, 28 Jan 2013 01:36:36 +0100, Ralf Mardorf wrote:
  On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote:
   #  1.  `cd /usr/src'   (or to the directory containing your source 
   tree).
   #  2.  `make buildworld'
   #  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is 
   GENERIC).
   #  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is 
   GENERIC).
   #   [steps 3.  4. can be combined by using the kernel target]
   #  5.  `reboot'(in single user mode: boot -s from the loader 
   prompt).
   #  6.  `mergemaster -p'
   #  7.  `make installworld'
   #  8.  `make delete-old'
   #  9.  `mergemaster'(you may wish to use -i, along with -U or 
   -F).
   # 10.  `reboot'
   # 11.  `make delete-old-libs' (in case no 3rd party program uses them 
   anymore)
  
  
  What source tree? I only checked out the kernel source using svn and
  IIRC it's using the /usr/src directory (I'm booted into Linux at the
  moment), without a subdirectory /kernel. I can delete the kernel source,
  since it's IMO fishy to have headers of another revision, than the
  kernel is, but when I asked, I got a reply, that it should be ok for
  FreeBSD. However, I never used the kernel source.
 
 The content of /usr/src does not only contain the kernel. It's
 the whole OS, except of course you have only installed selected
 parts of this tree. The file I've mentioned is at the top of
 this structure: /usr/src/Makefile contains a short instruction
 of how to install kernel and world (and explains other possible
 targets).

Before I checked out the kernel source it was empty.

  When I updated I did it like that (without subversion or cvs):
  
  # cd /usr/ports/misc/mc  make install clean
  # uname -r
  8.3-RELEASE
  # freebsd-update -r 9.1-RELEASE upgrade
  # freebsd-update install
  # shutdown -r now
  
  # freebsd-update install
  # cd /usr/ports/ports-mgmt/portupgrade  make install clean
  # /usr/local/sbin/portupgrade -f ruby
  # rm /var/db/pkg/pkgdb.db
  # /usr/local/sbin/portupgrade -f ruby18-bdb
  # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
  # /usr/local/sbin/portupgrade -af
  # freebsd-update install
  # shutdown -r now
  
  # freebsd-update IDS  outfile.ids
  
  I wanted to run it tonight, but since I don't know where my source tree
  is, I can't continue.
 
 That's the binary way of updating.

The kernel definitively was compiled.

  If you'd update from source,
 the steps would usually involve first updating /usr/src (by
 whatever means, CVS no more, SVN or as part of a binary update
 that also keeps the OS sources current). To take this approach,
 the sources have to be complete. You can follow a -STABLE and
 even -CURRENT (-HEAD) branch if you like.
 
 My suggestion would have been: If you have already used this
 method before, and maybe if your current system has been installed
 that way, you can do it again; if /usr/obj (the result tree
 for building world and kernel) is still present, only the
 make installworld steps would have been involved; even better,
 if you only have to deal with a few system components, a selective
 make install would have been sufficient.
 
 However, it has already been suggested to utilize mtree, because
 a real re-installation isn't actually needed (as no files have
 been changed, only their permissions, and that can be checked
 and corrected using the /etc/mtree reference files).

# umount Linux
# mtree -U -f /etc/mtree

?

Regards,
Ralf


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


Re: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Ralf Mardorf
On Fri, 2013-01-25 at 19:24 -0500, kpn...@pobox.com wrote:
 You can use mtree against the spec files in /etc/mtree/ to check for and
 fix incorrect permissions and owners on base system files. It won't help
 with /usr/local, but at least you can get the base straight.
 
 As root, from the root directory, something like this:
 mtree -U -f /etc/mtree/BSD.root.dist
 
 There are other spec files in that directory. Poke around. 

So mtree can't fix /usr/local and poking around without knowledge is
asking for trouble :(.

/etc/mtree/BSD.root.dist is for the whole base?

___
freebsd-questions@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-ish] Need a Binary for lang/sml-nj

2013-01-27 Thread Joseph A. Nagy, Jr

On 01/27/13 17:37, Jimmy Olgeni wrote:


On Sun, 27 Jan 2013, Joseph A. Nagy, Jr wrote:


Possibly, I have the space (~18GB free on my /home partition, even
more free on /). It's just a matter of me taking the time to work on
setting either one up and I seem to be a perpetual corner case when
it comes to software issues. Either way I have the package locally now
(in distfiles, I assume) so it's just a matter of doing what's needed
to get it working.


You may try this ugly emergency fix and see if SML starts at least in a
temporary jail.

In your home, or wherever you have some space available... (400MB should
be fine)

snip

It's alive! Thanks. :D

--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.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: Sharing a mail folder between Linux and FreeBSD

2013-01-27 Thread Erich Dollansky
Hi,

On Mon, 28 Jan 2013 01:36:36 +0100
Ralf Mardorf ralf.mard...@rocketmail.com wrote:

 On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote:
  #  1.  `cd /usr/src'   (or to the directory containing your
  source tree). #  2.  `make buildworld'
  #  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is
  GENERIC). #  4.  `make installkernel
  KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC). #   [steps
  3.  4. can be combined by using the kernel target] #  5.
  `reboot'(in single user mode: boot -s from the loader
  prompt). #  6.  `mergemaster -p' #  7.  `make installworld'
  #  8.  `make delete-old'
  #  9.  `mergemaster'(you may wish to use -i, along with
  -U or -F). # 10.  `reboot'
  # 11.  `make delete-old-libs' (in case no 3rd party program uses
  them anymore)
 
 
 What source tree? I only checked out the kernel source using svn and

yeah, what source tree? It seems that you do not have one.

 # freebsd-update -r 9.1-RELEASE upgrade

This is very much a binary upgrade. You might have a source tree for
8.3 which is not very helpful now.

I do not know if this program is able to fix your problem.

 I wanted to run it tonight, but since I don't know where my source
 tree is, I can't continue.

I think that you simply do not have one. At least not a current one.
Read the handbook how you can get the source tree and then download and
compile it.

I believe that all other options will end in a re-installation.

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


NcFTPd on 9.1 64-bit

2013-01-27 Thread Jim Pazarena

I have found that on the two machines which I installed 9.1 on, NcFTPd
fails system logins for non-root attempts with Password wrong for user 
 from 192.168.1.51


These are logins which previously on 9.0 worked as expected, and now 
fail on 9.1.


Has anyone else experienced this? Any suggestions? Thanks!
--
Jim Pazarena fqu...@paz.bz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS - whole disk or partition or BSD slice?

2013-01-27 Thread Michael Sierchio
On Sun, Jan 27, 2013 at 5:36 PM, Shane Ambler free...@shaneware.biz wrote:

 I recall reading that using partitions for zfs on FreeBSD was as good as
 full disks.

No, it isn't - ZFS can fully utilize disk caches when presented with
whole devices. There are possible reasons to create partitions - one
being that if an unfriendly OS sees the device, it won't try to
initialize it if it sees a partition map.  Another is using a cheap
RAID controller that can't be fully disabled - in which case you
generally need to create a partition that doesn't include the last few
sectors of the disk, where such controllers keep magic data.

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


Re: ZFS - whole disk or partition or BSD slice?

2013-01-27 Thread Steve O'Hara-Smith
On Sun, 27 Jan 2013 22:05:05 -0800
Michael Sierchio ku...@tenebras.com wrote:

 On Sun, Jan 27, 2013 at 5:36 PM, Shane Ambler free...@shaneware.biz
 wrote:
 
  I recall reading that using partitions for zfs on FreeBSD was as good as
  full disks.
 
 No, it isn't - ZFS can fully utilize disk caches when presented with
 whole devices. There are possible reasons to create partitions - one
 being that if an unfriendly OS sees the device, it won't try to
 initialize it if it sees a partition map.  Another is using a cheap
 RAID controller that can't be fully disabled - in which case you
 generally need to create a partition that doesn't include the last few
 sectors of the disk, where such controllers keep magic data.

There's one other good reason to use partitions when mirroring.
When the time comes to replace a drive in a mirror it is necessary that the
new drive be the same size (or larger) than the one it replaces. Given that
drives of nominally the same capacity (and even of the same type and brand
bought at different times) tend not to be exactly the same size using a
partition a little smaller than the whole drive makes it certain that a
replacement drive will be big enough to use in the mirror when it arrives.

-- 
Steve O'Hara-Smith st...@sohara.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: jails bind ip

2013-01-27 Thread Ivailo Tanusheff
Hi,

First of all usage of 127.0.0.1 as second address is nothing but wrong, as 
this is the loopback address :)

For the second part of the question - I suppose it has nothing to do with 
the BSD and the jail subsystem.
I am not sure why you have eth1 tbh, you should only have eth0, maybe 
because of this binding to 127.0.0.1, which fails as you already have this 
address on lo0.

But from your logs:

INFO  2013-01-26 16:03:03.085 Created socket: /127.0.0.1:5001
[main] ERROR 2013-01-26 16:03:03.186 A serious error occurred during PMS 
init org.jboss.netty.channel.ChannelException: Failed to bind to: 
/127.0.0.1:5001

Obviously you have error in your config, as you are not binding to 
address, but on local socket at the root of the system. So my guess is you 
must eighter change your software configuration or you should giva access 
to root folder to the user running the application.


Regards,

Ivailo Tanusheff



Zyumbilev, Peter pe...@aboutsupport.com 
Sent by: owner-freebsd-questi...@freebsd.org
26.01.2013 15:18

To
freebsd-questions@freebsd.org freebsd-questions@freebsd.org
cc

Subject
jails bind ip






Hi,

I have successfully run multiple  jails on freebsd 9.1

Two of the jails are FreeBSD and I have no problems with them.

However I havesome strange problem with Debian 6.0 Jail.

This is my config

jail_debian_rootdir=/jail/debian
jail_debian_hostname=debian.bivol.net
jail_debian_ip=192.168.30.12,127.0.0.1
jail_debian_interface=bge0
jail_debian_devfs_enable=YES
jail_debian_devfs_ruleset=devfsrules_jail
jail_debian_flags=-n debian
#jail_debian_mount_enable=YES   # mount YES|NO
jail_debian_fstab=/jail/conf/fstab.debian   # File with
Filesystems to mount


I tried with and without 127.0.0.1.

This is how ifconfig looks from inside debian:

root@debian:/# ifconfig
eth0  Link encap:Ethernet  HWaddr e8:39:35:25:d2:ef
  inet addr:192.168.30.12  Bcast:192.168.30.12 
Mask:255.255.255.255
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:425676061 errors:0 dropped:0 overruns:0 frame:0
  TX packets:483122783 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0
  RX bytes:478459387769 (445.6 GiB)  TX bytes:190485214007
(177.4 GiB)

eth1  Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  UP MULTICAST  MTU:65536  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo0   Link encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING MULTICAST  MTU:16384  Metric:1
  RX packets:1273268 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1273274 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0
  RX bytes:103125473 (98.3 MiB)  TX bytes:103125585 (98.3 MiB)

usbus0Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  UP  MTU:0  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usbus1Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  UP  MTU:0  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usbus2Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  UP  MTU:0  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usbus3Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  UP  MTU:0  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usbus4Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  UP  MTU:0  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usbus5Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  UP  MTU:0  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


However, applications have problem binding. Two applications that fail
are plexmedia server and psmedia server.

1. PS3 media server throws crazy errors like that it canncot bind - no
matter which IP I choose:

[main] INFO  2013-01-26 16:03:02.833 Loading configuration file:
Panasonic.conf
[main] DEBUG 2013-01-26 16:03:02.833 Base path set to