Re: Need Res Utility

2010-08-26 Thread Bruce Cran
On Fri, 27 Aug 2010 00:18:19 +0530
Tamara Ferris  wrote:

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

I'm not sure where res or tp5 come from, but you might want to use
"which" or "whereis" instead of "show" which doesn't exist, at least
on FreeBSD:

> show uname
show: Command not found.
> which uname
/usr/bin/uname
> whereis uname
uname: /usr/bin/uname /usr/share/man/man1/uname.1.gz

-- 
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"


Re: Xorg Problems

2010-08-26 Thread Marc Fonvieille
On Thu, Aug 26, 2010 at 04:11:27PM -0400, Eitan Adler wrote:
> >> I used make install as I had no way of knowing that additional drivers
> >> could be selected.  Perhaps that should be an option to the sysinstall
> >> program when FBSD is initially being installed.
> >>
> >
> > Yes, people can't guess what are the names of the drivers, it's in my
> > opinion a problem for this port.  I Cced the maintainer.
> 
> I have a lot on my plate right now so I can't guarantee that I'll
> solve this soon.
> Would depending on x11-driver/xorg-drivers instead of requiring
> VIDEO_DRIVER being set help at all?
> I intended this port to be used when you require X11 to up and running
> fast without any overhead. That is why things like xset aren't
> installed. It is possible to run X11 with the vesa driver even if you
> can get better performance with a different driver.
>

Having a config menu to select the drivers to be installed (via OPTIONS)
is what is missing.

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


