Why compositing gets disabled in KDE4?

2010-08-27 Thread Yuri
It worked before on the same system (~3 months ago). But after some 
updates of everything (kernel/nvidia driver/kde4) it gets disabled from 
kde4 startup. Pressing 'Resume Compositing' doesn't help.


Message pops up that some application disabled compositing, press 
Alt-Shift-F12. But this doesn't help either.


Any idea why this feature is broken?

FreeBSD-8.1-STABLE amd64
nvidia-driver-195.36.15
GeForce 9400GT
kde-4.4.5

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


Re: Howto create FAT32 bootable USB device with gpart?

2010-08-27 Thread CyberLeo Kitsana
On 08/26/2010 10:34 AM, Hartmann, O. wrote:
>  Trying to create a bootable USB device (memory stick) with gpart - and
> failed. I need those USB mem sticks for BIOS flashing purposes on an
> older main PCB, utilizing FreeDOS. The old BIOS is capable of booting
> off from USB mem sticks, since I booted and installed FreeBSD via this
> method. But the creation of a bootable FreeDOS USB mem stick failed.
> I have FreeBSD 9.0 as a mastering operating system and 8 GB sticks.
> These are the boundary conditions. Is there any way to perform this task
> with gpart?

Bootable FAT is sort of a strange thing. As such, I have written up a
few methods for producing FAT boot disks using either Win98 DOS and
DosBox or using FreeDOS and a perl script called 'sys-freedos.pl'.

http://wiki.cyberleo.net/wiki/KnowledgeBase/DOSBoot

It shouldn't be too difficult to use the instructions to produce a
bootable memstick; just keep in mind that you may have to slice it and
install an mbr, as so-called 'superfloppy' layout isn't always supported.

Hope this helps!

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net


Furry Peace! - http://.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: change file creation time on msdosfs

2010-08-27 Thread Dan Nelson
In the last episode (Aug 27), Robert Bonomi said:
> > From owner-freebsd-questi...@freebsd.org  Thu Aug 26 14:33:04 2010
> > Date: Thu, 26 Aug 2010 21:06:04 +0200
> > From: Dominic Fandrey 
> > To: freebsd-questions@freebsd.org
> > Subject: change file creation time on msdosfs
> >
> > I need to change the file creation time of some files on an msdosfs file
> > system.
> >
> > Is there any other way to do this than copying the file and deleting the
> > original?
> 
> There are _always_ alternative ways.  With suffficient knowledge, oue
> could, for example, use 'dd' to copy the required two bytes to the
> appropriate position on the raw device holding the filesystem.  This
> approach is, however, not likely to be at all 'reasonable' for the average
> user.
> 
> >   The usual suspects like touch and mv do not work.
> 
> yup.  'creation' timestamp is intended to be more-or-less immutable in the
> Unix world.  And that 'viewpoint' carries over to other kinds of
> filesysems grafted onto a Unix host.

No; the utimes() syscall can be used to easily set the creation time (called
birth time so it doesn't get confused with the "ctime" file metadata change
time).  More likely is that whoever added birthtime to ufs didn't bother
updating the msdosfs code.  If one of the other BSD's has implemented it, it
should be relatively easy to import the changes.  Otherwise you'll probably
have to look at how birthtime is currently handled in ufs, and make it work
in msdosfs.

-- 
Dan Nelson
dnel...@allantgroup.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: change file creation time on msdosfs

2010-08-27 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Thu Aug 26 14:33:04 2010
> Date: Thu, 26 Aug 2010 21:06:04 +0200
> From: Dominic Fandrey 
> To: freebsd-questions@freebsd.org
> Subject: change file creation time on msdosfs
>
> I need to change the file creation time of some files on an
> msdosfs file system.
>
> Is there any other way to do this than copying the file and deleting
> the original?

There are _always_ alternative ways.  With suffficient knowledge, oue
could, for example, use 'dd' to copy the required two bytes to the
appropriate position on the raw device holding  the filesystem.
This approach is, however, not likely to be at all 'reasonable' for
the average user.

>   The usual suspects like touch and mv do not work.

yup.  'creation' timestamp is intended to be more-or-less immutable in
the Unix world.  And that 'viewpoint' carries over to  other kinds of
filesysems grafted onto a Unix host.

>From inside a 'custom' program, it's fairly readily doable, the system
calls to do it, to exist. but, off-hand, I can't think of anything that
makes it 'easy' for the average user to do it.



>
> Regards
>
> -- 
> A: Because it fouls the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing on usenet and in e-mail? 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>

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


Re: Could not chdir to home directory

2010-08-27 Thread Aftab Jahan Subedar
check the home directory is correctly defined in the /etc/passwd.
use vipw command to check.
also u can check using the command
finger nitap

On 8/26/10, Nita Pavitran  wrote:
> Hi,
>
> I get the following error message and I seem to be in the root directory
> instead of the home directory:
>
> Could not chdir to home directory /homes/nitap: Permission denied
>> uname -a
> FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0:
> Mon Oct 25 16:23:23 PDT 2004
> r...@bigpink.juniper.net:/usr/src/sys/compile/bigpink  i386
>>
>
> Please let me know how I can get to my home directory.
>

-- 
Aftab Jahan Subedar
CEO/Software Engineer
Subedar Technologies Ltd
Subedar Baag Bibir Bagicha #1
North Jatra Bari
Dhaka 1204
Bangladesh
88027554546
8801552635208
8801190753891
Radio: S21ST

cc. kindly see the recipients address list
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Could not chdir to home directory

2010-08-27 Thread Aftab Jahan Subedar
check the home directory is correctly defined in the /etc/passwd.
use vipw command to check.
also u can check using the command
finger nitap


On 8/26/10, Nita Pavitran  wrote:
> Hi,
>
> I get the following error message and I seem to be in the root directory
> instead of the home directory:
>
> Could not chdir to home directory /homes/nitap: Permission denied
>> uname -a
> FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0:
> Mon Oct 25 16:23:23 PDT 2004
> r...@bigpink.juniper.net:/usr/src/sys/compile/bigpink  i386
>>
>
> Please let me know how I can get to my home directory.
>
-- 
Aftab Jahan Subedar
CEO/Software Engineer
Subedar Technologies Ltd
Subedar Baag Bibir Bagicha #1
North Jatra Bari
Dhaka 1204
Bangladesh
88027554546
8801552635208
8801190753891
Radio: S21ST

