Re: Google Code-In update

2011-01-02 Thread Max Herrgard
On Thu, Dec 23, 2010 at 3:08 AM, Samuel J. Greear s...@evilcode.net wrote:
...
 If you can think of anything applicable that needs doing please speak up
 so it can be added to the list.

Integrate the online man pages
(http://leaf.dragonflybsd.org/cgi/web-man) into the web-page.


Max


Re: Can't connect to ssh

2011-01-02 Thread Chris Turner

Francisco Reyes wrote:
It is already set to bridged. Will look into VMware then if there isn't 
a built-in firewall or anything like it.


Did the 'host' OS networking change? There are issues trying to bridge
VM ethernet cards across wifi host adapters as wifi is
not-exactly ethernet.

What has me puzzled is that I have not changed the VMware config for the 
VM and it worked until the crash.


Assuming you have access to the VM console (sounds like) - try
running /usr/sbin/sshd -D -ddd on the server side and ssh -v
on the client side and see if that shows anything obvious..

also maybe check the host firewall?



Re: Compiling with gcc -march ix86

2011-01-02 Thread Stephane Russell
The main reason is that the hardware drivers has been ported to NetBSD
for Asterisk 1.4. 1.6 BSD drivers are still work in progress for what I
understand.

Maybe I should take a look at the DAHDI port for FreeBSD. It's a
replacement for zaptel drivers and seems to be used for Asterisk 1.8 in
FreeBSD, as well as for 1.6 and 1.4. I'll see.

Bye

SR


Le 2010-12-26 03:01, Francois Tigeot a écrit :
 On Fri, Dec 24, 2010 at 05:34:38PM -0500, Stephane Russell wrote:

 I'm actually trying to compile asterisk on DFBSD. It needs to compile
 with the compiler option -march=ix86, with x3 (gcc spec). But DFBSD
 uname -m is returning systematically i386. Is their a workaround for
 that, that would allow me to compile without hacking the autotools scripts?
 
 Why don't you try asterisk18 from pkgsrc -head ?
 
 It builds fine out-of the box on DragonFly/i386.
 



Re: jail -- ps: bad namelist - no kernbase

2011-01-02 Thread Pierre-Philipp Braun

 2.8.2).  Enabling procfs in the guest didn't help.  There's no device
 files appart from log, null and random but guests's dmesg says it's
 mounting devs.  I don't have any /etc/fstab but I don't think that's

Jail guest's dmesg was, of course, not his own, but real system's one. 
And devfs wasn't mounted.  Here are /etc/rc.d/jail and 
/etc/defaults/rc.conf patchs which fixes that (at least here) and allows,

jail_jailname_devfs_enable=yes
to be added into /etc/rc.conf.

The devfs issue was also experienced before 
(http://leaf.dragonflybsd.org/mailarchive/users/2009-10/msg00168.html)


Thanks:-)
//Pierre-Philipp
--- jail.dist   2011-01-03 02:41:39 +0100
+++ jail2011-01-03 02:50:53 +0100
@@ -30,6 +30,7 @@
eval _rootdir=\\$jail_${_j}_rootdir\
_fdescdir=${_rootdir}/dev/fd
_procdir=${_rootdir}/proc
+   _devdir=${_rootdir}/dev
eval _hostname=\\$jail_${_j}_hostname\
eval _ip=\\$jail_${_j}_ip\
eval _interface=\\${jail_${_j}_interface:-${jail_interface}}\
@@ -54,6 +55,9 @@
[ -z ${_fdesc} ]  _fdesc=NO
eval _procfs=\\${jail_${_j}_procfs_enable:-${jail_procfs_enable}}\
[ -z ${_procfs} ]  _procfs=NO
+eval _devfs=\\${jail_${_j}_devfs_enable:-${jail_devfs_enable}}\
+[ -z ${_devfs} ]  _devfs=NO
+
 
