Re: wvstreaams + wvdial on FreeBSD 8.1 AMD 64

2010-08-30 Thread Odhiambo Washington
On Mon, Aug 30, 2010 at 5:58 AM, Antonio Olivares
olivares14...@gmail.comwrote:

 Dear FreeBSD users,

 I have run out of ideas to troubleshoot a difficult task:

 get wvstreams and wvdial to work on FreeBSD 8.1.


Why don't you just use the native ppp in FreeBSD?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
   -- Lucky Dube
___
freebsd-questions@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-30 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 prepared another USB key which boots fine in my laptop, boots fine in
the other laptop native (i.e. without VM-player); but in the
VM-player and in an older laptop of my wife it can't mount the root file
system on boot; it says:

...
umass0: SCSI over Bulk-Only; quirks = 0x000
Root mount waiting for; usbus1
aumass0:1:0:-1 Attached to scbus1
uhub_explore:592: illegal enable change, port 1
da0at umass-sim0 bus 0 target 0 lun 0
da0: Intenso Premium 0.00 Remobeable Direct Access SCSI-2 device
da0: 40.000MB/s travsfer
da0: 7701MB (... byte per sector info)
Trying to mount root from ufs:/dev/da0s1a

Manual root file system specification...

when I specify manually the root as 'ufs:/dev/da0s1a' the same message
comes again;

looks like some timing problem, or? this is with 8-CURRENT based on CVS
of March 2009.

Any hints?

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - 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


Can I know how many bytes were allocated by malloc in my process?

2010-08-30 Thread Yuri

google-perftools malloc library has such feature.
But does FreeBSD system allocator have it?

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: Can I know how many bytes were allocated by malloc in my process?

2010-08-30 Thread Ivan Voras

On 08/30/10 11:59, Yuri wrote:

google-perftools malloc library has such feature.
But does FreeBSD system allocator have it?


Maybe getrusage(2) can help you, though it also counts non-malloc() 
allocations.



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


Re: IBM server SAS controller support?

2010-08-30 Thread Ivan Voras

On 08/27/10 16:23, Baldur Gislason wrote:

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?


So you have tried and failed?

There are lists of devices here:

http://man.freebsd.org/mfi
http://man.freebsd.org/amr

but they are incomplete. FWIW, I've successfuly used IBM x3650 M3 with 
the controller which identifies itself as:


mfi0: LSI MegaSAS Gen2 port 0x1000-0x10ff mem 
0x9f94-0x9f943fff,0x9f90-0x9f93 irq 16 at device 0.0 on pci1

mfi0: Megaraid SAS driver Ver 3.00
mfi0: 498 (boot + 3s/0x0020/info) - Firmware initialization started (PCI 
ID 0079/1000/03b2/1014)

mfi0: 499 (boot + 3s/0x0020/info) - Firmware version 2.0.03-0689


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


Re: killall -9 program-name does not work

2010-08-30 Thread RW
On Mon, 30 Aug 2010 03:14:58 +
Antonio Olivares olivares14...@gmail.com wrote:

 Dear fellow FreeBSD users,
 
 I have a cron script that plays music in the morning when I arrive at
 work.
 
 in ~/.xalarm I have two lines, one that calls xterm and one that calls
 mplayer and plays a series of music files in a playlist
 
 crontab -l
 has the following
 # min  hour day-of-month month day-of-week command
 # 0-59 0-23 1-31 1-12  0-6 0=sun 1=mon
 00 07 * * 1-5 ~/.xalarm /dev/null 21
 30 07 * * 1-5 killall -9 /usr/local/bin/mplayer /dev/null 21

You don't need the path to mplayer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: wvstreaams + wvdial on FreeBSD 8.1 AMD 64

2010-08-30 Thread Antonio Olivares
On Mon, Aug 30, 2010 at 1:37 AM, Odhiambo Washington odhia...@gmail.com wrote:


 On Mon, Aug 30, 2010 at 5:58 AM, Antonio Olivares olivares14...@gmail.com
 wrote:

 Dear FreeBSD users,

 I have run out of ideas to troubleshoot a difficult task:

 get wvstreams and wvdial to work on FreeBSD 8.1.


 Why don't you just use the native ppp in FreeBSD?

