Re: xfce4 Shut Down/Reboot
I ran visudo and added both os these lines %shutdown ALL=(root) NOPASSWD: /usr/local/libexec/xfsm-shutdown-helper %wheel ALL=(root) NOPASSWD: /usr/local/lib/xfce4/session/xfsm-shutdown-helper I had to do a groupadd shutdown then I could do usermod -G shutdown shaul Now I consistently have the options of Restart and Shut Down working or enabled after I click on Quit.
Re: Xorg EmulateWheel stopped working
On Sat, Nov 12, 2011 at 01:39:37PM +0100, LEVAI Daniel wrote: Hi! It seems that the wheel emulation stopped working for me, after removing /usr/X11R6 and updating to a fresh -current. It didn't stop working. You configuration is now beeing ignored due to the input device auto-configuration changes that was mentionned in current.html back in june. It's missing from the upgrade FAQ: 2011/06/29 - [Xenocara] New input device configuration code A new autoconfiguration mechanism for input devices has been implemented in the X server. It provides even better support for various input devices: synaptics touchpads (not yet ready) or touchscreens without a configuration file. The InputDevice sections can be removed from xorg.conf in most cases. To override the autoconfiguration with an InputDevice section for an input device that would normally be auto-configured, the following needs to be added to /etc/X11/xorg.conf: Section ServerFlags Option AutoAddDevices Falsk EndSection You can also convert you InputDevice section to an InputClass section to setup the wheel emulation. See xorg.conf(4) for details. Section InputDevice Identifier TrackPoint Driver mouse Option Device/dev/wsmouse Option Emulate3Buttons false Option EmulateWheel true Option EmulateWheelButton2 #Option ZAxisMapping 4 5 6 7 Option XAxisMapping 6 7 Option YAxisMapping 4 5 EndSection This won't enable wheel emulation for me anymore. I see this in Xorg.log: [2546504.763] (--) checkDevMem: using aperture driver /dev/xf86 [2546504.783] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32) [2546504.795] X.Org X Server 1.11.2 Release Date: 2011-11-04 [2546504.795] X Protocol Version 11, Revision 0 [2546504.795] Build Operating System: OpenBSD 5.0 i386 [2546504.795] Current Operating System: OpenBSD digidani 5.0 GENERIC.MP#116 i386 [2546504.795] Build Date: 09 November 2011 06:03:50PM [2546504.795] [2546504.795] Current version of pixman: 0.22.2 [2546504.795] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [2546504.795] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [2546504.795] (==) Log file: /var/log/Xorg.0.log, Time: Sat Nov 12 13:37:44 2011 [2546504.795] (==) Using config file: /etc/X11/xorg.conf [2546504.795] (==) Using system config directory /usr/X11R6/share/X11/xorg.conf.d -- Matthieu Herrb
Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it
Hey. On 06/11/2011, Gholam Mostafa Faridi mostafafar...@gmail.com wrote: NAT1= 10.10.10.194 paltalk1= { 192.168.0.20, 192.168.0.21, 192.168.0.22 } match out on egress inet from !(paltalk1) to any nat-to (NAT1) much different is in NAT rule , and other things is simillar old pf. I have 27 valid IPs or static IPs , and I have to put many lines in my pf.conf I want three invalid IPs assigned to one Valid or static IP. for example if my valid IP is 10.10.10.1 , I need these IPs 192.168.0.1 , 192.168.0.2 , 192.168.0.3 assigned to 10.10.10.1 this is my net work digram | | | | 10.10.10.192/27 external OpenBSD pf firewall internal 192.168.168.0.1/24 | | | | http://www.openbsd.org/cgi-bin/man.cgi?query=pf.confsektion=5manpath=OpenBSD+5.0#EXAMPLES Looking really quickly this is wrong: match out on egress inet from !(paltalk1) to any nat-to (NAT1) ! == NOT $ == MACRO match out on egress inet from ($paltalk1) to any nat-to ($NAT1) BTW, they are public and private addresses, not valid and invalid. Static is something different again (does not change in contrast to dynamic, i.e. DHCP), best wishes, mfaridi Action learning is an educational process whereby the participant studies their own actions and experience in order to improve performance. Learners acquire knowledge through actual actions and repetitions, rather than through traditional instruction. http://en.wikipedia.org/wiki/Action_learning To study and not think is a waste. To think and not study is dangerous. http://en.wikiquote.org/wiki/Confucius Best wishes.
Re: Xorg EmulateWheel stopped working
On Sun, Nov 13, 2011 at 11:28:24 +0100, Matthieu Herrb wrote: On Sat, Nov 12, 2011 at 01:39:37PM +0100, LEVAI Daniel wrote: Hi! It seems that the wheel emulation stopped working for me, after removing /usr/X11R6 and updating to a fresh -current. It didn't stop working. You configuration is now beeing ignored due to the input device auto-configuration changes that was mentionned in current.html back in june. It's missing from the upgrade FAQ: [...] You can also convert you InputDevice section to an InputClass section to setup the wheel emulation. See xorg.conf(4) for details. Thanks! Really useful stuff that InputClass section. Managed to configure the wheel emulation with that. However, I must mention that the MatchDevicePath won't match /dev/wsmouse, although in the Xorg.log the autodetected device name for the mouse driver is /dev/wsmouse. Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F
Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it
Thanks Dear Friends I will fix it, it is great, I have only one mistake in my new pf.conf About private and public IPs, you says true Can I optimiz this pf.conf? Thanks in advance On Nov 13, 2011 2:36 PM, David Walker davidianwal...@gmail.com wrote: Hey. On 06/11/2011, Gholam Mostafa Faridi mostafafar...@gmail.com wrote: NAT1= 10.10.10.194 paltalk1= { 192.168.0.20, 192.168.0.21, 192.168.0.22 } match out on egress inet from !(paltalk1) to any nat-to (NAT1) much different is in NAT rule , and other things is simillar old pf. I have 27 valid IPs or static IPs , and I have to put many lines in my pf.conf I want three invalid IPs assigned to one Valid or static IP. for example if my valid IP is 10.10.10.1 , I need these IPs 192.168.0.1 , 192.168.0.2 , 192.168.0.3 assigned to 10.10.10.1 this is my net work digram | | | | 10.10.10.192/27 external OpenBSD pf firewall internal 192.168.168.0.1/24 | | | | http://www.openbsd.org/cgi-bin/man.cgi?query=pf.confsektion=5manpath=OpenBSD+5.0#EXAMPLES Looking really quickly this is wrong: match out on egress inet from !(paltalk1) to any nat-to (NAT1) ! == NOT $ == MACRO match out on egress inet from ($paltalk1) to any nat-to ($NAT1) BTW, they are public and private addresses, not valid and invalid. Static is something different again (does not change in contrast to dynamic, i.e. DHCP), best wishes, mfaridi Action learning is an educational process whereby the participant studies their own actions and experience in order to improve performance. Learners acquire knowledge through actual actions and repetitions, rather than through traditional instruction. http://en.wikipedia.org/wiki/Action_learning To study and not think is a waste. To think and not study is dangerous. http://en.wikiquote.org/wiki/Confucius Best wishes.
Re: Xorg EmulateWheel stopped working
On Sun, Nov 13, 2011 at 01:06:45PM +0100, LEVAI Daniel wrote: On Sun, Nov 13, 2011 at 11:28:24 +0100, Matthieu Herrb wrote: On Sat, Nov 12, 2011 at 01:39:37PM +0100, LEVAI Daniel wrote: Hi! It seems that the wheel emulation stopped working for me, after removing /usr/X11R6 and updating to a fresh -current. It didn't stop working. You configuration is now beeing ignored due to the input device auto-configuration changes that was mentionned in current.html back in june. It's missing from the upgrade FAQ: [...] You can also convert you InputDevice section to an InputClass section to setup the wheel emulation. See xorg.conf(4) for details. Thanks! Really useful stuff that InputClass section. Managed to configure the wheel emulation with that. However, I must mention that the MatchDevicePath won't match /dev/wsmouse, although in the Xorg.log the autodetected device name for the mouse driver is /dev/wsmouse. Yes, more or less knwon problem. I'd also like to add hardware dependend id attributes (like USB vendor/device ids) to the input device, but haven't found the good way for that. -- Matthieu Herrb
Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it
On 13/11/2011, Mostaf Faridi mostafafar...@gmail.com wrote: Can I optimiz this pf.conf? Thanks in advance I do not open up the truth to one who is not eager to get knowledge, nor help out any one who is not anxious to explain himself. When I have presented one corner of a subject to any one, and he cannot from it learn the other three, I do not repeat my lesson. http://en.wikiquote.org/wiki/Confucius http://blogs.nasa.gov/cm/wiki/?id=2738#gen6 Best wishes.
OpenBSD ipsec gateway behind a router
Hello, I would like to know if such configuration is possible. LAN1 (192.168.10.0/24) -- OpenBSD .99 -- .254 Router IPx -- Internet -- IPy IPSec_GW (Vendor) -- LAN2 (192.168.20.0/24) As you can see the OpenBSD 4.9 server sits on the LAN1 and has one physical interface. When it wants to access to the internet, its address 192.168.10.99 is natted in IPx and that's how the IPSec_GW(Vendor) sees the source packets. It's not really important now if other machines on LAN1 should ping machines on LAN2. I would like for now that the OpenBSD could ping machines on LAN2. I have search for examples on the internet for this particular case because the OpenBSD is behind a nat router. And I haven't found the proper way to do this. I don't even know if it's possible. I know some kind of nat-t should be used though. Does anyone have this configuration in place ? Thanks
again on rc.d - squid
Hi, I just updated (fresh install) my OpenBSD box to v5.0 with pf and squid (squid-2.7.STABLE9p11-snmp.tgz from pkg). So I tried to configure rc to start squid at boot in rc.conf.local, with a lot of combinations: squid_flags= squid_flags= rc_scripts=squid squid=YES without success, squid didn't starts at boot. Manually, when I launch /etc/rc.d/squid starts perfectly. I already read FAQs about rc.d at http://openbsd.org/faq/faq10.html but I don't know what's wrong. BR, -f
Re: again on rc.d - squid
* fRANz andrea.francesc...@gmail.com [13 19:39]: Hi, I just updated (fresh install) my OpenBSD box to v5.0 with pf and squid (squid-2.7.STABLE9p11-snmp.tgz from pkg). So I tried to configure rc to start squid at boot in rc.conf.local, with a lot of combinations: squid_flags= squid_flags= rc_scripts=squid squid=YES It's pkg_scripts. -- Alexander Polakov | plhk.ru
Re: again on rc.d - squid
On Sun, Nov 13, 2011 at 04:34:47PM +0100, fRANz wrote: Hi, I just updated (fresh install) my OpenBSD box to v5.0 with pf and squid (squid-2.7.STABLE9p11-snmp.tgz from pkg). So I tried to configure rc to start squid at boot in rc.conf.local, with a lot of combinations: squid_flags= squid_flags= rc_scripts=squid squid=YES without success, squid didn't starts at boot. Manually, when I launch /etc/rc.d/squid starts perfectly. I already read FAQs about rc.d at http://openbsd.org/faq/faq10.html but I don't know what's wrong. http://www.openbsd.org/faq/upgrade50.html#rc.d -- Antoine
Re: again on rc.d - squid
On Sun, 13 Nov 2011 16:34:47 +0100 fRANz andrea.francesc...@gmail.com wrote: rc_scripts=squid Use pkg_scripts=squid instead. I already read FAQs about rc.d at http://openbsd.org/faq/faq10.html but I don't know what's wrong. 10.3: The order for system daemons is coded into rc, and the order for add-in packages is managed by the pkg_scripts environment variable, which would be set in /etc/rc.conf.local Note that simply placing a script in this directory does not cause it to be run on boot; the name of the script must be specified the pkg_scripts variable to start on boot. kind regards, Robert
snort and pf - pflog vs if
Hello I am confused about something. I have recently upgraded from 4.5 to 4.9 (not 5.0 yet). However, I have openbsd/pf as a firewall to protect a home network. Now, even though I don't really understand it all, I had/have snort running on the FW to see what kind of badness passes by. With 4.5, I had snort listening to pflog0, because I understood that listening to the interface directly (e.g. bge0) would not work since any packets dropped by pf would not be seen by snort. However, when I upgraded to 4.9 and snort 2.9.1.x, I have noticed that snort appears to see packets that are dropped by pf when it listens on the interface directly (bge0). I don't think I ever checked this with openbsd 4.5 (listening on the interface directly). So, I was wondering, is this expected? Should snort see packets dropped by pf when listening to the interface? I guess if the answer is no, I will need to check my pf.conf, although when I scan myself the only port open to the internet is ssh, everything else is silently dropped (which is as it should be). Thanks for any clarification. Bye - ted
Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it
On Sun, Nov 13, 2011 at 9:22 AM, David Walker davidianwal...@gmail.com wrote: On 13/11/2011, Mostaf Faridi mostafafar...@gmail.com wrote: Can I optimiz this pf.conf? Thanks in advance I do not open up the truth to one who is not eager to get knowledge, nor help out any one who is not anxious to explain himself. When I have presented one corner of a subject to any one, and he cannot from it learn the other three, I do not repeat my lesson. http://en.wikiquote.org/wiki/Confucius http://blogs.nasa.gov/cm/wiki/?id=2738#gen6 i like your style :) Best wishes.
Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it
On 14/11/2011, Andres Perera andre...@zoho.com wrote: i like your style :) :] I've been writing essays for this guy and fixing his 800 line PF but there's a limit. How cool is this ... To study and not think is a waste. To think and not study is dangerous. Confucius. Pwnage. Teaching people to fish ... it's a little too cheery ...
Re: again on rc.d - squid
On Sun, Nov 13, 2011 at 4:59 PM, Robert info...@die-optimisten.net wrote: Use pkg_scripts=squid instead. Thank you Robert, works perfectly 10.3: The order for system daemons is coded into rc, and the order for add-in packages is managed by the pkg_scripts environment variable, which would be set in /etc/rc.conf.local Note that simply placing a script in this directory does not cause it to be run on boot; the name of the script must be specified the pkg_scripts variable to start on boot. My mistake, I didn't understand this, now it's clear -f
XVI Ateneo 2011 - Integración de Oriente y Occidente en el estilo terapéutico
Escuela Sistimica Argentina Institucisn dedicada a la formacisn, asistencia e investigacisn psicolsgica. Hoy nos acercamos a Uds. para invitarlos a la realizacisn del XVI Ateneo 2011 INTEGRACISN DE ORIENTE Y OCCIDENTE EN EL ESTILO TERAPIUTICO Herramientas del hinduismo y budismo para pensar la clmnica hoy. La meditacisn como recurso terapiutico para lograr la integracisn cuerpo-mente-espmritu. Desarrollo de la creatividad en el estilo terapiutico. Coordinan: Lic. Graciela PIATTI y Dr. Gabriel GONZALEZ Dma: viernes 18 de Noviembre de 2011, 19 horas ENTRADA LIBRE Y GRATUITA (Sin inscripcisn previa) ESCUELA SISTIMICA ARGENTINA Fray J. S. M. Oro 1843 (C1414DBC) Cap. Fed. Tel/ Fax: 4774-2875/6112 - 4899-1053 i...@escuelasistemica.com.ar / www.escuelasistemica.com.ar
Re: I want copy pf.conf from FreeBSD 8.2 to OpenBSD 5 and use it
Never thought I would see confucionism on misc@
POUR LES FETES DE FIN D'ANNEE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Burning DVDs
Device seems to be: Generic mmc2 DVD-R/DVD-RW. cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code. cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD. cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ Apparently this support code has been in cdrtools since 2009, the site it tells me to go to tells me I don't need it. It's like bureaucracy, lol. I could build their cdrtools, but the port must be ancient or something. Perhaps I could become a packager. Another port, gtk-gnutella, isn't even worth having if its not maintained. John Tate. -- www.johntate.org
Re: Burning DVDs
On 14/11/2011, at 6:13 PM, John Tate wrote: Device seems to be: Generic mmc2 DVD-R/DVD-RW. cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code. cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD. cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ Apparently this support code has been in cdrtools since 2009, the site it tells me to go to tells me I don't need it. It's like bureaucracy, lol. I could build their cdrtools, but the port must be ancient or something. Perhaps I could become a packager. Another port, gtk-gnutella, isn't even worth having if its not maintained. John Tate. http://openports.se/sysutils/dvd+rw-tools http://openports.se/search.php?so=dvd -- www.johntate.org
Re: terminal descriptions for AMD/Intel consoles
Nicholas Marriott wrote: ... I at least would be pretty reluctant to include full terminfo entries as local changes in OpnBSD. If possible try to get them upstream. Hello, Nicholas. Thomas E. Dickey recently added pccon terminal descriptions to ncurses-current (please see below). Will you update termtypes.master with pccon entries? -- Alexei Malinin Original Message Subject:ncurses-5.9-2012.patch.gz Date: Sat, 12 Nov 2011 21:55:49 -0500 From: Thomas Dickey dic...@his.com Reply-To: dic...@his.com To: Ncurses Mailing List bug-ncur...@gnu.org ncurses 5.9 - patch 2012 - Thomas E. Dickey -- Ncurses 5.9 is at ftp.gnu.org:/pub/gnu Patches for ncurses 5.9 are in the subdirectory ftp://invisible-island.net/ncurses/5.9 -- ftp://invisible-island.net/ncurses/5.9/ncurses-5.9-2012.patch.gz patch by Thomas E. Dickey dic...@invisible-island.net created Sun Nov 13 02:51:43 UTC 2011 -- Ada95/aclocal.m4 | 44 Ada95/configure | 963 +++--- NEWS | 26 aclocal.m4| 44 configure | 2653 dist.mk |4 misc/Makefile.in |4 misc/terminfo.src | 57 + progs/capconvert | 24 test/aclocal.m4 | 12 test/configure| 2627 --- 11 files changed, 3645 insertions(+), 2813 deletions(-) -- 2012 + add pccon entries for OpenBSD console (Alexei Malinin). + build-fix for OpenBSD 4.9 with gcc 4.2.1, setting _XOPEN_SOURCE to 600 to work around inconsistent ifdef'ing of wcstof between C and C++ header files. + modify capconvert script to accept more than exact match on xterm, e.g., the xterm-* variants, to exclude from the conversion (patch by Robert Millan). + add -lc_r as alternative for -lpthread, allows build of threaded code in older FreeBSD machines. + build-fix for MirBSD, which fails when either _XOPEN_SOURCE or _POSIX_SOURCE are defined. + fix a typo misc/Makefile.in, used in uninstalling pc-files. -- Thomas E. Dickey dic...@invisible-island.net http://invisible-island.net ftp://invisible-island.net
Oferta limitada SOLO por este mes
[IMAGE] Newsletter 8 - Aqo I - Noviembre 2011 - noveda...@rincondeluzarte.com.ar [IMAGE]?Qui es y para qui sirve un mandala? Mandala es una palabra del antiguo idioma sanscrito traducida como Cmrculo Magico. Ellos estas presentes en muchas de las tradiciones mas ricas de la Humanidad, siempre ligados a la Meditacisn y a la representacisn de Divinidades. Los Mandalas expresan estructuras del alma que superan al individuo e incluyen el ritmo general de la vida cssmica. nota completa [IMAGE]?Qui beneficios trae el feng shui? La aplicacisn de este arte soluciona los efectos negativos que un ambiente desequilibrado aporta a los usuarios de una construccisn. Es un pilar (no el znico) para armonizar nuestra vida. Con el planteamiento de la mecanica cuantica y de todas las teormas energiticas que la ciencia hasta el momento ha comprobado, no se puede ver una construccisn sslamente en tirminos estiticos, como si la estitica que nos rodea constantemente no emitiera energma. La estitica no es estatica sino que es completamente vibrante. nota completa [IMAGE]Consejos para activar la zona de la riqueza y la prosperidad: Para implementar fortuna en su vida debe ante todo pensar en positivo. Hay que conectarse con la abundancia en nuestra vida. Pero en todos los aspectos de la vida: en el amor, en el dinero, en el trabajo, etc. Debe creer que se merece abundancia y riqueza en su vida. Su actitud frentes estos aspectos seran determinante para generar riqueza y prosperidad. Las fuentes de agua o saltos de agua simbolizan la prosperidad y la abundancia de dinero. nota completa [IMAGE]Consejos para activar la zona del saber y la cultura: El lugar del conocimiento en su casa aparece cuando usted o su familia estudian o trabajan. Se encuentra ubicado en el sector nordeste de la casa. Es el lugar de la sabidurma, debera estar rodeada de los libros que le han enseqado las mas valiosas lecciones en su vida. Es la energma que nos inspira y nos ayuda a reflexionar, lugar de relax para meditar y volar hacia nuestro interior. . nota completa [IMAGE]?Csmo debe ser la puerta de entrada feng shui y sus caractermsticas? La puerta de entrada es por donde la energma Chi penetra y sale de la casa. Cada vez que entra en su casa desplaza chi hacia el interior, lo mismo que cuando sale. Es decir que el flujo de energma se vera afectado cuanto mas gente cruce la puerta de entrada. En la puerta de entrada se debe tener en cuenta su orientacisn y sus caractermsticas. Orientacisn de la puerta de entrada: SE - Favorece el dialogo y la evolucisn en armonma o equilibrio. S - La orientacisn Sur estimula demasiado, pudiendo llevar a discusiones. SO - Influye con su quietud, paz y sin alteracisn. E - Especialmente favorable para los estudiantes jsvenes. nota completa [IMAGE] [IMAGE] Productos Fuentes Feng-Shui con Luz Fuentes Feng-Shui sin Luz Fuentes Feng-Shui VeladoresSahumerios Importados de la India Sahumerios Nacionles Hornillos elictricos Artmculos Feng-Shu iPiedras Semipreciosas Roladas Dijes de piedras semipreciosas RoladasPiedras semipreciosas en bruto Llaveros de piedra semipreciosa Packs de 10 piedras semipreciosas Accesorios varios Musica Feng Shui para el alma [IMAGE] Seguinos en:Seguinos!!! [IMAGE] [IMAGE] Rincsn de Luz Artesanmas - Fabrica de fuentes de agua Feng Shui - Artesanmas Ayacucho N: 3239 entre Intendente Alvear e Intendente Ballester. San Andres - Prov. de Buenos Aires. HORARIOS: lunes a viernes de 9 A 15.30 hs TEL: (011) 4768-3054 - CEL: 153693-3067 email: i...@rincondeluzarte.com.ar - website: www.rincondeluzarte.com.ar ENVIOS A TODO EL PAIS