Re: Laptop stuck at bios splash again :-( .(chunk 'ad1s4 ; ad1s2 ,ad1s3 does not start on a track boundary : install issue)

2010-08-26 Thread Bruce Cran
On Fri, 27 Aug 2010 10:13:22 +0530
Mubeesh ali  wrote:

> It seems like i am awfully unlucky :-( ,getting two bad HDDs in a row
> or iam doing something terribly wrong.
> 
> With my new HDD ;installed ubuntu and this time  installed PC bsd  not
> freebsd ,in a separate partition.
> 
> It booted up once into PC bsd,life was good  and then from next reboot
> .it is stuck at bios splash.
> As Bruce from this list commented to an earlier mail(not booting after
> freebsd install) ,i am assuming my bios (INSYDE bios) doesn't like
> freebsd partitions or freebsd in combination with ubuntu ?

It seems the INSYDE bios is rather poor: other people have had problems
when trying to use TrueCrypt or PGP in
Windows:
http://social.answers.microsoft.com/Forums/en-US/w7hardware/thread/cc99bd9c-c65c-4ad1-a892-653be6102195

-- 
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"


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

2010-08-26 Thread Matthew Seaman
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



signature.asc
Description: OpenPGP digital signature


Laptop stuck at bios splash again :-( .(chunk 'ad1s4 ; ad1s2 ,ad1s3 does not start on a track boundary : install issue)

2010-08-26 Thread Mubeesh ali
It seems like i am awfully unlucky :-( ,getting two bad HDDs in a row
or iam doing something terribly wrong.

With my new HDD ;installed ubuntu and this time  installed PC bsd  not
freebsd ,in a separate partition.

It booted up once into PC bsd,life was good  and then from next reboot
.it is stuck at bios splash.
As Bruce from this list commented to an earlier mail(not booting after
freebsd install) ,i am assuming my bios (INSYDE bios) doesn't like
freebsd partitions or freebsd in combination with ubuntu ?




On Thu, Aug 26, 2010 at 12:01 AM, Mubeesh ali  wrote:
> yes. there is an un allocated 50 gb space (deleted a partition using
> win 7 partition tools) and we created a feebsd slice in the
> unallocated space while running sysinstall  However in the next
> screen; i guess where it should give us an option to partition the
> freebsd slice into root,home,swap  etc ? it throws this error about
> the track boundary and it defaults to use the entire disk.
>
> sure i will double check the procedure in handbook.
>
> thanks,
> Mubeesh
>
>
>
>
>
> On Wed, Aug 25, 2010 at 11:49 PM, claudiu vasadi
>  wrote:
>> of course there is. if you have empty space, create a freebsd slice and your
>> set.
>>
>> handbook - instalation section section 2.6 is EXACTLY what you need, but I
>> strongly recommend reading the handbook (as much as possible)
>>
>
>
>
> --
> Best  Regards,
>
> Mubeesh Ali.V.M
>



-- 
Best  Regards,

Mubeesh Ali.V.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: change file creation time on msdosfs

2010-08-26 Thread Isamu Onoda
Hi Dominic,

Did you tried "ls -lu" or "ls -lc" to check the time stamp?
In some of the format, unix does not support getting those information.

If you still want to try, using fsdb command, and modifying file
system itself may work.
Use mtime/ctime/atime built-in command whichever you want to change.

[man of  fsdb]
http://pine.ict.nsc.ru/cgi-bin/www/unix_help/unix-man?fsdb+8

Sincerely,
Isamu Onoda

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




2010/8/27 Dominic Fandrey :
> 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? The usual suspects like touch and mv do not work.
>
> 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-26 Thread Isamu Onoda
Hi, Nita

You can also use ~ to mention your home directory.
$ cd ~ // Go to home directory
$ pwd // Check the output, to know where is the home
and may use chdir command if you want to change your home directory.

Sincerely,
Isamu Onoda

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




2010/8/27 Jonathan Chen :
> On Thu, Aug 26, 2010 at 11:11:40PM +0530, 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.
>
> Check the output of:
>    ls -ld /
>    ls -ld /homes
>    ls -ld /homes/nitap
>
> --
> Jonathan Chen 
> --
>          "You can get farther with a kind word and a gun
>                      than you can with a kind word alone" - Al Capone
> ___
> freebsd-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: fan control

2010-08-26 Thread Isamu Onoda
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"


Re: DSPAM

2010-08-26 Thread siefke_lis...@web.de
Hello,

Am 27.08.2010 05:48, schrieb Rocky Borg:
>  On 8/26/2010 8:39 PM, siefke_lis...@web.de wrote:
>> I have changed this in 192.168.0.0/24, but the mistake is the same.
>> Aug 27 05:38:02 silviosiefke postfix/lmtp[50471]: 059D2147C96:
>> to=, relay=none, delay=3.3,
>> delays=3.3/0.03/0/0, dsn=4.4.1, status=deferred (connect to
>> 192.168.0.101[192.168.0.101]:10024: Connection refused)
> 
> In your main.cf have you setup mynetworks and allowed them correctly? I
> ran into similar problems when the jail ip itself wasn't list in
> mynetworks.

postconf -n
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/db/postfix
html_directory = /usr/share/doc/postfix
inet_interfaces = 192.168.0.100, 127.0.0.1
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = dyndns.org
myhostname = silviosiefke.dyndns.org
mynetworks = 127.0.0.0/8, 192.168.0.0/24
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = no
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,  reject_non_fqdn_hostname,
reject_non_fqdn_sender, reject_non_fqdn_recipient,
reject_unauth_destination,  reject_unauth_pipelining,
reject_invalid_hostname,reject_rbl_client opm.blitzed.org,
reject_rbl_client bl.spamcop.net,   reject_rbl_client
sbl-xbl.spamhaus.org,   check_client_access
pcre:/etc/postfix/dspam_filter_access,  permit_auth_destination
smtpd_sasl_auth_enable = no
smtpd_sasl_local_domain =
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_CAfile = /etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = no
soft_bounce = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550

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


su always works if pam config missing

2010-08-26 Thread Jason C. Wells
The su(1) command always provide root access if there are no pam config 
files. Is this actually the desired behavior?


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


Re: DSPAM

2010-08-26 Thread Rocky Borg

 On 8/26/2010 5:36 PM, siefke_lis...@web.de wrote:

  -o smtpd_authorized_xforward_hosts=127.0.0.0/8


That's probably the problem. It needs to be the ip of the jail.  A jail 
maps localhost addresses like 127.0.0.1 to the jail's address. So when 
you specify network blocks in access restrictions, filters and the like, 
make sure to use your jail IP rather than 127.0.0.1.

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


Routing Question

2010-08-26 Thread Doug Hardie
I have several servers with one ethernet interface.  Currently it is connected 
via a WAN to the internet.  We are in the midst of switching to a different 
provider.  I would like to be able to operate with both temporarily until all 
the users/services get switched.  The new circuit is in and working.  I would 
like somehow to configure the system (I have pf in use) to be able to detect 
the packets that come from a specific router and route the return packets back 
through it.  The other network would be the default.  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.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


DSPAM

2010-08-26 Thread siefke_lis...@web.de
Hello,

i have installed DSPAM in a Jail together with Apache. I do it so
because i want use the webinterface.

Before Postfix send message to the socket /tmp/dspam.sock and that was.
But now it goes not with the jail. I read some Howtos in Internet and i
want it now so realize.

Postfix take the mails and send it to the jailIP:10024 and give it back
over jailIP:10025. So i was think, but it goes not.

log:
Aug 27 02:32:22 silviosiefke postfix/lmtp[48553]: 1D5BF147C9D:
to=, relay=none, delay=0.05,
delays=0.05/0/0/0, dsn=4.4.1, status=deferred (connect to
192.168.0.101[192.168.0.101]:10024: Connection refused)

Postfix i use the follow things:
main.cf:
check_client_access pcre:/etc/postfix/dspam_filter_access

dspam_filter_access:
/./   FILTER lmtp:[192.168.0.101]:10024

master.cf
192.168.0.101:10025 inet n  -   n   --  smtpd
   -o smtpd_authorized_xforward_hosts=127.0.0.0/8

192.168.0.100 > Host
192.168.0.101 > Jail



dspam.conf
Home /var/db/dspam
StorageDriver /usr/local/lib/dspam/libhash_drv.so
#TrustedDeliveryAgent ""/usr/sbin/sendmail"
DeliveryHost192.168.0.100
DeliveryPort10025
DeliveryIdent   localhost
DeliveryProto   SMTP
OnFail error
Trust root
Trust dspam
Trust apache
Trust mail
Trust mailnull
Trust smmsp
Trust daemon
Trust siefke
#Trust nobody
#Trust majordomo
TrainingMode teft
TestConditionalTraining on
Feature whitelist
Algorithm graham burton
PValue bcr
WebStats on
Preference "spamAction=quarantine"
Preference "signatureLocation=headers"  # can be 'message' or 'headers'
Preference "showFactors=off" # changed from on
ServerPort   11124
ServerQueueSize  32
ServerPID /tmp/dspam.pid
ServerMode auto
ServerParameters"--user filter --deliver=innocent"
ServerDomainSocketPath  "/tmp/dspam.sock"
ServerParameters"--deliver=innocent -d %u"
ServerIdent "localhost.localdomain"
ClientHost  192.168.0.100
ClientPort  10024
HashRecMax  98317
HashAutoExtend  on
HashMaxExtents  0
HashExtentSize  49157
HashPctIncrease 100
HashMaxSeek 10
Notifications   off
PurgeSignatures 14  # Stale signatures
PurgeNeutral90  # Tokens with neutralish probabilities
PurgeUnused 90  # Unused tokens
PurgeHapaxes30  # Tokens with less than 5 hits (hapaxes)
PurgeHits1S 15  # Tokens with only 1 spam hit
PurgeHits1I 15  # Tokens with only 1 innocent hit
LocalMX 192.168.0.100
SystemLog   on
UserLog on
Opt out
TrackSources spam ham
ParseToHeaders on
ChangeModeOnParse on
ChangeUserOnParse on
ClamAVPort  3310
ClamAVHost  127.0.0.1
ClamAVResponse  accept
ProcessorBias on


Has someone a Idea for me? It were really great i try now since 2 Days,
and so much i has read but nothing happen really.


Regards
Silvio

___
freebsd-questions@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-26 Thread Bill Campbell
On Thu, Aug 26, 2010, Ed Flecko wrote:
>Hi folks,
>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?

I would say that depends on what software the clients want to
use.  FileZilla works nicely with sftp, and is available on
Windows, OS X, and I presume other *nix platforms (I'm a CLI guy
so only have used it enough to be sure it works).

One can also use the sshfs to provide the ability to mount remote
file systems over an ssh connection.  This requires nothing on
the file server side other than working ssh.  I haven't tried
this on FreeBSD.  On Linux it requires kernel support of fuse,
user level file system.

There's no reason one couldn't use both sftp and scp/sshfs.

We generally don't allow any ssh password access, but require
authorized_keys.  In a few cases where the client absolutely
insists on allowing password authentication, we lock it down to a
limited set of IP addresses.

We have been able to get many clients to use OpenVPN to make
their connections which makes life easier after the initial setup
as all connections are through the OpenVPN tunnel so we don't
have to allow outside ssh access.

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

If you make yourselves sheep, the wolves will eat you -- Benjamin Franklin
___
freebsd-questions@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-26 Thread Ed Flecko
Gary,
I agree...but I HAVE to give them access!

:-)

Ed
___
freebsd-questions@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-26 Thread Gary Gatten
" My primary concern is overall security of the server (even if that means 
inconveniencing the end users),"

Given your above statement, I would say the best option is to NOT connect it to 
any network at all - ESPECIALLY the internet! ;-)

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Ed Flecko
Sent: Thursday, August 26, 2010 5:08 PM
To: freebsd-questions@freebsd.org
Subject: Advantage -vs- Disadvantage: SFTP -vs- SCP

Hi folks,
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?

Comments???

Thank you,
Ed
___
freebsd-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"


Advantage -vs- Disadvantage: SFTP -vs- SCP

2010-08-26 Thread Ed Flecko
Hi folks,
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?

Comments???

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


Re: ports database

2010-08-26 Thread gahn
well, I could just update the database offline, then use another machine
 download right software and put them in /usr/ports/distfiles...

--- On Thu, 8/26/10, Adam Vande More  wrote:

From: Adam Vande More 
Subject: Re: ports database
To: "gahn" 
Cc: "freebsd general questions" 
Date: Thursday, August 26, 2010, 1:07 PM

On Thu, Aug 26, 2010 at 2:13 PM, gahn  wrote:

Hi all:



Is it possible to update the database of ports offline.



It is nice to use "portsnap fetch/extract/update", but I can't use that since 
one of my server has no connection to the internet...

If you have another machine available, it probably makes more sense to build 
the packages there and bring them over.   A ports tree with no internet 
connection is not always useful.  It doesn't contain the source necessary to 
build the packages.  


-- 
Adam Vande More





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


Re: Xorg Problems

2010-08-26 Thread Eitan Adler
>> I used make install as I had no way of knowing that additional drivers
>> could be selected.  Perhaps that should be an option to the sysinstall
>> program when FBSD is initially being installed.
>>
>
> Yes, people can't guess what are the names of the drivers, it's in my
> opinion a problem for this port.  I Cced the maintainer.

I have a lot on my plate right now so I can't guarantee that I'll
solve this soon.
Would depending on x11-driver/xorg-drivers instead of requiring
VIDEO_DRIVER being set help at all?
I intended this port to be used when you require X11 to up and running
fast without any overhead. That is why things like xset aren't
installed. It is possible to run X11 with the vesa driver even if you
can get better performance with a different driver.


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


Re: ports database

2010-08-26 Thread Adam Vande More
On Thu, Aug 26, 2010 at 2:13 PM, gahn  wrote:

> Hi all:
>
> Is it possible to update the database of ports offline.
>
> It is nice to use "portsnap fetch/extract/update", but I can't use that
> since one of my server has no connection to the internet...
>

If you have another machine available, it probably makes more sense to build
the packages there and bring them over.   A ports tree with no internet
connection is not always useful.  It doesn't contain the source necessary to
build the packages.

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


Re: ports database

2010-08-26 Thread Polytropon
On Thu, 26 Aug 2010 12:13:14 -0700 (PDT), gahn  wrote:
> Is it possible to update the database of ports offline.
> 
> It is nice to use "portsnap fetch/extract/update", but I can't
> use that since one of my server has no connection to the internet...

At least you need one machine with Internet connection to get
the ports update, e. g. using "portsnap fetch extract" or
"make update" (using csup). Once done, tar cf ports.tar /usr/ports
and transfer the file to the server without Internet connection;
finally extract it there.

Another way would be to use the FreeBSD release CD or DVD to
get the RELEASE related ports tree from there.




-- 
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: Need Res Utility

2010-08-26 Thread Bill Moran
In response to Tamara Ferris :
> 
> I got this error message. I also need the Res utility.
> 
> % show res tp5
> show: Command not found.
> % 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

This is not a FreeBSD system.  You should probably contact tech
support at Juniper with your question.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ports database

2010-08-26 Thread gahn
Hi all:

Is it possible to update the database of ports offline.

It is nice to use "portsnap fetch/extract/update", but I can't use that since 
one of my server has no connection to the internet...

_dave


  

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


change file creation time on msdosfs

2010-08-26 Thread Dominic Fandrey
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? The usual suspects like touch and mv do not work.

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"


Need Res Utility

2010-08-26 Thread Tamara Ferris
Hi, 

I got this error message. I also need the Res utility.

% show res tp5
show: Command not found.
% 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

Thanks, Tamara
___
freebsd-questions@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-26 Thread Jonathan Chen
On Thu, Aug 26, 2010 at 11:11:40PM +0530, 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.

Check the output of:
ls -ld /
ls -ld /homes
ls -ld /homes/nitap

-- 
Jonathan Chen 
--
  "You can get farther with a kind word and a gun
  than you can with a kind word alone" - Al Capone
___
freebsd-questions@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-26 Thread Adam Vande More
On Thu, Aug 26, 2010 at 12:41 PM, Nita Pavitran  wrote:

> 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.
>

Wow that's an old release.

The standard home directory is in:

/usr/home/{username}
or it's equivalent
/home/{username}

You have /homes not /home in your error message which could be the cause.

You can also make sure the directory exists and has the correct permissions.

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


Re: unsupported intel card registration issue

2010-08-26 Thread Jack Vogel
Its jfv, not jvf :)

Support for that card is in  CURRENT and STABLE/8, am almost
certain its in 8.1. That's a quad-port 82576.

Jack


On Thu, Aug 26, 2010 at 9:56 AM, Jason  wrote:

> Hi,
>
> We have an add-on Intel card that isn't registering with the OS, and were
> wondering what would it take to have it properly identified so it may be
> used.
>
> This particular installation is FreeBSD 7.3, however we do have some 8.1
> systems.
>
> This is a Dell PowerEdge R310.
>
> Here is a snip from pciconf for this card:
> no...@pci0:7:0:0:   class=0x02 card=0xa02c8086 chip=0x10e88086
> rev=0x01 hdr=0x00
>vendor = 'Intel Corporation'
>device = 'Unknown (Unknown)'
>class  = network
>subclass   = ethernet
> no...@pci0:7:0:1:   class=0x02 card=0xa02c8086 chip=0x10e88086
> rev=0x01 hdr=0x00
>vendor = 'Intel Corporation'
>device = 'Unknown (Unknown)'
>class  = network
>subclass   = ethernet
> non...@pci0:8:0:0:  class=0x02 card=0xa02c8086 chip=0x10e88086
> rev=0x01 hdr=0x00
>vendor = 'Intel Corporation'
>device = 'Unknown (Unknown)'
>class  = network
>subclass   = ethernet
> non...@pci0:8:0:1:  class=0x02 card=0xa02c8086 chip=0x10e88086
> rev=0x01 hdr=0x00
>vendor = 'Intel Corporation'
>device = 'Unknown (Unknown)'
>class  = network
>subclass   = ethernet
>
> Thanks!
> Jason
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Could not chdir to home directory

2010-08-26 Thread Nita Pavitran
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"


Re: fan control

2010-08-26 Thread 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)


pgpfjMk6BAa9l.pgp
Description: PGP signature


unsupported intel card registration issue

2010-08-26 Thread Jason

Hi,

We have an add-on Intel card that isn't registering with the OS, and were
wondering what would it take to have it properly identified so it may be
used.

This particular installation is FreeBSD 7.3, however we do have some 8.1 
systems.


This is a Dell PowerEdge R310.

Here is a snip from pciconf for this card:
no...@pci0:7:0:0:   class=0x02 card=0xa02c8086 chip=0x10e88086
rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'Unknown (Unknown)'
class  = network
subclass   = ethernet
no...@pci0:7:0:1:   class=0x02 card=0xa02c8086 chip=0x10e88086
rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'Unknown (Unknown)'
class  = network
subclass   = ethernet
non...@pci0:8:0:0:  class=0x02 card=0xa02c8086 chip=0x10e88086
rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'Unknown (Unknown)'
class  = network
subclass   = ethernet
non...@pci0:8:0:1:  class=0x02 card=0xa02c8086 chip=0x10e88086
rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'Unknown (Unknown)'
class  = network
subclass   = ethernet

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


IPFW and ipa

2010-08-26 Thread Grant Peel

Hi all,

Since FreeBSD 4.4, I have been using ipa(1.3.6) to do bandwidth accounting.

Since upgrading to FreeBSD 8, I now get log messages saying that the ipfw 
rules do not exist:


Example (one example of hundreds doing the same thing):

Aug 26 07:32:59 constellation ipa[2940]: rule rulename.ipa: 10017.0 doesn't 
exist in IPFW kernel table
Aug 26 07:32:59 constellation ipa[2940]: rule rulename.ipa: 10017.1 doesn't 
exist in IPFW kernel table


The ipfw rule does exist:

#ipfw -a list
10017   4826   4903117 count ip from nnn.nnn.nnn.nnn to any via bge0
10017   4233655962 count ip from any to nnn.nnn.nnn.nnn via bge0

The /usr/local/etc/ipa.conf rule looks like so:

rule rulename.ipa {
ipfw = 10017 10017.1
info = rulename bandwidth
}

The ipa database is empty:

constellation# ipastat -r rulename.ipa
+-+---+-+-+
| Rule| Info  | From| To 
|

+-+---+-+-+
| rulename.ipa| rulename bandwidth| 2010.08.01/00:00:00 | 
2010.08.31/24:00:00 |

+-+---+-+-+

++---++
| Date   | Bytes | Mbytes |
++---++
| 2010.08.01 | 0 |  0 |
| 2010.08.02 | 0 |  0 |
| 2010.08.03 | 0 |  0 |
| 2010.08.04 | 0 |  0 |
| 2010.08.05 | 0 |  0 |
| 2010.08.06 | 0 |  0 |
| 2010.08.07 | 0 |  0 |
| 2010.08.08 | 0 |  0 |
| 2010.08.09 | 0 |  0 |
| 2010.08.10 | 0 |  0 |
| 2010.08.11 | 0 |  0 |
| 2010.08.12 | 0 |  0 |
| 2010.08.13 | 0 |  0 |
| 2010.08.14 | 0 |  0 |
| 2010.08.15 | 0 |  0 |
| 2010.08.16 | 0 |  0 |
| 2010.08.17 | 0 |  0 |
| 2010.08.18 | 0 |  0 |
| 2010.08.19 | 0 |  0 |
| 2010.08.20 | 0 |  0 |
| 2010.08.21 | 0 |  0 |
| 2010.08.22 | 0 |  0 |
| 2010.08.23 | 0 |  0 |
| 2010.08.24 | 0 |  0 |
| 2010.08.25 | 0 |  0 |
| 2010.08.26 | 0 |  0 |
++---++
|| 0 |  0 |
++---++
* 26 days *


Has something changed in ipfw that no longer allows the .0 and .1 part? Does 
anyone know of a fix or workaround?


-Grant 



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


Howto create FAT32 bootable USB device with gpart?

2010-08-26 Thread Hartmann, O.
 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?


Thanks in advance.

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


Re: 8.1 memstick installation

2010-08-26 Thread Morgan Wesström
>> Check my old message on how to do this in FreeBSD 7.2. The same
>> instructions should work for 8.1 too, just change the version references.
>>
http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/201928.html
>> /Morgan
>>
>
>
> Thanks a lot,
> this seems to work. Is there any chance to get this into the faq or
> handbook? It's seems way more usefull to me than a live-CD. Best thing
> would be putting it into sysinstall, but maybe this is not reallistic.
> 
> Best regards,
> Friedemann
> 

You're welcome. I'm not on the FreeBSD developer's team so I can't
answer your questions about the FAQ. There is however a wiki at
freebsd.org and I could ofc provide an article there if the developers
find it useful. Sysinstall is simply put just a frontend to the commands
I use in the guide and you could accomplish the exact same install
thorugh it if you change the default options. But I find it much easier
to do this basic install manually instead of navigating through several
pages of menus. :-)

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