Don't have experience with it :(  Have used kppp in FreeBSD and Linux,
but also use wvdial.  I prefer those tools and examples in FreeBSD
Handbook have not worked for me before sadly.

Regards,

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


Re: wvstreaams + wvdial on FreeBSD 8.1 AMD 64

2010-08-30 Thread Antonio Olivares
On Mon, Aug 30, 2010 at 7:19 AM, Odhiambo Washington odhia...@gmail.com wrote:


 On Mon, Aug 30, 2010 at 3:05 PM, Antonio Olivares olivares14...@gmail.com
 wrote:

 On Mon, Aug 30, 2010 at 1:37 AM, Odhiambo Washington odhia...@gmail.com
 wrote:
 
 
  On Mon, Aug 30, 2010 at 5:58 AM, Antonio Olivares
  olivares14...@gmail.com
  wrote:
 
  Dear FreeBSD users,
 
  I have run out of ideas to troubleshoot a difficult task:
 
  get wvstreams and wvdial to work on FreeBSD 8.1.
 
 
  Why don't you just use the native ppp in FreeBSD?

 Don't have experience with it :(  Have used kppp in FreeBSD and Linux,
 but also use wvdial.  I prefer those tools and examples in FreeBSD
 Handbook have not worked for me before sadly.

 Regards,

 Antonio

 Did you try PC-BSD?