cc. kindly see the recipients address list
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: NATD Question

2010-08-27 Thread Nikos Vassiliadis

On 8/27/2010 9:14 PM, Michael J. Kearney wrote:

Will natd forward rtmp://  ???


I am sure libalias and natd know nothing about rtmp.


freebsd# cat /etc/natd.conf

use_sockets
redirect_port tcp 192.168.0.3:3389 10.1.10.172:3389
redirect_port tcp 192.168.0.2:1935 10.1.10.172:1935
redirect_port tcp 192.168.0.2:8790 10.1.10.172:8790
redirect_port tcp 192.168.0.2:6000-6100 10.1.10.172:6000-6100
interface fxp0
log

Everything else seems to work just fine. What am I doing wrong ?


Some protos need special handling when an IP address is changed.
Are you sure rtmp can be redirected only by changing the destination
address?

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


Re: Routing Question

2010-08-27 Thread Nikos Vassiliadis

On 8/27/2010 9:09 PM, Doug Hardie wrote:


On 27 August 2010, at 05:07, Patrick Lamaiziere wrote:


Le Thu, 26 Aug 2010 18:17:19 -0700, Doug Hardie  a
écrit :


PF's route_to will return the packets to the proper router, but I
have not been able to figure out which ones those would be.  The
source IP address can be any on either network and its highly
likely that we will see packets from the same source network on
both at the same time.  The only distinction I see in the input
packets between the two paths is the MAC address of the router.
I don't see any way in pf or the system to use that to affect the
return path though.


the filter option "reply-to" looks to be what you need. It works
by keeping the state of a connection (see pf.conf(5)).


That works great on the output if you can figure out which packets to
use it on.  The only way I can see to separate the traffic is using
the router MAC address.  I don't find anything in pf that will look
at that.


Yes, pf cannot use the MAC address to classify a packet. The most
sensible sollution would be installing a single router to handle
both lines but I know it's not always feasible to do so for several
reasons. ipfw can use MAC addresses for classification, perhaps you
hack some rules using fwd, skipto and mac.

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


Surge 2010 Early Registration ends Tuesday!

2010-08-27 Thread Jason Dixon
Early Bird Registration for Surge Scalability Conference 2010 ends next
Tuesday, August 31.  We have a killer lineup of speakers and architects
from across the Internet.  Listen to experts talk about the newest
methods and technologies for scaling your Web presence.

http://omniti.com/surge/2010/register

This year's event is all about the challenges faced (and overcome) in
real-life production architectures.  Meet the engineering talent from
some of the best and brightest throughout the Internet:

John Allspaw, Etsy
Theo Schlossnagle, OmniTI
Bryan Cantrill, Joyent
Rasmus Lerdorf, creator of PHP
Tom Cook, Facebook
Benjamin Black, fast_ip
Christopher Brown, Opscode
Artur Bergman, Wikia
Baron Schwartz, Percona
Paul Querna, Cloudkick

Surge 2010 takes place at the Tremont Grand Historic Venue on Sept 30
and Oct 1, 2010 in Baltimore, MD.  Register NOW for the Early Bird
discount and guarantee your seat to this year's event!


-- 
Jason Dixon
OmniTI Computer Consulting, Inc.
jdi...@omniti.com
443.325.1357 x.241
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: how do i scp .dotfiles??

2010-08-27 Thread Polytropon
On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten  wrote:
> Rename them, copy, then rename them back?

Not good for a whole bunch of files; in this case: tar them together,
transfer the archive, untar it; rename afterwards if needed. :-)



-- 
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: fan control

2010-08-27 Thread Roland Smith
On Fri, Aug 27, 2010 at 12:02:18PM +0200, Matias wrote:
> Thanks for replying!
> 
> I've tried everything you mention here with no success:
> 
> The BIOS is pretty basic, just allows to select boot order, set the 
> date, and not much more than that. No sysctls also. 

Some desktop machines have a knob that you can turn which controls the fan
speed.

In my experience only laptops come with a ACPI thermal subdevice.

> I guess that my only option to check if the hardware has the feature will be
> to get windows on it and see what happens.

Reading the manual is also an option. :-)

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpX6Nl2SZpU0.pgp
Description: PGP signature


Re: how do i scp .dotfiles??

2010-08-27 Thread Bill Campbell
On Fri, Aug 27, 2010, Gary Kline wrote:
>On Fri, Aug 27, 2010 at 10:29:14AM -0700, Bill Campbell wrote:
>> On Fri, Aug 27, 2010, Gary Kline wrote:
>> >
>> >guys,
>> >
>> >this is the start of my master switchover.  how to i copy/scp,say,
>> >~/.purpur to home/kline/.purple?  along with many hundreds of other
>> >dot files? scp doesn't do it.
>> >
>> scp -r to recursively copy directories?  That should get
>> everything in each directory.
>> 
>> We tend to use rsync for this, making an initial copy to get the
>> majority of the files transferred before making the final cut
>> over, the ``rsync --delete ...'' to bring things up to date
>> before making the final switch.  When switching to a new mail
>> server we have done this live with about 10,000 users, but when
>> we did this, we left the Maildir stores empty before the final
>> rsync and didn't use --delete on the Maildir directories.  This
>> allowed new mail to be processed as it came in, and the older
>> mail wouldn't conflict as the Maildir message file names should
>> be unique.
>> 
>
>   So what would the rsync line be starting from ~kline and pointing
>   at ethiv?  ethic is my temporary savings machine while i install
>   the "newtao", m y new desktop.

Assuming that ~kline is /home/kline and will go to /home/kline on
the remote machine this would work (decoding the options is left
as an exersize for the student :-).

cd /home
rsync -vaHrP kline othermachine:/home

A more general solution that doesn't require ssh, but connects to
the rsync daemon on the remote machine might be to create a
module definition in the destination machine's /etc/rsyncd.conf
file something like this:

[myhome]
uid = myusername
gid = mygroupname
read only = false
use chroot = true
path = /path/to/myhomedirectory
comment = /path/to/myhomedirectory
hosts allow = sourceipaddress
hosts deny = *