Re: printing outside browser cuts off top and bottom of page

2010-08-26 Thread Chad Perrin
On Thu, Aug 26, 2010 at 01:31:06AM -0500, Robert Bonomi wrote:
> 
> What are the chances that that those 'problem' PDFs are designed for a
> slightly _different_ paper size, and CUPS is -nto- 'scaling' to fit the
> actual paper size?

When printing via a method that bypasses CUPS (using netcat), it prints
just fine -- and does not fit within the confines of the top and bottom
margins that are cutting off the content when printing via CUPS.  The PDF
does extend outside of what might be considered "reasonable" margins for
something like an interoffice memo, but does not run all the way to the
edges of the paper; CUPS just doesn't want to print as far "north" and
"south" as the PDF's content goes, evidently.


> 
> I don't know diddly-squat about CUPS, but this sounds an awful lot like
> what happens when a printer has 'letter' paper loaded, but has been told
> that it has size 'A4' paper.

CUPS in this case has definitely been told it has US Letter size paper.


> 
> Look for configuration settings in whatever is doing the Postscript/PDF
> rendering, with regard to 'substiting' one paper size for another.

This has been addressed in other discussion in this thread.  It is likely
pdf2ps (part of ghostscript) that is doing the translation to PostScript;
the other alternative is pdftops.  Both of them provide a complete
PostScript file, with all content on the page, but when either the PDF or
the PS output of either of those tools is printed using CUPS the same
problem arises.  Using pdf2ps to produce PS output, which is then sent to
the printer using netcat, produces a neatly printed page with no
problems, however -- other than the minor problem that I'm using netcat
to send jobs to my printer rather than a front end for a proper printing
queue.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpB9LZu95btm.pgp
Description: PGP signature