No :(

Had tried it before, but I read that it too lacks kppp and that the
port is broken with no apparent fix in sight.

Regards,

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


Cleaned out /usr/local when reinstalling ports, now keyboard in X is not localized

2010-08-30 Thread Leslie Jensen

Hello

After upgrading to xorg-7.5 on 8.1-RELEASE

I've got a problem with X not reading my

 /usr/local/etc/hal/fdi/policy/x11-input.fdi

---

?xml version=1.0 encoding=ISO-8859-1?
deviceinfo version=0.2
  device
match key=info.capabilities contains=input.keyboard
merge key=input.x11_options.XkbOptions 
type=stringterminate:ctrl_alt_bksp

/merge
  merge key=input.x11_options.XkbModel type=stringlogiitc/merge
  merge key=input.x11_options.XkbLayout type=stringse/merge
/match
  /device
/deviceinfo



So I get a US keyboard layout instead of SE.


My /var/log/Xorg.0.log



(II) config/hal: Adding input device AT Keyboard
(II) LoadModule: kbd
(II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor=X.Org Foundation
compiled for 1.7.5, module version = 1.4.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) AT Keyboard: always reports core events
(**) Option Protocol standard
(**) AT Keyboard: Protocol: standard
(**) Option XkbRules base
(**) AT Keyboard: XkbRules: base
(**) Option XkbModel pc105
(**) AT Keyboard: XkbModel: pc105
(**) Option XkbLayout us
(**) AT Keyboard: XkbLayout: us
(**) Option CustomKeycodes off
(**) AT Keyboard: CustomKeycodes disabled
(II) XINPUT: Adding extended input device AT Keyboard (type: KEYBOARD)
(II) 3rd Button detected: disabling emulate3Button



I've checked permissions and file content from a machine running 
8.0-RELEASE with xorg-7.4_3 and they are the same.



Any suggestions on how to fix this?


Thanks


/Leslie

___
freebsd-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 to make ushare support ape format music file

2010-08-30 Thread Alex Kwan

Hi!

I'd like to build a upnp server with ushare in my FreeBSD box.
Also, my multimedia player can play the ape format music file,
how to make ushare support the ape format file,?

Thanks!


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


Add a SSL certificate authority

2010-08-30 Thread Bastien Semene

 Hello,

I'm trying to add a certificate authority unsuccessfully.
The Equifax certificates authority seems not to be registered in 
FreeBSD, so I tried to add it on my server.

I'm logged in root and in its homedir.

#uname -a
FreeBSD svn.cyanide-studio.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Fri 
Aug  6 09:37:33 CEST 2010 
r...@dungeon2.cyanide-studio.com:/usr/obj/usr/src/sys/GEOM  i386


#fetch -o Equifax_Secure_Global_eBusiness_CA-1.pem 
http://www.geotrust.com/resources/root_certificates/certificates/Equifax_Secure_Global_eBusiness_CA-1.cer 


#cd /usr/src/crypto/openssl/tools
#chmod u+x c_rehash
#./c_rehash ~/
Doing /root/
Equifax_Secure_Global_eBusiness_CA-1.pem = 74c26bd0.0

My goal being to checkout an SVN repository, I re-launch the command :

# svn co https://svn.cyanide-studio.com/admin 
admin-svn  
[r...@backup]
Error validating server certificate for 
'https://svn.cyanide-studio.com:443':

 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: *.cyanide-studio.com
 - Valid: from Sun, 22 Aug 2010 13:04:24 GMT until Thu, 25 Aug 2011 
22:05:01 GMT

 - Issuer: Equifax Secure Certificate Authority, Equifax, US
 - Fingerprint: 
ed:6d:1f:6c:d4:93:e9:68:44:1c:b2:68:a1:bb:50:b5:af:0e:16:12

(R)eject, accept (t)emporarily or accept (p)ermanently? R
svn: OPTIONS of 'https://svn.cyanide-studio.com/admin': Server 
certificate verification failed: issuer is not trusted 
(https://svn.cyanide-studio.com)


I've also seen this in the source code of c_rehash :
while(exists $hashlist{$hash.r$suffix}) {
# Hash matches: if fingerprint matches its a 
duplicate cert

if($hashlist{$hash.r$suffix} eq $fprint) {
print STDERR WARNING: Skipping 
duplicate CRL $fname\n;

return;
}
$suffix++;
}

But if I launch the command twice, it still seems to indicate that it's 
adding the CA.


I'm not sure if I do it correctly, but found nothing more relevant on 
google and in the freebsd's handbook.

Can someone point me a good way to add a CA ?

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


What made my FreeBSD server freeze?

2010-08-30 Thread peter

When I awoke this morning my FreeBSD box was frozen -- completely unresponsive 
at the console -- and displayed these messages on the console:

 ad0: READ command timeout tag=0 serv=0 -resetting
 ata0: resetting devices
 ad0: removed from configuration
 done
 Aug 30 03:09:25 abc sm-mta 88427 xyz SYSERR(root): collect: Cannot write: 
./xyz (fsync uid=o, gid=25): Device not configured

The box has been in continuous operation for years, and I've never seen this 
behavior before.  

I rebooted the machine this morning and, thank God, it came back to life.  

Is this an early warning that the hard drive is failing and should be replaced 
this week?  Is there anything else I should explore or do at this time?  








-
This message sent via VFEmail.net
http://www.vfemail.net
$14.95 Lifetime accounts - 1GB disk, No bandwidth quotas!
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What made my FreeBSD server freeze?

2010-08-30 Thread Ivan Voras

On 08/30/10 13:24, pe...@vfemail.net wrote:


When I awoke this morning my FreeBSD box was frozen -- completely unresponsive 
at the console -- and displayed these messages on the console:

  ad0: READ command timeout tag=0 serv=0 -resetting
  ata0: resetting devices
  ad0: removed from configuration
  done
  Aug 30 03:09:25 abc sm-mta 88427 xyz SYSERR(root): collect: Cannot write: 
./xyz (fsync uid=o, gid=25): Device not configured

The box has been in continuous operation for years, and I've never seen this 
behavior before.

I rebooted the machine this morning and, thank God, it came back to life.

Is this an early warning that the hard drive is failing and should be replaced 
this week?


Very probably!


Is there anything else I should explore or do at this time?


If not the drive, check drive cables, the power supply and 
motherboard/CPU overheating.



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


Re: Dell Latitude E6400 and Touchpad

2010-08-30 Thread Mike Barnard
anyone on this... Synpatics Touchpad on FreeBSD 64-bit?



On Fri, Aug 27, 2010 at 12:21 PM, Mike Barnard mike.barna...@gmail.comwrote:

 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.
 




-- 
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: Add a SSL certificate authority

2010-08-30 Thread Eric Masson
Bastien Semene sabba...@semene.fr writes:

Hi,

 I'm trying to add a certificate authority unsuccessfully.
 The Equifax certificates authority seems not to be registered in
 FreeBSD, so I tried to add it on my server.

You can use the security/ca_root_nss port to retrieve the Mozilla
Project root CA list and then configure the apps that need/require it.

 I'm not sure if I do it correctly, but found nothing more relevant on
 google and in the freebsd's handbook.

This is a svn issue, not a FreeBSD one, check this section of the svn
book :
http://svnbook.red-bean.com/nightly/en/svn.advanced.confarea.html#svn.advanced.confarea.opts.servers
or
http://svnbook.red-bean.com/nightly/fr/svn.advanced.confarea.html#svn.advanced.confarea.opts.servers

Then adapt ssl-authority-files directive in [global] section of your
local or system-wide subversion servers file.

Éric Masson

-- 
  Seriez gentils de garder Hordes ou moutons dans le sujet de vos
  enfilades débiles ; comme ça, je peux demander à OE de les
  filtrer. 
 -+- NM in Guide du linuxien pervers - Bien configurer sa secrétaire
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


jail devfs.rules not loaded at boot

2010-08-30 Thread claudiu vasadi
Hello fellas,

I have a 8.0-RELEASE, i386 box with 2 jails.

Here is my rc.conf:
jail_enable=YES # Set to NO to disable starting of any jails
jail_list=dns www # Space separated list of names of jails

jail_dns_rootdir=/jails/dns # jail's root directory
jail_dns_hostname=dns # jail's hostname
jail_dns_ip=192.168.0.254 # jail's IP address
jail_dns_devfs_enable=YES # mount devfs in the jail
jail_dns_devfs_ruleset=dns_ruleset # devfs ruleset to apply to jail
jail_dns_exec_start=/bin/sh /etc/rc # command to execute in jail for
starting
jail_dns_exec_stop=/bin/sh /etc/rc.shutdown # command to execute in jail
for stopping

jail_www_rootdir=/jails/www # jail's root directory
jail_www_hostname=www # jail's hostname
jail_www_ip=192.168.0.253 # jail's IP address
jail_www_devfs_enable=YES # mount devfs in the jail
jail_www_devfs_ruleset=www_ruleset # devfs ruleset to apply to jail
jail_www_exec_start=/bin/sh /etc/rc # command to execute in jail for
starting
jail_www_exec_stop=/bin/sh /etc/rc.shutdown # command to execute in jail
for stopping



/etc/devfs.rules:
[www_ruleset=1]
add hide
add path null unhide
add path zero unhide
add path random unhide
add path urandom unhide
add path crypto unhide
add path stdin unhide
add path stdout unhide
add path stderr unhide

[dns_ruleset=2]
add hide
add path null unhide
add path zero unhide
add path random unhide
add path urandom unhide
add path crypto unhide
add path stdin unhide
add path stdout unhide
add path stderr unhide


df -h:
devfs 1.0K 1.0K 0B 100% /jails/dns/dev
devfs 1.0K 1.0K 0B 100% /jails/www/dev


The problem:
At boot, the devfs.rules rules are not loaded and if I drop into the jail
and do a ls in /etc, I can see everything the host machine has. However, if
I manually restart the jails, the devfs rules are loaded.

I tried putting the rules in /etc/defaults/devfs.rules too (and removed them
from /etc/devfs.rules) but didn't work. The behavior is the same.


An I doing something wrong here ?

-- 
Best regards,
Claudiu Vasadi
___
freebsd-questions@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-30 Thread krad
On 30 August 2010 06:00, Adam Vande More amvandem...@gmail.com wrote:

 On Fri, Aug 27, 2010 at 3:39 AM, krad kra...@googlemail.com wrote:


 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


 /usr/ports/shells/scponly

 --
 Adam Vande More



sounds like  a bodge to me
___
freebsd-questions@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-30 Thread krad
On 27 August 2010 20:13, Polytropon free...@edvax.de wrote:

 On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten ggat...@waddell.com
 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


or

sudo tar cf - /somepath | ssh x...@y  sudo tar xvf - -C somepath 

I agree with other posts though rsync is the easiest
___
freebsd-questions@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-30 Thread Adam Vande More
On Mon, Aug 30, 2010 at 12:30 PM, krad kra...@googlemail.com wrote:


 sounds like  a bodge to me


Sounds like FUD to me.

-- 
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: how do i scp .dotfiles??

2010-08-30 Thread krad
On 27 August 2010 19:15, Gary Kline kl...@thought.org wrote:

 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 glen.j.bar...@gmail.com 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



rsync is probably trying to chown files to ownerships it cant. The best way
I have found to do this and keep things fairly secure it to run an rsync
server on the source machine but bind it to loopback. Then tunnel the the
server over ssh when you go into the box. This allows things to run
relatively safely as root. eg

ssh -R 873:127.0.0.1:873 host  sudo rsync -aP --numeric-ids 127.0.0.1::HOME/
/home/ 

if you just want certain user dirs then add some include and exclude flags
eg

--include=/home/kline -- include=/home/kline/** --exclude=/home/**

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


reboot options

2010-08-30 Thread Chip Camden
Is there a way to specify which boot option to choose on the next reboot?
I often find that I'll start a reboot and then get distracted by
something else and miss my chance to specify which way to boot before the
beastie screen times out.

A nit, I know -- but bothersome to a nitwit such as I.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpNeLCYroXsI.pgp
Description: PGP signature


Re: reboot options

2010-08-30 Thread Daniel Bye
On Mon, Aug 30, 2010 at 11:43:33AM -0700, Chip Camden wrote:
 Is there a way to specify which boot option to choose on the next reboot?
 I often find that I'll start a reboot and then get distracted by
 something else and miss my chance to specify which way to boot before the
 beastie screen times out.
 
 A nit, I know -- but bothersome to a nitwit such as I.

A nit by which others have obviously been irritated - nextboot(8) is
probably what you're looking for!

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpUS15D2loGH.pgp
Description: PGP signature


System mail

2010-08-30 Thread Rem P Roberti
 At this time system mail is being delivered to /var/mail/user, which 
is the normal way of doing things.  Is it possible to have system mail 
delivered to an email client, such as Thunderbird or Mutt?

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


Re: Cleaned out /usr/local when reinstalling ports, now keyboard in X is not localized

2010-08-30 Thread Bernt Hansson

Put this in your .xinitrc
setxkbmap se


2010-08-30 15:06, Leslie Jensen skrev:

Hello

After upgrading to xorg-7.5 on 8.1-RELEASE

I've got a problem with X not reading my

/usr/local/etc/hal/fdi/policy/x11-input.fdi

---

?xml version=1.0 encoding=ISO-8859-1?
deviceinfo version=0.2
device
match key=info.capabilities contains=input.keyboard
merge key=input.x11_options.XkbOptions
type=stringterminate:ctrl_alt_bksp
/merge
merge key=input.x11_options.XkbModel type=stringlogiitc/merge
merge key=input.x11_options.XkbLayout type=stringse/merge
/match
/device
/deviceinfo



So I get a US keyboard layout instead of SE.


My /var/log/Xorg.0.log



(II) config/hal: Adding input device AT Keyboard
(II) LoadModule: kbd
(II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor=X.Org Foundation
compiled for 1.7.5, module version = 1.4.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) AT Keyboard: always reports core events
(**) Option Protocol standard
(**) AT Keyboard: Protocol: standard
(**) Option XkbRules base
(**) AT Keyboard: XkbRules: base
(**) Option XkbModel pc105
(**) AT Keyboard: XkbModel: pc105
(**) Option XkbLayout us
(**) AT Keyboard: XkbLayout: us
(**) Option CustomKeycodes off
(**) AT Keyboard: CustomKeycodes disabled
(II) XINPUT: Adding extended input device AT Keyboard (type: KEYBOARD)
(II) 3rd Button detected: disabling emulate3Button



I've checked permissions and file content from a machine running
8.0-RELEASE with xorg-7.4_3 and they are the same.


Any suggestions on how to fix this?


Thanks


/Leslie

___
freebsd-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: how do i scp .dotfiles??

2010-08-30 Thread Chris Rees
On 30 August 2010 18:37, krad kra...@googlemail.com wrote:
 On 27 August 2010 20:13, Polytropon free...@edvax.de wrote:

 On Fri, 27 Aug 2010 12:21:12 -0500, Gary Gatten ggat...@waddell.com
 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. :-)

 or

 sudo tar cf - /somepath | ssh x...@y  sudo tar xvf - -C somepath 

 I agree with other posts though rsync is the easiest


Why sudo with tar?

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


Re: reboot options

2010-08-30 Thread Chip Camden
Quoth Daniel Bye on Monday, 30 August 2010:
 On Mon, Aug 30, 2010 at 11:43:33AM -0700, Chip Camden wrote:
  Is there a way to specify which boot option to choose on the next reboot?
  I often find that I'll start a reboot and then get distracted by
  something else and miss my chance to specify which way to boot before the
  beastie screen times out.
  
  A nit, I know -- but bothersome to a nitwit such as I.
 
 A nit by which others have obviously been irritated - nextboot(8) is
 probably what you're looking for!
 
 Dan
 
 -- 
 Daniel Bye
  _
   ASCII ribbon campaign ( )
  - against HTML, vCards and  X
 - proprietary attachments in e-mail / \

That's precisely what I was seeking -- thanks!

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpPR6VTAz5bb.pgp
Description: PGP signature


Re: System mail

2010-08-30 Thread Polytropon
On Mon, 30 Aug 2010 11:59:46 -0700, Rem P Roberti remeg...@comcast.net wrote:
   At this time system mail is being delivered to /var/mail/user, which 
 is the normal way of doing things.  Is it possible to have system mail 
 delivered to an email client, such as Thunderbird or Mutt?

No. Per definition, a mail client (mail user agent - MUA) can not
be the target of mail delivery. It can act on is own to incorporate
mail from a mail spool, e. g. /var/mail/user. This is often done
by a kind of local mailbox selection (in opposite to incorporation
from a distant mail box via POP3).

For example, I have my system mail delivered to /var/mail/poly. This
is the local mail box I check using the Sylpheed MUA (comparable to
Thunderbird in many ways).

You just need to configure your actual MUA to get mail from the
system's mail spool.

An extension of this concept, just as a sidenote: I use fetchmail to
obtain the mail from my distant mail box via POP3. This mail is then
placed into /var/mail/poly - the spool where Sylpheed reads from.
This way, I have separated mail incorporation from mail processing.



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


Firebird 2.1.3

2010-08-30 Thread Leonardo M . Ramé
Hi, does anyone successfully compiled Firebird 2.1.3+ on FreeBsd 7.2 or 
superior?.

I'm on 8.1 amd64 and can't compile it.

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



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


DHCP server and bridge, mixed w/ some static IP assignments

2010-08-30 Thread Nerius Landys
I'm trying to add some sort of DHCP server functionality to my router
box running FreeBSD 7.1.  First, let me explain the current network.
This is how my rc.conf is currently configured, and everything is
running smoothly:

gateway_enable=YES
hostname=speedy.i
ifconfig_fxp2=DHCP # Connecting to the outside internet via ATT UVerse
cloned_interfaces=bridge0
ifconfig_bridge0=addm re0 addm ath0 addm fxp0 addm fxp1 up # Bridge
consisting of four interfaces
ifconfig_re0=up # My gigabit wired interface
ifconfig_ath0=ssid speedy.i mode 11g mediaopt hostap up # Wireless interface
ifconfig_fxp0=up # 100 megabit wired
ifconfig_fxp1=up # 100 megabit wired
ipv4_addrs_bridge0=192.168.0.254/24
ipnat_enable=YES
hostapd_enable=YES

So as you can see, I have an internal network with 192.168.0.0/24 IP
addresses.  Both the wired and wireless are in the same network, and
this is the way I've decided that I want it.  All the machines
connected to this internal network are using static IP addresses, even
the wireless laptops.

Now, I'd like to add a DHCP server capability to the 192.168.0.0/24
network, but I'd like to allow some machines to still connect with
static IP addresses (of their own choice, not controlled by the router
via MAC address lookups for example).

So, I'm reading this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dhcp.html
under the server section.

And I have a few questions.

First, I look in /usr/ports/net/ and I find both isc-dhcp31-server and
isc-dhcp41-server.  The manual says to use the 31 version.
Q1: Which do you recommend?  I know that the manual is oftentimes out
of date.  I'm on FreeBSD 7.1.

Next, would it be possible to, for example, DHCP-lease out IP
addresses above 192.169.0.127, but leave IP addresses below that as
statically assigned?  For example my plan for dhcpd.conf:

option domain-name i;
option domain-name-servers 192.168.0.254;
option subnet-mask 255.255.255.0;
default-lease-time 3600;
max-lease-time 86400;
ddns-update-style none;
subnet 192.168.0.0 netmask 255.255.255.0 {
  range 192.168.0.128 192.168.0.253;
  option routers 192.168.0.254;
}

And in my rc.conf I plan to add:

dhcpd_enable=YES
dhcpd_ifaces=bridge0

Q2: Now is it legal to assign a bridge to a dhcpd interface?  That
would be nice, because then both wired and wireless machines could
connect via DHCP.  If it's not possible to do this, can I at least
assign the ath0 (my wireless interface) to the dhcpd interface, even
though ath0 is part of a bridge?

Q3: I have some machines connected via static IP addresses, e.g.
192.168.0.9 and 192.168.0.10.  I would like to keep it this way, and
let the clients themselves control which IP addresses they want to
use.  Am I allowed to mix DHCP leases with static assignments on the
same network like this?

I'm afraid to get locked out of my router, because right now it's only
accessible over the network.  If I get locked out I'll have to hook up
either the serial console via null modem cable or a monitor/keyboard,
which could be a pain.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Dell Latitude E6400 and Touchpad

2010-08-30 Thread Frank Shute
On Mon, Aug 30, 2010 at 04:59:55PM +0300, Mike Barnard wrote:

 anyone on this... Synpatics Touchpad on FreeBSD 64-bit?
 

Mike, since you haven't received a reply from this list, your best bet
is probably to post to the freebsd-mobile list.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: Firebird 2.1.3

2010-08-30 Thread Leonardo M . Ramé
This is my procedure to compile it:

export CFLAGS=-DAMD64
./configure --without-editline
gmake

... and after a while I get this:

...
/usr/bin/ld: /usr/lib/libsupc++.a(tinfo2.o): relocation R_X86_64_32S can not be 
used when making a shared object; recompile with -fPIC
/usr/lib/libsupc++.a: could not read symbols: Bad value
gmake[2]: *** [../gen/firebird/lib/libfbclient.so.2.1.3] Error 1
gmake[2]: Leaving directory 
`/usr/home/martin/desarrollo/Firebird-2.1.3.18185-0/gen'
gmake[1]: *** [libfbclient] Error 2
gmake[1]: Leaving directory 
`/usr/home/martin/desarrollo/Firebird-2.1.3.18185-0/gen'
gmake: *** [firebird] Error 2

Any hint?

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


--- On Mon, 8/30/10, Leonardo M. Ramé martinr...@yahoo.com wrote:

 From: Leonardo M. Ramé martinr...@yahoo.com
 Subject: Firebird 2.1.3
 To: FreeBSD freebsd-questions@freebsd.org
 Date: Monday, August 30, 2010, 5:37 PM
 Hi, does anyone successfully compiled
 Firebird 2.1.3+ on FreeBsd 7.2 or superior?.
 
 I'm on 8.1 amd64 and can't compile it.
 
 Leonardo M. Ramé
 http://leonardorame.blogspot.com
 
 
 
 ___
 freebsd-questions@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 



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


Re: Dell Latitude E6400 and Touchpad

2010-08-30 Thread Chip Camden
Quoth Frank Shute on Monday, 30 August 2010:
 On Mon, Aug 30, 2010 at 04:59:55PM +0300, Mike Barnard wrote:
 
  anyone on this... Synpatics Touchpad on FreeBSD 64-bit?
  
 
 Mike, since you haven't received a reply from this list, your best bet
 is probably to post to the freebsd-mobile list.
 
 Regards,
 
 -- 
 
  Frank
 
  Contact info: http://www.shute.org.uk/misc/contact.html
 
 

My ASUS K72F has a touchpad, but I don't know if it's Synaptics.  Any way
I can tell?  In any case, it worked automagically with FreeBSD 8.0 and
8.1 amd64.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpNfMZTKgmzy.pgp
Description: PGP signature


nopassword ssh/scp going from freebsd to ubuntu linux?

2010-08-30 Thread Gary Kline

can anybody point me to the web directions of howto automate the 

% ssh -i /home/kline/.ssh/Zeropasswd-id zen 

so i can get around with fewer keystrokes? and automate some backup
stuff?

tia, guys.

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


Sorrrrry!

2010-08-30 Thread Gary Kline

i got it.  i got confused by known_keys and authorized_keys

yes it is tim e for french roast:_)

*sigh*



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


Error message with portsnap

2010-08-30 Thread Jerry
Portsnap, which had always worked flawlessly on my FreeBSD-8.1 / amd64
machine, had suddenly started spewing out this error message(s):

==
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from portsnap6.FreeBSD.org... done.
Fetching snapshot metadata... fetch: 
http://portsnap6.FreeBSD.org/t/1ad44e525a0145a9daea915d8a8827be69a292caf91f9e22aac825eed3be2e41:
 No address record
sha256: 1ad44e525a0145a9daea915d8a8827be69a292caf91f9e22aac825eed3be2e41: No 
such file or directory
[: !=: unexpected operator
mv: rename 1ad44e525a0145a9daea915d8a8827be69a292caf91f9e22aac825eed3be2e41 to 
tINDEX.new: No such file or directory
done.
grep: tINDEX.new: No such file or directory
look: tINDEX.new: No such file or directory

Portsnap metadata appears bogus.
Cowardly refusing to proceed any further.
==

Has anyone else experienced similar behavior?

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

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



signature.asc
Description: PGP signature


howto un-chmod 755 /usr/local?

2010-08-30 Thread Steve Franks
Would you believe me if I said a script I use daily went awry?

Is there a list of the proper permission modes for things in
/usr/local to get a working system back, aside of starting over?  Is
there a better way?  I've already tried and upgrade from the 8.1 cd,
which doesn't seem to have affected /usr/local permissions much (which
sort of makes sense), as well as a portupgrade -akfO, which didn't
seem to have much traction either.  Symptoms: XOrg gives some rather
uninteresting info and hangs while still in text mode.  Sudo compalins
about needing chroot, etc. etc.

Thanks,
Steve
___
freebsd-questions@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 un-chmod 755 /usr/local?

2010-08-30 Thread Randal L. Schwartz
 Steve == Steve Franks bahamasfra...@gmail.com writes:

Steve Is there a list of the proper permission modes for things in
Steve /usr/local to get a working system back, aside of starting over?

I think you can use mtree(8) to repair your system, with the masters in
/etc/mtree/*.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: fetchmail ssl certificate verification problem in FreeBSD 8.1

2010-08-30 Thread Carl Johnson
Dan Strick mla_str...@att.net writes:

 I just installed FreeBSD release 8.1 and rebuilt the fetchmail port.
 Now I get messages like these when I run fetchmail:

--- snip ---

 I can get rid of the message by removing the ssl option from the user
 line but then fetchmail would not even try to use ssl.  Why would the
 old fetchmail be better able to verify the server's ssl certificate?
 Has openssl changed?  Where is the openssl certificate directory and why
 should the information needed to verify the server's certificate be
 found on my machine?  Doesn't the openssl library contain something
 like a hardwired list of well known certificate authority systems?

You already got replies about using the sslcertfile option pointing to
/usr/local/share/certs/ca-root-nss.crt.  The problem is that only fixes
fetchmail and must be duplicated for each application.  I finally got
around to looking into how to integrate those certificates into the
openssl configuration for FreeBSD, and the following is what I came up
with.

The openssl configuration in /etc/ssl/openssl.cnf expects all
certificates and hashes to be in /etc/ssl/certs, so the certificate file
must be split into individual certificates there, and hashes generated.
The following steps will handle that.  Some of these steps must be
performed as root, so all of them might as well be.


cd /etc/ssl/certs  # create if necessary
split -p '^Certificate:' /usr/local/share/certs/ca-root-nss.crt cert
rm certaa  # just the file header
for file in cert* ; do mv $file $file.pem ; done   # rename to certxx.pem
perl /usr/src/crypto/openssl/tools/c_rehash  . # generate the hashes


The above steps are for a FreeBSD 8.1-RELEASE, so they might not work
exactly for other versions.  This also assumes that you trust the
certificates in the ca_root_nss package, so you will have to decide that
for yourself.

I have seen several questions and problems about ssl certificates, so
hopefully others will find this useful.

-- 
Carl Johnsonca...@peak.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: Error message with portsnap

2010-08-30 Thread Matthew Seaman
On 31/08/2010 24:23:52, Jerry wrote:
 Fetching snapshot tag from portsnap6.FreeBSD.org... done.
 Fetching snapshot metadata... fetch: 
 http://portsnap6.FreeBSD.org/t/1ad44e525a0145a9daea915d8a8827be69a292caf91f9e22aac825eed3be2e41:
  No address record

Looks like a transient problem with the DNS.  It should fix itself once
the correct data for portsnap6 propagates properly.

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