Then the rsync command could be:

rsync -vaHrP ~/kline/ othermachine::myhome/

This has a couple of advantages.  First the destination uid:gid
can be different on the destination machine as rsync uses the
names in the group and passwd database.  Assuming you're on a LAN
where ssh security isn't critical using the daemon/module
approach doesn't require ssh authorized_keys, and can be
restricted to one or more IP addresses or CIDR blocks.

We use this when moving between systems where the uid:gid mapping
is different when moving between machines of differing OS
releases (e.g. SuSE Linux to FreeBSD), or where the destination
machine may have existing users with conflicting uid:gid s

Bill
-- 
INTERNET:   b...@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186  Skype: jwccsllc (206) 855-5792

... because most politicians and bureaucrats are technological idiots,
it's going to be crucial for the rank and file members of the IT community
to find its collective voice soon.
--Michael Vizard, InfoWorld Editor in Chief.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


NATD Question

2010-08-27 Thread Michael J. Kearney
Will natd forward rtmp://  ???

freebsd# cat /etc/natd.conf

use_sockets
redirect_port tcp 192.168.0.3:3389 10.1.10.172:3389
redirect_port tcp 192.168.0.2:1935 10.1.10.172:1935
redirect_port tcp 192.168.0.2:8790 10.1.10.172:8790
redirect_port tcp 192.168.0.2:6000-6100 10.1.10.172:6000-6100
interface fxp0
log

Everything else seems to work just fine. What am I doing wrong ?

Michael Kearney
Computer Assistant
+1 (703) 953-9626
mkear...@nvita.org
http://www.nvita.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: how do i scp .dotfiles??

2010-08-27 Thread Gary Kline
On Fri, Aug 27, 2010 at 10:54:52AM -0700, Jason wrote:
> On Fri, Aug 27, 2010 at 10:51:41AM -0700, Gary Kline thus spake:
> >On Fri, Aug 27, 2010 at 10:25:01AM -0700, Jason Helfman wrote:
> >>On Fri, 27 Aug 2010 13:19:40 -0400
> >>Glen Barber  wrote:
> >>
> >>> On 8/27/10 1:07 PM, Gary Kline wrote:
> >>> >
> >>> > guys,
> >>> >
> >>> > this is the start of my master switchover.  how to i copy/scp,say,
> >>> > ~/.purpur to home/kline/.purple?  along with many hundreds of other
> >>> > dot files? scp doesn't do it.
> >>> >
> >>> > tx,
> >>> >
> >>>
> >>> scp u...@foo:\.dotfile .dotfile
> >>>
> >>> Regards,
> >>>
> >>
> >>Use rsync over ssh.
> >>
> >>
> >
> >
> > i've already done 98 or so straight scp copies.   the thing is how
> > to use rsync over to an empty ethic? [[ empty == "there are no \
> > dot files not .directories"]  i want EVERYTHING from this desktop,
> > tao, temp on ethic.
> >
> > thanks
> >
> >
> You can just use rsync in cooperation with find command.
> 
> I've used it before, but found this as an example with a web search.
> rsync -avR remote:'`find /home -name "*.[ch]"`' /tmp/
> 
> Just reverse the order.



this may be close.  use the unix tools and glue them together:-)

i have this, cobbled together from a prev script:



   echo "rsync with checksum from  directory [${PWD}] to
[kl...@ethic:${EPWD}]";

   rsync --perms --times --update  --compress  --verbose \
--checksum -e "ssh -i /home/kline/.ssh/tao_nopasswd-id" \
   ${PWD}  kl...@ethic:${EPWD};
   if [ $? =  0 ]
   then
  echo "rsync transfer went okay, tao to ethic"|mail
kl...@thought.org
   else
  echo "rsync failed to ethic from /home/kline"|mail
kl...@thought.org
   fi

   exit;

but this fails ..

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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: Routing Question

2010-08-27 Thread Doug Hardie

On 27 August 2010, at 05:07, Patrick Lamaiziere wrote:

> Le Thu, 26 Aug 2010 18:17:19 -0700,
> Doug Hardie  a écrit :
> 
>> PF's route_to will return the packets to the proper router, but I have not
>> been able to figure out which ones those would be.  The source IP
>> address can be any on either network and its highly likely that we
>> will see packets from the same source network on both at the same
>> time.  The only distinction I see in the input packets between the
>> two paths is the MAC address of the router.  I don't see any way in
>> pf or the system to use that to affect the return path
>> though.
> 
> the filter option "reply-to" looks to be what you need. It works by
> keeping the state of a connection (see pf.conf(5)).

That works great on the output if you can figure out which packets to use it 
on.  The only way I can see to separate the traffic is using the router MAC 
address.  I don't find anything in pf that will look at 
that.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: how do i scp .dotfiles??

2010-08-27 Thread Jon Radel

On 8/27/10 1:51 PM, Gary Kline wrote:



