Re: Extended VLAN?
On 13 April 2010 23:04, Dan D Niles wrote: > I have two FreeBSD routers. I would like both locations to share the > 10.10.0.0/16 network. If I were using Cisco routers I would use > extended VLANs. How would I do that with FreeBSD routers? > > I already have a tunnel set up and routing different networks in the > 192.168.0.0/16 range. > > Router A: > > ifconfig em2 inet 192.168.1.1 netmask 255.255.255.0 > ifconfig gif0 create 192.168.1.1 192.168.2.1 netmask 255.255.255.0 tunnel > > route add 192.168.2.0/24 129.168.2.1 > > Router B: > > ifconfig em2 inet 192.168.2.1 netmask 255.255.255.0 > ifconfig gif0 create 192.168.2.1 192.168.1.1 netmask 255.255.255.0 tunnel > > route add 192.168.1.0/24 129.168.1.1 > > This routes traffic between 192.168.1.0/24 and 192.168.2.0/24 as I would > expect. > > The docs say I can use a tunnel with a bridge, which seems like it would > do what I want. > > Router A: > > ifconfig em3 inet 10.10.1.1 netmask 255.255.0.0 > ifconfig bridge0 create addm em3 addm gif0 > > Router B: > > ifconfig em3 inet 10.10.2.1 netmask 255.255.0.0 > ifconfig bridge0 create addm em3 addm gif0 > > I cannot ping 10.10.2.1 from router A or 10.10.1.1 from router B. > > Should I be able to use a bridge this way? Am I missing some piece? > > Is there an easier/better way to extend a VLAN with FreeBSD routers? > > Thanks! > > Dan > > > ___ > 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: Extended VLAN?
On 13 April 2010 23:04, Dan D Niles wrote: > I have two FreeBSD routers. I would like both locations to share the > 10.10.0.0/16 network. If I were using Cisco routers I would use > extended VLANs. How would I do that with FreeBSD routers? > > I already have a tunnel set up and routing different networks in the > 192.168.0.0/16 range. > > Router A: > > ifconfig em2 inet 192.168.1.1 netmask 255.255.255.0 > ifconfig gif0 create 192.168.1.1 192.168.2.1 netmask 255.255.255.0 tunnel > > route add 192.168.2.0/24 129.168.2.1 > > Router B: > > ifconfig em2 inet 192.168.2.1 netmask 255.255.255.0 > ifconfig gif0 create 192.168.2.1 192.168.1.1 netmask 255.255.255.0 tunnel > > route add 192.168.1.0/24 129.168.1.1 > > This routes traffic between 192.168.1.0/24 and 192.168.2.0/24 as I would > expect. > > The docs say I can use a tunnel with a bridge, which seems like it would > do what I want. > > Router A: > > ifconfig em3 inet 10.10.1.1 netmask 255.255.0.0 > ifconfig bridge0 create addm em3 addm gif0 > > Router B: > > ifconfig em3 inet 10.10.2.1 netmask 255.255.0.0 > ifconfig bridge0 create addm em3 addm gif0 > > I cannot ping 10.10.2.1 from router A or 10.10.1.1 from router B. > > Should I be able to use a bridge this way? Am I missing some piece? > > Is there an easier/better way to extend a VLAN with FreeBSD routers? > > Thanks! > > Dan > > > ___ > 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" > it sounds stupid but is the bridge up? ie do a ifconfig bridge0 up ___ 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: Extended VLAN?
> > it sounds stupid but is the bridge up? > > ie do a ifconfig bridge0 up The phisical NIC's, members of the bridge, must be up either. Alberto Mijares ___ 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"
pyglet segfaults on FreeBSD 8.0/amd64/nVidia
Hello, First of all, let me apologize for the re- and cross-posting , but after a couple of weeks scouring the web and forums to no avail, I thought I would try again and query the FreeBSD mother source... I installed pyglet from the ports (latest version as of yesterday, py26-pyglet-1.1.2_1) on a FreeBSD 8.0 amd64 box, running the latest version of the ports' nvidia driver (nvidia-driver-195.36.15). I found that I cannot use either font.Text or text.label without causing segfaults. Here is some sample code that makes python crash: - SNIPPET 1 import pyglet luxi = pyglet.font.load('Luxi Sans', 14) --- > SEGMENTATION FAULT - SNIPPET 2 import pyglet window = pyglet.window.Window() label = pyglet.text.Label('Hello, world', font_name='Luxi Sans', font_size=36, x=window.width//2, y=window.height//2, anchor_x='center', anchor_y='center') --- > SEGMENTATION FAULT It seems that the problem arises already at the stage of font loading. I am not at all a python expert, perhaps somebody can suggest a way to narrow down the problem? Here is some more information on my system reported by a routine included in a python package (PsychoPy) I am trying to use: System info: FreeBSD-8.0-RELEASE-p2-amd64-64bit-ELF Python info /usr/local/bin/python 2.6.4 (r264:75706, Mar 23 2010, 15:20:14) [GCC 4.2.1 20070719 [FreeBSD]] numpy 1.4.0 scipy 0.7.1 matplotlib 0.99.1 pyglet 1.1.2 PsychoPy 1.60.03 OpenGL info: vendor: NVIDIA Corporation rendering engine: GeForce 9500 GT/PCI/SSE2 OpenGL version: 3.2.0 NVIDIA 195.36.15 (Selected) Extensions: True GL_ARB_multitexture True GL_EXT_framebuffer_object True GL_ARB_fragment_program True GL_ARB_shader_objects True GL_ARB_vertex_shader True GL_ARB_texture_non_power_of_two True GL_ARB_texture_float Thanks in advance for any suggestion/comment, cheers, giuseppe -- Giuseppe Pagnoni Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41125 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5336 ___ 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"
licence question
hey there, hope everythings all right? i´m using your devil image on my website. www.little-devil.de someone tould me that this image is not under bsd licence. am i allowed to use this image? i´ll would be pleased to use it. this is my private website i´m providing free software. thank you very much. hope to hear from you soon. bye greetings from germany mathias a. ___ 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: licence question
> -Original Message- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@freebsd.org] On Behalf Of M. Aschhoff > Sent: Wednesday, April 14, 2010 4:22 PM > To: freebsd-questions@freebsd.org > Subject: licence question > > hey there, > > hope everythings all right? > i´m using your devil image on my website. > www.little-devil.de > someone tould me that this image is not under bsd licence. > am i allowed to use this image? > i´ll would be pleased to use it. > this is my private website i´m providing free software. > thank you very much. > hope to hear from you soon. > See: http://www.mckusick.com/beastie/mainpage/copyright.html -- Regards, T. Koeman, MTh/BSc/BPsy; Technical Monk MediaMonks B.V. (www.mediamonks.com) Please quote all replies in correspondence. smime.p7s Description: S/MIME cryptographic signature
Re: licence question
On Wed, 14 Apr 2010 16:22:26 +0200, "M. Aschhoff" wrote: > hey there, > > hope everythings all right? > i´m using your devil image on my website. > www.little-devil.de > someone tould me that this image is not under bsd licence. > am i allowed to use this image? > i´ll would be pleased to use it. > this is my private website i´m providing free software. > thank you very much. > hope to hear from you soon. http://www.freebsd.org/copyright/daemon.html See the bottom of the page reading "Permission to use the daemon" and so on. > greetings from germany Greetings from Germany to Germany. :-) -- 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: Extended VLAN?
On Wed, 2010-04-14 at 09:06 +0100, krad wrote: > it sounds stupid but is the bridge up? > > ie do a ifconfig bridge0 up Yes, the bridge is up. Still no love. I watched the traffic with wireshark. All I see is arp requests with no response. Do I need to run an arp daemon to forward arp requests across the tunnel? ___ 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: Extended VLAN?
On Wed, 2010-04-14 at 00:23 +0200, Ross Cameron wrote: > Look into OpenVPN's bridge mode. > www.openvpn.net > > I use it to bridge networks like what you have in mind quite regularly. Thanks, I'll look into that. > > > On Wed, Apr 14, 2010 at 12:04 AM, Dan D Niles wrote: > > I have two FreeBSD routers. I would like both locations to share the > > 10.10.0.0/16 network. If I were using Cisco routers I would use > > extended VLANs. How would I do that with FreeBSD routers? > > > > I already have a tunnel set up and routing different networks in the > > 192.168.0.0/16 range. > > > > Router A: > > > > ifconfig em2 inet 192.168.1.1 netmask 255.255.255.0 > > ifconfig gif0 create 192.168.1.1 192.168.2.1 netmask 255.255.255.0 tunnel > > > > route add 192.168.2.0/24 129.168.2.1 > > > > Router B: > > > > ifconfig em2 inet 192.168.2.1 netmask 255.255.255.0 > > ifconfig gif0 create 192.168.2.1 192.168.1.1 netmask 255.255.255.0 tunnel > > > > route add 192.168.1.0/24 129.168.1.1 > > > > This routes traffic between 192.168.1.0/24 and 192.168.2.0/24 as I would > > expect. > > > > The docs say I can use a tunnel with a bridge, which seems like it would > > do what I want. > > > > Router A: > > > > ifconfig em3 inet 10.10.1.1 netmask 255.255.0.0 > > ifconfig bridge0 create addm em3 addm gif0 > > > > Router B: > > > > ifconfig em3 inet 10.10.2.1 netmask 255.255.0.0 > > ifconfig bridge0 create addm em3 addm gif0 > > > > I cannot ping 10.10.2.1 from router A or 10.10.1.1 from router B. > > > > Should I be able to use a bridge this way? Am I missing some piece? > > > > Is there an easier/better way to extend a VLAN with FreeBSD routers? > > > > Thanks! > > > > Dan > > > > > > ___ > > 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"
Why is Qemu not in Handbook
For years I used Qemu to run Windows XP under FreeBSD. It worked fine. A few months ago I saw a message that VirtualBox was now working correctly under FreeBSD. So I tried to install it and it wouldn't build. But that's not the actual topic of my question. In the process of trying to install VirtualBox I noticed that Qemu is not mentioned in the Handbook. It's not even mentioned under "Other Virtualization Options". So my actual question is: Why is Qemu not mentioned in the Handbook? There is already a PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=127923 Even just a mention with a link to http://wiki.freebsd.org/qemu would be helpful. Thanks, -- -- Bob Johnson ___ 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: Extended VLAN?
On Wed, 2010-04-14 at 10:11 -0500, Dan D Niles wrote: > On Wed, 2010-04-14 at 09:06 +0100, krad wrote: > > it sounds stupid but is the bridge up? > > > > ie do a ifconfig bridge0 up > > Yes, the bridge is up. Still no love. > > I watched the traffic with wireshark. All I see is arp requests with no > response. Do I need to run an arp daemon to forward arp requests > across the tunnel? > OK, this is weird. I ran wireshark on the destination side (across the bridge). When I try to ping the destination router, the arp request is sent across the bridge, but there is no arp reply. It seems like the destination router is not responding to arp requests that come in over the bridge. > ___ > 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: Why is Qemu not in Handbook
On Wed, Apr 14, 2010 at 10:24 AM, Bob Johnson wrote: > For years I used Qemu to run Windows XP under FreeBSD. It worked fine. > A few months ago I saw a message that VirtualBox was now working > correctly under FreeBSD. So I tried to install it and it wouldn't > build. But that's not the actual topic of my question. In the process > of trying to install VirtualBox I noticed that Qemu is not mentioned > in the Handbook. It's not even mentioned under "Other Virtualization > Options". So my actual question is: > > Why is Qemu not mentioned in the Handbook? > > There is already a PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=127923 > > Even just a mention with a link to http://wiki.freebsd.org/qemu would > be helpful. > > Thanks, > you mean like this? http://www.freebsdgr.org/handbook-mine/virtualization-host.html I don't know why it's not on the official one, IIRC it used to be. -- 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: Why is Qemu not in Handbook
On Wed, 14 Apr 2010 11:24:11 -0400 Bob Johnson wrote: > Why is Qemu not mentioned in the Handbook? I don't know if this is the actual reason, but from the ports UPDATING file: Also note the 0.11 stable branch is the last qemu branch that still supports kqemu, so if you depend on reasonably fast emulation on FreeBSD you should start looking for alternatives some time soon. (VirtualBox?) ___ 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: Why is Qemu not in Handbook
On 14/04/2010 8:55 μ.μ., Adam Vande More wrote: > On Wed, Apr 14, 2010 at 10:24 AM, Bob Johnson wrote: > > >> For years I used Qemu to run Windows XP under FreeBSD. It worked fine. >> A few months ago I saw a message that VirtualBox was now working >> correctly under FreeBSD. So I tried to install it and it wouldn't >> build. But that's not the actual topic of my question. In the process >> of trying to install VirtualBox I noticed that Qemu is not mentioned >> in the Handbook. It's not even mentioned under "Other Virtualization >> Options". So my actual question is: >> >> Why is Qemu not mentioned in the Handbook? >> >> There is already a PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=127923 >> >> Even just a mention with a link to http://wiki.freebsd.org/qemu would >> be helpful. >> >> Thanks, >> >> > you mean like this? > > http://www.freebsdgr.org/handbook-mine/virtualization-host.html > > I don't know why it's not on the official one, IIRC it used to be. > > This is not the "official" Handbook, but my own patch queue, and yes it has been in there for too long. Hopefully I will have a lot more free time in a few weeks, there are more patches like this that need to get reviewed and committed. ___ 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"
corrupt or invalid GPT detected...
Hello all! I have error with GPT slice: Apr 14 20:24:10 kernel: GEOM: ad6: corrupt or invalid GPT detected. Apr 14 20:24:10 kernel: GEOM: ad6: GPT rejected -- may not be recoverable. That messages I have got since I created GPT slice. So, I used following actions (I have prepared disk for installing FreeBSD 7): 1) I divided disk on two slice - one for boot and next one for zfs pool (I got ad0s1 and ad0s2) 2) I partitioned first slice on two partition (I got ad0s1a - for boot, ad0s1b - swap) 3) I created GPT slice: gpart create -s GPT ad0s2 4) I added partition: gpart add -b 34 -s -t freebsd-zfs -l datazfs ad0s2 (so, I got ad0s2p1) 5) created GPT label: glabel label my_zfs ad0s2p1 6) Finally, I created zfs pool: zpool create tank label/my_zfs And generally, I have got errors that I mentioned above. How can I fix that? Thank all for answer. ___ 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: Why is Qemu not in Handbook
On Wed, Apr 14, 2010 at 2:45 PM, Manolis Kiagias wrote: > This is not the "official" Handbook, but my own patch queue, and yes it > has been in there for too long. > Hopefully I will have a lot more free time in a few weeks, there are > more patches like this that need to get reviewed and committed. > I think there will still be a number of people wanting to use qemu for it's usb pass though. So having a qemu entry could still be appropriate. -- 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"
downgrade php5
After upgrading to php 5.3.2, we have a few in house applications that broke and our developers will not be able to work this out for at least another week or so, so I need to downgrade back to 5.2.12 in the mean time. I've used portdowngrade lang/php5 and lang/php5-extensions, during make install of php5-extensions it fails on php5-filter [...] ===>Verifying install for /usr/local/lib/php/20060613/filter.so in /usr/ports/security/php5-filter ===> Building for php5-filter-5.2.12_2 /bin/sh /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/libtool --mode=compile cc -I. -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter -DPHP_ATOM_INC -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/include -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/main -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c -o logical_filters.lo cc -I. -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter -DPHP_ATOM_INC -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/include -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/main -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c -fPIC -DPIC -o .libs/logical_filters.o /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:25:31: error: ext/pcre/php_pcre.h: No such file or directory /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c: In function 'php_filter_validate_regexp': /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412: error: 'pcre' undeclared (first use in this function) /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412: error: (Each undeclared identifier is reported only once /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412: error: for each function it appears in.) /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412: error: 're' undeclared (first use in this function) /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:413: error: 'pcre_extra' undeclared (first use in this function) /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c: In function 'php_filter_validate_email': /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:477: error: 'pcre' undeclared (first use in this function) /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:477: error: 're' undeclared (first use in this function) /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:478: error: 'pcre_extra' undeclared (first use in this function) *** Error code 1 1 error *** Error code 1 Stop in /usr/ports/security/php5-filter. *** Error code 1 Stop in /usr/ports/lang/php5-extensions. *** Error code 1 Stop in /usr/ports/lang/php5-extensions. Since some ports have been removed as they are bundled with 5.3.2, how can I get this downgraded properly. (devel/php5-pcre is no longer in the ports tree). thanks. doug ___ 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: pyglet segfaults on FreeBSD 8.0/amd64/nVidia
On Wed, Apr 14, 2010 at 7:44 AM, Giuseppe Pagnoni wrote: > Hello, > > First of all, let me apologize for the re- and cross-posting , but > after a couple of weeks scouring the web and forums to no avail, I > thought I would try again and query the FreeBSD mother source... > > I installed pyglet from the ports (latest version as of yesterday, > py26-pyglet-1.1.2_1) on a FreeBSD 8.0 amd64 box, running the latest > version of the ports' nvidia driver (nvidia-driver-195.36.15). I > found that I cannot use either font.Text or text.label without causing > segfaults. Here is some sample code that makes python crash: > > - SNIPPET 1 > import pyglet > luxi = pyglet.font.load('Luxi Sans', 14) > --- > SEGMENTATION FAULT > > - SNIPPET 2 > import pyglet > window = pyglet.window.Window() > label = pyglet.text.Label('Hello, world', > font_name='Luxi Sans', > font_size=36, > x=window.width//2, > y=window.height//2, > anchor_x='center', > anchor_y='center') > --- > SEGMENTATION FAULT > > It seems that the problem arises already at the stage of font loading. > I am not at all a python expert, perhaps somebody can suggest a > way to narrow down the problem? > > Here is some more information on my system reported by a routine > included in a python package (PsychoPy) I am trying to use: > > System info: > FreeBSD-8.0-RELEASE-p2-amd64-64bit-ELF > > Python info > /usr/local/bin/python > 2.6.4 (r264:75706, Mar 23 2010, 15:20:14) > [GCC 4.2.1 20070719 [FreeBSD]] > numpy 1.4.0 > scipy 0.7.1 > matplotlib 0.99.1 > pyglet 1.1.2 > PsychoPy 1.60.03 > > OpenGL info: > vendor: NVIDIA Corporation > rendering engine: GeForce 9500 GT/PCI/SSE2 > OpenGL version: 3.2.0 NVIDIA 195.36.15 > (Selected) Extensions: > True GL_ARB_multitexture > True GL_EXT_framebuffer_object > True GL_ARB_fragment_program > True GL_ARB_shader_objects > True GL_ARB_vertex_shader > True GL_ARB_texture_non_power_of_two > True GL_ARB_texture_float > > > Thanks in advance for any suggestion/comment, > > cheers, > > giuseppe > > -- > Giuseppe Pagnoni > Dip. Scienze Biomediche > Sezione Fisiologia > Univ. di Modena e Reggio Emilia > Via Campi 287 > I-41125 Modena, Italy > Tel: +39-059-205-5742 > Fax: +39-059-205-5336 > ___ > 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" > which is the resolution that you have running the xorg? -- Jorge Andrés Medina Oliva. ___ 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: downgrade php5
doug schmidt wrote: > After upgrading to php 5.3.2, we have a few in house applications that > broke and our developers will not be able to work this out for at > least another week or so, so I need to downgrade back to 5.2.12 in the > mean time. > > I've used portdowngrade lang/php5 and lang/php5-extensions, during > make install of php5-extensions it fails on php5-filter > [snip] > > Stop in /usr/ports/lang/php5-extensions. > > Since some ports have been removed as they are bundled with 5.3.2, how > can I get this downgraded properly. (devel/php5-pcre is no longer > in the ports tree). > I feel for you, as I am slogging my way through the PHP upgrade myself. I've been fairly lucky so far as most of it I've been able to fairly easily get by. Only outstanding item for me at this point in time is php5_pdo-mysql is horribly broken [Again]. It has been a long time since I've had to do anything like this, but I believe what you will probably end up needing to do is to csup the ports tree back one step to the earlier date/state. Then build the php5-pcre as it was when it was before. Not entirely sure about how big a mess that might be in attempting to properly confuse portdowngrade. In the past when I've had trouble of this nature I step in and just build/install whatever ports are problematic manually by hand and bypass using the portupgrade tools. -Mike ___ 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: downgrade php5
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 doug schmidt wrote: > After upgrading to php 5.3.2, we have a few in house applications that > broke and our developers will not be able to work this out for at > least another week or so, so I need to downgrade back to 5.2.12 in the > mean time. > > I've used portdowngrade lang/php5 and lang/php5-extensions, during > make install of php5-extensions it fails on php5-filter > > [...] > ===>Verifying install for /usr/local/lib/php/20060613/filter.so in > /usr/ports/security/php5-filter > ===> Building for php5-filter-5.2.12_2 > /bin/sh /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/libtool > --mode=compile cc -I. > -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter > -DPHP_ATOM_INC > -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/include > -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/main > -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter > -I/usr/local/include/php -I/usr/local/include/php/main > -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend > -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib > -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c > -o logical_filters.lo > cc -I. -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter > -DPHP_ATOM_INC > -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/include > -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/main > -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter > -I/usr/local/include/php -I/usr/local/include/php/main > -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend > -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib > -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c > -fPIC -DPIC -o .libs/logical_filters.o > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:25:31: > error: ext/pcre/php_pcre.h: No such file or directory > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c: > In function 'php_filter_validate_regexp': > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412: > error: 'pcre' undeclared (first use in this function) > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412: > error: (Each undeclared identifier is reported only once > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412: > error: for each function it appears in.) > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412: > error: 're' undeclared (first use in this function) > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:413: > error: 'pcre_extra' undeclared (first use in this function) > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c: > In function 'php_filter_validate_email': > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:477: > error: 'pcre' undeclared (first use in this function) > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:477: > error: 're' undeclared (first use in this function) > /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:478: > error: 'pcre_extra' undeclared (first use in this function) > *** Error code 1 > 1 error > *** Error code 1 > > Stop in /usr/ports/security/php5-filter. > *** Error code 1 > > Stop in /usr/ports/lang/php5-extensions. > *** Error code 1 > > Stop in /usr/ports/lang/php5-extensions. > > Since some ports have been removed as they are bundled with 5.3.2, how > can I get this downgraded properly. (devel/php5-pcre is no longer > in the ports tree). > Hi Doug, For any port that is no longer present in the tree because it's bundled with PHP 5.3.2, please use these commands to restore them: export CVS_RSH=ssh# or "setenv CVS_RSH ssh" if csh cd /usr/ports cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D '2009-03-31' -d devel/php5-pcre ports/devel/php5-pcre Repeat the "cvs co" as necessary by changing "devel/php5-pcre" to the other / values that you need. I checked the source code to portdowngrade to see if it could restore a removed port, but didn't see a way to do that. I'm rusty in C/C++, but maybe someone can prepare a patch to handle that case, too. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLxi7r0sRouByUApARAhGHAKChl5GLL7kTO7nrr5uxhb6zyM4fHwCfdcRe aj3NPo8i1umuTpt7r2jrs/E= =G9ph -END PGP SIGNATURE- __
Question about fstab
Hello all! I want use redundant scheme for booting my OS. For instance I have two ufs slices and each of them keep /boot folder. For example, I want use fstab like that: # DeviceMountpoint FStype Options Dump Pass# /dev/ad6s1b noneswapsw 0 0 /dev/ad6s1a /bootdirufs rw 1 1 /dev/ad4s1a/mnt/bootdirufs rw 1 1 That scheme will work unless one of ufs slices go out. After that I just select bootable disk in BIOS and reboot. But during boot process I have got error that one of slices can't be mounted. It's not convinient. How can I get decision? Thank all. ___ 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: pyglet segfaults on FreeBSD 8.0/amd64/nVidia
Giuseppe Pagnoni wrote: > Hello, > > First of all, let me apologize for the re- and cross-posting , but > after a couple of weeks scouring the web and forums to no avail, I > thought I would try again and query the FreeBSD mother source... > > I installed pyglet from the ports (latest version as of yesterday, > py26-pyglet-1.1.2_1) on a FreeBSD 8.0 amd64 box, running the latest > version of the ports' nvidia driver (nvidia-driver-195.36.15). I > found that I cannot use either font.Text or text.label without causing > segfaults. Here is some sample code that makes python crash: > > - SNIPPET 1 > import pyglet > luxi = pyglet.font.load('Luxi Sans', 14) > --- > SEGMENTATION FAULT > > - SNIPPET 2 > import pyglet > window = pyglet.window.Window() > label = pyglet.text.Label('Hello, world', >font_name='Luxi Sans', >font_size=36, >x=window.width//2, >y=window.height//2, >anchor_x='center', >anchor_y='center') > --- > SEGMENTATION FAULT > > It seems that the problem arises already at the stage of font loading. > I am not at all a python expert, perhaps somebody can suggest a > way to narrow down the problem? I'm not a coder, but possibly this may help: http://pyglet.org/doc/api/index.html Then look at pyglet.font and pyglet.font.base for example purposes. > Here is some more information on my system reported by a routine > included in a python package (PsychoPy) I am trying to use: > > System info: > FreeBSD-8.0-RELEASE-p2-amd64-64bit-ELF > > Python info > /usr/local/bin/python > 2.6.4 (r264:75706, Mar 23 2010, 15:20:14) > [GCC 4.2.1 20070719 [FreeBSD]] > numpy 1.4.0 > scipy 0.7.1 > matplotlib 0.99.1 > pyglet 1.1.2 > PsychoPy 1.60.03 > > OpenGL info: > vendor: NVIDIA Corporation > rendering engine: GeForce 9500 GT/PCI/SSE2 > OpenGL version: 3.2.0 NVIDIA 195.36.15 > (Selected) Extensions: >True GL_ARB_multitexture >True GL_EXT_framebuffer_object >True GL_ARB_fragment_program >True GL_ARB_shader_objects >True GL_ARB_vertex_shader >True GL_ARB_texture_non_power_of_two >True GL_ARB_texture_float To drive a wedge you might consider as an experiment temporarily replacing the Nvidia driver in xorg.cong with the nv driver. If same problem, it may be confirming the problem is not an interaction with a video display driver but rather the Python coding itself. Notice the different approach in the doc example(s). I'm not really a coder and don't know a whole lot about Python, but since this seems to have been a problem to you for a while now I thought maybe I'd toss out my ideas. YMMV :-) -Mike ___ 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: Question about fstab
2010/4/14 Дмитрий Бехтерев > Hello all! > I want use redundant scheme for booting my OS. > Most would use gmirror, zfs mirror, or a hardware based solution instead of your approach. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html -- 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: downgrade php5
On Wed, Apr 14, 2010 at 5:08 PM, Greg Larkin wrote: > > Hi Doug, > > For any port that is no longer present in the tree because it's bundled > with PHP 5.3.2, please use these commands to restore them: > > export CVS_RSH=ssh # or "setenv CVS_RSH ssh" if csh > cd /usr/ports > cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D > '2009-03-31' -d devel/php5-pcre ports/devel/php5-pcre > > Repeat the "cvs co" as necessary by changing "devel/php5-pcre" to the > other / values that you need. > Hi Greg, Seems to be complaining about devel directory; [r...@test /usr/ports]# cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D '2009-03-31' -d devel/php5-pcre ports/devel/php5-pcre cvs [checkout aborted]: could not change directory to requested checkout directory `devel': No such file or directory [r...@test /usr/ports]# ls -ld devel drwxr-xr-x 3212 root wheel 75264 Apr 13 14:15 devel thanks. doug > Regards, > Greg > - -- > Greg Larkin > > http://www.FreeBSD.org/ - The Power To Serve > http://www.sourcehosting.net/ - Ready. Set. Code. > http://twitter.com/sourcehosting/ - Follow me, follow you > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iD8DBQFLxi7r0sRouByUApARAhGHAKChl5GLL7kTO7nrr5uxhb6zyM4fHwCfdcRe > aj3NPo8i1umuTpt7r2jrs/E= > =G9ph > -END PGP SIGNATURE- > > ___ 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: downgrade php5
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 doug schmidt wrote: > On Wed, Apr 14, 2010 at 5:08 PM, Greg Larkin wrote: >> Hi Doug, >> >> For any port that is no longer present in the tree because it's bundled >> with PHP 5.3.2, please use these commands to restore them: >> >>export CVS_RSH=ssh# or "setenv CVS_RSH ssh" if csh >>cd /usr/ports >>cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D >> '2009-03-31' -d devel/php5-pcre ports/devel/php5-pcre >> >> Repeat the "cvs co" as necessary by changing "devel/php5-pcre" to the >> other / values that you need. >> > > Hi Greg, > Seems to be complaining about devel directory; > > [r...@test /usr/ports]# cvs -d > :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D '2009-03-31' -d > devel/php5-pcre ports/devel/php5-pcre > cvs [checkout aborted]: could not change directory to requested > checkout directory `devel': No such file or directory > [r...@test /usr/ports]# ls -ld devel > drwxr-xr-x 3212 root wheel 75264 Apr 13 14:15 devel > > thanks. > doug > Hi Doug, Sorry about that - I thought the -d option accepted multi-level directories. This works: cd /usr/ports/devel cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D '2009-03-31' -d php5-pcre ports/devel/php5-pcre Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLxkYb0sRouByUApARAnebAKCVMgttDuRwVPonMcBK8NvjaTvLhgCgsrT4 xhzal7cvMfB2YLusynrbfEA= =c5/u -END PGP SIGNATURE- ___ 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"
hacked?
I don't have bsdstats or similar that I'm aware of installed, so this smells bad: Firewall is showing repeated attempts from your FreeBSD machine to connect to port 25 (standard SMTP mail port) on a server in Belgium. This implies something on your system is trying to send mail out. [14/Apr/2010 15:11:09] DROP "SMTP Deny" packet from Local Area Connection - LAN, proto:TCP, len:48, ip/port:192.168.1.38:17343 -> 81.247.120.78:25, flags: SYN , seq:43473770 ack:0, win:65535, tcplen:0 IP-Whois searches for "81.247.120.78:25" show this IP address belongs to a Belgian ISP: http://www.db.ripe.net/whois?form_type=simple&full_query_string=&searchtext=81.247.120.78&do_search=Search inetnum: 81.247.96.0 - 81.247.127.255 netname: BE-SKYNET-ADSL1 descr: ADSL-GO-PLUS descr: Belgacom ISP SA/NV country: BE Where would I start sniffing around as far as what got put on my box? 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: hacked?
Hi-- On Apr 14, 2010, at 3:56 PM, Steve Franks wrote: > I don't have bsdstats or similar that I'm aware of installed, so this > smells bad: > > Firewall is showing repeated attempts from your FreeBSD machine to > connect to port 25 (standard SMTP mail port) on a server in Belgium. This > implies something on your system is trying to send mail out. > > [14/Apr/2010 15:11:09] DROP "SMTP Deny" packet from Local Area > Connection - LAN, proto:TCP, len:48, ip/port:192.168.1.38:17343 -> > 81.247.120.78:25, flags: SYN , seq:43473770 ack:0, win:65535, tcplen:0 > > IP-Whois searches for "81.247.120.78:25" show this IP address belongs to > a Belgian ISP: There's no end of reasons (aka forged spam) why a machine might try to mail out to a random IP. Taking a look at /var/log/maillog and your queue of undelivered mail would be informative... Regards, -- -Chuck ___ 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: downgrade php5
On Wed, Apr 14, 2010 at 6:47 PM, Greg Larkin wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > doug schmidt wrote: >> On Wed, Apr 14, 2010 at 5:08 PM, Greg Larkin wrote: >>> Hi Doug, >>> >>> For any port that is no longer present in the tree because it's bundled >>> with PHP 5.3.2, please use these commands to restore them: >>> >>> export CVS_RSH=ssh # or "setenv CVS_RSH ssh" if csh >>> cd /usr/ports >>> cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D >>> '2009-03-31' -d devel/php5-pcre ports/devel/php5-pcre >>> >>> Repeat the "cvs co" as necessary by changing "devel/php5-pcre" to the >>> other / values that you need. >>> >> >> Hi Greg, >> Seems to be complaining about devel directory; >> >> [r...@test /usr/ports]# cvs -d >> :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D '2009-03-31' -d >> devel/php5-pcre ports/devel/php5-pcre >> cvs [checkout aborted]: could not change directory to requested >> checkout directory `devel': No such file or directory >> [r...@test /usr/ports]# ls -ld devel >> drwxr-xr-x 3212 root wheel 75264 Apr 13 14:15 devel >> >> thanks. >> doug >> > > Hi Doug, > > Sorry about that - I thought the -d option accepted multi-level > directories. This works: > > cd /usr/ports/devel > cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D > '2009-03-31' -d php5-pcre ports/devel/php5-pcre > > Hope that helps, > Greg Greg, that did the trick for php5-pcre. Moving along with php5-extensions install, I now have an issue with php5-zip getting patched. The same error comes up with make install of php5-extensions, so I tried doing a checkout of previous date; [r...@test /usr/ports/archivers]# cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D '2009-03-31' -d php5-zip ports/archivers/php5-zip ? php5-zip/files cvs checkout: Updating php5-zip U php5-zip/Makefile cvs checkout: Updating php5-zip/files [r...@test /usr/ports/archivers]# cd php5-zip [r...@test /usr/ports/archivers/php5-zip]# make install => php-5.2.12.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://dk.php.net/distributions/. php-5.2.12.tar.bz2100% of 8862 kB 338 kBps 00m00s ===> Extracting for php5-zip-5.2.12_2 => MD5 Checksum OK for php-5.2.12.tar.bz2. => SHA256 Checksum OK for php-5.2.12.tar.bz2. ===> Patching for php5-zip-5.2.12_2 ===> Applying FreeBSD patches for php5-zip-5.2.12_2 1 out of 1 hunks failed--saving rejects to config.m4.rej => Patch patch-config.m4 failed to apply cleanly. *** Error code 1 Stop in /usr/ports/archivers/php5-zip. thanks for your help on this. doug ___ 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: hacked?
On 4/14/10, Steve Franks wrote: > I don't have bsdstats or similar that I'm aware of installed, so this > smells bad: > > Firewall is showing repeated attempts from your FreeBSD machine to > connect to port 25 (standard SMTP mail port) on a server in Belgium. This > implies something on your system is trying to send mail out. Who is stating this? > > [14/Apr/2010 15:11:09] DROP "SMTP Deny" packet from Local Area > Connection - LAN, proto:TCP, len:48, ip/port:192.168.1.38:17343 -> > 81.247.120.78:25, flags: SYN , seq:43473770 ack:0, win:65535, tcplen:0 Which log is generating this entry, local or remote? RFC1918 IP blocks (192.168.0.0/16 is one of these blocks) cannot be routed on the public internet, routers should drop any packet in route, unless the packet itself is spoofed. > > IP-Whois searches for "81.247.120.78:25" show this IP address belongs to > a Belgian ISP: > > http://www.db.ripe.net/whois?form_type=simple&full_query_string=&searchtext=81.247.120.78&do_search=Search > > inetnum: 81.247.96.0 - 81.247.127.255 > netname: BE-SKYNET-ADSL1 > descr: ADSL-GO-PLUS > descr: Belgacom ISP SA/NV > country: BE > > Where would I start sniffing around as far as what got put on my box? > > Steve I've seen "hacked" boxes due to insecure services offered to the public Internet have scripts or binaries in globally writable directories, such as /tmp and/or /var/tmp ___ 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: downgrade php5
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 doug schmidt wrote: > On Wed, Apr 14, 2010 at 6:47 PM, Greg Larkin wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> doug schmidt wrote: >>> On Wed, Apr 14, 2010 at 5:08 PM, Greg Larkin wrote: Hi Doug, For any port that is no longer present in the tree because it's bundled with PHP 5.3.2, please use these commands to restore them: export CVS_RSH=ssh# or "setenv CVS_RSH ssh" if csh cd /usr/ports cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D '2009-03-31' -d devel/php5-pcre ports/devel/php5-pcre Repeat the "cvs co" as necessary by changing "devel/php5-pcre" to the other / values that you need. >>> Hi Greg, >>> Seems to be complaining about devel directory; >>> >>> [r...@test /usr/ports]# cvs -d >>> :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D '2009-03-31' -d >>> devel/php5-pcre ports/devel/php5-pcre >>> cvs [checkout aborted]: could not change directory to requested >>> checkout directory `devel': No such file or directory >>> [r...@test /usr/ports]# ls -ld devel >>> drwxr-xr-x 3212 root wheel 75264 Apr 13 14:15 devel >>> >>> thanks. >>> doug >>> >> Hi Doug, >> >> Sorry about that - I thought the -d option accepted multi-level >> directories. This works: >> >>cd /usr/ports/devel >>cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D >> '2009-03-31' -d php5-pcre ports/devel/php5-pcre >> >> Hope that helps, >> Greg > > Greg, that did the trick for php5-pcre. > > Moving along with php5-extensions install, I now have an issue with php5-zip > getting patched. The same error comes up with make install of php5-extensions, > so I tried doing a checkout of previous date; > > [r...@test /usr/ports/archivers]# cvs -d > :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D '2009-03-31' -d > php5-zip ports/archivers/php5-zip > ? php5-zip/files > cvs checkout: Updating php5-zip > U php5-zip/Makefile > cvs checkout: Updating php5-zip/files > [r...@test /usr/ports/archivers]# cd php5-zip > [r...@test /usr/ports/archivers/php5-zip]# make install > => php-5.2.12.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. > => Attempting to fetch from http://dk.php.net/distributions/. > php-5.2.12.tar.bz2100% of 8862 kB 338 kBps 00m00s > ===> Extracting for php5-zip-5.2.12_2 > => MD5 Checksum OK for php-5.2.12.tar.bz2. > => SHA256 Checksum OK for php-5.2.12.tar.bz2. > ===> Patching for php5-zip-5.2.12_2 > ===> Applying FreeBSD patches for php5-zip-5.2.12_2 > 1 out of 1 hunks failed--saving rejects to config.m4.rej > => Patch patch-config.m4 failed to apply cleanly. > *** Error code 1 > > Stop in /usr/ports/archivers/php5-zip. > > thanks for your help on this. > doug Hi Doug, I just realized I should have specified 2010-04-01 as the checkout date, just to be a bit safer. php5-zip still exists in the ports tree, and a new patch file was imported for the 5.3.2 upgrade. For any directory that you check out with the datestamp, make sure to do an "rm -rf" on it first to ensure that you don't have a mix of old and new files. After you do that, php5-zip should compile cleanly. Regards, Greg -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvGZyUACgkQ0sRouByUApBAmQCgvNKipGH2svtd8e/XXQkJ21x6 8MMAoMiLfNMN/ypMAHgOWB2SaJk+OpWr =viZR -END PGP SIGNATURE- ___ 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: hacked?
On 2010.04.14 18:56, Steve Franks wrote: > I don't have bsdstats or similar that I'm aware of installed, so this > smells bad: You have an incredibly poor sense of smell. > Firewall is showing repeated attempts from your FreeBSD machine to > connect to port 25 (standard SMTP mail port) on a server in Belgium. This > implies something on your system is trying to send mail out. Your method of troubleshooting network issues lead you to use the word 'implied'. You should never imply anything, unless you have conclusive proof to explicitly show that you aren't making a mistake. > [14/Apr/2010 15:11:09] DROP "SMTP Deny" packet from Local Area > Connection - LAN, proto:TCP, len:48, ip/port:192.168.1.38:17343 -> > 81.247.120.78:25, flags: SYN , seq:43473770 ack:0, win:65535, tcplen:0 If you are that concerned, go to your ISP. Do not ask an open mailing list about problems that don't concern it's subscribers. I still can't fathom how you assume that this is a FreeBSD problem. The IP you quoted is from a dynamic range that an ISP in Belgium has been allocated from it's RIR. I suspect that your intrusion attempts also have the 1918 space in it, because you are behind a NAT device of some sort, and have a mail system within that space. You are port-forwarding TCP 25 back through a NAT device to your internal email system, and reading 'firewall logs' from that, yes? > Where would I start sniffing around as far as what got put on my box? ...don't sniff. Close port 25 if you are using it internally and forward that traffic outbound to your ISP, or if this 'warning' is being sent by your perimeter firewall that doesn't allow anything through, then ignore it. If you want to sniff, and this is serious, read tcpdump(1). Steve [ full disclaimer: I could potentially be classified as an activist when it comes to eradicating falsified src/dst IP(v6) addresses on the Internet ] ___ 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: are the are C [or C++] src sites ....
>> On Sun, 11 Apr 2010 15:39:16 -0700, >> Gary Kline said: G> what i am thinking of is functions that work in any of several venues: G> math, [every] science, strings, filenames, queues, stacks, arrays, G> . Have a look at the Apache runtime library: http://en.wikipedia.org/wiki/Apache_Portable_Runtime It provides: * Memory allocation and memory pool functionality * Atomic operations * Dynamic library handling * File I/O * Command argument parsing * Locking * Hash tables and arrays * Mmap functionality * Network sockets and protocols * Thread, process and mutex functionality * Shared memory functionality * Time routines * User and group ID services -- Karl Vogel I don't speak for the USAF or my company Difference between airplanes and women #4: Airplanes don't object to a preflight inspection. ___ 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: USB disk boot issues
On Mon, Apr 5, 2010 at 4:24 PM, Boris Samorodov wrote: > On Thu, 1 Apr 2010 07:38:53 -0500 Peter Steele wrote: > >> We clone systems from specially prepared USB flash sticks and this all works >> well, except that occasionally the flash stick fails to boot. It fails at >> the "mount root" step, saying that it cannot mount the specified root >> partition. We use a labeled partition on the disk to make it device >> independent, so we have something like > >> /dev/label/usbroot / ufs rw 1 1 > >> in our fstab. When it fails it doesn't recognize this device, and even ? >> doesn't list it as one of the available devices. If we reboot, it's likely >> the problem won't occur again. It seems to be some kind of timing issue. Is >> this a known problem? > > You can try to solve the problem by: > - > # echo "kern.cam.boot_delay=1" >> /boot/loader.conf > - above did not work for me, however this did: kern.cam.scsi_delay=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"
Re: hacked?
On 15/04/10 00:56, Steve Franks wrote: I don't have bsdstats or similar that I'm aware of installed, so this smells bad: Firewall is showing repeated attempts from your FreeBSD machine to connect to port 25 (standard SMTP mail port) on a server in Belgium. This implies something on your system is trying to send mail out. Who's firewall? Is this above snip from some notice you have received from a third party claiming you are attempting to connect to their server? Who's the one notifying you? The owner of the server or network receiving these connections? Or your LAN Lord? [14/Apr/2010 15:11:09] DROP "SMTP Deny" packet from Local Area Connection - LAN, proto:TCP, len:48, ip/port:192.168.1.38:17343 -> 81.247.120.78:25, flags: SYN , seq:43473770 ack:0, win:65535, tcplen:0 192.168.1.38 - is that you? always? Where would I start sniffing around as far as what got put on my box? How about ps ax sockstat -4 Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.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"
Log rotation / newsyslog / apache not reloaded
Hello, I have the following lines in my /etc/newsyslog.conf /var/log/*-access.log 644 30*@T00 JCG /var/log/*-error.log644 30*@T00 JCG Man newsyslog.conf says: If this field (signal_number) is not present, then a SIGHUP signal will be sent. My problem is that while the apache logs are rotated as specified in the newsyslog.conf file, the apache server is not reloaded which causes it to write log entries to the now compressed files. Which flag should I specify to make sure apache is reloaded during log rotation? Thank you very much in advance! Zbigniew Szalbot ___ 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"