Re: printing outside browser cuts off top and bottom of page

2010-08-26 Thread Chad Perrin
On Wed, Aug 25, 2010 at 02:42:18PM -0600, Warren Block wrote:
> On Wed, 25 Aug 2010, Chad Perrin wrote:
> 
> >I was not entirely sure before today whether the 4050N could handle
> >straight PostScript instead of PCL, but the test I performed using nc to
> >see if it would print properly involved using pdf2ps and no other file
> >format transformations, so it seems PS is fine in this case.
> 
> The LJ4050 is a great printer.  The PS emulation works well and it's 
> very smart about paper trays and input.  Sort of the Douglas DC3 of 
> lasers; I know of a couple with page counts over a million.
> 
> For further information on lpd and filters, let me repost the link to my 
> lpd article, which I really should have posted yesterday but forgot:
> 
> http://www.wonkity.com/~wblock/docs/html/lpdprinting.html

Thanks.  I'll be looking into lpd as a solution to my CUPS problem, since
there still doesn't appear to be an easy fix for CUPS.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpyDD4yAOtEo.pgp
Description: PGP signature


Re: Xorg Problems

2010-08-26 Thread Marc Fonvieille
On Sun, Aug 22, 2010 at 07:17:48AM -0700, Fred Boatwright wrote:
> > 
> > For x11/xorg-minimal installation you issued the command:
> > 
> > "make install" or "make install VIDEO_DRIVER=your_video_driver" ?
> > 
> > Without the mention of the driver it installs the vesa driver only.
> > This is sub-optimal, an options screen with all existing drivers should
> > be proposed.
> > 
> > --
> > Marc
> 
> I used make install as I had no way of knowing that additional drivers
> could be selected.  Perhaps that should be an option to the sysinstall
> program when FBSD is initially being installed.
>