i've already done 98 or so straight scp copies.   the thing is how
to use rsync over to an empty ethic? [[ empty == "there are no \
dot files not .directories"]  i want EVERYTHING from this desktop,
tao, temp on ethic.

thanks

   
An alternative I use sometimes when there is ample disk space on the 
source machine is to create a big tar file of everything in the user's 
home directory, scp the tar file, and then extract into the new home 
directory on the destination machine.  Personally I find that slightly 
easier to keep track of.


There are many ways to skin this cat

--

--Jon Radel
j...@radel.com




Re: how do i scp .dotfiles??

2010-08-27 Thread Jason

On Fri, Aug 27, 2010 at 10:51:41AM -0700, Gary Kline thus spake:

On Fri, Aug 27, 2010 at 10:25:01AM -0700, Jason Helfman wrote:

On Fri, 27 Aug 2010 13:19:40 -0400
Glen Barber  wrote:

> On 8/27/10 1:07 PM, Gary Kline wrote:
> >
> > guys,
> >
> > this is the start of my master switchover.  how to i copy/scp,say,
> > ~/.purpur to home/kline/.purple?  along with many hundreds of other
> > dot files? scp doesn't do it.
> >
> > tx,
> >
>
> scp u...@foo:\.dotfile .dotfile
>
> Regards,
>

Use rsync over ssh.





i've already done 98 or so straight scp copies.   the thing is how
to use rsync over to an empty ethic? [[ empty == "there are no \
dot files not .directories"]  i want EVERYTHING from this desktop,
tao, temp on ethic.

thanks



You can just use rsync in cooperation with find command.

I've used it before, but found this as an example with a web search.
rsync -avR remote:'`find /home -name "*.[ch]"`' /tmp/

Just reverse the order.

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


Re: how do i scp .dotfiles??

2010-08-27 Thread Gary Kline
On Fri, Aug 27, 2010 at 10:25:01AM -0700, Jason Helfman wrote:
> On Fri, 27 Aug 2010 13:19:40 -0400
> Glen Barber  wrote:
> 
> > On 8/27/10 1:07 PM, Gary Kline wrote:
> > > 
> > > guys,
> > > 
> > > this is the start of my master switchover.  how to i copy/scp,say,
> > > ~/.purpur to home/kline/.purple?  along with many hundreds of other
> > > dot files? scp doesn't do it.
> > > 
> > > tx,
> > > 
> > 
> > scp u...@foo:\.dotfile .dotfile
> > 
> > Regards,
> > 
> 
> Use rsync over ssh.
> 
> 


i've already done 98 or so straight scp copies.   the thing is how
to use rsync over to an empty ethic? [[ empty == "there are no \
dot files not .directories"]  i want EVERYTHING from this desktop, 
tao, temp on ethic.

thanks


> -- 
> Jason Helfman
> System Administrator
> experts-exchange.com
> http://www.experts-exchange.com/M_4830110.html

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: how do i scp .dotfiles??

2010-08-27 Thread Gary Kline
On Fri, Aug 27, 2010 at 10:29:14AM -0700, Bill Campbell wrote:
> On Fri, Aug 27, 2010, Gary Kline wrote:
> >
> >guys,
> >
> >this is the start of my master switchover.  how to i copy/scp,say,
> >~/.purpur to home/kline/.purple?  along with many hundreds of other
> >dot files? scp doesn't do it.
> >
> scp -r to recursively copy directories?  That should get
> everything in each directory.
> 
> We tend to use rsync for this, making an initial copy to get the
> majority of the files transferred before making the final cut
> over, the ``rsync --delete ...'' to bring things up to date
> before making the final switch.  When switching to a new mail
> server we have done this live with about 10,000 users, but when
> we did this, we left the Maildir stores empty before the final
> rsync and didn't use --delete on the Maildir directories.  This
> allowed new mail to be processed as it came in, and the older
> mail wouldn't conflict as the Maildir message file names should
> be unique.
> 
> Bill
> -- 


So what would the rsync line be starting from ~kline and pointing
at ethiv?  ethic is my temporary savings machine while i install
the "newtao", m y new desktop.

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: how do i scp .dotfiles??

2010-08-27 Thread Jason Helfman
On Fri, 27 Aug 2010 13:19:40 -0400
Glen Barber  wrote:

> On 8/27/10 1:07 PM, Gary Kline wrote:
> > 
> > guys,
> > 
> > this is the start of my master switchover.  how to i copy/scp,say,
> > ~/.purpur to home/kline/.purple?  along with many hundreds of other
> > dot files? scp doesn't do it.
> > 
> > tx,
> > 
> 
> scp u...@foo:\.dotfile .dotfile
> 
> Regards,
> 

Use rsync over ssh.


-- 
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: how do i scp .dotfiles??

2010-08-27 Thread Bill Campbell
On Fri, Aug 27, 2010, Gary Kline wrote:
>
>guys,
>
>this is the start of my master switchover.  how to i copy/scp,say,
>~/.purpur to home/kline/.purple?  along with many hundreds of other
>dot files? scp doesn't do it.
>
scp -r to recursively copy directories?  That should get
everything in each directory.

We tend to use rsync for this, making an initial copy to get the
majority of the files transferred before making the final cut
over, the ``rsync --delete ...'' to bring things up to date
before making the final switch.  When switching to a new mail
server we have done this live with about 10,000 users, but when
we did this, we left the Maildir stores empty before the final
rsync and didn't use --delete on the Maildir directories.  This
allowed new mail to be processed as it came in, and the older
mail wouldn't conflict as the Maildir message file names should
be unique.

Bill
-- 
INTERNET:   b...@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186  Skype: jwccsllc (206) 855-5792

Rights is a fictional abstraction.  No one has ``Rights'', neither
machines nor flesh-and-blood.  Persons... have opportunities, not rights,
which they use or do not use.
-- Lazarus Long
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: how do i scp .dotfiles??

2010-08-27 Thread Gary Gatten
Rename them, copy, then rename them back?

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gary Kline
Sent: Friday, August 27, 2010 12:08 PM
To: FreeBSD Mailing List
Subject: how do i scp .dotfiles??


guys,

this is the start of my master switchover.  how to i copy/scp,say,
~/.purpur to home/kline/.purple?  along with many hundreds of other
dot files? scp doesn't do it.

tx,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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"








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


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


Re: how do i scp .dotfiles??

2010-08-27 Thread Glen Barber
On 8/27/10 1:07 PM, Gary Kline wrote:
> 
> guys,
> 
> this is the start of my master switchover.  how to i copy/scp,say,
> ~/.purpur to home/kline/.purple?  along with many hundreds of other
> dot files? scp doesn't do it.
> 
> tx,
> 

scp u...@foo:\.dotfile .dotfile

Regards,

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


how do i scp .dotfiles??

2010-08-27 Thread Gary Kline

guys,

this is the start of my master switchover.  how to i copy/scp,say,
~/.purpur to home/kline/.purple?  along with many hundreds of other
dot files? scp doesn't do it.

tx,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: Panic or deadlock with Intel graphics

2010-08-27 Thread Rem P Roberti

 On 08/27/10 03:12, Tijl Coosemans wrote:

On Thursday 26 August 2010 05:55:42 Rem P Roberti wrote:

In an attempt to diagnose why my Thinkpad R51 completely locks up when
trying to access X I have done the following.  I built a debugging
kernel, with KDB, DDB, WITNESS, INVARIANT*, AND DIAGNOSTIC in addition
to *BREAK_TO_DEBUGGER.  None of these things have yielded any progress
in isolating the issue.  Note that replacing the 'intel' driver with the
'vesa' driver in /etc/X11/xorg.conf does not cause the computer to
hang.  The problem appears to be specific to the intel driver.  Also, I
have been unable to get a crash report (which is what we were hoping to
see in /var/crash) regardless of the debugging options built into the
kernel.

I have attached the output of 'uname -a', 'dmesg', and 'pciconf -lv' to
this post.

It could be related to DRI, so try to disable it in /etc/X11/xorg.conf:

Section "Module"
 Disable  "dri"
 Disable  "dri2"
EndSection


Unfortunately, that did not work.

Cheers...

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


IBM server SAS controller support?

2010-08-27 Thread Baldur Gislason
I have an IBM 7945 server with an LSI Logic ServeRAID (MegaRAID) M1015 
controller
and I'm wondering if there's any way to install FreeBSD on this box?

Baldur Gislason

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


Re: Problem installing Bacula client on win 2008 64 bit server

2010-08-27 Thread Jerry
On Fri, 27 Aug 2010 13:35:12 +0200
Albin Vega  articulated:

> Hello
> 
> Trying to install bacula client on win 2008 64 bit server. After
> installation the bacula client should start automatically but it
> dont. I then tried to start the bacula windows service manually but
> are getting the following (and pointless) error message: Error 1067.
> The prosess terminated unexpektedly.
> 
> Ok, so now i open a CMD window and try to start the service
> by starting bacula-fd.exe, but with no luck. Then I add the -t option
> and get the error message:
> 
> 27-Aug 13:14 bacula-fd: ERROR TERMINATION at
> /home/kern/bacula/k/bacula/src/lib/ parse_conf.c:898
> Config error: Cannot open config file
> "C:\ProgramData\Bacula/bacula-fd.conf": No such file or directory
> 
> I try to look in the ProgramDate catalogue to see if i can find the
> bacula-fd.conf file and have a look in it. But there is no ProgramData
> catalogue. The bacula-fd.conf file is in in C:/Program files/bacula
> catalogue. Looks like this:
> 
> #
> # Default  Bacula File Daemon Configuration file
> #
> #  For Bacula release 5.0.3 (08/05/10) -- Windows MinGW64
> #
> # There is not much to change here except perhaps the
> # File daemon Name
> #
> #
> # "Global" File daemon configuration specifications
> #
> FileDaemon {# this is me
>   Name = clientservername-fd
>   FDport = 9102# where we listen for the director
>   WorkingDirectory = "C:\\Program Files\\Bacula\\working"
>   Pid Directory = "C:\\Program Files\\Bacula\\working"
> # Plugin Directory = "C:\\Program Files\\Bacula\\plugins"
>   Maximum Concurrent Jobs = 10
> }
> #
> # List Directors who are permitted to contact this File daemon
> #
> Director {
>   Name = backup.mydomainname.com-fd
>   Password = "mypassword"
> }
> #
> # Restricted Director, used by tray-monitor to get the
> #   status of the file daemon
> #
> Director {
>   Name = @monitor_name@
>   Password = "@monitor_password@"
>   Monitor = yes
> }
> # Send all messages except skipped files back to Director
> Messages {
>   Name = Standard
>   director = backup.mydomainname.com-fd = all, !skipped, !restored
> }
> The password is the same on the client and the servert, I checked
> that. Anyhow, it should be possible to start the deamon/service even
> if the client have no contact with the servere, right?
> 
> Anybody have a fix on this?

Have you tried starting from:

  

Locate the service and try starting it there. The error message would
be a lot more revealing. You could click the  and try to
locate the problem in one of the logs.

I did notice a post on an MS Forum, I forgot which one, that the latest
version of Bacula does not work on Windows. You apparent have to use a
deprecated version.

In any case, this might be better suited to an MS Forum discussion.

-- 
Jerry ✌
freebsd.u...@seibercom.net

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

"How many people work here?"
"Oh, about half."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: installing FreeBSD in VMWare-player

2010-08-27 Thread Matthias Apitz
El día Friday, August 27, 2010 a las 04:20:41PM +0300, Manolis Kiagias escribió:

> Try recreating, preferably newfs the key first. Don't be surprised if
> you find out you need a new USB key.

newfs(8) did not worked; a format in Win7 lies that it was fine and
stops later writing to it after 2 GByte of 8; have to look for another
key;

thx

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: installing FreeBSD in VMWare-player

2010-08-27 Thread Manolis Kiagias
 On 27/08/2010 3:17 μ.μ., Matthias Apitz wrote:
> El día Friday, August 27, 2010 a las 12:06:09PM +0300, Manolis Kiagias 
> escribió:
>
>>  On 27/08/2010 10:24 ??.??., Matthias Apitz wrote:
>>> Is it possible that the data gets corrupt on an USB key after some time?
>>> I'm wondering why the system even is intact to be booted from...
>>>
>>> Will prepare the key again or just fill in the dumps I have...
>>>
>>> matthias
>>>
>> I've heard of stories of data 'fading out' from USB flash drives after
>> some period of complete inactivity.
>> Haven't experienced this myself though. Otherwise your procedure looks
>> fine and it shouldn't fail.
> A dump of the key gives several error messages:
>
> # dump -0au -f usb8.dmp /dev/da0s1a
>   DUMP: Date of this level 0 dump: Fri Aug 27 14:06:04 2010
>   DUMP: Date of last level 0 dump: the epoch
>   DUMP: Dumping /dev/da0s1a to usb8.dmp
>   DUMP: mapping (Pass I) [regular files]
>   DUMP: mapping (Pass II) [directories]
>   DUMP: estimated 3980686 tape blocks.
>   DUMP: dumping (Pass III) [directories]
>   DUMP: dumping (Pass IV) [regular files]
>   DUMP: 52.81% done, finished in 0:04 at Fri Aug 27 14:15:35 2010
>   DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [block
> 4992928]: count=8192
> read error from /dev/da0s1a: Input/output error: [block 4992870]:
> count=10240
>   DUMP: read error from /dev/da0s1a: Input/output error: [block
> 4992896]: count=7168
>   DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [sector
> 4992928]: count=512
>   DUMP: read error from /dev/da0s1a: Input/output error: [sector
> 4992870]: count=512
> read error from /dev/da0s1a: Input/output error: [sector 4992896]:
> count=512
>   DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [sector
> 4992899]: count=512
>   DUMP: read error from /dev/da0s1a: Input/output error: [sector
> 4992931]: count=512
> read error from /dev/da0s1a: Input/output error: [sector 4992873]:
> count=512
>   DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [block
> 5032906]: count=10240
> read error from /dev/da0s1a: Input/output error: [block 5032928]:
> count=9216
>   DUMP: read error from /dev/da0s1a: Input/output error: [block
> 5032946]: count=7168
>
> I will re-create the key or even use another media;
>
>   matthias
>
Try recreating, preferably newfs the key first. Don't be surprised if
you find out you need a new USB key.
This reminds me of a recent incident I had with another key (of a
respected brand as well) which failed and disappeared(!) from the bus
while I was writing to it, plugged in on my freebsdgr.org server. Not
only I had to umount -f, but subsequently seems the whole USB subsystem
got 'stuck' and I had to reboot the server for it to work again.
As I said, I have not witnessed 'data fading' in USB flash drives, but
this the third one I throw away due to total hardware failure...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Routing Question

2010-08-27 Thread Patrick Lamaiziere
Le Thu, 26 Aug 2010 18:17:19 -0700,
Doug Hardie  a écrit :

>  PF's route_to will return the packets to the proper router, but I have not
> been able to figure out which ones those would be.  The source IP
> address can be any on either network and its highly likely that we
> will see packets from the same source network on both at the same
> time.  The only distinction I see in the input packets between the
> two paths is the MAC address of the router.  I don't see any way in
> pf or the system to use that to affect the return path
> though.

the filter option "reply-to" looks to be what you need. It works by
keeping the state of a connection (see pf.conf(5)).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: installing FreeBSD in VMWare-player

2010-08-27 Thread Matthias Apitz
El día Friday, August 27, 2010 a las 12:06:09PM +0300, Manolis Kiagias escribió:

>  On 27/08/2010 10:24 ??.??., Matthias Apitz wrote:
> >
> > Is it possible that the data gets corrupt on an USB key after some time?
> > I'm wondering why the system even is intact to be booted from...
> >
> > Will prepare the key again or just fill in the dumps I have...
> >
> > matthias
> >
> 
> I've heard of stories of data 'fading out' from USB flash drives after
> some period of complete inactivity.
> Haven't experienced this myself though. Otherwise your procedure looks
> fine and it shouldn't fail.

A dump of the key gives several error messages:

# dump -0au -f usb8.dmp /dev/da0s1a
  DUMP: Date of this level 0 dump: Fri Aug 27 14:06:04 2010
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/da0s1a to usb8.dmp
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 3980686 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 52.81% done, finished in 0:04 at Fri Aug 27 14:15:35 2010
  DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [block
4992928]: count=8192
read error from /dev/da0s1a: Input/output error: [block 4992870]:
count=10240
  DUMP: read error from /dev/da0s1a: Input/output error: [block
4992896]: count=7168
  DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [sector
4992928]: count=512
  DUMP: read error from /dev/da0s1a: Input/output error: [sector
4992870]: count=512
read error from /dev/da0s1a: Input/output error: [sector 4992896]:
count=512
  DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [sector
4992899]: count=512
  DUMP: read error from /dev/da0s1a: Input/output error: [sector
4992931]: count=512
read error from /dev/da0s1a: Input/output error: [sector 4992873]:
count=512
  DUMP:   DUMP: read error from /dev/da0s1a: Input/output error: [block
5032906]: count=10240
read error from /dev/da0s1a: Input/output error: [block 5032928]:
count=9216
  DUMP: read error from /dev/da0s1a: Input/output error: [block
5032946]: count=7168

I will re-create the key or even use another media;

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: fan control

2010-08-27 Thread Bruce Cran
On Fri, 27 Aug 2010 12:02:18 +0200
Matias  wrote:

> I've tried everything you mention here with no success:
> 
> The BIOS is pretty basic, just allows to select boot order, set the 
> date, and not much more than that. No sysctls also. I guess that my
> only option to check if the hardware has the feature will be to get
> windows on it and see what happens. If it works, then I will keep
> investigating further, if not, then maybe it is impossible to stop it
> (without using brute force, of course :-) )

You might want to keep checking for BIOS updates: I got a new PC last
year with a Gigabyte motherboard and support for variable (PWM) fan
speed was only fixed afer a couple of months, and they've kept putting
out more versions since then.

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


Problem installing Bacula client on win 2008 64 bit server

2010-08-27 Thread Albin Vega
Hello

Trying to install bacula client on win 2008 64 bit server. After
installation the bacula client should start automatically but it dont. I
then tried to start the bacula windows service manually but are getting the
following (and pointless) error message: Error 1067. The prosess terminated
unexpektedly.

Ok, so now i open a CMD window and try to start the service
by starting bacula-fd.exe, but with no luck. Then I add the -t option and
get the error message:

27-Aug 13:14 bacula-fd: ERROR TERMINATION at
/home/kern/bacula/k/bacula/src/lib/ parse_conf.c:898
Config error: Cannot open config file
"C:\ProgramData\Bacula/bacula-fd.conf": No such file or directory

I try to look in the ProgramDate catalogue to see if i can find the
bacula-fd.conf file and have a look in it. But there is no ProgramData
catalogue. The bacula-fd.conf file is in in C:/Program files/bacula
catalogue. Looks like this:

#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 5.0.3 (08/05/10) -- Windows MinGW64
#
# There is not much to change here except perhaps the
# File daemon Name
#
#
# "Global" File daemon configuration specifications
#
FileDaemon {# this is me
  Name = clientservername-fd
  FDport = 9102# where we listen for the director
  WorkingDirectory = "C:\\Program Files\\Bacula\\working"
  Pid Directory = "C:\\Program Files\\Bacula\\working"
# Plugin Directory = "C:\\Program Files\\Bacula\\plugins"
  Maximum Concurrent Jobs = 10
}
#
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = backup.mydomainname.com-fd
  Password = "mypassword"
}
#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#
Director {
  Name = @monitor_name@
  Password = "@monitor_password@"
  Monitor = yes
}
# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = backup.mydomainname.com-fd = all, !skipped, !restored
}
The password is the same on the client and the servert, I checked
that. Anyhow, it should be possible to start the deamon/service even if the
client have no contact with the servere, right?

