Re: mtree: line 21: unknown user auditdistd
On Wed, Oct 2, 2013 at 8:01 AM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Tue, 1 Oct 2013 12:19-0400, alexus wrote: I've re-run pwd_mkdb now auditdistd user is there, yet back to mergemaster issues: [root@f9 ~]# pwd_mkdb -p /etc/master.passwd [root@f9 ~]# id auditdistd uid=78(auditdistd) gid=77(audit) groups=77(audit) [root@f9 ~]# mergemaster *** Creating the temporary root environment in /var/tmp/temproot *** /var/tmp/temproot ready for use *** Creating and populating directory structure in /var/tmp/temproot install: illegal option -- l usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to the temproot environment [root@f9 ~]# You need to semi-manually install a new version of mergemaster: cd /usr/src/usr.sbin/mergemaster make install See the 20130430 entry in /usr/src/UPDATING. On Tue, Oct 1, 2013 at 11:52 AM, alexus ale...@gmail.com wrote: I even sort of have that user... f9# grep auditdistd /etc/*passwd /etc/master.passwd:auditdistd:*:78:77::0:0:Auditdistd unprivileged user:/var/empty:/usr/sbin/nologin /etc/passwd:auditdistd:*:78:77:Auditdistd unprivileged user:/var/empty:/usr/sbin/nologin f9# On Tue, Oct 1, 2013 at 11:32 AM, alexus ale...@gmail.com wrote: I've tried upgrading my FreeBSD 9.1 to 9.2 via freebsd-update and I guess I did something wrong and now I'm trying to run mergemaster and I'm unable to do so, although I do remember merging passwd file w/ new user auditdistd how can I re-run mergemaster? f9# mergemaster *** The directory specified for the temporary root environment, /var/tmp/temproot, exists. This can be a security risk if untrusted users have access to the system. Use 'd' to delete the old /var/tmp/temproot and continue Use 't' to select a new temporary root directory Use 'e' to exit mergemaster Default is to use /var/tmp/temproot as is How should I deal with this? [Use the existing /var/tmp/temproot] *** Leaving /var/tmp/temproot intact *** Creating the temporary root environment in /var/tmp/temproot *** /var/tmp/temproot ready for use *** Creating and populating directory structure in /var/tmp/temproot mtree: line 21: unknown user auditdistd *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to the temproot environment f9# -- http://alexus.org/ -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++ ___ 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 Hi Trond and Alexus, The tool used by freebsd-update to merge system files is merge(1), not mergemaster(8). See manpage merge(1) http://www.freebsd.org/cgi/man.cgi?query=mergeapropos=0sektion=0manpath=FreeBSD+9.2-RELEASEarch=defaultformat=html for more information. I use mergemaster(8) tool if I deal with sources system upgrade process. Kind regards, Alexandre ___ 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: mtree: line 21: unknown user auditdistd
On Tue, Oct 1, 2013 at 5:52 PM, alexus ale...@gmail.com wrote: I even sort of have that user... f9# grep auditdistd /etc/*passwd /etc/master.passwd:auditdistd:*:78:77::0:0:Auditdistd unprivileged user:/var/empty:/usr/sbin/nologin /etc/passwd:auditdistd:*:78:77:Auditdistd unprivileged user:/var/empty:/usr/sbin/nologin f9# On Tue, Oct 1, 2013 at 11:32 AM, alexus ale...@gmail.com wrote: I've tried upgrading my FreeBSD 9.1 to 9.2 via freebsd-update and I guess I did something wrong and now I'm trying to run mergemaster and I'm unable to do so, although I do remember merging passwd file w/ new user auditdistd how can I re-run mergemaster? f9# mergemaster *** The directory specified for the temporary root environment, /var/tmp/temproot, exists. This can be a security risk if untrusted users have access to the system. Use 'd' to delete the old /var/tmp/temproot and continue Use 't' to select a new temporary root directory Use 'e' to exit mergemaster Default is to use /var/tmp/temproot as is How should I deal with this? [Use the existing /var/tmp/temproot] *** Leaving /var/tmp/temproot intact *** Creating the temporary root environment in /var/tmp/temproot *** /var/tmp/temproot ready for use *** Creating and populating directory structure in /var/tmp/temproot mtree: line 21: unknown user auditdistd *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to the temproot environment f9# -- http://alexus.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 Hi Alexus, You should have a look to this topic on FreeBSD Forums http://forums.freebsd.org/showthread.php?t=36454 Kind regards, Alexandre ___ 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: pkg_create: corrupted record for package
On Sun, Sep 15, 2013 at 4:23 PM, Carmel carmel...@hotmail.com wrote: When running portmaster, I have run into this problem with a few ports: === Creating a backup package for old version kdeartwork-4.10.5 pkg_create: corrupted record for package kdeartwork-4.10.5 (pkgdep line without argument), ignoring pkg_delete: corrupted record for package kdeartwork-4.10.5 (pkgdep line without argument), ignoring I have tried rebuilding the port several times, but the problem still remains. The ports with this problem are, when using pkg_version: pkg_version: corrupted record for package kactivitymanagerd-4.10.5 (pkgdep line without argument), ignoring pkg_version: corrupted record for package kalzium-4.10.5 (pkgdep line without argument), ignoring pkg_version: corrupted record for package kde-workspace-4.10.5 (pkgdep line without argument), ignoring pkg_version: corrupted record for package kdenetwork-4.10.5 (pkgdep line without argument), ignoring pkg_version: corrupted record for package kdeplasma-addons-4.10.5 (pkgdep line without argument), ignoring pkg_version: corrupted record for package kdetoys-4.10.5 (pkgdep line without argument), ignoring I have not found a way to eliminate this problem and Google apparently has not been of much help either. I am open to suggestions. -- Carmel ✌ carmel...@hotmail.com Hi Carmel, Have you tried this? # portmaster --check-depends Kind regards, Alexandre ___ 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: pkg_create: corrupted record for package
On Sun, Sep 15, 2013 at 5:11 PM, Carmel carmel...@hotmail.com wrote: On Sun, 15 Sep 2013 16:56:20 +0200 Alexandre articulated: Have you tried this? # portmaster --check-depends Yes, it ran to completion but fixed nothing. -- Carmel ✌ carmel...@hotmail.com Carmel, # grep ^@pkgdep /var/db/pkg/*/+CONTENTS | awk '{ if (NF != 2) { print $1 } }' | cut -d':' -f1 Then reinstall affected packages. Kind regards, Alexandre ___ 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: Freebsd SVN
On Thu, Aug 1, 2013 at 11:46 AM, Alexey Smirnov ramyale...@gmail.comwrote: Hello community. I got a question here. I am trying to get freebsd source code on linux machine using svn. Here is error i got during this proccess. ramyalexis@asmirnov ~ $ svn co https://svn0.eu.FreeBSD.org freebsd svn: E175002: Unable to connect to a repository at URL ' https://svn0.eu.freebsd.org' svn: E175002: The OPTIONS request returned invalid XML in the response: XML parse error at line 1: Extra content at the end of the document (https://svn0.eu.freebsd.org) ramyalexis@asmirnov ~ $ svn co https://svn0.us-west.FreeBSD.org freebsd svn: E175002: Unable to connect to a repository at URL ' https://svn0.us-west.freebsd.org' svn: E175002: The OPTIONS request returned invalid XML in the response: XML parse error at line 1: Extra content at the end of the document (https://svn0.us-west.freebsd.org) ramyalexis@asmirnov ~ $ svn co https://svn0.us-east.FreeBSD.org freebsd svn: E175002: Unable to connect to a repository at URL ' https://svn0.us-east.freebsd.org' svn: E175002: The OPTIONS request returned invalid XML in the response: XML parse error at line 1: Extra content at the end of the document (https://svn0.us-east.freebsd.org) So i would like to know why this was happend and how to fix it. Thank you. Hi Alexey, There is an option to set before building the subversion application (# make config). In the FreeBSD port devel/subversion this option is called SERF - WebDAV/Delta-V (HTTP/HTTPS) repo access module. I think the option is similar on youtr Linux system. Kind regards, Alexandre ___ 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: TRIM and changing mount options
Le mercredi 24 juillet 2013, aurfalien a écrit : On Jul 24, 2013, at 9:01 AM, Dan Nelson wrote: In the last episode (Jul 23), aurfalien said: On Jul 23, 2013, at 7:55 PM, Dan Nelson wrote: In the last episode (Jul 23), aurfalien said: At any rate, could some one; a) Explain how I am loading my file system as I'm used to fstab? b) How to run tunefs on my zroot c) How to determine if I actually have the needed TRIM support in my kernel I'm not sure if there's a way to query TRIM status on arbitrary geom providers, but you can see whether zfs successfully sent any TRIM requests by watching the output of sysctl kstat.zfs.misc.zio_trim. If .zio_trim.success increments and .unsupported (or .failed) doesn't, then you know that it's working. Looks like I don't have it. I keep reading that I must download the patch and make it which is not an issue. But I can't seem to find it. I've dl'd the 9.2 beta in hopes to check its src and see if its there. Looks like all I really need is the current rel. ZFS TRIM support was MFC'd into the 9 branch in June, so it wasn't in 9.1 but will be available in 9.2: http://svnweb.freebsd.org/base?view=revisionrevision=251419 I actually got the 9.2 src and found what i was looking for so many thanks. Gonna figure out what step are required to compile this in to my current 9.1 rel. Thanks again. - aurf Hi, Why you do not track 9/Stable or wait 9.2-Release? We are at the first Beta stage of 9.2. (9.2-Beta 1). You cannot use freebsd-update to upgrade your 9.1-Release to 9.2-Beta 1 because there was a problem, but this will be resolved for 9.2-Beta 2 in the next days or weeks. Just my .2 cents Kind regards, Alexandre ___ 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: [Bulk] FreeBSD upgrade woes (8.3 - 8.4)
On Thu, Jul 11, 2013 at 11:04 AM, David Noel david.i.n...@gmail.com wrote: I have 4 servers I'm upgrading from 8.3 to 8.4. Two of them went without a hitch, two of them blew up in my face. The only difference between the two is the ones that worked have a 2-disk ZFS mirror and the ones that didn't have a 4-disk ZFS striped mirror configuration (RAID10). They both use the GPT. After installworld installkernel they made it through boot, but right before the login prompt I'm getting a panic and stack dump. The backtrace looks something like this (roughly): 0 kdb_backtrace 1 panic 2 trap_fatal 3 trap_pfault 4 trap 5 calltrap 6 vdev_mirror_child_select 7 vdev_mirror_io_start 8 zio_vdev_io_start 9 zio_execute 10 arc_read 11 dbuf_read 12 dbuf_findbp 13 dbuf_hold_impl 14 dbuf_hold 15 dnode_hold_impl 16 dmu_buf_hold 17 zap_lockdir Does anyone have any idea what went wrong? Does anyone have any suggestions on how to get past this? Many thanks, -David Hi David, You wrote you execute the commands make installworld make installkernel but the first command is wrong. You must execute first make buildworld. All the steps are explained in /usr/src/Makefile Regards, Alexandre ___ 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: [Bulk] Wireless Networking
On Wednesday, July 10, 2013, Walter Hurry wrote: 9.1-RELEASE-p4 on amd64. This is a laptop with an Atheros 9280 wireless chip in a domestic setting with a single router and a cable modem. I have never had to use wireless before, but am now in another room. I have followed the handbook, and it seems to be working well. One question though: 'ifconfig -a' shows *two* entries apparently relating to wireless: ath0 and wlan0. The wlan0 one shows the IP address (fixed, not DHCP), netmask, ssid and so forth, but the ath0 entry shows only: ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 0c:ee:e6:80:ed:52 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated Is this how it should be? Hi Walter, Wlan0 is a clone of your wireless network card. So all the IP setup is applied to Wlan0. You will find more information in the handbook http://www.freebsd.org/doc/handbook/network-wireless.html and in rhe ifconfig man page. I hope this will help you. Kind regards, Alexandre ___ 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: Keeping my system up to date with CTM or subversion?
On Wed, May 22, 2013 at 8:26 PM, Ed Flecko edfle...@gmail.com wrote: I'm confused about an effective way to keep my system patched and up-to-date, and I'm hoping someone can clarify what seems like a lot of options. I'll be running a production server (so security and stability are most important) with a custom kernel and I want it to have all of the latest security patches applied. I'll install from DVD and I'll chose the option to install both the ports and the source. After this, it sure seems like the best way, in terms of speed to download any updated files, is to use CTM as a cron job, but I think the FBSD handbook recommends subversion? Also, I think I read that CTM won't update documentation? Is that right? I also see some people say they use portsnap, portaudit and portupgrade. For example, I came across this command: portsnap fetch /usr/sbin/portsnap update /usr/local/sbin/portaudit -F /usr/local/sbin/portupgrade –aR however these utilities are used more for keeping your ports collection up-to-date (if you install software from ports), and not so much for keeping your system patched from a security perspective - isn't that right? Hopefully, someone can clarify my confusion. Thank you! Ed Hi Ed, To update my ports tree, I use portsnap tool. To install ports (or upgrade them) I use portmaster. More information here: http://www.freebsd.org/doc/en/books/handbook/ports-using.html To update my sources tree, I use subversion tool. Then I rebuild world. More information here: http://www.freebsd.org/doc/en/books/handbook/svn.html http://www.freebsd.org/doc/en/books/handbook/makeworld.html I use subversion to update my sources tree because I am running 9-STABLE. If you are running 9.x-RELEASE (or 8.x-RELEASE) you can use freebsd-update to sync sources and install binary patchs. As you are using custom kernel, you will have to recompile it. More information here: http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html I hope this help you. Kind regards, Alexandre ___ 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: FreeBSD, VBox, mouse integration
On Tuesday, May 21, 2013, asf8g 9hf32 wrote: Hello, I'm using VirtualBox. Host OS is FreeBSD, guest OS is FreeBSD(amd64) too. I'd like to integrate mouse from guest and host(I don't want to use right ctrl to free mouse from guest). I'm using vbox guest additions to do it. I have loaded drivers(vboxguest and vboxvideo).My rc.conf has lines vboxguest_enable=YESvboxservice_enable=YES but mouse isn't integrated. Could you tell me what to do to integrate mouse ? Thanks, Lukas Hi Lukas, In your VM, have you installed VBox additional tool from ports/packages in addition to the lines in /etc/rc.conf ? You must use the same version of VirtualBox on both host and guest. Kind regards, Alexandre ___ 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: FreeBSD, VBox, mouse integration
Lukas, I mean that the host must get installed the same virtualbox version ( http://www.freshports.org/emulators/virtualbox-ose/) than the virtualbox addition tools inside the VM ( http://www.freshports.org/emulators/virtualbox-ose-additions/). You can check the version of Virtualbox installed using this command: % pkg_info | grep virtualbox Kind regards, Alexandre On Tue, May 21, 2013 at 8:09 PM, asf8g 9hf32 machina2...@gmail.com wrote: Well, I don't know much about installation. My professor at university has ordered me to test mouse integration(it hasn't worked). So I need to fix it. The only thing I know is that he has used guest additions. I have 2 scripts. The first loads drivers (vboxguest and vboxvideo). The second is about vboxservice. Loading drivers works fine, I've checked it using kldstat. I've found on Web that I need to add this 2 lines to rc.conf, but they have been there already. I have no idea what to do next. What do you mean with the same version of VirtualBox? Do I have to have the same version on my host and guest even if i dont use vbox on guest? Lukas 2013/5/21 Alexandre axel...@ymail.com On Tuesday, May 21, 2013, asf8g 9hf32 wrote: Hello, I'm using VirtualBox. Host OS is FreeBSD, guest OS is FreeBSD(amd64) too. I'd like to integrate mouse from guest and host(I don't want to use right ctrl to free mouse from guest). I'm using vbox guest additions to do it. I have loaded drivers(vboxguest and vboxvideo).My rc.conf has lines vboxguest_enable=YESvboxservice_enable=YES but mouse isn't integrated. Could you tell me what to do to integrate mouse ? Thanks, Lukas Hi Lukas, In your VM, have you installed VBox additional tool from ports/packages in addition to the lines in /etc/rc.conf ? You must use the same version of VirtualBox on both host and guest. Kind regards, Alexandre ___ 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: freesbd-update Continuously Wants to Update linker.hints
On Wed, May 1, 2013 at 1:01 PM, Paul Macdonald p...@ifdnrg.com wrote: On 01/05/2013 11:06, Stephan Schindel wrote: On Tue, Apr 30, 2013 at 04:37:52PM -0500, Ryan Frederick wrote: I have a number of boxes running 9.1-RELEASE (amd64) that I updated to p3 yesterday via freebsd-update. However freebsd-update still indicates that linker.hints needs to be updated. Running `freebsd-update install` appears to install a new linker.hints file but still doesn't appear to satisfy freebsd-update. Incidentally I have another amd64 system that I did a clean install on last week, and it isn't exhibiting the same issue. Has/is anyone run(ning) into this issue? Ryan __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org Yes, same happens to me too. Sorry, but I guess there is a problem on the server side. Hopefully it gets fixed soon. Stephan same here on multiple boxes, you beat me to posting ! Paul. -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07970339546 e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA --**-- High Specification Dedicated Servers from £100.00pm --**-- Hi all, After upgrading my FreeBSD 9.1-RELEASE-p3 using freebsd-update tool, I encounter the same issue: -- The following files will be updated as part of updating to 9.1-RELEASE-p3: /boot/kernel/linker.hints -- After searching on the Internet, this post on FreeBSD forums resolved the problem : http://bit.ly/15a5wW1 The full topic is here : http://bit.ly/15a5Dkv I hope this help you. Kind regards, Alexandre ___ 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: FreeBSD-update?
On Wednesday, April 24, 2013, Walter Hurry wrote: On Wed, 24 Apr 2013 18:05:04 +0200, Polytropon wrote: The kernel's version message will only change if the _kernel_ has been receiving changes. So, for example, if you update from 9.1 to 9.1-p2, and _no_ change has been written to the kernel, it will still report 9.1, even though the updates for -p2 have been applied to other places (like system binaries or libraries). You can use the -r option to freebsd-update to explicitely specify a version to update to. See man freebsd-update for details. Thanks for the reply, but I'm still confused. -- # freebsd-update upgrade -r 9.1-RELEASE-p2 Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 9.1-RELEASE from update5.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/src world/base world/lib32 The following components of FreeBSD do not seem to be installed: world/doc world/games Does this look reasonable (y/n)? y Fetching metadata signature for 9.1-RELEASE-p2 from update5.freebsd.org... failed. Fetching metadata signature for 9.1-RELEASE-p2 from update4.freebsd.org... failed. Fetching metadata signature for 9.1-RELEASE-p2 from update3.freebsd.org... failed. No mirrors remaining, giving up -- Where am I going wrong? Hi Walter, Freebsd-update tool apply binary patches to your -RELEASE system and GENERIC kernel. Furthermore, sources are synced too (/usr/src) by default. If you want to see the -p# increased, you have to recompile your GENERIC kernel. If you are using a custom kernel, you must recompile it to apply patches as your sources are up-to-date. You will have the -p# increased too. Kind regards, Alexandre ___ 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: Keeping FreeBSD with custom kernel up to date: freebsd-update no option?
Hi Andreas and Polytropon, In the case your are tracking -RELEASE branch, you can use freebsd-update tool to apply binary security patches on your system and upgrade versions (e.g. 9.0 to 9.1 or 9.x to 10.0 when available). Freebsd-update tool apply binary updates to your system and GENERIC kernel. Furthermore, this tool syncs sources (by default). So if you are using custom kernel, you just have to rebuild and install your custom kernel. It is recommended to not use SVN to update your system sources if you are using freebsd-update tool to avoid troubles. Regards, Alexandre On Tue, Apr 16, 2013 at 10:18 PM, Polytropon free...@edvax.de wrote: On Tue, 16 Apr 2013 21:38:16 +0200, andreas scherrer wrote: Dear FreeBSD savvies I am (still) struggling to understand how to keep my FreeBSD system up to date (world/system, not ports). I want to track RELEASE (not a development branch) and I want to receive security related updates. And I want to run a custom kernel. Without actually havint tested it, it seems that if you want to use freebsd-update (binary updating), you should note this: In /etc/freebsd-update.conf, you should have the line for what to update as Components src world. This should prevent overwriting of the kernel, but you need to compile your kernel and install it. The component src will make sure you have the proper kernel sources. I assume a custom kernel configuration file in /usr/src/sys/{i386|amd64}/conf/ is _not_ being overwritten by freebsd-update. Use the -r option of freebsd-update to specify the correct release if required. It should follow -RELEASE-pN for the currentl patchlevel N (which you intend to follow) normally. From what I understand I cannot use freebsd-update in this case because it will invariably either overwrite my custom kernel (if I have Components kernel in the config file) or not update the kernel sources in /usr/src/sys (when I do not have Components kernel in the config file). See [1]. As far as I read from man freebsd-update.conf, the src component will not exclude kernel sources; kernel refers to the kernel and the modules as binary stuff. This is the relevant text passage: The components are ``src'' (source code), ``world'' (non-kernel binaries), and ``kernel''; the sub-components are the indi- vidual distribution sets generated as part of the release process (e.g., ``src/base'', ``src/sys'', ``world/base'', ``world/catpages'', ``kernel/smp''). Note that prior to FreeBSD 6.1, the ``kernel'' component was dis- tributed as part of ``world/base''. So src will include src/sys which is the kernel sources you will need to build your custom kernel. This leaves me with the only possibility to use SVN to update /usr/src, right? No, but it might be the more advanced alternative, and it should work. Note that in _this_ case, you will also have to rebuild the world, so kernel and world are in sync after an update. Refer to the comment header of /usr/src/Makefile for the whole process that has to be performed after updating (or see in the Handbook: the section about updating by source). I have a copy of the SVN sources (for the outdated RELEASE-9.0.0 but that's a different story), see below for svn info). As I understand [2] I cannot mix freebsd-update and SVN, right? It could cause trouble. Deciding for _one_ way should be better. So I can run svn update in /usr/src whenever I like. But what then? Do I need to rebuild the world and my custom kernel every time I run svn update (and there are some updates)? Yes, or better: As soon as it is required. This depends on _what_ has been part of the update. For example, kernel updates _can_ require updates of userland programs or libraries, but it's also possible that it's not the case. To be sure, rebuild. I'm on a low powered consumer device and it takes considerable amount of time to build the world and kernel (plus I still don't feel comfortable doing such tasks remotely). In this case, use freebsd-update as explained at the beginning of my message: Update components world and src, leave out kernel, the rebuild the kernel by source and install it. Then reboot. Is this really the way to do it or am I missing something? There are _several_ ways to do it. :-) There are quite some posts, websites and threads out there (see [3] or [4] for example) about this topic but (surprisingly?) I could not (yet) find a conclusive answer. This is because the answer depends on what you actually want to do (follow RELEASE, STABLE, CURRENT), and how you want to do it (binary, by source). -- 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
Re: devd wlan wpa
Hi, There is this entry for the network aggregation in the Handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-aggregation.html You will be able to switch from wired to wifi card (and vice versa). Regards, Alexandre On Tue, Feb 5, 2013 at 11:14 AM, CeDeROM cede...@tlen.pl wrote: Hello :-) I want to setup wpa_supplicant to start after wlan0 interface gets up. The rc.conf ifconfig_wlan0=WPA DHCP does the job only at boot. When I get the interface down I need to start everything by hand, which is a bit annoying when I test a lot and need to switch between Ethernet and WiFi interfaces very often. I have tried to write devd rule: notify 0 { match system IFNET; match subsystem wlan[0-9]+; match typeLINK_UP; media-type 802.11; match device-name wlan[0-9]+; action /usr/sbin/wpa_supplicant -i $device-name -c /etc/wpa_supplicant.conf -B; }; But there goes the chicken-egg problem - I want to run wpa_supplicant on LINK_UP event that occurs when Media Status is connected, but to get that connected status I need to run wpa_supplicant first, so capabilities of devd are not enough in this case, or I miss something? Is there any distinction between LINK_UP and IF_UP? Any hints appreciated :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ 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: change in buildworld output when gcc - clang
On Mon, Jan 14, 2013 at 3:35 PM, Robert Huff roberth...@rcn.com wrote: Before the installation of clang and the default system compiler, make buildworld ended with a nice little banner announcing the fact and the time the build completed. After, it ends like this: ___ 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 Hi Robert, Your mail has been truncated. Could you please send us the end? Thank you. Regards, Alexandre ___ 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: FreeBSD Hp Proliant DL580 g7 IBM 3650 installation problem
On Thu, Jan 10, 2013 at 6:19 PM, Emre Çamalan cwe...@hotmail.com wrote: Hi, I have got a big computer which has got at least 4 core Hp Proliant DL580 g7 server. And it has got HP p410i smart array RAID card. I tried to install FreeBSD 8.2, 8.3 9.1 from DVD and bootonly cd but after passed menu screen I got an error. Please show me the way for solution. I attached last screenshot from HP 580. And IBM machine give an error and restart again and again. I attached screenshot too. ___ 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 Hi, Could you please send us the errors you encounter please? Regards, Alexandre ___ 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: Trying to update from 9.0 to 9.1 via svn
On Fri, Jan 4, 2013 at 2:01 PM, Helmut Schneider jumpe...@gmx.de wrote: Hi, I fetched sources via $ sudo svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src/ Checked out revision 244992. $ I then recompiled and installed the kernel according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html $ ls -la /boot/kernel/kernel -r-xr-xr-x 1 root wheel 15622342 Jan 3 19:57 /boot/kernel/kernel $ But after reboot uname prints FreeBSD BSDHelmut964 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #9 r244992M: Thu Jan 3 19:57:37 CET 2013 root@BSDHelmut964:/usr/obj/usr/src/sys/GENERIC amd64 Why? Thanks, Helmut Hi Helmut, Have you rebuilt world before compile and install your new 9.1 kernel ? Your base system installed is always in 9.0. See handbook, this article will help you to do it : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html Regards, Alexandre ___ 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: svn checkout head or stable
On Fri, Sep 28, 2012 at 5:51 PM, Ed Flecko edfle...@gmail.com wrote: Excellent! Thank you all. :-) So, for ME...does this look right? This will track the latest release that has the patches applied? svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src svn co svn://svn.freebsd.org/ports/releng/9.1 /usr/ports svn co svn://svn.freebsd.org/doc/release/9.1.0/en_US.ISO8859-1 /usr/doc (I too, only need English docs) Ed Hi Ed, For ports you are wrong. Use this one : svn co svn://svn.freebsd.org/ports/head /usr/ports You can check here http://svnweb.freebsd.org/ports/ Regards, Alexandre ___ 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 to use subversion to keep source, system and doc files up to date?
On Thu, Sep 27, 2012 at 12:44 AM, Ed Flecko edfle...@gmail.com wrote: Thank you. I am using a custom kernel, but you're right - I should have said so. :-) Do you have any feedback using subversion? I know I can still use csup; I'm basically trying to figure out how to subversion to achieve the same result. Ed Hi Ed and Polytropon, Using freebsd-update tool does not mean you cannot use a custom kernel on this machine. These lines taken from the Handbook confirm this : [...] The default is to update the source code, the entire base system, and the kernel. [...] The freebsd-update utility can automatically update the GENERIC kernel only. If a custom kernel is in use, it will have to be rebuilt and reinstalled after freebsd-update finishes installing the rest of the updates. However,freebsd-update will detect and update the GENERIC kernel in /boot/GENERIC (if it exists), even if it is not the current (running) kernel of the system. [...] Sources : http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html freebsd-update tool works only with -RELEASE, you are right. Best Regards, Alexandre ___ 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: freebsd-update fetch trying to update custom kernel
On Mon, Aug 20, 2012 at 11:47 AM, Denis piloy...@gmail.com wrote: Hi, I have FreeBSD 9.0 (p4) with custom kernel. uname -i says it: HOMEWIFI90 However, when I run freebsd-update fetch command it would like to update my kernel as well: freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 9.0-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files are affected by updates, but no changes have been downloaded because the files have been modified locally: /var/db/mergemaster.mtree The following files will be updated as part of updating to 9.0-RELEASE-p4: /boot/kernel/kernel /boot/kernel/kernel.symbols What is wrong with it? If I'm not mistaken, this problem first appeared in 9.0-RELEASE-p2, before this everything worked fine. How can I fix this error? Best regards, Pi ___ 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 Hi Denis, Have you rebuilt your custom kernel after ? This is described in the Handbook in the section 25.2.2 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html Regards, Alexandre ___ 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: [Bulk] npviewer error
On Fri, Jul 6, 2012 at 5:02 PM, Carmel carmel...@hotmail.com wrote: I am running FreeBSD-8.3 STABLE amd64. I continually see this error message in the /var/log/messages file: (npviewer.bin): syscall pipe2 not implemented The program crashes continually also. I have tried doing an RR without favorable results. Does anyone have any idea what the problem might be or where I should escalate the problem to? -- Carmel carmel...@hotmail.com Hi Carmel, npviewer.bin is related to Flash Player. Flash Player is so buggy, not especially on FreeBSD. Uninstall it if you don't need it (if possible.) ___ 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: Problem with routing in VmWare VMS
On Fri, Jun 22, 2012 at 3:13 PM, UNIX developer @ Google.com developeru...@gmail.com wrote: Ok, I understud! I remove from rc.conf this rows: static_routes=clnet route_clnet=-net 192.168.2.0/24 192.168.1.10 new rc.conf: ifconfig_em0= inet 192.168.1.10 netmask 255.255.255.0 ifconfig_em1= inet 192.168.2.1 netmask 255.255.255.0 defaultrouter=192.168.1.1 gateway_enable=YES now after reboot the problem still the same. ping -S 192.168.2.1 192.168.1.1 PING 192.168.1.1 (192.168.1.1) from 192.168.2.1: 56 data bytes ^C --- 192.168.1.1 ping statistics --- 8 packets transmitted, 0 packets received, 100.0% packet loss netstat -nr Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default192.168.1.1UGS 0 38em0 127.0.0.1 link#4 UH 00lo0 192.168.1.0/24 link#1 U 0 1153em0 192.168.1.10 link#1 UHS 06lo0 192.168.2.0/24 link#2 U 00em1 192.168.2.1link#2 UHS 06lo0 Where more can be trouble? - Вы писали 22 июня 2012 г., 0:56:49: On Thu, 21 Jun 2012 15:59:36 -0500, UNIX developer @ Google.com developeru...@gmail.com wrote: /etc/rc.conf ifconfig_em0= inet 192.168.1.10 netmask 255.255.255.0 ifconfig_em1= inet 192.168.2.1 netmask 255.255.255.0 defaultrouter=192.168.1.1 gateway_enable=YES static_routes=clnet route_clnet=-net 192.168.2.0/24 192.168.1.10 You simply CANNOT do this. Traffic for 192.168.2.0/24 is bound to em1 and cannot be changed. You setup a static route that basically says to find 192.168.2.0/24, don't use em1 but instead ask 192.168.1.10 how to find it? This makes no sense at all. -- С уважением, UNIX mailto:developeru...@gmail.com Hi, Your problem, as Mark told you, is that you are buildinga gateway to connect two networks on the same subnet. Regards, Alexandre ___ 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
Unable to update virtualbox-ose-additions 4.1.16
Hi, I got a VM VirtualBox that use FreeBSD 9-STABLE (updated yesterday). Now I want to update my ports, but I can't update virtualbox-ose-additions 4.1.16 I use the command # portmaster -a -D --no-confirm to update ports with portmaster tool. The error is : [...] The failing command: @cc -m64 -o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/VBoxClient /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/main.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/src/VBox/GuestHost/SharedClipboard/clipboard-helper.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/src/VBox/GuestHost/SharedClipboard/x11-clipboard.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/clipboard.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless-host.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless-x11.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/thread.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/display.o /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/hostversion.o -L/usr/X11R6/lib32 -L/usr/X11R6/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib -liconv /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/lib/additions/RuntimeGuestR3.a /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/lib/additions/VBoxGuestR3Lib.a /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/lib/additions/RuntimeGuestR3.a -lX11 -lXrandr -lXt -lsupc++ -lgcc_eh -lXext -lXmu -lpthread -liconv *** Error code 2 Stop in /usr/ports/emulators/virtualbox-ose-additions. *** Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-additions. === make failed for emulators/virtualbox-ose-additions === Aborting update === Update for emulators/virtualbox-ose-additions failed === Aborting update Terminated [...] I posted the full output (with script) here : http://pastebin.com/cmBbqzKx This VM is installed on a Windows 7 host (VirtualBox 4.1.16r78094). # uname -a FreeBSD VirtualBox 9.0-STABLE FreeBSD 9.0-STABLE #0: Tue Jun 5 16:03:26 CEST 2012 root@VirtualBox:/usr/obj/usr/src/sys/GENERIC amd64 # pkg_info | grep virtualbox virtualbox-ose-additions-4.1.8 VirtualBox additions for FreeBSD guests Thanks for your help. Regards, Alexandre ___ 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: NTP Autokey configuration
Hi, A good start is the manpage of ntp.conf http://www.freebsd.org/cgi/man.cgi?query=ntp.confapropos=0sektion=0manpath=FreeBSD+9.0-RELEASE+and+Portsarch=defaultformat=html The authentification support is described. You have the handbook page for the basics : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ntp.html Regards, Alexandre On Mon, Feb 27, 2012 at 3:18 PM, Misra, Arindam arindam.mi...@netapp.comwrote: Hi, I have a two servers both of which are not public, I want to configure one of them as a server and the other as a client for ntpd. What is the exact configuration required in both client and servers to get the autokey protocol working? I shall be thankful if you could send a ntp.conf file which works for a scenario described above. Arindam ___ 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
FreeBSD EC2 Status
Hi lists, What´s is the current state of FreeBSD running on Amazon EC2 ? Is this stable ? Looking at Colin's status page (http://www.daemonology.net/freebsd-on-ec2/) looks like there´s no active development on that. Does someone running production workload with FreeBSD on EC2 ? I'm interested in running network (dns and http with accept filter) and memory/buffer cache intensive applications on m1.small, m1.large and m2.xlarge instances. Any thoughts ? Best Regards and Happy New Year ! Alexandre ___ 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: freebsd-update (custom kernel)
I beg to differ. If you run a kernel called CUSTOM, it won't work. And if you run a custom kernel called GENERIC, the moment you upgrade, you custom kernel is no longer custom. All of this aside, I would be interested in hearing how you are able to avoid non-custom updates to your custom kernel when the kernel or os patches are distributed by the update servers. Hi, The freebsd-update tool works fine with GENERIC and CUSTOM kernels. In fact, GENERIC kernel is upgraded during the upgrade step. With a custom kernel, you just have to rebuild it. This tool update by default the source code, the entire base system, and the kernel. Please read the handbook : http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.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: pkg_version: corrupted record (pkgdep line without argument), ignoring
On Thu, Oct 20, 2011 at 3:20 PM, Jerry je...@seibercom.net wrote: After attempting unsuccessfully to update KDE4 via portmaster, I found a number of errors printed out when using pkg_version-vIL=. I eventually used portmanager to update the KDE4 port successfully; however, I am still receiving the following error messages. These ports need updating: pkg_version: corrupted record (pkgdep line without argument), ignoring pkg_version: corrupted record (pkgdep line without argument), ignoring pkg_version: corrupted record (pkgdep line without argument), ignoring koffice-kde4-2.3.3_3 needs updating (index has 2.3.3_5) postgresql-client-8.2.21 needs updating (index has 8.2.22_1) I have not found a way to ascertain which ports contain the corrupted records. Originally, there were over a dozen of them but portmanager fixed most of them for me. How can I determine what ports are still damaged so that I might correct them. -- Jerry ✌ jerry+f...@seibercom.net Hi Jerry, Have you tried this : # portmaster --check-depends # portmaster -Da Source : http://www.cyberciti.biz/faq/pkg_version-corrupted-record-pkgdep-line-without-argument-ignoring/ You can have a look on this thread, where Doug Barton (portmaster's author) explain another way to resolve this problem. http://groups.google.com/group/lucky.freebsd.ports/browse_thread/thread/e2054d1cfadc0e3a/66c038dfffb36d40?lnk=raotpli=1 Regards, Alexandre ___ 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: Mozilla retires Firefox 4 from security support
Hi all, Now the different versions of Firefox are : - Release (version) - Aurora (version +1) - Nightly (version +2) With this roadmap, you don't care with the version number of the release. There will be only one, not like before with 3.6.x, 3.5.x ... I think this is really more easy. You will stay with your release version of Firefox and that's all. You just have to upgrade when needed. Mozilla can spend energy to develop it software, not to maintain an older version whose performance (or other) are deprecated. ___ 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: Sorry. Numpty alert! FreeBSD Jails... Help?
Bingo! Andy said all!! Dave, is missing the base source in your box. Consider use the handbook. I tried all how-to's that I've searched in Google, but only Handbook make my way to heaven. EzJail is a tool that make vry easy manage the jails. Regards / Atenciosamente, --- Thiago Vitorino IT Infrastructure Supervisor Brasmar - An APM Terminals Company Itajaí, Brazil Office +55-47 2103 5602 thiago.vitor...@brasmarcis.com Lifting Global Trade www.brasmar.com.br www.apmterminals.com -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of a.sm...@ukgrid.net Sent: terça-feira, 7 de junho de 2011 18:05 To: d...@g8kbv.demon.co.uk Cc: freebsd-questions@freebsd.org Subject: RE: Sorry. Numpty alert! FreeBSD Jails... Help? Hi Dave, I didn't find it total plain sailing myself when I did this for the first time a few months back. Ok, so I think you are sitting in /usr/src trying to run the make buildworld right? If you are getting the error you mentioned then I think it means you are missing the Makefile? Ie if you do an ls there is no file called Makefile. In that case you need to install it, which if via sysinstall you need to go: Configure Distributions src base (this has the Makefile) then select ok, and choose FTP etc etc, If you have the other sources already then you should be good to go, cheers Andy. ___ 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 The information contained in this message is privileged and intended only for the recipients named. If the reader is not a representative of the intended recipient, any review, dissemination or copying of this message or the information it contains is prohibited. If you have received this message in error, please immediately notify the sender, and delete the original message and attachments. Please consider the environment before printing this email. ___ 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: lost network during freebsd-update install
On Thu, Mar 10, 2011 at 2:54 PM, Bas Smeelen b.smee...@ose.nl wrote: On 03/10/2011 02:37 PM, Tom Worster wrote: BTW Yes I mean sysutils/screen There is also TMUX http://www.freshports.org/sysutils/tmux/ ___ 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: editors/openoffice-org-3.3.0: serious issue with X11
On Thu, Feb 3, 2011 at 10:14 AM, Pavlo Greenberg sir_...@onet.com.uawrote: [SNIP] But I'm agree with you, OOo's behavior after the last update is abnormal. Why not give a try to LibreOffice, that is in ports : http://www.freshports.org/editors/libreoffice/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Change firefox/thunderbird open dialog application
On Wed, Dec 29, 2010 at 11:48 AM, David Demelier demelier.da...@gmail.comwrote: Hello, When you download a file with firefox or thunderbird you'll get this window : http://ompldr.org/vNnJxag But I would like to switch the application to use for a certain mimetype like Text file should use leafpad, http link firefox and so on. I do not really like to browse to the pointed binary since you cannot be sure it will works if you put your configuration on a system where binaries are not in the same place and you cannot add additional flags neither. I never found anywhere where you can edit these settings, Kind regards, -- David Demelier In the Firefox preferences, there is an 'Application' menu where you can associate the application with mimetype. ___ 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: [Bulk] FreeBSD crash and CMOS bad checksum
On Mon, Dec 27, 2010 at 9:59 AM, David Demelier mark...@live.fr wrote: Hello, I was working and suddenly FreeBSD freezes, I needed to hard reboot and when the BIOS post came two beeps appears with this message: CMOS/GPNV checksum bad Press F1 to enter setup Press F2 to continue with default values.. What does that mean? I guess a hardware failure is coming up. Kind regards, David. Have you tried to change the battery on the moterboard ? ___ 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: portsnap unable to locate mirrors
On Mon, Nov 1, 2010 at 9:10 PM, Jerry freebsd.u...@seibercom.net wrote: I have been having problems with 'portsnap' for two days now. It continually emits error messages. The latest being: Looking up portsnap.FreeBSD.org mirrors... none found. Fetching snapshot tag from portsnap.FreeBSD.org... failed. No mirrors remaining, giving up. Has anyone else experienced this phenomena ? I just use # portsnap fetch update without problem. Maybe a Internet connection problem ? ___ 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: firefox
To install Flash for Firefox, I use this HOWTO http://forums.freebsd.org/showpost.php?p=33673postcount=1 I have used Linux Base Port 10 but now I use Linux Base Port 8 because I can use ICA Client, Citrix (see BSD Mag from last month). Flash works well on Firefox with both Linux Base Port, but please don't install both at the same time. On Thu, Oct 14, 2010 at 7:45 AM, Polytropon free...@edvax.de wrote: On Wed, 13 Oct 2010 22:27:05 +0800, yanxinyou yxy@gmail.com wrote: how to install the flash plugin to firefox Check out the FreeBSD handbook's chapter about browsers: http://www.freebsd.org/doc/handbook/desktop-browsers.html See 6.2.3 Firefox and Macromedia(R) Flash^TM Plugin and check if it works for you. I have virtually no experience with Flash on newer system and browser versions (8.1-R with Firefox 3.4 on your side?), but in the past, this was an instruction that worked - until I removed Flash, of course. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Alexandre ___ 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: [Bulk] Re: firefox
I think you have the same error than the one described here : https://forums.freebsd.org/showthread.php?t=10460 There is a security issue for Linux-Pango. That is why the Portaudit tool, won't let you install this port. But you can nevertheless install the port : - Add the following line to /etc/make.conf : DISABLE_VULNERABILITIES=yes - Or use this command to install the ports : # make DISABLE_VULNERABILITIES=yes install clean 2010/10/14 yanxinyou yxy@gmail.com I am new to the freebsd world . As some friends said , I do it from the handbook . After i install the linux-base f10 . then i install the from www/nspluginwrapper it failed the problem like this : i come from china. i may not describe clearly . thank you 在 2010-10-14四的 10:18 +0200,Alexandre写道: To install Flash for Firefox, I use this HOWTO http://forums.freebsd.org/showpost.php?p=33673postcount=1 I have used Linux Base Port 10 but now I use Linux Base Port 8 because I can use ICA Client, Citrix (see BSD Mag from last month). Flash works well on Firefox with both Linux Base Port, but please don't install both at the same time. On Thu, Oct 14, 2010 at 7:45 AM, Polytropon free...@edvax.de wrote: On Wed, 13 Oct 2010 22:27:05 +0800, yanxinyou yxy@gmail.com wrote: how to install the flash plugin to firefox Check out the FreeBSD handbook's chapter about browsers: http://www.freebsd.org/doc/handbook/desktop-browsers.html See 6.2.3 Firefox and Macromedia(R) Flash^TM Plugin and check if it works for you. I have virtually no experience with Flash on newer system and browser versions (8.1-R with Firefox 3.4 on your side?), but in the past, this was an instruction that worked - until I removed Flash, of course. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Alexandre ___ 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
XFCE 4.6.2 : Thunar 1.0.2 always reloads files under /usr/home/user
Hi, On my laptop under 8.1-RELEASE, I have installed XFCE 4.6.2 meta port last week, and I have noticed anything strange. When I open Thunar, my home directory is opened. But Thunar seems to reload and access to a few text files and hidden files and directories (.gvfs, .cshrc...) in my home. I can see that because the access time is increasing every second. And the mouse pointer change continually from arrow to hourglass. At the begining, I thought that there was my text files at the root of my home that were problematic, but I have moved them to another directory under my home, and the problem I always here. At this moment, I noticed that Thunar access to hidden files and directories. I don't think that it is a rights problem because I have given full access (777) to a text file that is concerned by this, and this has not resolved the problem. If I screen another directory, even under my home directory (/home/dir1 for example), the problem disappears. But when I screen my root's home (/home/Alexandre) the problem reappears. I previously installed Gnome 2.30 and I haven't noticed that problem under Nautilus. I uninstalled Gnome but keep some Gnome tools like Brasero, Nautilus or Power Management Tools. I haven't mounted any USB device, or NFS directory. Here my configuration options for Thunar : DBUS=on (default) Enable D-BUS support JPEG=on (default) Enable JPEG support FAM=on (default) Enable FAM support HAL=on (default) Enable HAL support GCONF=off (default) Enable GCONF support STARTUP=on (default) Enable startup notification support PLUG_APR=on (default) Thunar Advanced Properties plugin PLUG_APR_EXIF=off (default) Exif support for the APR plugin PLUG_SBR=on (default) Thunar Simple Builtin Renamers plugin PLUG_SBR_PCRE=off (default) Regular expression support for the SBR plugin PLUG_TPA=on (default) Thunar Trash Panel Applet plugin PLUG_UCA=on (default) Thunar User Customizable Actions plugin PLUG_WALL=on (default) Thunar Wallpaper plugin Best Regards, Alexandre ___ 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 just upgrade the 8.1 kernel ?
I think you have not understood the handbook. You MUST rebuild both base system and kernel to correctly upgrade your FreeBSD box to 8.1-RELEASE. If you let your system in 8.0-RELEASE and compile a kernel with 8.1 sources, you will have problem. http://www.freebsd.org/doc/en/books/handbook/makeworld.html --- En date de : Ven 23.7.10, zaxis z_a...@163.com a écrit : De: zaxis z_a...@163.com Objet: can i just upgrade the 8.1 kernel ? À: freebsd-questions@freebsd.org Date: Vendredi 23 juillet 2010, 7h01 uname -a FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Wed Jul 14 15:35:26 CST 2010 r...@mybsd.zsoft.com:/media/G/usr/obj/media/G/usr/src/sys/MYKERNEL i386 Can i just use the following commands to upgrade to 8.1 kernel ? And does the virtualbox-ose still work under 8.1 ? # csup -g -L 2 -h cvsup.freebsd.org /usr/share/examples/cvsup/standard-supfile # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL - e^(π⋅i) + 1 = 0 -- View this message in context: http://old.nabble.com/can-i-just-upgrade-the-8.1-kernel---tp29244514p29244514.html Sent from the freebsd-questions mailing list archive at Nabble.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 : cannot install opera
Yesterday, I have written to the maintainer of the Opera port, and he gave me this link : http://www.freebsd.org/cgi/query-pr.cgi?pr=148294 The port update is in the pipes ;) Alexandre. --- En date de : Ven 16.7.10, zaxis z_a...@163.com a écrit : De: zaxis z_a...@163.com Objet: cannot install opera À: freebsd-questions@freebsd.org Date: Vendredi 16 juillet 2010, 7h14 sudo portsnap fetch update cd /usr/ports/www/opera /usr/ports/www/operasudo make install clean Password: === opera-10.10.20091120_2 has known vulnerabilities: = opera -- Data URIs can be used to allow cross-site scripting. Reference: http://portaudit.FreeBSD.org/77b9f9bc-7fdf-11df-8a8d-0008743bf21a.html = Please update your ports tree and try again. *** Error code 1 Stop in /media/G/usr/ports/www/opera. does it mean the oepra vulnerabilities has not been fixed ? - e^(π⋅i) + 1 = 0 -- View this message in context: http://old.nabble.com/cannot-install-opera-tp29180746p29180746.html Sent from the freebsd-questions mailing list archive at Nabble.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: Staying up to date with security patches
The full process is described here : http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html Alexandre --- En date de : Lun 12.7.10, Michael mlmichae...@gmail.com a écrit : De: Michael mlmichae...@gmail.com Objet: Re: Staying up to date with security patches À: Mike Clarke jmc-freeb...@milibyte.co.uk Cc: freebsd-questions@freebsd.org Date: Lundi 12 juillet 2010, 19h31 On 02/07/2010 22:58, Mike Clarke wrote: On Friday 02 July 2010, Ed Flecko wrote: Since I will be doing a custom kernel at some point, I won't use freebsd-update, I'm using cvsup instead. The alternative would be to just use the source code patches from the security-advisories mailing list. That way you don't have to rebuild the whole base system each time, though some of the patches will require the kernel to be rebuilt. That's what I used to do and it works. Only trouble is that in some cases it turns out that it's not enough to simply follow instructions from security advisory. You have to manually make other parts of the system otherwise updating will fail. I found it somewhat confusing and time consuming. Now I'm using freebsd-update with my custom built kernel and it also works fine. I just have to remember to rebuild and reinstall my kernel every time after using freebsd-update (or in fact only when kernel code is affected). That way I got very quick and no-brainer system updates. Is it not advised to do it this way? Michael ___ 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: Problem using Portmaster to upgrade installed ports via packages only
First, Thanks Doug for responding to my mails. I don't know (or understand) if I have to set a value to PM_SU_VERBOSE That depends on your goal. Why are you setting this? I thought that PM_SU_VERBOSE will explain the errors about my sudo problem. I can use portmaster with sudo only with the command : #sudo portmaster -options but not with .portmasterrc, or /etc/portmaster.rc I have tried to set PM_SU_VERBOSE=/usr/local/bin/sudo without success If you can help me here, I have read the manpage hundred times, but haven't found where I am wrong. Please copy and paste the parts of the man page that are confusing. That will help me improve it. I think I have misunderstood the using of PM_SU_VERBOSE. I thought that PM_SU_VERBOSE was the verbose mode of PM_SU_CMD. As you describe in your mail, the using of this option is not applied for my case. Meanwhile, you might also consider simply running portmaster as root. There is nothing preferable about running it with sudo, it is a feature that I added because users so often requested it. I have apply your advice, and I haven't got problem. Now I can install ports from packages (if available) or from sources. Really, thanks again Doug for your help, and advices. Alexandre. ___ 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: Problem using Portmaster to upgrade installed ports via packages only
I have done tests last days, and now I can set PACKAGESITE correctly in user's .cshrc (I have unset the parameter in root's .cshrc). Else, I have set /usr/local/etc/portmaster.rc, as described in the portmaster's manpage. Here my /usr/local/etc/portmaster.rc PM_SU_VERBOSE= PM_SU_CMD=/usr/local/bin/sudo I don't know (or understand) if I have to set a value to PM_SU_VERBOSE I have tried to set PM_SU_VERBOSE=/usr/local/bin/sudo without success If you can help me here, I have read the manpage hundred times, but haven't found where I am wrong. Then I have tried without the line PM_SU_VERBOSE, just with PM_SU_CMD=/usr/local/bin/sudo I can install without problem packages with $ portmaster -P -a -x openoffice But if there is no package available for the port, I got the message (it is an example) : = libpng-1.4.3.tar.xz doesn't seem to exist in /usr/ports/distfiles//. = /usr/ports/distfiles/ is not writable by you; cannot fetch. *** Error code 1 Stop in /usr/ports/graphics/png. *** Error code 1 Stop in /usr/ports/graphics/png. === make failed for graphics/png === Aborting update === Update for png-1.4.1_1 failed === Aborting update === There are messages from installed ports to display, but first take a moment to review the error messages above. Then press Enter when ready to proceed. In the 2 cases, my user's password has been asked, and I have typed it. My portmaster version is 2.32. I haven't got problem if I do $ sudo portmaster -P -a -x openoffice I think my problem come from the parameter for sudo in portmaster.rc but I don't know how to set it. I have really read the manpage a lot. Thanks for your help. ___ 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 : mod_proxy_html upgrade/reinstall outcomments line
I don't know how to fix this, but you can find information about the maintainer on this website : http://www.freshports.org/www/mod_proxy_html/ Have you updated your tree port ? The port has been updated : 03 June 2010 --- En date de : Ven 25.6.10, n dhert ndhert...@gmail.com a écrit : De: n dhert ndhert...@gmail.com Objet: mod_proxy_html upgrade/reinstall outcomments line À: freebsd-questions@freebsd.org Date: Vendredi 25 juin 2010, 8h29 upgrading or reinstalling port www/mod_proxy_htmlevery time outcomments the line LoadModule proxy_html_module libexec/apache22/mod_proxy_html.so if you had it previously in your apache.conf file ... At your next run of # apachectl graceful, httpd gives an error and doesn't start ... I've noticed this a few times.. Can't this be fixed ? BTW how to know the e-mail address of the maintainer of a freebsd port? ___ 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
Problem using Portmaster to upgrade installed ports via packages only
Hi, On my FreeBSD box running 8.0-RELEASE-p3, I have tried to use PORTMASTER tool to upgrade my ports via packages only. Then I added the following line to my user's .cshrc file and root's .cshrc file, and re-opened user's session : setenv PACKAGESITE ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/ Then I typed this linde into a console : % sudo portmaster -PP -a -x openoffice I past the output : === The following actions will be taken if you choose to proceed: Upgrade automounter-1.4.2 to automounter-1.4.3 Upgrade liveMedia-2010.05.29,1 to liveMedia-2010.06.11,1 Upgrade portmaster-2.29 to portmaster-2.32 Upgrade bash-4.1.5_2 to bash-4.1.7 Upgrade iso-codes-3.16_1 to iso-codes-3.17 Upgrade p5-libwww-5.834 to p5-libwww-5.836 Upgrade tiff-3.9.3 to tiff-3.9.4 Upgrade filezilla-3.3.2.1_2 to filezilla-3.3.3 Upgrade gnupg-2.0.14_2 to gnupg-2.0.15 Upgrade libassuan-1.0.5 to libassuan-2.0.0 Upgrade wine-1.2.r3,1 to wine-1.2.r4,1 === Proceed? y/n [y] === Starting install for for ports that need updating === === Launching child to update automounter-1.4.2 === Port directory: /usr/ports/sysutils/automounter === Checking package repository for latest available version === The newest available package (automounter-1.3.4) is older than the version in ports (automounter-1.4.3) === Try --packages-if-newer, or do not use -PP/--packages-only === Aborting update === Update for automounter-1.4.2 failed === Aborting update The strange thing is the 'automounter-1.4.3' package is available on the FTP repository configured for PACKAGESITE. Elsewhere, I have tested these FTP repositories (for PACKAGESITE variable) without success : ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Lastest/ ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Lastest/ ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/ Thanks in advance for your help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re : Xorg fails to start after upgrading to 8 stable
When you upgrade your system to a major release (7.x 8.x), you MUST re-install all your ports. See the handbook http://www.freebsd.org/doc/en/books/handbook/ports-using.html and the section 4.5.4 Upgrading Ports. --- En date de : Ven 18.6.10, Xihong Yin x...@gmx.com a écrit : De: Xihong Yin x...@gmx.com Objet: Xorg fails to start after upgrading to 8 stable À: freebsd-questions@freebsd.org Date: Vendredi 18 juin 2010, 4h30 I upgraded from 7.2 to 8.0. Xorg can't start. I got the following message when I type 'startx'. I already upgraded Xorg, hal and libusb to the latest. Anybody can help? Script started on Fri Jun 18 00:20:21 2010 c...@router1:~ startx xauth: creating new authority file /home/c512/.serverauth.69871 X.Org X Server 1.7.5 Release Date: 2010-02-16 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 8.0-RELEASE-p2 i386 Current Operating System: FreeBSD rt.hm.com 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Sat Jun 5 22:46:16 EDT 2010 c...@rt.hm.com:/usr/obj/usr/src/sys/MY8XKERNEL i386 Build Date: 31 May 2010 11:11:42PM Current version of pixman: 0.16.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Fri Jun 18 00:20:24 2010 (==) Using config file: /etc/X11/xorg.conf record: RECORD extension enabled at configure time. record: This extension is known to be broken, disabling extension now.. record: http://bugs.freedesktop.org/show_bug.cgi?id=20500 waiting for X server to shut down ___ 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 : change kde4 (pkg) to kde4 (ports)
Why do you want to do that ? Packages are in this directory by default : /usr/ports/distfiles/ --- En date de : Jeu 17.6.10, Giorgos Tsiapaliokas terie...@gmail.com a écrit : De: Giorgos Tsiapaliokas terie...@gmail.com Objet: change kde4 (pkg) to kde4 (ports) À: freebsd-questions@freebsd.org Date: Jeudi 17 juin 2010, 18h46 hello, i have installed kde4 via the package system. how can i install the kde4 via ports system without deleting the packages and then compiling them? thank you for answering :) ___ 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: Re : change kde4 (pkg) to kde4 (ports)
Thank you for correcting me --- En date de : Ven 18.6.10, Polytropon free...@edvax.de a écrit : De: Polytropon free...@edvax.de Objet: Re: Re : change kde4 (pkg) to kde4 (ports) À: Alexandre L. axel...@ymail.com Cc: Giorgos Tsiapaliokas terie...@gmail.com, freebsd-questions@freebsd.org Date: Vendredi 18 juin 2010, 8h47 On Fri, 18 Jun 2010 08:21:53 + (GMT), Alexandre L. axel...@ymail.com wrote: Why do you want to do that ? Packages are in this directory by default : /usr/ports/distfiles/ --- En date de : Jeu 17.6.10, Giorgos Tsiapaliokas terie...@gmail.com a écrit : De: Giorgos Tsiapaliokas terie...@gmail.com Objet: change kde4 (pkg) to kde4 (ports) À: freebsd-questions@freebsd.org Date: Jeudi 17 juin 2010, 18h46 hello, i have installed kde4 via the package system. how can i install the kde4 via ports system without deleting the packages and then compiling them? thank you for answering :) Not fully correct. The directory /usr/ports/distfiles/ does not contain packages. It contains distribution files, those are usually archives full of source code and other resources that a port needs to be processed. To the OP: If you've already installed KDE4 from packages, the step make in the KDE4 ports directory will first generate KDE, and the step make install will install it. You have to deinstall (make deinstall) your KDE (from packages) first. To the system, it doesn't matter if a program has been installed from ports or packages; packages can be seen as precompiled and compressed ports, while ports per se are the material to create the programs (sources, resources, images, and so on). If you want to create packages from a port (or maybe package) you already have installed, use make package. This will generate a compressed archive in /usr/ports/packages/ subtree. You can install those packages on other systems, for example, without the need for compiling or fetching (a good solution for off-line operations). If this wasn't the answer you were searchig for, try to ask in a more precise way. :-) -- 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 ___ 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
(no subject)
Hi, I want to use Fuse-SSHFS http://www.freshports.org/sysutils/fusefs-sshfs/ but the port is old (and it got a Sanity Test Failure). When I go to the website of the project Fuse http://sourceforge.net/projects/fuse/ , there is a more recent version fuse-2.8.4.tar.gz and available (?) for FreeBSD. Is anyone is using Fuse-SSHFS and which version : the one from ports or from the project website ? I haven't found anything on Google. Thanks. Alexandre. ___ 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: RESOLVED: Problem upgrading ports - libintl.so.8 not found
I have encountered the same problem. On FreeBSD forums, I have found the solution : http://forums.freebsd.org/showthread.php?t=14655 You have to symlink /usr/local/lib/libintl.so.8 to /usr/local/lib/libintl.so.9 --- En date de : Mer 16.6.10, C. P. Ghost cpgh...@cordula.ws a écrit : De: C. P. Ghost cpgh...@cordula.ws Objet: Re: RESOLVED: Problem upgrading ports - libintl.so.8 not found À: Scott Schappell arc...@silvertree.org Cc: freebsd-questions@freebsd.org Date: Mercredi 16 juin 2010, 12h52 On Wed, Jun 16, 2010 at 12:41 AM, Scott Schappell arc...@silvertree.org wrote: After digging through /usr/ports/UPDATING, I copied all .so.8 and .so.16 libraries to /usr/local/lib and /usr/local/lib/compat/pkg and those ports are now compiling. I'm assuming that's the approved solution until ports are updated? That's not the best solution. If you copy libintl.so.8 to compat/pkg, that's okay. If you leave it in /usr/local/lib, some ports may pick it up by mistake and you'll end up with a mix of ports that link to libintl.so.8 and libintl.so.9. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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
Install Fuse-SSHFS from ports or from Fuse Website Project ?
Hi, I want to use Fuse-SSHFS http://www.freshports.org/sysutils/fusefs-sshfs/ but the port is old (and it got a Sanity Test Failure). When I go to the website of the project Fuse http://sourceforge.net/projects/fuse/ , there is a more recent version fuse-2.8.4.tar.gz and available (?) for FreeBSD. Is anyone is using Fuse-SSHFS and which version : the one from ports or from the project website ? I haven't found anything on Google. Thanks. Alexandre. nb : excuse-me for my previous message without object. ___ 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 : Possible to run Linux distro in a jail?
I have this link to a French Blog : http://blog.etoilebsd.net/post/Emprisonner_une_debian_dans_un_FreeBSD This describe how to jail a Linux Debian in FreeBSD. I hope this will help you. I haven't used it. Thanks to its author : Baptiste Daroussin. I translated it in English : # mkdir /home/jails/debian # mkdir /home/jails/debian/dev # mkdir /home/jails/debian/proc # mkdir /home/jails/debian/sys # kldload linux # kldload linprocfs # kldload linsysfs # kldload lindev # mount -t devfs none /home/jails/debian/dev # mount -t linprocfs none /home/jails/debian/proc # mount -t linsysfs none /home/jails/debian/sys We are using /home/jails/debian for the root of the Linux Debian. We will load all the necessary devices (nota : lindev appeared in Freebsd 9-CURRENT and has MFCed in 8-STABLE, it is not obligatory). We could do the install with debootstrap, but I prefered to use an openvz template : # fetch http://download.openvz.org/template/precreated/debian-5.0-x86.tar.gz And I unpack it in my jail : # tar xvfp debian-5.0-x86.tar.gz -C debian --exclude dev* --exclude proc* --exclude sys* To correctly start my jail, at least 1 service must be started in the jail (I failed to build a persistent linux jail only). By default the startup script of jails try to launch /etc/rc that we will create and launch /etc/rc.shutdown to stop it. # echo /etc/init.d/cron start /home/jails/debian/etc/rc # chmod 755 /home/jails/debian/etc/rc # echo /etc/init.d/cron stop /home/jails/debian/etc/rc.shutdown # chmod 755 /home/jails/debian/etc/rc.shutdown In /etc/rc.conf we configure the startup of the jail : jail_debian_rootdir=/home/jails/debian jail_debian_hostname=debian jail_debian_ip=192.168.1.3 jail_debian_interface=nfe0 jail_debian_devfs_enable=YES jail_debian_devfs_ruleset=devfsrules_jail jail_debian_flags=-n debian We start the jail : # /etc/rc.d/jail start debian And voilà : #jls JID IP Address Hostname Path 15 192.168.1.3 debian/home/jails/debian #jexec debian uname -a Linux debian 2.6.16 FreeBSD 8.0-STABLE #3: Sun Jan 10 20:39:38 CET 2010 i686 GNU/Linux #jexec debian cat /etc/debian_version 5.0.4 Here a beautiful Debian Linux jailed in FreeBSD But be careful, not everything works perfectly : sysklogd don't run cause to /dev access. But 99% is functional. --- En date de : Ven 28.5.10, Yuri y...@rawbw.com a écrit : De: Yuri y...@rawbw.com Objet: Possible to run Linux distro in a jail? À: freebsd-questions freebsd-questions@FreeBSD.ORG Date: Vendredi 28 mai 2010, 20h16 When I googled linux in a jail I got some references but no particular howto. Since currently VirtualBox is broken (hangs OS after a while), is it really possible to install Linux into a jail as a virtual machine? 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 ___ 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: using automounter (automatically mounting USB drives)
To enable it at system startup, you must add the following line to /etc/rc.conf : automounter_enable=YES --- En date de : Mar 18.5.10, David DEMELIER demelier.da...@gmail.com a écrit : De: David DEMELIER demelier.da...@gmail.com Objet: Re: using automounter (automatically mounting USB drives) À: Eitan Adler li...@eitanadler.com Cc: freebsd-questions@freebsd.org Date: Mardi 18 mai 2010, 21h07 2010/5/18 Eitan Adler li...@eitanadler.com: How can I automatically mount USB drives when I plug them in? I found a program sysutils/automounter which appears to create a link /media/msdosfs/USB20FD but doesn't actually mount anything. ___ 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 I don't know sysutils/automounter, but the COMMENT= Provides scripts to dynamically configure amd would means that it only prepare the devices entries to be used by the amd(8) daemon (amd — automatically mount file systems) Take a look at the amd(8) manpage (I can't help you I never used it) and the rc.conf(5) to enable it. -- Demelier David ___ 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 : What driver goes with what PCI device
For the SMBus Controller, the driver you can load is : ichsmb To load it every reboot : #echo 'ichsmb_load=YES' /boot/loader.conf To load it one time : #kldload ichsmb For the others drivers, I don't know. --- En date de : Mer 12.5.10, Eitan Adler li...@eitanadler.com a écrit : De: Eitan Adler li...@eitanadler.com Objet: What driver goes with what PCI device À: questi...@freebsd.org Date: Mercredi 12 mai 2010, 8h03 I ran the following command and I was wondering how I could figure out what drivers are needed for each of the following. $pciconf -lv|grep -A 4 none no...@pci0:0:31:3: class=0x0c0500 card=0x3a1d17aa chip=0x29308086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) SMBus Controller' class = serial bus subclass = SMBus no...@pci0:2:0:0: class=0x088000 card=0x3d9b17aa chip=0x2382197b rev=0x00 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMB38X SD/MMC Host Controller (JMB38X)' class = base peripheral no...@pci0:2:0:2: class=0x080501 card=0x3d9a17aa chip=0x2381197b rev=0x00 hdr=0x00 vendor = 'JMicron Technology Corp.' class = base peripheral subclass = SD host controller no...@pci0:2:0:3: class=0x088000 card=0x3d9c17aa chip=0x2383197b rev=0x00 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMB38X MS Host Controller (JMB38X)' class = base peripheral ___ 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 : nvidia module startup
Have you added the following line to /etc/rc.conf ? linux_enable=YES --- En date de : Mer 28.4.10, sean tech.j...@myfairpoint.net a écrit : De: sean tech.j...@myfairpoint.net Objet: nvidia module startup À: Free BSD Questions list freebsd-questions@freebsd.org Date: Mercredi 28 avril 2010, 12h36 Hello All, Setting up a new system here and the nvidia module will not load on system startup. In the /boot/loader.conf I have placed nvidia_load=YES as I found in the instructions, but still no good. After a system start-up I have to manually load up nvidia using kldloader. Once that is done X starts without problems. Thanks in advance, Sean ___ 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 : Display country selected during sysinstall
I think this is what your are searching for http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-sysinstall.html Go to 'KEYMAP' and change it. If your system is already installed, you can edit /etc/rc.conf and see what keymap is configured. --- En date de : Jeu 22.4.10, Aiza aiz...@comclark.com a écrit : De: Aiza aiz...@comclark.com Objet: Display country selected during sysinstall À: FreeBSD Questions freebsd-questions@freebsd.org Date: Jeudi 22 avril 2010, 10h11 How do I display or change the country selected at start of sysinstall? ___ 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: u3g network problem
Hi, If your DNS are changed, I think that your network card is configured in DHCP mode. To dissallow DNS changes (in /etc/resolv.conf) by DHCP updates, you can add this line to /etc/dhclient.conf : prepend domain-name-servers DNS_IP_adress_1,DNS_IP_adresse_2,DNS_IP_adresse_3; After you must restart your network card and voilà. Alexandre. --- En date de : Mer 31.3.10, Alejandro Imass a...@p2ee.org a écrit : De: Alejandro Imass a...@p2ee.org Objet: Re: u3g network problem À: Patrick Lamaiziere patf...@davenulle.org Cc: freebsd-questions@freebsd.org Date: Mercredi 31 mars 2010, 12h18 On Tue, Mar 30, 2010 at 5:27 PM, Patrick Lamaiziere patf...@davenulle.org wrote: (8-STABLE/i386) Hi, I've got some troubles with a 3G connection. I don't know which things I should check to debug this: I use ppp to connect and it works fine. But after a while (not a long time), I don't have any reply to DNS requests, as far I can see with wireshark... What are you using to dial to your 3g network? (I use wvdial, and love it) I've seen this happen on my 3g network as well. It seems that the ISP randomly updates the DNS to a broken one. So write down the DNSs when it's actually working (cat /etc/resolv.conf) and make yourself a little script that updates them back to the working DNSs here is mine for example (adjust to your working DNSs): # cat ./dnsdigitel #!/bin/sh echo nameserver 204.59.152.208 /etc/resolv.conf echo nameserver 57.73.127.195 /etc/resolv.conf So when it stops resolving I just ./dnsdigitel and that's it. Of course, this could be easily automated, etc. but it's a quick fix to your problem. Now, the interesting this is that your ISP does exactly the same as my ISP, it changes the DNS randomly to non-working ones, curious. Best, Alejandro Imass Then if I use an IP, it works. So it looks like it is a problem with DNS. I've tried with an other dns server with the same result. I've also tried with a local dns server to cache the requests. It looks to help a bit. Anyway I also use a ssh tunnel to connect to my server and (on the server) I can see a lot of CLOSED sockets with netstat, and a lot of sshd processes stuck, even after days. So there is something wrong with the connection. Any idea or suggestion? Thanks, regards. ___ 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 ___ 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: Flash sometimes freezes firefox, also many npviewer.bin processes left running around
No, the addon called NoScript is used to block JavaScript, Flash and co. But here the problem is the npviewer and/or the Flash plugin that is/are buggy. If you want to see a video on Youtube for example, you must allow JavaScript and Flash for Youtube in NoScript. Otherwise you can't see the video. I use this addon in Firefox 3.6 to block unwanted scripts but when I use Flash I got the same problem. --- En date de : Mar 23.3.10, Steve Franks bahamasfra...@gmail.com a écrit : De: Steve Franks bahamasfra...@gmail.com Objet: Re: Flash sometimes freezes firefox, also many npviewer.bin processes left running around À: y...@rawbw.com Cc: freebsd-questions@freebsd.org Date: Mardi 23 mars 2010, 0h41 /usr/ports/www/xpi-noscript is another option, not without caveats... Steve On Thu, Mar 18, 2010 at 6:47 PM, Yuri y...@rawbw.com wrote: Sometimes after some flash object is displayed firefox gets frozen for many few seconds,maybe ~20sec. Do you see the same? Is there anyfix for this? In additions I have 54 processes like this one 50006 ?? I 0:00.00 /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/local/lib/linux-mozilla/plugins/libflashplayer.so --connection hanging around even after firefox process exits. linux-f10-flashplugin-10.0r45 nspluginwrapper-1.2.2_5 firefox-3.5.8,1 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 ___ 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 : freebsd-update insists on updating fresh system
Hi, I have experienced this when you use csup to sync your sources. You have to use one or other but not twice. There is a difference of the date on the files, because freebsd-update patches are created before the CVS commits are done. see this thread on FreeBSD Forums : http://forums.freebsd.org/showpost.php?p=30920postcount=9 --- En date de : Mar 23.3.10, Mikolaj Rydzewski m...@ceti.pl a écrit : De: Mikolaj Rydzewski m...@ceti.pl Objet: freebsd-update insists on updating fresh system À: freebsd-questions@freebsd.org Date: Mardi 23 mars 2010, 8h47 Hi all, I've performed system upgrade last night, then I wanted to give a try to freebsd-update tool. If I understand it correctly, it should fetch only updates to my currently working system (unless -r option was given). But now it insists to upgrade my 6.4-p9 system to 6.4-p9 system: k2# uname -a FreeBSD k2.xxx 6.4-RELEASE-p9 FreeBSD 6.4-RELEASE-p9 #0: Mon Mar 22 17:21:50 CET 2010 m...@xxx:/usr/obj/usr/src/sys/K2 i386 k2# freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 6.4-RELEASE from update4.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be updated as part of updating to 6.4-RELEASE-p9: /usr/src/contrib/lukemftpd/src/ftpd.c /usr/src/etc/mtree/BSD.var.dist /usr/src/lib/libc/db/btree/bt_split.c /usr/src/lib/libc/db/hash/hash_buf.c /usr/src/lib/libc/db/mpool/mpool.c /usr/src/libexec/ftpd/extern.h /usr/src/libexec/ftpd/ftpcmd.y /usr/src/libexec/ftpd/ftpd.c /usr/src/sys/conf/newvers.sh /usr/src/sys/fs/devfs/devfs_vnops.c /usr/src/sys/kern/kern_event.c /usr/src/sys/kern/kern_exec.c /usr/src/sys/kern/kern_fork.c /usr/src/sys/kern/sys_pipe.c /usr/src/sys/kern/uipc_domain.c /usr/src/sys/netinet6/in6.c /usr/src/sys/sys/event.h /usr/src/sys/sys/pipe.h /usr/src/usr.sbin/freebsd-update/freebsd-update.sh k2# Why is it doing it so? On the other hand, what is the suggested way to upgrade a system with custom kernel? Since freebsd-update cannot upgrade custom kernel, I have to build it on my own. And it says, that I have to install new kernel before I run 'freebsd-update install'. Does that mean, that I have to fetch source tree, build/install new kernel, and then fetch world binary updates? -- Mikolaj Rydzewski m...@ceti.pl ___ 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: Flash sometimes freezes firefox, also many npviewer.bin processes left running around
Here the link to this workaround by DutchDaemon : http://forums.freebsd.org/showpost.php?p=67155postcount=15 --- En date de : Mar 23.3.10, Jeff Laine wtf.jla...@gmail.com a écrit : De: Jeff Laine wtf.jla...@gmail.com Objet: Re: Flash sometimes freezes firefox, also many npviewer.bin processes left running around À: Steve Franks bahamasfra...@gmail.com Cc: y...@rawbw.com, freebsd-questions@freebsd.org Date: Mardi 23 mars 2010, 8h36 On Mon,22-03-2010 [17:41:16], Steve Franks wrote: /usr/ports/www/xpi-noscript is another option, not without caveats... Steve On Thu, Mar 18, 2010 at 6:47 PM, Yuri y...@rawbw.com wrote: Sometimes after some flash object is displayed firefox gets frozen for many few seconds,maybe ~20sec. Do you see the same? Is there anyfix for this? In additions I have 54 processes like this one 50006 ?? I 0:00.00 /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/local/lib/linux-mozilla/plugins/libflashplayer.so --connection hanging around even after firefox process exits. linux-f10-flashplugin-10.0r45 nspluginwrapper-1.2.2_5 firefox-3.5.8,1 Yuri Hi! There was a workaround for this issue published by DutchDaemon on forums.freebsd.org. I'm too lazy today to seek for that thread, sorry :) What he suggested is a simple cronjob script intended to constantly check process list and kill any single remaining proccess of npviewer.bin It works, but you should check every minute or so. -- Best regards, Jeff | Nobody wants to say how this works. | | Maybe nobody knows ... | | Xorg.conf(5) | ___ 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 : OT: dead box
My brother has got the same case : Antec Sonata II. It has been delivred with the power supply. The power supply has exploded capacitors on the mobo (Asus A7N8X-E Deluxe). The LED on the mobo was lightening up but we can't power up the workstation. For your problem, I suggest you to see if this LED is lightening up or not. If not, you can replace it. If yes, you might test with another one. After that, the mobo could have been take a blow. A CPU or RAM problem is reported by the mobo with a sound (BIP). I hope this could help you. Alexandre. --- En date de : Dim 21.3.10, Frank Shute fr...@shute.org.uk a écrit : De: Frank Shute fr...@shute.org.uk Objet: OT: dead box À: FreeBSD Questions freebsd-questions@freebsd.org Date: Dimanche 21 mars 2010, 10h11 Sorry if this is a bit off-topic. I came in the other day to find my workstation powered off. Hitting the power on button had no effect as did using another known working outlet. I checked all the cables and they seem attached. I thought my power supply must have died so I got another, screwed it in and again no joy - no sign of life. Anybody got any ideas what the problem may be? I'm thinking possibly the power on switch but that seems a long shot and there seems no easy way to replace it. My hardware: Antec Sonata case. Gigabyte board. Core 2 duo TIA, 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 ___ 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: Re : building from source after freebsd-update
That handbook section is where I read: The default is to update the source code, the entire base system, and the kernel. First, freebsd-update tool sync the source. And in fact much of the /usr/src/ does contain source code. /usr/src/sys/ subdirectories seem populated, and some directories under /usr/src/usr.bin/ and /usr/src/usr.sbin/ contain source, while others only contain the Makefile. /usr/src/usr.sbin/sendmail/ contains only the Makefile. Which lead to the make depend error I experienced. It seems like I could build the kernel, and parts of the non-kernel base, but not other parts. After RTFMing, scroogling for days, and going through UPDATINGs and READMEs I'm still not clear on how to mix freebsd-update and building all or parts of the base source. I'm interested in being able to build system apps in the base, custom kernel modules, and eventually the entire kernel. Freebsd-update tool will update your base system and GENERIC kernel, using binary. If your are using a custom kernel, you must reboot on the GENERIC kernel (that have just been upgraded) and do your make buildkernel KERNCONF=yourkernel and make installkernel KERNCONF=mykernel freebsd-update is _extremely_ painless for tracking the security patches. It would be nice to be able to mix this with a certain amount of building source. From the Handbook : This utility provides two separate functions. First, it allows for binary security and errata updates to be applied to the FreeBSD base system without the build and install requirements. Second, the utility supports minor and major release upgrades. This tool is only available for RELEASE, not for STABLE or CURRENT. I hope this have helped you. ___ 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 : building from source after freebsd-update
Please read the handbook section related to the FreeBSD update tool http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html freebsd-update is a binary update tool, so you haven't got anything to rebuild, except your custom kernel (if you are using one). --- En date de : Dim 14.3.10, johnea m...@johnea.net a écrit : De: johnea m...@johnea.net Objet: building from source after freebsd-update À: FreeBSD Questions freebsd-questions@freebsd.org Date: Dimanche 14 mars 2010, 3h37 Hello, I have been using freebsd-update to update several 7.1 systems. The default freebsd-update.conf contains: Components src world kernel Recently while trying to build sendmail to enable SASL I ran into errors: host# cd /usr/src/usr.sbin/sendmail host# make depend make: don't know how to make alias.c. Stop How can I build the source updated by freebsd-update? Thank You! johnea p.s. I have replaced sendmail with ssmtp and have the necessary SASL authentication working. However I have always maintained these servers via freebsd-update and I would like to learn the process of building the system from source. Thanks for any help! ___ 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 : Replacing Home Router With PC
You can use pfSense : pfSense is a free, open source customized distribution of FreeBSD tailored for use as a firewall and router. http://www.pfsense.org/ pfSense is very simple and intuitive to use with is GUI in PHP. --- En date de : Jeu 11.3.10, mailinglist mailingl...@ucwv.edu a écrit : De: mailinglist mailingl...@ucwv.edu Objet: Replacing Home Router With PC À: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Date: Jeudi 11 mars 2010, 1h36 I've got an old Linksys router hanging off of my cable modem that is several years old and is about to die (very poor wireless throughput should be 54 mb and is 2, runs hot, and buzzes while turned on). I've got an older PC that would great as a routerhowever I also need it to be a wireless access point for my house. It has a PCI wireless network card (A 54G Belkin, not sure of the exact model). I know FreeBSD is technically capable for acting as my DHCP, DNS, router, gateway box if properly configured. The question is, can it use that wireless card to act as a access point instead of a client (how the card is intended to be used)? Also, any links anyone can provide on how to setup a FreeBSD box to act as home router/gateway would be much appreciated! ___ 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 Linux Firefox doesn't play flash movies?
I can play Youtube movies using Firefox 3.5.x or Firefox 3.6, and linux-f10-flashplugin10 10.0r45. I followed the tutorial : http://forums.freebsd.org/showthread.php?t=5786 I'm pretty sure this will work for you. --- Alexandre --- En date de : Lun 15.2.10, Yuri y...@rawbw..com a écrit : De: Yuri y...@rawbw.com Objet: Why Linux Firefox doesn't play flash movies? À: freebsd-questions@freebsd.org Date: Lundi 15 Février 2010, 2h58 In order to enable Flash I installed linux-firefox-devel-3.5.7 and linux-f10-flashplugin-10.0r45. They together pulled whole lot of other ports, see list below. But flash still doesn't work: youtube.com shows black windows instead. I tried windows firefox under wine, but it has a lot of side-effects, since wine is perpetually buggy. Anybody is able to play flash movies? Thanks, Yuri List of all linux ports installed: linux-dri-7.4_1 Mesa-based DRI libraries, drivers and binaries (Linux Ubunt linux-f10-alsa-lib-1.0.21_1 The Advanced Linux Sound Architecture libraries (Linux Fedo linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux Fedora 10) linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10) linux-f10-curl-7.19.6 The command line tool for transferring files with URL synta linux-f10-cyrus-sasl2-2.1.22 RFC SASL (Simple Authentication and Security Layer) (L linux-f10-dbus-glib-0.76 GLib bindings for D-Bus (Linux Fedora 10) linux-f10-dbus-libs-1.2.4 Libraries for accessing D-BUS (Linux Fedora 10) linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing library (Linux linux-f10-flashplugin-10.0r45 Adobe Flash Player NPAPI Plugin linux-f10-fontconfig-2..6.0 An XML-based font configuration API for X Windows (Linux Fe linux-f10-gdk-pixbuf-0.22.0 Image loading library for GTK+ (Linux Fedora 10) linux-f10-gtk2-2.14.7 GTK+ library, version 2.X (Linux Fedora 10) linux-f10-hicolor-icon-theme-0.5 A high-color icon theme shell from the FreeDesktop project linux-f10-jpeg-6b RPM of the JPEG lib (Linux Fedora 10) linux-f10-libsigc++20-2.2.2 Callback Framework for C++ (Linux Fedora 10) linux-f10-libssh2-0.18 The library implementing the SSH2 protocol (Linux Fedora 10 linux-f10-libxml2-2.7.3_2 Library providing XML and HTML support (Linux Fedora 10) linux-f10-nspr-4.7.6 Netscape Portable Runtime (Linux Fedora 10) linux-f10-nss-3.12.2.0 Network Security Services (Linux Fedora 10) linux-f10-openldap-2.4.12_1 Lightweight Directory Access Protocol libraries (Linux Fedo linux-f10-openssl-0.9.8g The OpenSSL toolkit (Linux Fedora 10) linux-f10-pango-1.22.3 The pango library (Linux Fedora 10) linux-f10-png-1.2.37 RPM of the PNG lib (Linux Fedora 10) linux-f10-sqlite3-3.5.9_1 The library that implements an embeddable SQL database engi linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 10) linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) linux-firefox-devel-3.5.7 Web browser based on the browser portion of Mozilla linux-nvu-1.0_1 A complete Web Authoring System linux_base-f10-10_2 Base set of packages needed in Linux mode for i386/amd64 (L ___ 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 : .zshrc
I can't help you with ZSH but I think it is not a good idea to replace root's default shell. You will have problem if your system break. see http://forums.freebsd.org/showthread.php?t=2194 and http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2009-01/msg00202.html --- En date de : Mar 2.2.10, Dánielisz László laszlo_daniel...@yahoo.com a écrit : De: Dánielisz László laszlo_daniel...@yahoo.com Objet: .zshrc À: freebsd-questions@freebsd.org Date: Mardi 2 Février 2010, 18h01 hi, I am new in this and I have a question about it: I done my .zshrc but the zsh is not loading the configuration from it. There are the details: # cat .zshrc export HISTFILE=~/.zsh_history export HISTSIZE=5 export SAVEHIST=5 alias hhistory 25 alias jjobs -l alias lals -a alias lfls -FA alias llls -lA alias pfdebugtcpdump -n -e -ttt -i pflog0 alias mtusb mount_msdosfs /dev/da0s1 /mnt/usb0 alias mtcdmount_cd9660 /dev/acd0 /mnt/acd0/ # A righteous umask umask 22 .. -rw-r--r-- 1 root wheel 328 Feb 2 18:52 .zshrc . the file can be found in /root/.zshrc Do you have any idea why is not working? Thank you! László ___ 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 : Recommendation on GPS time source for FreeBSD
You can see here : http://www.meinberg.de/english/ I don't use their products (I don't know about the quality products), I just use their NTP package software for Windows. --- En date de : Sam 30.1.10, Per olof Ljungmark p...@intersonic.se a écrit : De: Per olof Ljungmark p...@intersonic.se Objet: Recommendation on GPS time source for FreeBSD À: freebsd-questions@freebsd.org Date: Samedi 30 Janvier 2010, 9h51 Hi all, Does anyone have a recommendation on a good GPS receiver/board for use with NTP/FreeBSD to create a stratum 1 public time server? Preferably something above the Garmin puck level but not ridiculously expensive either... Thanks for any input, -- per ___ 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 : polkit-0.95_3: update fails
You could read /usr/ports/UPDATING because there is section for policikit and polkit. --- En date de : Ven 22.1.10, O. Hartmann ohart...@zedat..fu-berlin.de a écrit : De: O. Hartmann ohart...@zedat.fu-berlin.de Objet: polkit-0.95_3: update fails À: freebsd-questions@freebsd.org, freebsd-po...@freebsd.org Date: Vendredi 22 Janvier 2010, 15h45 I try to update ports via 'portmaster -av' on a regular basis and ran into a sticky problem with poolkit and docbook I'm incapable to solve. Error message follows. Does anybody has any hint or tip? Please email me in CC. Regards, Oliver === Starting build for for ports that need updating === === Launching child to update polkit-0.95_3 === Port directory: /usr/ports/sysutils/polkit === Starting check for build dependencies === Gathering dependency list for sysutils/polkit from ports === Starting dependency check === Checking dependency: devel/eggdbus === Checking dependency: devel/gettext === Checking dependency: devel/glib20 === Checking dependency: devel/gmake === Checking dependency: devel/gobject-introspection === Checking dependency: devel/pkg-config === Checking dependency: textproc/docbook-410 === Launching child to update textproc/docbook-410 polkit-0.95_3 textproc/docbook-410 === Port directory: /usr/ports/textproc/docbook-410 === Starting check for build dependencies === Gathering dependency list for textproc/docbook-410 from ports === Starting dependency check === Checking dependency: archivers/unzip === Dependency check complete for textproc/docbook-410 polkit-0.95_3 textproc/docbook-410 === Cleaning for docbook-4.1_3 === Vulnerability check disabled, database not found === Extracting for docbook-4.1_3 = MD5 Checksum OK for docbk41.zip. = SHA256 Checksum OK for docbk41.zip. === docbook-4.1_3 depends on file: /usr/local/bin/unzip - found === Patching for docbook-4.1_3 === Configuring for docbook-4.1_3 === Starting check for runtime dependencies === Gathering dependency list for textproc/docbook-410 from ports === Starting dependency check === Checking dependency: textproc/iso8879 === Launching child to update textproc/iso8879 polkit-0.95_3 textproc/docbook-410 textproc/iso8879 === Port directory: /usr/ports/textproc/iso8879 === Starting check for build dependencies === Gathering dependency list for textproc/iso8879 from ports === Starting dependency check === Checking dependency: archivers/unzip === Dependency check complete for textproc/iso8879 polkit-0.95_3 textproc/docbook-410 textproc/iso8879 === Cleaning for iso8879-1986_2 === Vulnerability check disabled, database not found === Extracting for iso8879-1986_2 = MD5 Checksum OK for isoENTS.zip. = SHA256 Checksum OK for isoENTS.zip. === Patching for iso8879-1986_2 === iso8879-1986_2 depends on executable: unzip - found === Configuring for iso8879-1986_2 === Starting check for runtime dependencies === Gathering dependency list for textproc/iso8879 from ports === Starting dependency check === Checking dependency: textproc/xmlcatmgr === Dependency check complete for textproc/iso8879 polkit-0.95_3 textproc/docbook-410 textproc/iso8879 === Installing for iso8879-1986_2 === Generating temporary packing list xmlcatmgr: entry already exists for `iso8879/catalog' of type `CATALOG' *** Error code 1 Stop in /usr/ports/textproc/iso8879. === Installation of iso8879-1986_2 (textproc/iso8879) failed === Aborting update === Update for textproc/iso8879 failed === Aborting update === Update for textproc/docbook-410 failed === Aborting update === Update for polkit-0.95_3 failed === Aborting update ___ 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: FreeBSD beastie plush toy?
You can find here too http://shop.mensys.nl/uk/catalogue/mns_FreeBSDDaemon.html --- En date de : Lun 21.12.09, Bruce Cran br...@cran.org.uk a écrit : De: Bruce Cran br...@cran.org.uk Objet: Re: FreeBSD beastie plush toy? À: Aleksandr Miroslav alexmiros...@gmail.com Cc: freebsd-questions@freebsd.org Date: Lundi 21 Décembre 2009, 19h47 On Mon, 21 Dec 2009 13:41:05 -0500 Aleksandr Miroslav alexmiros...@gmail.com wrote: Where can I purchase a FreeBSD beastie plush toy? Something like http://www.freebsdmall.com/cgi-bin/fm/bsdbeanie?id=NkWSe8g8mv_pc=144 ? -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ 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 port : audio/mpdscribble
I have found a solution to my problem. I have created a directory mpdscribble in /var/run Then, I changed rights of /var/run/mpdscribble to 777 and I rebooted the system. At startup, there were no error message. In /var/run/mpdscribble the pid file was present and was owned by nobody user. Then I changed the owner of ths directory to nobody user (owner), and I 'chmoded' 755 on the directory. Now I can start mpdscribble at startup without error. I hope this can be useful for others. Thanks. Alexandre L. ___ 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 to upgrade
I think you wrong. I read the Official Announce for FreeBSD 8.0-RELEASE http://www.freebsd.org/releases/8.0R/announce.html You can find this sentence : Systems running 7.[012]-RELEASE, 8.0-BETA[1234], or 8.0-RC[123] can upgrade as follows: You can upgrade directly from 7.1 to 8.0 with the steps described in the Handbook (from sources with csup or binaries with freebsd-update). You must recompile your ports after this major upgrade. Alexandre. --- En date de : Jeu 10.12.09, Ricardo Jesus ricardo.meb.je...@gmail.com a écrit : De: Ricardo Jesus ricardo.meb.je...@gmail.com Objet: Re: How to upgrade À: Dimitar Trandov d.tran...@tcebank.com Cc: freebsd-questions@freebsd.org Date: Jeudi 10 Décembre 2009, 13h35 On 10/12/2009 10:36, Dimitar Trandov wrote: Hi list, Yesterday I decided to upgrade my server, which currently running 7.1rel. p8. Do I have to first upgrade to 7.2 release and then to 8.0, or instead of this, directly do a safe step to 8.0 release ? Thanks in advance Dimitar, ___ 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 7.2 first then 8.0. ___ 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
GEOM: ad0s1: geometry does not match label (255h,63s != 16h,63s).
Hi, I have installed my laptop with FreeBSD 8.0-RC1 first (now I'm on 8.0-Release-p1) and in dmesg I got this error message : GEOM: ad0s1: geometry does not match label (255h,63s != 16h,63s). I have search on the Web about the method to resolv this, but I haven't found anything that helps me. Here the result of #bsdlabel ad0s1 # /dev/ad0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 104857604.2BSD0 0 0 b: 2028960 1048576 swap c: 1172101770unused0 0 # raw part, don't edit d: 3110912 30775364.2BSD0 0 0 e: 1048576 61884484.2BSD0 0 0 f: 109973153 72370244.2BSD0 0 0 And the result of # gpart show = 63 117210177 ad0 MBR (56G) 63 1172101771 freebsd [active] (56G) =0 117210177 ad0s1 BSD (56G) 01048576 1 freebsd-ufs (512M) 10485762028960 2 freebsd-swap (991M) 30775363110912 4 freebsd-ufs (1.5G) 61884481048576 5 freebsd-ufs (512M) 7237024 109973153 6 freebsd-ufs (52G) Thanks for your help, Alexandre L. ___ 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 : cvs authentication
I haven't set authentification process to sync my sources with freebsd cvsup server. Have you try to sync your sources with another cvsup server ? You can find the list here : http://www.freebsd.org/doc/en/books/handbook/cvsup.html --- En date de : Jeu 26.11.09, Dominic Fandrey kamik...@bsdforen.de a écrit : De: Dominic Fandrey kamik...@bsdforen.de Objet: cvs authentication À: freebsd-questions@freebsd.org Date: Jeudi 26 Novembre 2009, 15h39 Should the CVS/SVN mirrors really require authentication? -- Running /usr/bin/csup -- Parsing supfile /etc/csup/sources Connecting to cvsup8.de.freebsd.org Connected to 212.118.165.142 Server software version: SNAP_16_1h Authentication required by the server and not supported by client *** Error code 1 1 error *** Error code 2 Stop in /usr/src. -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Re : cvs authentication
I don't know what is the problem but I thinking about this thing : Is this cvsup servup wasn't in synchronization (due to the release of 8.0-RELEASE) and this server was locked for this reason ? --- En date de : Ven 27.11.09, Dominic Fandrey kamik...@bsdforen.de a écrit : De: Dominic Fandrey kamik...@bsdforen.de Objet: Re: Re : cvs authentication À: Alexandre L. axel...@ymail.com Cc: freebsd-questions@freebsd.org Date: Vendredi 27 Novembre 2009, 10h59 Alexandre L. wrote: --- En date de : Jeu 26.11.09, Dominic Fandrey kamik...@bsdforen.de a écrit : Should the CVS/SVN mirrors really require authentication? -- Running /usr/bin/csup -- Parsing supfile /etc/csup/sources Connecting to cvsup8.de.freebsd.org Connected to 212.118.165.142 Server software version: SNAP_16_1h Authentication required by the server and not supported by client *** Error code 1 I haven't set authentification process to sync my sources with freebsd cvsup server. Have you try to sync your sources with another cvsup server ? You can find the list here : http://www.freebsd.org/doc/en/books/handbook/cvsup.html Yes, all other servers work. Still, this one should, too. I do not choose the CVS servers I use: SUPHOST= `/usr/local/bin/fastest_cvsup -Qc de` -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re : freebsd-update with MYKERNEL kernel configuration
Hi, I paste this link where Colin Percival explain who to use the tool freebsd-update with custom kernel. But I think that same thing as been written in the handbook. http://forums.freebsd.org/showpost.php?p=30920postcount=9 --- En date de : Jeu 26.11.09, S4mmael s4mm...@gmail.com a écrit : De: S4mmael s4mm...@gmail.com Objet: freebsd-update with MYKERNEL kernel configuration À: freebsd-questions@freebsd.org Date: Jeudi 26 Novembre 2009, 13h32 Hi all! I've got a problem while upgrading FreeBSD 7.2-RELEASE-p3 - FreeBSD 8.0-RELESE with freebsd-update(8). First of all I made a copy of the most configuration files. Then I made: # freebsd-update -r 8.0-RELEASE upgrade All went good, except the message, that because of MYKERNEL kernel configuration I should upgrade my kernel before freebsd-upgrade install. Then I was looking for the way of kernel upgrade, but found nothing. How could I build 8.0 kernel in FreeBSD 7.2? Of course, there were 7.2 sources in /usr/src and I didn't find any sources in /var/db/freebsd-update/. It's the first my question. Thus I decided to upgrade all except the kernel and then rebuild the kernel (that worked good while upgrading 7.1 - 7.2). I made as mentioned in hanbook: # freebsd-upgrade install # shutdown -r now # freebsd-upgrade install There were many errors bad sistem call on th last command. After all I discovered that much files from / were lost (I didn't find any grep, bzcat and so on). On boot kernel can't find fsck_ufs, so automatic mounting fails. If mounted by hand, there is no way to login because of some init error. Single user mode works. freebsd-update roolback can't find any backup. Shell scripts can't find test (it really doesn't exists in /bin/[ ) and fails. How can I restore the system? I've FreeBSD 7.1 CD. Thank's in advance for your help. ___ 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
FreeBSD port : audio/mpdscribble
Hi, I have installed mpdscribble on my laptop under 8.0-RC3 and configured it (/usr/local/etc/mpdscribble.conf). I have add the line in /etc/rc.conf mpdscribble_enable=YES to launch it at startup but I got the message mpdscribble: Failed to create pidfile /var/run/mpdscribble.pid: Permission denied If I launch it from root or using the sudo command, I haven't got problem. But from startup or from my user account (that is in 'wheel' and 'operator' groups) I got the message above. I have created a system user called mpdscribble using the command : # pw user add mpdscribble -c mpdscribble \-d noexistent -s /usr/sbin/nologin and set the option daemon_user in the conf file but I always got the same error. Here my conf file /usr/local/etc/mpdscribble.conf : ## mpdscribble - an audioscrobbler for the Music Player Daemon. ## http://mpd.wikia.com/wiki/Client:mpdscribble # HTTP proxy URL. #proxy = http://the.proxy.server:3128 # The location of the pid file. mpdscribble saves its process id there. pidfile = /var/run/mpdscribble.pid # Change to this system user after daemonization. #daemon_user = mpdscribble # The location of the mpdscribble log file. The special value # syslog makes mpdscribble use the local syslog daemon. On most # systems, log messages will appear in /var/log/daemon.log then. # - means log to stderr (the current terminal). log = syslog # How verbose mpdscribble's logging should be. Default is 1. verbose = 1 # How often should mpdscribble save the journal file? [seconds] journal_interval = 600 # The host running MPD, possibly protected by a password # ([passw...@]hostname). Defaults to $MPD_HOST or localhost. host = localhost # The port that the MPD listens on and mpdscribble should try to # connect to. Defaults to $MPD_PORT or 6600. port = 6600 [last.fm] url = http://post.audioscrobbler.com/ username =my_username password =my_password # The file where mpdscribble should store its Last.fm journal in case # you do not have a connection to the Last.fm server. journal = /var/cache/mpdscribble/lastfm.journal #[libre.fm] #url = http://turtle.libre.fm/ #username = my_username #password = my_password #journal = /var/cache/mpdscribble/librefm.journal #[jamendo] #url = http://postaudioscrobbler.jamendo.com/ #username = my_username #password = my_password #journal = /var/cache/mpdscribble/jamendo.journal Thank you in advance. ___ 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: FreeBSD port : audio/mpdscribble
Thanks, I can start mpdscribble with my user account (that is in 'wheel' and 'operator' groups') if I set in the conf file the location of the pidfile in my homedir. But if I start mpdscribble with the /etc/rc.conf (at startup), I get the error message though this change. Which user is used to lauch script set in the /etc/rc.conf file ? The goal is to launch mpdscribble at startup. --- En date de : Jeu 19.11.09, J Sisson sisso...@gmail.com a écrit : De: J Sisson sisso...@gmail.com Objet: Re: FreeBSD port : audio/mpdscribble À: Alexandre L. axel...@ymail.com Cc: FreeBSD Question freebsd-questions@freebsd.org Date: Jeudi 19 Novembre 2009, 17h37 On Thu, Nov 19, 2009 at 10:15 AM, Alexandre L. axel...@ymail.com wrote: mpdscribble: Failed to create pidfile /var/run/mpdscribble.pid: Permission denied Here my conf file /usr/local/etc/mpdscribble.conf : # The location of the pid file. mpdscribble saves its process id there. pidfile = /var/run/mpdscribble.pid Just a shot in the dark, but can't you change the pidfile to a user-writable location in the conf file and save yourself the permissions headaches? Something like $HOME/mpdscribble.pid ? Have you tried that yet? -- Computers are like air conditioners... They quit working when you open Windows. ___ 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 : linux emulation problems
Which version of FreeBSD do you use ? With the version 8, linux-f10 infrastructure port is used With the version 7, linux-f4 is the default infrastructure port used. linux-f8 can be used but it is not completely operational See : http://lists.freebsd.org/pipermail/freebsd-ports/2009-April/054046.html --- En date de : Mar 3.11.09, Super Biscuit super_bisq...@yahoo.com a écrit : De: Super Biscuit super_bisq...@yahoo.com Objet: linux emulation problems À: freebsd-questions@freebsd.org Date: Mardi 3 Novembre 2009, 21h58 I'm using linux_base-f10. During the installation of ports. The error comes to to use at least base-f8. Ports have been updated. ___ 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
SLIM and XFCE4
Hi all, I want to use SLIM (Graphical login manager for X11) with XFCE4. After the installation, I have enabled it with the line slim_enable=YES in /etc/rc.conf When I log in (from SLIM), the language in XFCE is english. If I don't use SLIM, I log in on TTY and use %startx, XFCE language is in French (I have configured it). Here my config files : .dmrc (of my user) [Desktop] Session=Xfce4 Language=fr_FR.UTF-8 .login_conf (of my user) me:\ :charset=ISO-8859-15:\ :lang=fr_FR.ISO8859-15:\ .xinitrc (of my user) /usr/local/bin/startxfce4 I want to use SLIM to launch XFCE4 in French. Thanks for your help. Alexandre. ___ 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
Upgrade 7.2-RELEASE to 8.0-RC1 problem
Hi, I have tried to upgrade my laptop system from 7.2-RELEASE to 8.0-RC1 using the freebsd-update method. I have ran the following commands : # freebsd-update -r 8.0-RC1 upgrade # freebsd-update install # nextboot -k GENERIC # shutdown -r now # freebsd-update install # portmaster -adf Then portmaster program does not recognize by the system. # rehash Does not have effect. Then I have rebooted the machine one more time and I have select the boot option 6 and type boot GENERIC Now the system don't want to boot correctly because it can't do fsck_ufs on /dev/ad0s1a I have download and burn the livefs 8.0-RC1 iso and use the fixit part. fsck_ufs /dev/ad0s1a do the steps correctly then I tried to boot on my GENERIC patched local kernel (using boot option 6 like described above) but I always got the same error. I have noticed that I have got these messages before the boot menu Boot: syntax error on file /boot/device.hints Boot: syntax error on file /boot/loader.conf Also, I tried this : (escape to loader prompt) * *# boot -s OK - It boot on 7.2 kernel # adjkerntz -i OK # swapon -a swapon: not found # fsck -p fsck: exec fsck_ufs for /dev/ad0s1a in /sbin:/usr/sbin: no such file or directory # mount -u / OK # mount -va OK If I rebooted like this method (escape to loader prompt) # boot GENERIC It boot on 8.0-RC1 kernel, but the only command that doesn't passed is # swapon -a swapon: not found After the command : # fsck -p I can access to the login prompt. But when I tried to login with root or another user, I got the following error : login: login: could not determine audit condition Can you help me to repair the errors ? Thanks for your help. Alexandre ___ 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: scripting tip needed
On Wed, Jul 1, 2009 at 10:07 PM, Giorgos Keramidas keram...@ceid.upatras.gr wrote: On Wed, 1 Jul 2009 22:02:48 +0200 (CEST), Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Using an interactive language like Python you can actually *test* the code as you are writing it. This is a major win most of the time. could you explain what you mean? You can and you have to test a code on any language be it bash, ksh python or C Yes. I mean that one can directly interact with the interpret in a REPL prompt, doing stuff like: import re devre = re.compile(r'(/dev/\S+)\s+(\S+)\s.*$') devre _sre.SRE_Pattern object at 0x28462780 devre.match('/dev/ad0s1d 1012974 390512 541426 42% /var') _sre.SRE_Match object at 0x28432e78 devre.match('/dev/ad0s1d 1012974 390512 541426 42% /var').groups() ('/dev/ad0s1d', '1012974') devre = re.compile(r'(/dev/\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+).*$') devre.match('/dev/ad0s1d 1012974 390512 541426 42% /var').groups() ('/dev/ad0s1d', '1012974', '390512', '541426', '42%', '/var') See how I am 'refining' the initial regular expression without ever leaving the Python prompt? That sort of interactivity is entirely lost when you have to edit a file, save it, switch screen(1) windows or type ^Z to background the editor, run a script, watch it fail and repeat. Then I can keep testing bits and pieces of code: from subprocess import Popen, PIPE pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout for l in pipe: ... m = devre.match(l) ... if m: ... print device %s, size %ld KB % (m.group(1), long(m.group(2))) ... device /dev/ad0s1a, size 1012974 KB device /dev/ad0s1d, size 1012974 KB device /dev/ad0s1e, size 2026030 KB device /dev/ad0s1f, size 10154158 KB device /dev/ad0s1g, size 284455590 KB device /dev/md0, size 19566 KB So piping df output to a Python bit of code works! That's nice. Then once I have a 'rough idea' of how I want the script to work, I can refactor a bit the repetitive bits: def devsize(line): ... m = devre.match(line) ... if m: ... return (m.group(1), m.group(2)) ... devsize('/dev/ad0s1d 1012974 390512 541426 42% /var') ('/dev/ad0s1d', '1012974') So here's a short function to return a nice 2-item tuple with two values (device name, number of 1 KB blocks). Can we pipe df output through it? pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout map(devsize, pipe.readlines()) [ None, ('/dev/ad0s1a', '1012974'), None, ('/dev/ad0s1d', '1012974'), ('/dev/ad0s1e', '2026030'), ('/dev/ad0s1f', '10154158'), ('/dev/ad0s1g', '284455590'), None, None, None, None, None, None, None, None, None, None, None, None, None, None, ('/dev/md0', '19566'), None] It looks we can do that too, but the tuple list may be more useful if we trim the null items in the process: pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout [t for t in map(devsize, pipe.readlines()) if t] [ ('/dev/ad0s1a', '1012974'), ('/dev/ad0s1d', '1012974'), ('/dev/ad0s1e', '2026030'), ('/dev/ad0s1f', '10154158'), ('/dev/ad0s1g', '284455590'), ('/dev/md0', '19566') ] So there it is. A nice structure, supported by the core of the language, using a readable, easy syntax, and listing all the /dev nodes of my laptop along with their sizes in KBytes. The entire thing was built 'piece by piece', in the same Python session, and I now have not only a 'rough idea' of how the code should work, but also a working copy of the code in my history. Note the complete *lack* of care about how to append to a list, how to create dynamic pairs of devicename-size tuples, how to map all elements of a list through a function, and more importantly the complete and utter lack of any sort of '${[]}' quoting for variable names, values, nested expansions, and so on. That's what I am talking about. Shell scripts are nice, but if we are not constrained for some reason to use only /bin/sh or ksh, there's no excuse for wasting hours upon hours to decipher cryptic quoting rules and exceptional edge-cases of black quoting magic, just to get a short job done. Being able to _easily_ use higher level structures than a plain 'stream of bytes' is nice :) Guys, I eventually found it with lots of rtfm on variable substitution and such.. [...@dada~]$ z=0 [...@dada~]$ y=1 [...@dada~]$ x=aaa [...@dada~]$ eval `echo MACHINE_DISK$z[$y]`=$x [...@dada~]$ echo $(eval echo \${MACHINE_DISK$z[$y]}) aaa [...@dada~]$ Thanks anyway! -- Alexandre Vieira - nul...@gmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr
scripting tip needed
Hi folks, I'm having a little problem. For exambe in ksh: $ z=0 $ y=1 $ x= $ eval `echo MACHINE_DISK$z[$y]`=$x $ echo ${MACHINE_DISK0[1]} My problem is getting back the value of the variable using variables to refer to the variable name (confusing). I.e $MACHINE_DISK$z[$y] . Using ${} works great when you only have a simple array but adding a variable in the middle of the variable name seems to ruin it. $ echo ${MACHINE_DISK0[$y]} $ echo ${MACHINE_DISK$z[$y]} ksh: ${MACHINE_DISK$z[$y]}: bad substitution Thanks in advance for any tip Cheers ___ 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: netbooks vs FreeBSD
On Sat, 2009-05-23 at 13:31 -0400, Sean Cavanaugh wrote: -- From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl Sent: Saturday, May 23, 2009 12:09 PM To: Gabor Kovesdan ga...@freebsd.org Cc: freebsd-questions@freebsd.org; freebsd-mob...@freebsd.org Subject: Re: netbooks vs FreeBSD I'm about to buy a netbook, which: - is compatible with FreeBSD (wifi is especially important) - has a good battery life (at least 4 hours) - has a normal HDD not an SSD point 2 and 3 is somehow incompatible - HDD takes more power. anyway in order of few watts, compared to CPUs taking 20-50W, excluding those really mobile. so 4 hours on batteryHDD seems possible. I respectfully disagree. As much as I hate Apple as a company, I currently have a MacBook Pro that gets over 4 hours of battery life and has a 200+gig HDD in it. I did not run FreeBSD on it, so I apologize for slight OT, but my wife's Samsung NC10 (2.8 lbs, 10.2 screen, 160GB 5400RPM HDD) is pushing 6 hours of the battery life with the wireless on and memory upgraded to 2GB. This is under Windows XP HOME ULCPC though. Wireless card (as reported by Windows) is Atheros AR5007EG, so you might need to ask around whether it is supported by ath driver. HTH, -- Alexandre Kovalenko (Олександр Коваленко) ___ 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: lightweight webserver that can run php
On 4/18/09, APseudoUtopia apseudouto...@gmail.com wrote: On Sat, Apr 18, 2009 at 2:19 AM, Andrew a...@awdcomp.net wrote: ... If you choose to run php via FastCGI, check out PHP-FPM. It's a patch that greatly speeds up php's FastCGI performance. It honestly does help significantly. There's a FreeBSD port in the Archives Download section of the website. http://php-fpm.anight.org/ Can you explain PHP-FPM ? Some parts of http://php-fpm.anight.org/ are not written in english... Regards, ___ 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: mtree
On 11/10/08, Garcia, Tony [EMAIL PROTECTED] wrote: Another developer received approval to test mtree for our project. He has since left and no one knows anything about this application. We are looking at mtree as a way to provide auditing of machines for permissions, ownership and date changes as well as performing cksum on each file. Is there any way you can point me to documentation that gives me a high and low level of what mtree can do. I've tried compiling the version that was downloaded, but it fails because it needs other files which are not present (like .h files). I'd appreciate any help you can provide. The google returns are far too numerous to make heads or tails from. I also have checked the freebsd info but I can't find any documentation. Thank you. try: man mtree in your machine prompt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't add new 1TB disk in FreeBSD 6.1
On 10/4/08, Don O'Neil [EMAIL PROTECTED] wrote: I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that didn't help. Can anyone help me get this new disk installed without having to boot off a recovery CD? The server is 500 miles away from me and I don't have direct console access. Uhmm... This may seem silly, but did you use fdisk to create a slice first before you tried partitioning? this is NOT needed. actually i don't do it anywhere. it just may be sysinstall problem, anything else. I tried using fdisk first, same problem, won't let me write to the disk. Do you will use the entire disk in one partition ? If so, just do: newfs /dev/ad4 Maybe you should to use gjournal for this large filesystem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: carp+openospfd
On 8/1/08, Nikos Vassiliadis [EMAIL PROTECTED] wrote: On Friday 01 August 2008 06:54:02 Alexandre Biancalana wrote: The firewalls failover this is working great with Carp. My difficulties is to configure OpenOSPFD to distribute routes in this setup, Two points: 1) Did you try to run OSPF on the CARP interface? Or the physical one? I don't think running OSPF on the CARP interface will work, cause the CARP interface receives nothing while at BACKUP mode. OpenOSPFD always see CARP interfaces as passive... No, OSPF cannot provide load balancing, as FreeBSD does not support equal cost multipath routing, that is you can use one and only one next hop for a destination. So, in short, OSPF will not do load balancing, as it does with other vendors you may be familiar with. bad news... I remember now that multiple fibs are too new on FreeBSD... Thinking again, I can survive with equal cost multipath routing and do the failover via script... How's good is our ECMP ? Have someone tested this ? If you run CARP on the LAN links as well(which you probably do), you should test and see how CARP's ARP level load balancing fits your network... It's working as expected Thank you again! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: carp+openospfd
On 7/30/08, Nikos Vassiliadis [EMAIL PROTECTED] wrote: On Wednesday 30 July 2008 16:56:23 Alexandre Biancalana wrote: On 7/30/08, Nikos Vassiliadis [EMAIL PROTECTED] wrote: On Wednesday 30 July 2008 07:51:52 Alexandre Biancalana wrote: Hi list, (I already ask this on -net, but I get no answers) I have two 100Mbit link (L2L, lan to lan) between the company and our datacenter, on each side I have two redudant (pf+carp) firewalls. I configured one vlan for each 100Mbit link and used carp to do the failover between machines on each side, the vlan interfaces are configured without ip address (with Max's carpdev patch), only carp interfaces have ips. I want to use OpenOSPFD to distribute our internal routes and do automatic failover+loadbalance of this two 100Mbit links. This work ? Someone have a similar setup ? Any hints ? I think using OSPF and CARP on the same interface could have unexpected results. I see some examples You get to have two ways to forward packet to a destination. One via CARP and one via OSPF. I think it's a possible source of errors. I would use CARP on the lan to lan link to provide redundancy and load balancing. Do you have to use OSPF? That is, is there an OSPF domain in which you have to be part of? I use CARP for firewall redundancy on each side. I want to use OSPF to easy distribute routes on my networks, the failover and load balance of the links are a desirable plus. So, there is an OSPF domain besides the four FreeBSD firewalls, right? Is what I want to configure Could you provide your network's topology? Is it something like: LAN1CLUSTER1CLUSTER2LAN2 where: CLUSTER1 = CARP(FW1, FW2) CLUSTER2 = CARP(FW3, FW4) Local Network Datacenter Network FW1 (master)FW3(master) Link1(100Mbit) (10.0.0.49/30) carp206 -- carp20 (10.0.0.50/30) (10.0.0.45/30) carp207 -- carp30 (10.0.0.46/30) Link2 (100Mbit) FW2 (slave) FW4(slave) Yes, in my setup I want to do failover of the firewalls (if FW1 crash FW2 assume the two links, firewall rules,etc) and loadbalance+failover of two 100Mbit links (I want to use the two links together (100+100) and if one of then fail all the traffic be routed to another) The firewalls failover this is working great with Carp. My difficulties is to configure OpenOSPFD to distribute routes in this setup, the links failover+loadbalance comes naturally after ospf running. For example, in the above diagram you cannot load balance the traffic, it will always go through the same routers: FW1 and FW3 or FW1 and FW4 or FW2 and FW3 or FW2 and FW4. It will of course failover in case of a FW failure. Yes. Only one firewall is master on each side. I would use CARP on the lan to lan link to provide redundancy and load balancing. So, my suggestion above is false, at least with the current CARP on FreeBSD. Please supply more info about your setup, I hope that you understand, if not I can draw something more detailed. Thank you for your time. Alexandre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.3+tmpfs
Hi List, Is tmpfs stable on FreeBSD 6.3 ? I want to use it for temporary clamav+ripmime files to speedup a mail filter server. Regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.3+tmpfs
On 7/29/08, Kris Kennaway [EMAIL PROTECTED] wrote: Alexandre Biancalana wrote: Hi List, Is tmpfs stable on FreeBSD 6.3 ? I want to use it for temporary clamav+ripmime files to speedup a mail filter server. It's not stable on 7.0 or 8.0 either, so no :) Any viable alternative ? mdconfig -t malloc maybe ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.3+tmpfs
On 7/29/08, Kris Kennaway [EMAIL PROTECTED] wrote: Of course :) mdconfig -t malloc maybe ? -t swap is faster and has fewer downsides. Great !! I should read *all* the man before post... Thank you Kris! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
carp+openospfd
Hi list, (I already ask this on -net, but I get no answers) I have two 100Mbit link (L2L, lan to lan) between the company and our datacenter, on each side I have two redudant (pf+carp) firewalls. I configured one vlan for each 100Mbit link and used carp to do the failover between machines on each side, the vlan interfaces are configured without ip address (with Max's carpdev patch), only carp interfaces have ips. I want to use OpenOSPFD to distribute our internal routes and do automatic failover+loadbalance of this two 100Mbit links. This work ? Someone have a similar setup ? Any hints ? I'm using FreeBSD 7, OpenOSPFD 4 (from ports) and Max's carpdev patch. Best Regards, Alexandre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Network interface detection order
Hi list, I'm installing some new Dell PowerEdge Servers and I have a question, this servers came with 2 internal nics and FreeBSD recognize the interfaces in inversal order, the nic marked as 1 in chassis is bce1 in ifconfig and nic marked as 2 is bce0. Someone know why ? Do we have some way to change this or the better is change interface name ? Regards, Alexandre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Large file system creation
On 4/8/08, Brian McCann [EMAIL PROTECTED] wrote: That looks like what I need. I've got a seperate 32GB array to boot off of, so that's perfect. Now to just read some man pages. Thanks! How many memory do you have in this machine ?? To fsck 9 TB you will need a LOT of memory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Large file system creation
On 4/8/08, Brian McCann [EMAIL PROTECTED] wrote: Hmm...didn't think of that...didn't think fsck used that much RAM...and thought it was independent of the file system size. Right now it's got 2GB. so better you think a little more before execute and do some tests before production too... Try gjournal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Large file system creation
On 4/8/08, Wojciech Puchar [EMAIL PROTECTED] wrote: it will be most likely large 32K blocks, so quick fsck and little RAM In my experience with UFS2 and fsck you will want to have a gig of ram per TB of filesystem. You can get by with less sometimes, eventually you'll get bit. Most mere mortals don't take UFS2 past 6-8TB in production. There are of course exceptions you talk about VM, not real memory. i don't think making 10GB swap is a problem. The problem is the time that it will take to fsck a 9TB filesystem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Relayd l3 redirect send/expect check
Hi all, There used to be a check send string expect string in the old config method in hoststated. I've checked the relayd.conf man page and apparently the only way to do this now is with an external script. I've tried to add the forward to table check send expect banner string and the relayd validates the config file but always sets my table hosts down :\ Also a simple forward to table check tcp won't work. While snooping the interface to the pool servers I can see that relayd tries to contact all pool servers in the defined interval and in the correct port but doesn't actually open a connection, just send a SYN, the servers answer and then it RST them. The hosts are shown as down in relayctl. 18:11:10.387565 IP 172.16.135.142.52679 172.16.135.148.rtsp: S 675781109:675781109(0) win 16384 mss 1460,nop,wscale 6,sackOK,timestamp 430386759 0 18:11:10.387591 IP 172.16.135.142.49363 172.16.135.133.rtsp: S 1229756465:1229756465(0) win 16384 mss 1460,nop,wscale 6,sackOK,timestamp 430386759 0 18:11:10.387850 IP 172.16.135.148.rtsp 172.16.135.142.52679: S 216269779:216269779(0) ack 675781110 win 24616 nop,nop,timestamp 737427944 430386759,nop,wscale 0,nop,nop,sackOK,mss 1460 18:11:10.387870 IP 172.16.135.142.52679 172.16.135.148.rtsp: R 675781110:675781110(0) win 0 18:11:10.387873 IP 172.16.135.133.rtsp 172.16.135.142.49363: S 2827025081:2827025081(0) ack 1229756466 win 49232 nop,nop,timestamp 434360123 430386759,mss 1460,nop,wscale 0,nop,nop,sackOK 18:11:10.387882 IP 172.16.135.142.49363 172.16.135.133.rtsp: R 1229756466:1229756466(0) win 0 The only way I have to get it working is a simple check icmp, which is sucky :\ When the pool hosts are up the rdrs work great. relayd.conf: public_ip=10.16.3.177 rtsp1=172.16.135.148 rtsp2=172.16.135.133 interval 5 # check hosts every 5 seconds table rtsphosts { $rtsp1 $rtsp2 } redirect rtsp { listen on $public_ip port 554 interface bge0 tag RELAYD sticky-address forward to rtsphosts check tcp } pf.conf: scrub all fragment reassemble rdr-anchor relayd/* pass all keep state FreeBSD 7.0-RC1 FreeBSD 7.0-RC1 #1: Fri Jan 18 13:36:30 WET 2008 root@:/usr/obj/usr/src/sys/me amd64 kernel diff: device pf device pflog device pfsync device carp options ALTQ options ALTQ_CBQ# Class Bases Queuing (CBQ) options ALTQ_RED# Random Early Detection (RED) options ALTQ_RIO# RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) options ALTQ_NOPCC # Required for SMP build The objective is to use relayd/pf as a simple l3 roundrobin load balancer with service health check. Any advice is most welcome. Regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Relayd (former hoststated) status for freebsd 7.0RC1
On Jan 15, 2008 9:58 PM, Alexandre Vieira [EMAIL PROTECTED] wrote: On Jan 15, 2008 8:29 PM, Brad [EMAIL PROTECTED] wrote: On Tuesday 15 January 2008 15:24:52 Bruce M. Simpson wrote: Alexandre Vieira wrote: Hello all, I remember that there was a port (net/hoststated) where I could install hoststated to use with PF. Anyone can shed a light on what is the status of this software implementation on 7.0? Perhaps ports/net/ifstated is the answer? BMS ifstated and relayd (used to be hoststated) are for totally different purposes. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, I meant hostated aka hoststated aka relayd. It's in Obsd base system and had there was a port for freebsd not long ago. I've found the old port structure: http://people.freebsd.org/~flz/local/ports/hoststated/http://people.freebsd.org/%7Eflz/local/ports/hoststated/which stands for ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/flz/hoststated/hoststated-20070131.tgz . Many changes were commited since 07/01/31: http://kho.bonghongxanh.vn/pub/.disk0/ftp.openbsd.org/pub/OpenBSD/cvs/src/usr.sbin/relayd/Makefile,v Added flz@ to the loop. TIA for any effort to get this working. Kind Regards -- Alexandre Vieira - [EMAIL PROTECTED] FYI http://www.freshports.org/net/relayd/ kudos to kuriyama@ -- Alexandre Vieira - [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Relayd (former hoststated) status for freebsd 7.0RC1
Hello all, I remember that there was a port (net/hoststated) where I could install hoststated to use with PF. Anyone can shed a light on what is the status of this software implementation on 7.0? TIA -- Alexandre Vieira - [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Relayd (former hoststated) status for freebsd 7.0RC1
On Jan 15, 2008 8:29 PM, Brad [EMAIL PROTECTED] wrote: On Tuesday 15 January 2008 15:24:52 Bruce M. Simpson wrote: Alexandre Vieira wrote: Hello all, I remember that there was a port (net/hoststated) where I could install hoststated to use with PF. Anyone can shed a light on what is the status of this software implementation on 7.0? Perhaps ports/net/ifstated is the answer? BMS ifstated and relayd (used to be hoststated) are for totally different purposes. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, I meant hostated aka hoststated aka relayd. It's in Obsd base system and had there was a port for freebsd not long ago. I've found the old port structure: http://people.freebsd.org/~flz/local/ports/hoststated/ which stands for ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/flz/hoststated/hoststated-20070131.tgz. Many changes were commited since 07/01/31: http://kho.bonghongxanh.vn/pub/.disk0/ftp.openbsd.org/pub/OpenBSD/cvs/src/usr.sbin/relayd/Makefile,v Added flz@ to the loop. TIA for any effort to get this working. Kind Regards -- Alexandre Vieira - [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]