Yes, people can't guess what are the names of the drivers, it's in my
opinion a problem for this port.  I Cced the maintainer.

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


Re: serious (for me) Xorg 7.5 mouse/kbd problem in 8.1-STABLE

2010-08-26 Thread Warren Block

On Thu, 26 Aug 2010, William Bulley wrote:

In my use of open-motif, I use and depend on mouse focus.

...

Nothing has changed.  When I run open-motif, I still experience
the crippling loss of mouse focus when I enter the sequence
Shift/Btn3Click.

...

  Shiftwindow  f.minimize

Since TWM works and the xterms therein also work just fine, I
doubt that xterm is at fault.  I also hold open-motif blameless
since it has not changed in years.  I think something in Xorg
or one of its support modules is not properly registering the
Shift/Btn3Click event to the xorg-server, or that xorg-server
has changed so that this particular event causes my pointer
focus to disappear.

Unfortunately, I don't know how to track down this bug or to
narrow the search for what changed.  I was hoping someone in
FreeBSD-land would have some suggestions.  I have heard that
contacting the Xorg developers may not result in a timely
resolution.  I greatly appreciate the comments on -questions
to date.  Thanks guys.


It's worth checking with the open-motif port maintainer.  Also worth 
posting on the xorg mailing 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: Xorg Problems