Anybody have a fix on this?

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


Re: fan control

2010-08-27 Thread Matias

El 27/08/10 05:38, Isamu Onoda escribió:

Hi, Matias

Maybe you already found the solution but I hope information below will
helps you a little:
http://forums.freebsd.org/showthread.php?t=4217
http://lists.freebsd.org/pipermail/freebsd-mobile/2004-November/005310.html

Also try looking into BIOS setting just like Roland suggested.

Sincerely,
Isamu Onoda

--
Isamu Onoda
mail: onod...@gmail.com
TEL:  080-3757-6465
IMPERARE SIBI MAXIMVM IMPERIVM EST




2010/8/27 Roland Smith:

On Thu, Aug 26, 2010 at 10:56:57AM +0200, Matias wrote:

Hi,

I've just bought a Giada i20 mini-pc for my home server. I've managed to
slow down the cpu speed with powerd, but the fan keeps running at a
(what seems to me) too high speed.



Do you know if there is anything I can do on freebsd to reduce its
speed/noise?


Are there any sysctls for the fan? Try 'sysctl -a|grep fan'
Also check in the BIOS if there are relevant settings.


p/d: The hardware is this:
http://www.giadatech.com/chanpinzhongxin/minipc/slim%20series/2010-01-19/17.html


Looks nice for a desktop as well.