eval _mount=\\${jail_${_j}_mount_enable:-${jail_mount_enable}}\
[ -z ${_mount} ]  _mount=NO
@@ -69,6 +73,7 @@
#
debug $_j fdesc enable: $_fdesc
debug $_j procfs enable: $_procfs
+   debug $_j devfs enable: $_devfs
debug $_j mount enable: $_mount
debug $_j hostname: $_hostname
debug $_j ip: $_ip
@@ -76,6 +81,7 @@
debug $_j root: $_rootdir
debug $_j fdescdir: $_fdescdir
debug $_j procdir: $_procdir
+   debug $_j devdir: $_devdir
debug $_j fstab: $_fstab
debug $_j exec start: $_exec_start
debug $_j exec stop: $_exec_stop
@@ -190,6 +196,11 @@
secure_umount ${_procdir}
fi
fi
+   if checkyesno _devfs; then
+   if [ -d ${_devdir} ] ; then
+   secure_umount ${_devdir}
+   fi
+   fi
if checkyesno _mount; then
[ -f ${_fstab} ] || warn ${_fstab} does not exist
tail -r ${_fstab} | while read _device _mountpt _rest; do
@@ -281,6 +292,16 @@
fi
fi
fi
+   if checkyesno _devfs; then
+   if is_symlinked_mountpoint ${_devdir}; then
+   warn ${_devdir} has symlink as parent, not 
mounting
+   else
+   info Mounting devfs onto ${_devdir}
+   if [ -d ${_devdir} ] ; then
+   mount -t devfs devfs ${_devdir}
+   fi
+   fi
+   fi
_tmp_jail=${_tmp_dir}/jail.$$
eval jail ${_flags} -i ${_rootdir} ${_hostname} \
${_ip} ${_exec_start}  ${_tmp_jail} 21
--- rc.conf.dist2011-01-03 02:52:40 +0100
+++ rc.conf 2011-01-03 02:54:56 +0100
@@ -447,6 +447,7 @@
 #jail_example_exec_stop=/bin/sh /etc/rc.shutdown # command to execute in 
jail for stopping
 #jail_example_fdesc_enable=NO# mount fdesc in the 
jail
 #jail_example_procfs_enable=NO   # mount procfs in jail
+#jail_example_devfs_enable=YES   # mount devfs in jail
 #jail_example_mount_enable=NO# mount/umount jail's fs
 #jail_example_fstab= # fstab(5) for mount/umount
 #jail_example_flags=-l -U root   # flags for jail(8)


System doesnt shutdown

2011-01-02 Thread Dragon Fly
Hi,

I can't shutdown the system from kde control panel or by shutdown -p now.
The system halts but it wont shut down.

Please help.

Best,

Dave


Moused

2011-01-02 Thread Dragon Fly
Hi,

I cant get PS/2 mouse enabled at boot.

I have tried


moused -f -p */dev/psm0* *-t  ps/2*


It then starts moused for that particular session but the scroll doesnt
work. How do I enable it at boot.

Best,

Dave


Re: Can't connect to ssh

2011-01-02 Thread Francisco Reyes

Chris Turner writes:


Assuming you have access to the VM console (sounds like) - try


It was some sort of VMware issue. I switched from Bridge to a network that 
was in the exact same subnet.


I just wasn't sure if it was vmware or Dragonfly (first production 
Dragonfly install); once I got replies about no firewalls in Dfly.. all 
that was left was VMware.


Thanks to all who replied.


Re: System doesnt shutdown

2011-01-02 Thread Francisco Reyes

Dragon Fly writes:

I can't shutdown the system from kde control panel or by shutdown -p now. 
The system halts but it wont shut down.


New install?
Did it used to work?

If a new install of Dfly, have you had any other OS previouly installed that 
honored shutdown of the hardware?


Although not with Dragonfly (newbie Dragonfly user...) once in while I have 
bumped into hardware that would have issues trying to turn the power off 
(have seen it with FreeBSD and Centos).


Odp: Moused

2011-01-02 Thread Krzysztof Langer
try

moused_enable=YES

 in rc.conf

Dnia 3-01-2011 o godz. 4:35 Dragon Fly napisał(a):
 Hi,
 
 I cant get PS/2 mouse enabled at boot.
 
 I have tried
 
 
 
  moused -f -p /dev/psm0 -t  ps/2
 It then starts moused for that particular session but the scroll doesnt 
work. How do I enable it at boot.
 
 Best,
 
 Dave




cryptdisk on already installed DFly?

2011-01-02 Thread Pierre Abbat
I have a 40 GB disk of which 38 GB is a Hammer filesystem and 2 GB is swap. I 
set it up before there was any encrypted filesystem in the kernel. Is there a 
way to set up an encrypted filesystem without copying the entire filesystem 
to another disk, which would be quite difficult because it's a laptop?

Pierre
-- 
I believe in Yellow when I'm in Sweden and in Black when I'm in Wales.