2010-08-26 Thread Tijl Coosemans

   Dear Sir/Madam,
   Your email was unable reach the intended person that you were sending
   it to.
   For more information on our business please click on the following
   link:
   [1]Click here for our website
   We look forward to your continued business in the future.
   Regards,
   Webmaster

References

   1. http://www.xpbargains.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: serious (for me) Xorg 7.5 mouse/kbd problem in 8.1-STABLE

2010-08-26 Thread William Bulley
According to Warren Block  on Wed, 08/25/10 at 11:03:
> 
> You are telling xorg-server to not use hald with the AutoAddDevices 
> line:
> 
> >  Section "ServerFlags"
> >   Option  "AutoAddDevices" "off"
> >   Option  "DontZap" "false"
> >  EndSection
> 
> And the other option is already a default.  So removing or commenting 
> that section would let xorg-server use hald.
> 
> I don't know if this will affect your window manager.  Probably not, but 
> worth testing.

Did that.  Made that change.  No joy...  :-(

Regards,

web...

--
William Bulley Email: w...@umich.edu

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


Re: serious (for me) Xorg 7.5 mouse/kbd problem in 8.1-STABLE

2010-08-26 Thread William Bulley
According to Polytropon  on Wed, 08/25/10 at 10:03:
> 
> In case you're using HAL + DBUS, the setting now has to be coded
> in XML in some arbitrary file at a decentral location buried deep
> in the /usr/local subtree. According to the handbook
> 
>   5.4.2 Configuring X11
>   http://www.freebsd.org/doc/handbook/x-config.html
> 
> this is /usr/local/etc/hal/fdi/policy/x11-input.fdi with
> 
>   
>   
> 
>   
>  type="string">terminate:ctrl_alt_bksp
>   
> 
>   
> 
> as well as /etc/X11/xorg.conf will need to be added
> 
>   Section "ServerFlags"
>   Option "DontZap"   "off"
>   EndSection
> 
> And the handbook also suggests a reboot (?!) to make sure HAL will
> pick up the new setting. Next time, you will have to reboot in order
> to make a mouse pointer position change visible. :-)