Roland
--
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


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




Thanks for replying!

I've tried everything you mention here with no success:

The BIOS is pretty basic, just allows to select boot order, set the 
date, and not much more than that. No sysctls also. I guess that my only 
option to check if the hardware has the feature will be to get windows 
on it and see what happens. If it works, then I will keep investigating 
further, if not, then maybe it is impossible to stop it (without using 
brute force, of course :-) )


Thanks for your help!



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


Re: Panic or deadlock with Intel graphics

2010-08-27 Thread Tijl Coosemans
On Thursday 26 August 2010 05:55:42 Rem P Roberti wrote:
> In an attempt to diagnose why my Thinkpad R51 completely locks up when
> trying to access X I have done the following.  I built a debugging
> kernel, with KDB, DDB, WITNESS, INVARIANT*, AND DIAGNOSTIC in addition
> to *BREAK_TO_DEBUGGER.  None of these things have yielded any progress
> in isolating the issue.  Note that replacing the 'intel' driver with the
> 'vesa' driver in /etc/X11/xorg.conf does not cause the computer to
> hang.  The problem appears to be specific to the intel driver.  Also, I
> have been unable to get a crash report (which is what we were hoping to
> see in /var/crash) regardless of the debugging options built into the
> kernel.
> 
> I have attached the output of 'uname -a', 'dmesg', and 'pciconf -lv' to
> this post.

It could be related to DRI, so try to disable it in /etc/X11/xorg.conf:

Section "Module"
Disable  "dri"
Disable  "dri2"
EndSection


signature.asc
Description: This is a digitally signed message part.


Re: Could not chdir to home directory

2010-08-27 Thread Danny Carroll
 Hiya Nita,...

I'm sure you'll get lots of help on this list.  Just a question for you.
Any chance you could convice the Juniper bigwigs to release the source
code for the DX platform given that it's now end of life?

I know it was based on FreeBSD and, as a former Redline/DX user I know
it's got some nice stuff under the hood.
I know that the BSD community would be thrilled if Juniper were to give
something back to the people who provided the platform that DX was based on.
If such a thing were to happen, I know I'd find it hard to ever
recommend a different network tech vendor to my clients.

It's a long shot, but I figured it was worth asking the question ;-)

-D
p.s. if you still are stuck with your homedir problems, feel free to
contact me off-list.

On 27/08/2010 3:41 AM, Nita Pavitran wrote:
> Hi,
>
> I get the following error message and I seem to be in the root directory
> instead of the home directory:
>
> Could not chdir to home directory /homes/nitap: Permission denied
>> uname -a
> FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0:
> Mon Oct 25 16:23:23 PDT 2004
> r...@bigpink.juniper.net:/usr/src/sys/compile/bigpink  i386
>  
> Please let me know how I can get to my home directory.
>
> Thanks and regards,
> Nita
> 
> Nita Pavitran
> Technical Publishing Engineer
> Juniper Networks
> o   +91 80 30711390
> m  +91 98808 66566
> ni...@juniper.net
> www.juniper.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"
>

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


Problems with upgrade - lost partition

2010-08-27 Thread Peter Boosten
Hi,

I recently updated a machine (running on VMWare) from 7.2 to 8.1.

This machine has two (virtual) disks. While the upgrade went rather
smooth ('make buildworld, make buildkernel, make installkernel, reboot
into single user, mergemaster -p, make installworld, mergemaster,
reboot), I lost the partition on the second harddrive.

So after reboot, the machine went directly in single user mode, because
my /dev/ad1s1a was gone. The only devices in /dev where ad1 (the disk)
and ad1s1 (the slice).

Since I had a backup this didn't seem to be such a problem, however
recreating the slice was.