Thanks for all the suggestions.  Here is where things stand:

I am still having the same problem since upgrading to 8.1-STABLE.

First, what has changed.  Then a clarification of the problem.

   xterm has changed: now 2.6.1 was 2.5.3
   xorg has changed: now 7.5 was 7.3
   xorg-server has changed: now 1.7.5,1 was 1.6.1,1
   xf86-input-keyboard: now 1.4.0 was 1.3.2_2
   xf86-input-mouse: now 1.5.0 was 1.4.0_6
   hal has changed: now 0.5.14_8 was 0.5.13_12
   kernel has changed: now 8.1-STABLE was 8.0-STABLE

Note that open-motif _has_ _not_ _changed_ for some time.

The problem is not in the method of shutting down my Xorg session.
The problem is not the disappearance of my arrow cursor/pointer
per se, although that may be a symptom of the underlying problem.

The problem is that I am unable (now) to use open-motif through
no change in my configs or my settings.  Something has changed
in the underlying applications, or system libraries, or kernel.

In my use of open-motif, I use and depend on mouse focus.  This
means that when I move my mouse, the xterm I was in looses focus
and the xterm into which I move my mouse pointer gains focus.
This feature is also present in TWM, but open-motif (MWM) gives
me the additional feature that the window having focus is also
raised to the top - above all other windows/applications.  This
feature is critical for me and why I prefer using open-motif.