The only way I could get rid of that slice was through the gpart utility
(sysinstall wouldn't help me at all):

gpart delete ad1s1
gpart destroy ad1

After that sysinstall worked again. Is there any way around this (and
preferably rescue the partition somehow, since I have more machines to
upgrade, and while backups are there, restoring creates an additional
delay in the whole process).

Also, the numbering of the NICs changed from le0 to le1, which isn't
that a big problem, but rather annoying.


Thanks in advance.

Peter
-- 
http://www.boosten.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"


Dell Latitude E6400 and Touchpad

2010-08-27 Thread Mike Barnard
Hi,

I have a dell as mentioned in the subject. I have been trying to get the
touchpad horizontal scroll and vertical scroll to work with no avail.

I have hw.psm.synaptics_support="1" entered in loader.conf but all my
sysctl.conf variables that pertain to the touchpad dump error on boot. It
appears that the synaptics support is not loaded at boot time.

I am running FreeBSD 8.1 RC1 amd64.

Any one experience this or know how to get the synaptics touchpad working


-- 
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

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


Re: installing FreeBSD in VMWare-player

2010-08-27 Thread Manolis Kiagias
 On 27/08/2010 10:24 π.μ., Matthias Apitz wrote:
>
> Is it possible that the data gets corrupt on an USB key after some time?
> I'm wondering why the system even is intact to be booted from...
>
> Will prepare the key again or just fill in the dumps I have...
>
>   matthias
>

I've heard of stories of data 'fading out' from USB flash drives after
some period of complete inactivity.
Haven't experienced this myself though. Otherwise your procedure looks
fine and it shouldn't fail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-27 Thread krad
On 27 August 2010 06:19, Matthew Seaman wrote:

> On 26/08/2010 23:07:35, Ed Flecko wrote:
>
> > I have a server I'm building that is internet accessible and I'm
> > wondering if there's any advantages/disadvantages of using either SFTP
> > -vs- SCP?
> >
> > My primary concern is overall security of the server (even if that
> > means inconveniencing the end users), and I'm wondering if one method
> > might be better than the other?
>
> It depends what you mean by SFTP.  If you mean the SSH sub-system (file
> transfer tunnelled over SSH using a client which works like the FTP
> client), then there is no practical difference in security compared to
> scp(1).  sftp(1) and scp(1) are very similar over the wire and
> server-side: it's just the client interface that's different.
>
> On the other hand, if you mean crusty old FTP tarted up with some SSL
> trappings -- which should really be called FTPS, but lots of people are
> confused about the naming -- then *run away*.  It may run over SSL, but
> it has all of the design flaws of regular FTP plus the fact that it's
> over SSL means you can't even use firewall proxies like ftp-proxy(8).
>
> If you want a means of secure upload that can be used natively from
> windows, try WebDAV.  You can, in theory, mount a WebDAV directory as a
> partition in Windows, although this is a lot more painful than it needs
> to be. (As they say: with Windows, failure is not an option).  The same
> thing on a Mac works beautifully, but then it's Unix already and you can
> just use sftp or scp natively from Terminal.app.  See the appendix to
> the SVN manual for some useful hints:
>
> http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.webdav
>
>Cheers,
>
>Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>  Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
> JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
>
>

SFTP is better than scp if you just want to transfer files, as the users
dont have to have shell access to the box to use the openssh SFTP system. As
mentioned above dont confuse sftp with ftps/ftp-ssl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Need Res Utility

2010-08-27 Thread Ross Cameron
On Thu, Aug 26, 2010 at 8:48 PM, Tamara Ferris  wrote:

> Hi,
>
> I got this error message. I also need the Res utility.
>
> % show res tp5
> show: Command not found.
>

Uhm are you at the right privilege level perhaps?


> % uname -a
> JUNOS sugar 10.4B2 JUNOS 10.4B2 #0: 2010-08-20 07:55:25 UTC
> buil...@warth.juniper.net:/volume/build/junos/10.4/release/10.4B2/obj-i3
> 86/bsd/sys/compile/JUNIPER  i386
>

While JunOS is FreeBSD based,... seeing as you're a Juniper employee,
shouldn't you ask you're colleagues about youre RES util issue?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


installing FreeBSD in VMWare-player (was: running FreeBSD on Windows host)

2010-08-27 Thread Matthias Apitz
El día Tuesday, August 24, 2010 a las 01:10:00PM +0300, Manolis Kiagias 
escribió:

> > I have produced three dumps: from the /, /var and /usr file system. The
> > man page of restore(8) reads about creating pristine file system, made
> > by newfs(8). Later, in the VM environment, I'd like to have only one big
> > file system... Is it possible to restore the tree dumps into one big
> > file system or do I have to rebuild the same slicing as I now have?
> >   
> 
> You won't have to rebuild the slicing. Just create the relevant
> directories in your big file system, cd into them and use restore.

Will it be a problem having the kernel /boot/* in this case far away from
the beginning of the partition?

I did some 1st tests with installing FreeBSD into a VM.

I grabed some other laptop which runs already Win7 and installed a
VMWare-player in it to do some tests. Of course the VMWare-player was
not able to boot from a prepared USB key. A workaround was a boot from
some ISO image of a "boot manger" (I used plpbt-5.0.10.zip from
http://www.plop.at/) which allows you to choose the USB storage as boot 
device after 1st stage boot.

The system comes up fine from the USB key and I created a 160 GByte
slice with the standard procedure like:

# fdisk -I /dev/ad0
# fdisk -B /dev/ad0

# bsdlabel -w ad0s1 auto
# bsdlabel -B ad0s1

edit the disk label and change partition "a" from "unused" to "4.2BSD"
as partition type:

# setenv EDITOR /usr/bin/vi
# bsdlabel -e ad0s1

create the future root-filesystem on it and mount it to /mnt for the
installation:

# newfs -m 0 -o space /dev/ad0s1a
# mount /dev/ad0s1a /mnt 

install freebsd into /mnt; this assumes that you have the kernel and
userland in /usr/src and /usr/obj ready to be installed;

# cd /usr/src
# make installworld DESTDIR=/mnt

The 'make installworld' failed with errors in the Makefiles (...); for
example the file /usr/src/lib/libc/uuid/Makefile.inc had a line like
this:

SRCS+?  uuid_compare.c uuid_create.c uuid_create_nil.c uuid_equal.c \
uuid_from_string>c uuid_hash.c uuid_is_nil.c uuid_stream.# \
uuid_to_string.c

where it should have:

SRCS+=  uuid_compare.c uuid_create.c uuid_create_nil.c uuid_equal.c \
uuid_from_string.c uuid_hash.c uuid_is_nil.c uuid_stream.c \
uuid_to_string.c

(note the ? singn and the # sign), i.e. the content was broken and some
other files were missing in the /usr/src tree of the USB key. I used the
same key last year to install from it the system to my netbook EeePC and
it worked like it should. Since then the USB key was unused and carried
around in the bag of my laptop.

Is it possible that the data gets corrupt on an USB key after some time?
I'm wondering why the system even is intact to be booted from...

Will prepare the key again or just fill in the dumps I have...

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"