When I first experienced this bug, all I could do at that point
was to exit my xorg session (various folks have helped make that
more "normal").  I have modified my .xinitrc file to include:

   /usr/local/bin/setxkbmap -option "terminate:ctrl_alt_bksp"

and now Ctrl/Alt/BS sequence works as it used to in the "old days".

I have commented out ServerFlags section of my /etc/X11/xorg.conf
file and I have rebooted my workstation.  Both hald and dbus are
still enabled in my /etc/rc.conf file.

Nothing has changed.  When I run open-motif, I still experience
the crippling loss of mouse focus when I enter the sequence
Shift/Btn3Click.  The prevents me from using _any_ of my other
windows or xterms or applications since I can no longer select
them (give them focus).

Recall this setting in my ~/.mwmrc file:

   Shiftwindow  f.minimize

OTOH _everything_ works in /usr/local/bin/twm.  I much prefer
the features of MWM compared to TWM.  I don't want to relearn
another window manager just because of this problem, and I'd
rather not reassign my f.minimize feature to a difference key
and mouse sequence, since some day, some application may require
me to enter Shift/Btn3Click which would effectively ruin that
Xorg session.

Since TWM works and the xterms therein also work just fine, I
doubt that xterm is at fault.  I also hold open-motif blameless
since it has not changed in years.  I think something in Xorg
or one of its support modules is not properly registering the
Shift/Btn3Click event to the xorg-server, or that xorg-server
has changed so that this particular event causes my pointer
focus to disappear.

Unfortunately, I don't know how to track down this bug or to
narrow the search for what changed.  I was hoping someone in
FreeBSD-land would have some suggestions.  I have heard that
contacting the Xorg developers may not result in a timely
resolution.  I greatly appreciate the comments on -questions
to date.  Thanks guys.

Regards,

web...

--
William Bulley Email: w...@umich.edu

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


Re: ipfw

2010-08-26 Thread Matthew Seaman
On 26/08/2010 12:56, Grant Peel wrote:

> I am running FreeBSD 8, and am assuming I am using ipfw2
> 
> How does one find the current version of IPFW being used?

Base system utilities generally don't have a separate version number --
other than the SVN revision numbers of their source code files.  Just
track them by the version of the OS.

Hmmm... if you're asking about the ipfw1 -> ipfw2 update, that is pretty
ancient history now.  AFAIR it was current around 5.3-RELEASE.  Maybe
even earlier.  All those changes were merged into the base system a long
time ago now, and you can safely assume that you're on ipfw2.

There have been some subsequent changes to ipfw which may involve
modified ways of doing certain things -- I'm thinking of the in-kernel
NAT features for example.  This sort of change is best tracked through
the Release Notes for new FreeBSD versions.

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



signature.asc
Description: OpenPGP digital signature


ipfw

2010-08-26 Thread Grant Peel

Hi all,

I am running FreeBSD 8, and am assuming I am using ipfw2

How does one find the current version of IPFW being used?

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


fan control

2010-08-26 Thread Matias

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.


I've contacted the manufacturer asking him about if this is an expected 
behaviour (even if it had windows) but I didn't get any response from 
them (and no, I don't have windows licenses to try it myself :-( ...).


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


Thanks on beforehand.


p/d: The hardware is this: 
http://www.giadatech.com/chanpinzhongxin/minipc/slim%20series/2010-01-19/17.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"