Re: brasero
Dánielisz László wrote: hello! I just installed Brasero and because a strange reason I can not select any dvd writer drive, I included device atapicam to my kernel? Do you have any idea what can I try? Laci While I have not used brasero on FreeBSD, I know (from k3b) that you will need several other settings. It all boils down to giving a normal user permissions to use the CD/DVD recorder device. Both brasero and k3b depend on ports like sysutils/cdrdao, sysutils/cdrtools and sysutils/dvd+rw-tools. You can find these settings in the info for k3b: cd /usr/ports/sysutils/k3b make showinfo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system
Giorgos Keramidas wrote: Hi Manolis everyone else, `ipdivert.ko' works fine as a module too. You don't really *have* to recompile the kernel, but we probably have to update the relevant Handbook bits to mention that `ipdivert.ko' can be kldload'ed now. Adding a few options in `loader.conf' should preload IPFW and DIVERT in the running kernel: ipfw_load=YES ipdivert_load=YES Then the rest of the `rc.conf' options described in the current text work as expected. I can't boot my 6.2-RELEASE installation today to verify that this works in that version too, but if you have one around and it seems to work, let me know and I'll handle the doc bits :-) FWIW, both modules load fine in my VMWare based 6.2-RELEASE. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system
Peter N. M. Hansteen wrote: Manish Jain [EMAIL PROTECTED] writes: I am poor at networking and need a little bit of help. My dad has a Windows 2000 machine with a network card but does not have a connection to the internet. When I started writing this, I thought that system had been abandoned already, but it appears Microsoft will offer a measure of support through next year sometime. Do see that the system gets properly updated before you put it on the net. My freebsd 6.2 box is connected to the internet and has 2 network cards, rl0 and rl1. rl0 connects to the ISP and rl1 is directly connected via a long Ethernet cable to the NIC on my dad's machine. While I can access the internet easily, I want my dad to be able to connect to the internet with my freebsd box serving as the gateway. Can anyone please explain to me in easy steps how to accomplish this ? The keyword is that you need to set up your machine as a gateway. There are numerous guides available on how to do that (including the FreeBSD Handbook (free, online and likely already on your system) my PF tutorial (http://home.nuug.no/~peter/pf/) contains more than a few hints, as do several books available at better bookstores), but I would recommend that you pick literature that enables you to learn the basics of TCP/IP as well as the actual commands needed. Looking into packet filtering for basic protection won't hurt either. With those keywords in hand, you should be able to dig up something useful. - Peter Inspired by this discussion (and just replying to a random post) I tried for the first time to get a test machine as a gateway. I tried the handbook's instructions, here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html These work flawlessly, you will need to recompile your kernel though. The rest of the setup is relatively simple. I am more accustomed to using pf rather than IPFW though, and as I wanted to test this on my main system, I came up with this setup: /etc/rc.conf pf_enable=YES pf_rules=/etc/pf.conf pf_flags= gateway_enable=YES (Run sysctl net.inet.ip.forwarding=1 *and* /etc/rc.d/routing restart if you do not wish to reboot after modifying rc.conf) I added this rule before the filtering rules section in my /etc/pf.conf: nat pass on rl1 from rl0:network to any - rl1 (This is an excellent read: http://www.openbsd.org/faq/pf/ ) where rl1 is the Internet-facing card, and rl0 is the local network one. Also added a few simple rules to allow traffic from rl0 as I am normally using pf for firewalling. This also worked nicely, and has the added advantage of not having to recompile the kernel. So the OP has quite a few options, and it may prove not to be very difficult after all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable CTRL-ALT-DEL
Olivier Nicole wrote: Hi, On FreeBSD 6.3 how to disable the CTRL-ALT-DEL from halting/rebooting the system? Best regards, Olivier There are two ways of doing this, both described in the FreeBSD FAQ here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#CAD-REBOOT ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable CTRL-ALT-DEL
Peter Boosten wrote: Manolis Kiagias wrote: Olivier Nicole wrote: Hi, On FreeBSD 6.3 how to disable the CTRL-ALT-DEL from halting/rebooting the system? Best regards, Olivier There are two ways of doing this, both described in the FreeBSD FAQ here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#CAD-REBOOT Hmmm, didn't know about the second one, and doesn't seem to be working either (on both 7.0 and 6.3): sysctl hw.syscons.kbd_reboot=0 sysctl: unknown oid 'hw.syscons.kbd_reboot' Peter It seems you are right. Just checked on 6.3 and 7.0 and it does not exist. It does exist in 6.2, however. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable CTRL-ALT-DEL
andrew clarke wrote: On Sat 2008-10-18 09:47:51 UTC+0200, Peter Boosten ([EMAIL PROTECTED]) wrote: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#CAD-REBOOT Hmmm, didn't know about the second one, and doesn't seem to be working either (on both 7.0 and 6.3): sysctl hw.syscons.kbd_reboot=0 sysctl: unknown oid 'hw.syscons.kbd_reboot' That's odd.. $ sysctl hw.syscons.kbd_reboot hw.syscons.kbd_reboot: 1 $ uname -a FreeBSD blizzard.phoenix 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: Wed Oct 1 05:34:19 UTC 2008 [EMAIL PROTECTED] daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What about this: [EMAIL PROTECTED]:~]$ uname -a FreeBSD atlantis.dyndns.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #10: Fri Oct 17 18:31:22 EEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATLANTIS i386 [EMAIL PROTECTED]:~]$ sysctl -a |grep syscons hw.syscons.kbd_debug: 1 hw.syscons.bell: 1 hw.syscons.saver.keybonly: 1 hw.syscons.sc_no_suspend_vtswitch: 0 [EMAIL PROTECTED]:~]$ (Actual sources are not yesterdays, I just rebuilt the kernel yesterday) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable CTRL-ALT-DEL
Jeremy Chadwick wrote: On Sat, Oct 18, 2008 at 10:58:29AM +0300, Manolis Kiagias wrote: Peter Boosten wrote: Manolis Kiagias wrote: Olivier Nicole wrote: Hi, On FreeBSD 6.3 how to disable the CTRL-ALT-DEL from halting/rebooting the system? Best regards, Olivier There are two ways of doing this, both described in the FreeBSD FAQ here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#CAD-REBOOT Hmmm, didn't know about the second one, and doesn't seem to be working either (on both 7.0 and 6.3): sysctl hw.syscons.kbd_reboot=0 sysctl: unknown oid 'hw.syscons.kbd_reboot' Peter It seems you are right. Just checked on 6.3 and 7.0 and it does not exist. It does exist in 6.2, however. Hmm... # sysctl hw.syscons.kbd_reboot=0 hw.syscons.kbd_reboot: 1 - 0 # sysctl hw.syscons.kbd_reboot=1 hw.syscons.kbd_reboot: 0 - 1 # uname -a FreeBSD icarus.home.lan 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 03:04:20 PDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PDSMI_PLUS_RELENG_7_amd64 amd64 Mystery solved. The sysctl only exists if you have not already compiled the kernel with options SC_DISABLE_REBOOT I just checked, and all the systems that do not show this were compiled with SC_DISABLE_REBOOT I installed a clean (vmware) 7.0 and hw.syscons.kbd_reboot exists. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error with kernel PAE option
Robert Fitzpatrick wrote: Trying to build my own kernel with PAE option and getting the following error... /usr/src/sys/dev/advansys/advansys.c: In function 'adv_action': /usr/src/sys/dev/advansys/advansys.c:259: warning: cast from pointer to integer of different size *** Error code 1 I removed the PAE option keeping my SMP option in the kernel configuration for this dual proc server and it builds fine. Any idea what I can do for this error? Have a look at: /usr/src/sys/i386/conf/PAE Is the device that is causing the problem listed with a nodevice entry? I guess in your case, it is the adv device, and it is listed. This means it does not work with a PAE kernel. How about going with the 64bit version of FreeBSD? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error with kernel PAE option
Robert Fitzpatrick wrote: On Tue, 2008-10-21 at 18:43 +0300, Manolis Kiagias wrote: Robert Fitzpatrick wrote: Trying to build my own kernel with PAE option and getting the following error... /usr/src/sys/dev/advansys/advansys.c: In function 'adv_action': /usr/src/sys/dev/advansys/advansys.c:259: warning: cast from pointer to integer of different size *** Error code 1 I removed the PAE option keeping my SMP option in the kernel configuration for this dual proc server and it builds fine. Any idea what I can do for this error? Have a look at: /usr/src/sys/i386/conf/PAE Is the device that is causing the problem listed with a nodevice entry? I guess in your case, it is the adv device, and it is listed. This means it does not work with a PAE kernel. Thanks, yes, I have nodevice in the PAE file for adv. What does this mean and/or how can I address this problem? Should I just remove the entry from the PAE file? No. The idea behind the PAE file is that whatever you see with nodevice is not supported by PAE kernels. Even if you manage to compile a kernel with the device, you will just get into trouble. The idea behind this file is that you change the line: include GENERIC on the top, to your own custom kernel configuration file. Then you compile with make buildkernel KERNCONF=PAE which gets all your settings from your own file *minus* the ones that are incompatible with PAE (the ones identified with nodevice) How about going with the 64bit version of FreeBSD? That was my first try, but the CPU appears not to support amd64 as there are no AMD Features listed in dmesg. Is it a 64bit CPU? The AMD64 version of FreeBSD supports the Intel 64bit (Core2 / Quad / Xeon / Pentium 4 / Pentium D) processors as well, regardless of the AMD in its name. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error with kernel PAE option
Robert Fitzpatrick wrote: On Tue, 2008-10-21 at 20:30 +0300, Manolis Kiagias wrote: Is it a 64bit CPU? The AMD64 version of FreeBSD supports the Intel 64bit (Core2 / Quad / Xeon / Pentium 4 / Pentium D) processors as well, regardless of the AMD in its name. It is an Intel Xeon 2.4GHz processor, but I was told yesterday here on the list that if LM does not appear in the AMD Features line of dmesg, then it does not support amd64. I looked at another server we have here now running amd64 FreeBSD and I see the AMD Features line with LM, but on this server, no AMD Features line whatsoever. I am getting 'BTX halted' when trying to install FreeBSD-amd64 on this server. The other server we have running it has Xeon 3.0GHz procs, I thought that was kinda weird that the two servers were really close in spec, but one would not run amd64 :/ This would be my preferred option if I can get it to install. Well, LM is the flag for x86-64. You are probably running a 32bit Xeon CPU. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: root | su
Jos Chrispijn wrote: Is there a way of stopping root from su'ing to another user? Jos Chrispijn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Root is supposed to be the almighty god on your machine (i.e. you...). No point trying to limit the abilities of root (especially if physical access is also provided). And seriously, root is a role not a person. If you find yourself trying to limit root's capabilities, you've probably surrendered the root password to the wrong person. If you need to give someone limited root access to a machine, just use security/sudo instead (with a carefully crafted sudoers file). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS Help
Victor Farah wrote: Hello I have about 10 machines that are NFS clients, 5 are new and 5 are older. Anyway the new machine mount from the NFS server just fine. The older machines mount; and I can ls /mnt/data/; BUT when I ls /mnt/data/sc/ on the older machines this happens: nfs server 192.168.10.162:/data: not responding nfs server 192.168.10.162:/data: not responding nfs server 192.168.10.162:/data: not responding nfs server 192.168.10.162:/data: not responding But on the new machines they work perfectly fine? As well the old machines mount it as i stated before I can even ls the parent directory /mnt/data/ and it shows me all the directories on the mount, but anytime I ls or do anything inside there it does that or freezes. Any idea's? How old are these old systems? Do you have any ISA type ethernet cards? Read Handbook's section 30.3.6: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html I actually had this kind of trouble once, and it was due to an ISA network card. I doubt you are really using an ISA card in a production system, but some of the remedies described in the section may give you a hint of what is going on. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: flash-9, 10 on FreeBSD
Kirk Strauser wrote: On Tuesday 28 October 2008 13:31:13 Craig Butler wrote: The way forwards has to be to jump onto the gnash band wagon I think that project is moving leaps and bounds. Any idea how to get the Firefox plugin working? I installed it with PLUGIN and GTK selected, and /usr/local/lib/browser_plugins/libgnashplugin.so is there, but about:plugins doesn't reflect it. If it is firefox3 you are talking about, create a symbolic link to the actual plugins directory: ln -s /usr/local/lib/browser_plugins/libgnashplugin.so /usr/local/lib/firefox3/plugins (repeat for any other plugins you need from browser_plugins that do not work. Bear in mind that your browser may crash if they happen to be incompatible with firefox3) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: flash-9, 10 on FreeBSD
Kirk Strauser wrote: On Oct 28, 2008, at 4:00 PM, Manolis Kiagias wrote: If it is firefox3 you are talking about, create a symbolic link to the actual plugins directory: ln -s /usr/local/lib/browser_plugins/libgnashplugin.so /usr/local/lib/firefox3/plugins Well, that seems pretty obvious now. It leads me to wonder, though: what browsers *do* look in /usr/local/lib/browser_plugins? Or is that just meant to be a convenient place to symlink into? -- Kirk Strauser The following excerpt from /usr/ports/UPDATING will completely answer your question :) 20080727: AFFECTS: users of www/firefox3 AUTHOR: [EMAIL PROTECTED] Update to 3.0.1_1,1; it no longer seeks for plugins in lib/browser_plugins, because few plugins that built with Firefox 2 can cause Firefox 3 to crash. We are working on making some changes with plugins directory by using www/linux-mplayer-plugin/Makefile.npapi. If there are some other plugins that work with Firefox 3 and you would like to use, you can copy them to ~/.mozilla/plugins or /usr/local/lib/firefox3/plugins manually for now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: build ImageMagick 6.4.4.1_1 from ports failed...
Aggelidis Nikos wrote: hi to all the list, i am trying to install ImageMagick 6.4.4.1_1 from the ports system. The problem seems to be that i can't complete succesfully the tests of imagemagick. In particular i fail in all the Magick++ tests [snip] If I remember well, this is a known issue. Change to the port's directory, execute make config, and deselect IMAGEMAGICK_TESTS from the options dialog. It should build and install fine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: build ImageMagick 6.4.4.1_1 from ports failed...
Aggelidis Nikos wrote: Here are the configurations options: === The following configuration options are available for ImageMagick-6.4.4.1_1: X11=on X11 support IMAGEMAGICK_TESTS=on Run bundled self-tests after build IMAGEMAGICK_OPENMP=off OpenMP for SMP (needs threads) IMAGEMAGICK_PERL=on Perl support IMAGEMAGICK_MODULES=off Modules support (broken) IMAGEMAGICK_BZLIB=on Bzlib support IMAGEMAGICK_16BIT_PIXEL=on 16bit pixel support IMAGEMAGICK_DJVU=off DJVU format support (needs threads) IMAGEMAGICK_LCMS=on LCMS support IMAGEMAGICK_HDRI=off High Dynamic Range Images (HDRI) IMAGEMAGICK_TTF=on Freetype support IMAGEMAGICK_FONTCONFIG=on Fontconfig support IMAGEMAGICK_JPEG=on JPG format support IMAGEMAGICK_OPENEXR=off OpenEXR support (needs threads) IMAGEMAGICK_PNG=on PNG format support IMAGEMAGICK_TIFF=on TIFF format support IMAGEMAGICK_FPX=on FPX format support IMAGEMAGICK_JBIG=on JBIG format support IMAGEMAGICK_JPEG2000=on JPEG2000 format support IMAGEMAGICK_DOT=off GraphViz dot graphs support IMAGEMAGICK_WMF=off WMF format support IMAGEMAGICK_SVG=off SVG format support IMAGEMAGICK_PDF=on PDF format support IMAGEMAGICK_GSLIB=off libgs (Postscript SHLIB) support === Use 'make config' to modify these settings what platform and FBSD version? #uname -a: FreeBSD apollo 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 did you build with perl support? yes If I remember well, this is a known issue. Change to the port's directory, execute make config, and deselect IMAGEMAGICK_TESTS from the options dialog. It should build and install fine. oh i didn't know this, but Anton stated that I've passed all tests on i386 So you think i should disable the tests and recompile? thank you all for your help so far, nikos AFAIR, there was a discussion about this not so long ago, and compiling without the tests was a proposed solution. In fact, I just checked my system and I have ImageMagick installed without the tests in the config options. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XFCE4
joeb wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 FBSD1 wrote: What port names need to be installed to create a XFCE4 desktop environment? I was looking for a mega port like kde3 has but could not identify one. Thanks in advance. I'm going to rake a random guess: x11-wm/xfce4 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eitan Adler Sent: Monday, November 03, 2008 12:14 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] ORG Subject: Re: XFCE4 Thank you for your random guess, but research of the ports system seem to indicate a whole suite of ports are needed to build a complete working environment. Waiting for a real user to fill in the details of what combination of ports they used to build their XFCE4 desktop. It is not really a random guess, x11-wm/xfce4 is the metaport you need to build for a working XFCE4 environment. There are a couple of additional tools you may also wish to use in this environment. I would recommend graphics/ristretto for a lightweight image viewer, sysutils/thunar-volman-plugin to handle mounting of external media, sysutils/xfce4-battery-plugin if running on a laptop. Also, make sure to read: Section 5.7.4: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html For usb mounting: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html For policy kit / hal settings: http://www.freebsd.org/gnome/docs/halfaq.html and when compiling Thunar (the file manager) make sure to select FAM support from the options dialog. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to upgrade to KDE4
[EMAIL PROTECTED] wrote: Hi, I'm using FreeBSD 6.2-p11 (yes, I've got to update). A couple days ago I updated my ports tree and went to update kde 3.5.6. At first I did a portupgrade on the KDE meta-port but, ironically, the only thing that updated was the meta-port (I did a portupgrade -r too). I should also say that I first looked in /usr/ports/UPDATING and there weren't any particular instructions (that I could find) for updating KDE. I opened the file in vim and searched for kde and KDE. On both searches, nothing regarding the specific update of 3.5.x to 4.x was mentioned. I'm having some problems updating the kdebase package now (since the meta-port didn't update the whole thing, I'm updating individually to 3.5.10). It's having some compile time issues, something about an identifier not existing in a particular namespace or some-such error, I've got to look into it further. However, since I'm going through this loathsome process anyway, would it be advisable to just do a deinstall of the kde system and cd to /usr/ports/x11/kde (I think that's where it is) and install 4.x (if that's even how to do it)? I would really prefer to run 4.x. Thanks for any help, Andy The Handbook has been recently updated with instructions on installing / running KDE4: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html It is also possible to keep both versions installed (since KDE4 installs in a different directory). If you decide to go along this path, I would advise you to set your PATH so that /usr/local/kde4/bin is before /usr/local/bin (when running KDE4). This will prevent inadvertently running kde3.x executables in 4.x. There has been some discussion on the list concerning the usability of KDE4. FWIW, it worked for me but I am not a KDE person anyway (and have only used 3.X a couple of times) and don't need most of the features of such a desktop. YMMV. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: eps to jpg conversion - which program?
Laszlo Nagy wrote: Hi, I need to convert eps files into jpeg files in batch mode. Gimp works perfectly, except that I cannot use an X display. I tried eps2png with no success: %file test.eps test.eps: DOS EPS Binary File Postscript starts at byte 30 length 566887 TIFF starts at byte 566917 length 4741 %eps2png -jpg -width 1000 -verbose -output test.jpg test.eps Producing jpg (jpeg) image. Not EPS file: test.eps, skipped What port should I use to convert EPS into JPG? I would like to use a program that shares the same library with Gimp, because we know that Gimp works great for this task. Thanks, Laszlo How about using 'convert' from graphics/ImageMagick? It would be as simple as convert myfile.eps myfile.jpg and there are myriads of options to fiddle if you wish. I've been using it with great success for quite some time now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hashes in scp usernames (OpenSSH bug 472)
Christopher Key wrote: Hello, I've come upon OpenSSH bug 472, whereby scp refuses usernames containing a '#' character, dieing with 'invalid user name'. Both rsync and ssh accept such usernames, and after looking at /usr/src/crypto/openssh/scp.c, it would appear that scp also allows such usernames for the source, but not the destination. I've several questions: 1) Is there any specific reason why scp behaves like this, and specifically why does it only attempt to validate the destination user name and not the source? 2) Assuming it is safe to drop the username validation, I can quite happily modify the code as appropriate. However, I'm not sure how to rebuild and update with minimum fuss. I really only need to rebuild scp and install the new binary, can I do this easily without a full make buildworld; make installworld? 3) Assuming that there's no additional reason not to remove the username validation, how should I go about submitting a change request to get this modification made in CURRENT, and MFCed as appropriate? Kind Regards, Chris Key I don't know whether any of this is a good idea (there might be a very good reason why it is programmed this way, generally stuff in 'secure' is rather sensitive), but to answer your second question, you would simply do: # cd /usr/src/secure/usr.bin/scp # make # make install Since OpenSSH comes from OpenBSD, it may be worth trying asking someone over there too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bsd.gnome.mk is broken in 6.3-RELEASE ? Cannot update x11 ports ?
Juri Mianovich wrote: Clean install of 6.3-RELEASE. cvsup _only_ ports/x11, ports/x11-wm, ports/x11-servers Now enter ports/x11/xorg and attempt a 'make install' The sample /usr/share/examples/cvsup/ports-supfile states: # Be sure to ALWAYS cvsup the ports-base collection if you use any of the # other individual collections below. ports-base is a mandatory collection # for the ports collection, and your ports may not build correctly if it # is not kept up to date. You are probably missing an updated ports-base Eventually it bombs out with: ===Verifying install for /usr/local/libdata/pkgconfig/pixman-1.pc in /usr/ports/x11/pixman Unknown modifier '9' /usr/ports/Mk/bsd.gnome.mk, line 643: Malformed conditional (${_USE_GNOME_ALL:Mltverhack:9}==) Unknown modifier '9' Error expanding embedded variable. *** Error code 2 Stop in /usr/ports/x11/xorg-libraries. *** Error code 1 Stop in /usr/ports/x11/xorg. I don't really care why. I'm sure it's fascinating, whatever it is. Can I just get a quick textual fix - some file to edit somewhere that fixes this ? What _is_ fascinating is that I am the only person _ever_ to attempt cvsup'ing the x11 portions of the ports tree and then install xorg. You'd think someone would have done this before now. Thanks. If you only cvsuped those three ports, you have an outdated version of the bsd.gnome.mk file (I checked the recent version and there is no such line). In fact, to avoid any more issues, I would suggest you cvsup the entire tree. If you feel cvsup / csup is slow, try portsnap: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-portsnap.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.1
Frank Bonnet wrote: Hello I don't want appears as an impatient and I KNOW people that support FreeBSD are volunteers, I am a long time user of our prefered OS I just would like to have an estimation for the release of 7.1. I have two new production servers that will come tomorrow - If the release is a matter of days I'll wait a bit before installing them, - If it is a matter of monthes I'll install them with another release. Thanks a lot I don't think it is a matter of days, we have not even reached RC status yet on 7.1 On a production server you will probably wish to go with 7.0-RELEASE-p5. It would be trivial to upgrade to 7.1 by means of freebsd-update(8) when it is released. You probably don't want to risk 7.1-PRERELEASE on a server, but for anyone running workstations, desktops, laptops I think it is worth trying at this moment. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.1
Ott Köstner wrote: Manolis Kiagias wrote: I don't think it is a matter of days, we have not even reached RC status yet on 7.1 On a production server you will probably wish to go with 7.0-RELEASE-p5. It would be trivial to upgrade to 7.1 by means of freebsd-update(8) when it is released. You probably don't want to risk 7.1-PRERELEASE on a server, but for anyone running workstations, desktops, laptops I think it is worth trying at this moment. I am a person, who made a mistake, installing 7.1 on my production server (actually RELENG_7 stable, which shows up as 7.1). My question is, how stupid is that mistake? Is it better to reinstall 7.0 before something really bad happens, or can I just let it run? What are the most serious bugs to expect? Greetings, O.K. It all depends on the programs you run, your configuration, system load and so on. Bugs that may be present in the system, may simply not be applicable to you, if you are not using the specific part or feature that has the problem. While it is difficult to assess without knowing specific details, I think 7.1 is generally stable at the moment. Maybe people using it in production servers (if any) can step in and share their experiences. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Media Center
Gary Hartl wrote: Hi all; I have an old laptop (Dell Inspiron 7500), P3 550mhz, 256mb ram 20 gig hdd. I am wondering what the validity of putting FBSD on it running VLC or something like that feeding to my tv. Anyone with any feedback on this. I believe it will work in this respect, though it will probably be unable to run high bit rate movies. It should play the average DivX though. I would go with a minimal X environment and mplayer (the command line version) which I feel is the best in decoding media files (vlc is also a good choice). Or is there a FBSD Media Center project out either in alpha or beta? Thanks Gary Well, mythtv is in the ports tree, and is the first that comes to mind. I've never used it myself and as I understand it is going to be kind of an overkill for this machine of yours. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and hardware??
Chad Perrin wrote: On Tue, Nov 18, 2008 at 02:18:13PM +0100, Wojciech Puchar wrote: By constantly repeating that UNIX is no Windows replacement you are and i will repeat it because it's true. it's every other unix replacement. It did a quite admirable job of replacing MS Windows for me. I don't know why you're so down on it. as linux tries for many years to be windows replacement - it's both low end unix and low end windows replacement, windows for poor. VERY LARGE AND NASTY SNIP . . . and, as I said, FreeBSD is a great MS Windows replacement for me. I don't miss MS Windows *at all* when I'm using FreeBSD on my laptop every single day. (Responding to random post) Could we please *close* this discussion now? This is simply a waste of the list resources, people will always have ideas on why an OS is better or worse than another. If the original poster wanted to know something about all this, he would have probably commented by now. Has it come to anyone's mind that the original post was probably a simple act of trolling? (and someone is now amused by all this?) In the end, when someone is presented with the facts and can have a hands on experience with a system (and it won't cost him a dime to do so), he can decide whether he wants to use it, whether it can replace his current system and whether he is willing to climb the steep learning curve. Let's give people choice, we don't need to force this or any other OS down anyone's throat. Let's just help whoever comes in here - Some will appreciate FreeBSD *and* the community and will stay. And it will be there choice. Just my 2c Over and out ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem about ppp -nat
Pongthep Kulkrisada wrote: Hi All, I have just subscribed to freebsd-questions and I have a question about ppp -nat. I have 2 computers. One is running FreeBSD-7.0R, the other is running WinXP. The host running FBSD7.0R has been connecting to the outside world using user-ppp without any problem for very long. Now I want to share internet access to the other host behind NAT through this FBSD host. My FBSD machine has 2 interfaces i.e. tun0 (connecting to ISP) with dynamic IP (of course) fxp0 (for internal LAN) with static IP of 192.168.1.10 My WinXP machine has 1 interface (internal LAN) with static IP of 192.168.1.11 Previously I have a router acting as a gateway for all machines behind NAT. But now I want FBSD machine to work as a gateway. I have never done this before. I tried some googling with reading ppp(8) and ipfw(8). And I tried masquerading but it didn't work. I have plenty configuration files. But the relevant configurations are listed here. /etc/rc.conf # enable IP forwarding gateway_enable=YES # previously I ran web-server, just disable it or comment it out, not sure why! #apache_enable=YES On the host running WinXP, I set its gateway and DNS server to the IP of ppp host i.e. 192.168.1.10. I then inserted the following line as the first rule in /etc/ipfw.rules. /sbin/ipfw add allow all from any to any via fxp0 (I know this rule is dangerous, but just for testing.) I then issue the ppp command. [EMAIL PROTECTED]:~# ppp -background -nat myisp FBSD host (running ppp) can access anywhere but WinXP host can't. I learned from some site explaining that ppp itself has the capability of IP masquerading. And it does not require natd(8). So I don't mention about natd here. Anyone have a clue or who have done the correct configurations, please point me out. Thank you in advance. Pongthep There are at least two ways that I know of to achieve this. One uses the ipfw firewall, the other the pf firewall. For the ipfw solution, look at the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html This worked fine for me, although I prefer to use pf. Here is how I setup pf (Adjust for your interfaces as necessary) My Internet interface is rl0, setup in rc.conf as: ifconfig_rl0=inet 192.168.0.100 netmask 255.255.255.0 My local interface is rl1, setup in rc.conf as: ifconfig_rl1=inet 192.168.1.100 netmask 255.255.255.0 (I also have a defaultrouter setting which probably does not apply to you) I have nameserver entries in /etc/resolv.conf (or setup your own DNS server if you wish) Use this settings in rc.conf for pf: pf_enable=YES pflog_logfile=/var/log/pflog pflog_flags= pf_rules=/etc/pf.conf pf_flags= gateway_enable=YES Run: # sysctl net.inet.ip.forwarding=1 # /etc/rc.d/routing restart Add net.inet.ip.forwarding=1 to /etc/sysctl.conf so it persists reboots Add the following rule to /etc/pf.conf nat pass on rl0 from rl1:network to any - rl0 AFAIR, if rl0 has a dynamic address, you will have to write it with parentheses, like: nat pass on rl0 from rl1:network to any - (rl0) (Note that in /etc/pf.conf translation rules like the above, are placed above filtering rules like pass or block etc) You may have to adjust /etc/pf.conf filtering rules, assuming you have any. Restart some services # /etc/rc.d/netif restart # /etc/rc.d/routing restart # /etc/rc.d/pf restart or simply reboot, and you should be set. Note that in your client machine, you should set gateway to point to your FreeBSD machine, but unless you are running your own DNS server, DNS entries should point to your ISP. If you combine this setup with a DHCP server from the Ports Collection, you will have pretty much a standard home router out of a FreeBSD machine. There are also other capabilities, like port forwarding and so on, but I'll let you figure them out yourself ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem about ppp -nat
Pongthep Kulkrisada wrote: * Manolis Kiagias ([EMAIL PROTECTED]) wrote: This worked fine for me, although I prefer to use pf. Here is how I setup pf (Adjust for your interfaces as necessary) My Internet interface is rl0, setup in rc.conf as: ifconfig_rl0=inet 192.168.0.100 netmask 255.255.255.0 My local interface is rl1, setup in rc.conf as: ifconfig_rl1=inet 192.168.1.100 netmask 255.255.255.0 3. I haven't mentioned that I can't use this configuration. I have 2 interfaces i.e. public and private LAN. But I have only one NIC card for private LAN. I don't have NIC card for public. I'm using 56k modem to connect the outside world. I think I can't add ifconfig_tun0=inet 192.168.0.100 netmask 0xff00 You won't of course put this in rc.conf. However AFAIK tun0 is *still* a network interface and can appear in firewall rules. So the PF method I described should work, tun0 is considered the external network interface, the rule would be: nat pass on tun0 from rl1:network to any - (tun0) where rl1 would be the internal interface. Needless to say, I have no way of testing the above as I don't have a modem. Since obviously you want to use ipfw, I still suggest you go by the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html First, make sure Internet works normally on your FreeBSD host. Then apply the above instructions. The example in the handbook shows a line: natd_interface=fxp0 which in your case would be: natd_interface=tun0 It seems you already have these settings though, so I would review the Handbook instructions and remove anything else from the configuration which does not appear there. Once things are working, go back and add firewall rules etc. Handbook instructions worked for me (with two ethernet cards though) out of the box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd-update and sources / custom kernel
andrew clarke wrote: On Tue 2008-11-25 07:16:44 UTC+0100, Zbigniew Szalbot ([EMAIL PROTECTED]) wrote: I hope you can clear my doubts. When I use freebsd-update to update a machine with a custom kernel, do I need to fetch sources before I rebuild the kernel or are they fetched by freebsd-update utility? freebsd-update will update the kernel sources on the condition that the Components setting is configured correctly in freebsd-update.conf. Normally you'd use: Components src world kernel Then after a successful update, if you're not using the GENERIC kernel, you should rebuild the kernel with your custom settings. After the new kernel is installed you should reboot the machine. Correct, and let me also add that the above setting is the default one, so unless you edited the file yourself (highly unlikely) you are already getting the sources when using freebsd-update. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Filesystem problems at boot and shutdown?
Rick Janssen wrote: I've been playing around with FreeBSD for some time now, still being unable to solve some problems. Let me explain. I'm trying to run a webserver on the machine. Just basic, nothing too fancy. Problem concerns the following: The website served is speedy as expected when accessed from local LAN, but when accessed from WAN via router, it's realy slow. So, to do some tests, this afternoon I requested some pages from an computer outside my LAN. Server was very slow again, even ssh slowed to a crawl. Suddenly, without reason I know off, everything sped up. I issued a reboot to check if the problem might have been 'solved'. This took a long time. Back home I checked the logs. It now appeared the long reboot-time was caused by a Syncing disk anomaly, which happens when the system prepares for shutting down. Nov 26 22:38:12 server kernel: Syncing disks, vnodes remaining...1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 timed out Nov 26 22:38:12 server kernel: Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Nov 26 22:38:12 server kernel: Syncing disks, buffers remaining... 184 185 186 1 185 185 185 185 184 184 185 185 185 184 184 185 1 184 184 184 184 185 185 185 1 184 184 184 184 184 185 184 184 185 185 1 185 184 184 184 184 184 184 1 185 184 184 184 184 185 184 184 185 1 185 184 184 184 184 184 184 185 1 184 184 185 184 184 184 184 185 184 184 185 1 185 185 184 184 184 185 184 184 184 185 1 184 184 185 184 184 185 184 184 185 185 184 184 184 184 184 1 184 184 184 1 184 184 185 1 185 184 184 1 184 185 184 184 185 185 184 184 ... etc etc... Nov 26 22:38:12 server kernel: Final sync complete So I figured, might as well run fschk -y in single user mode to fix potential problems. Now I got some new errors: Nov 26 20:48:11 server kernel: ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=1364750271 Nov 26 20:48:11 server kernel: ad4: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR error=4ABORTED LBA=1364750271 Nov 26 20:48:11 server kernel: g_vfs_done():ad4s1g[WRITE(offset=682932174848, length=131072)]error = 5 So far, nothing serious has followed from these errors I know off. They only happen sporadically, during reboots. Are these to problems even related, or am I just unlucky? Anyone has some suggestions to fix them? Regards, Rick Unless there is some incompatibility between FreeBSD - Your disk controller - Your disk, my best guess is you have a failing disk. I would also suggest you check cables, connections (I guess this is an ATA disk so you may wish the check whether the flat cable is the 80-conductor type and is plugged in correctly). Hopefully, if you are just playing with the system, you don't have any critical data in there, otherwise I would suggest you back up immediately. Do you have a spare disk to try and see what happens? Whether your other problem depends on this: It could be, since your webserver might be trying to read from a faulty area and keep retrying. Or indeed there is some incompatibility and the disk is constantly under-performing. You did not mention the speed of you WAN connection, but FWIW I am running a webserver behind a 1Mbps/256Kbps ADSL line and response is good enough. SSH is definitely good enough to use in long vi sessions, with lengthy documents. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Filesystem problems at boot and shutdown?
Rick Janssen wrote: Rick Janssen wrote: I've been playing around with FreeBSD for some time now, still being unable to solve some problems. Let me explain. I'm trying to run a webserver on the machine. Just basic, nothing too fancy. Problem concerns the following: The website served is speedy as expected when accessed from local LAN, but when accessed from WAN via router, it's realy slow. So, to do some tests, this afternoon I requested some pages from an computer outside my LAN. Server was very slow again, even ssh slowed to a crawl. Suddenly, without reason I know off, everything sped up. I issued a reboot to check if the problem might have been 'solved'. This took a long time. Back home I checked the logs. It now appeared the long reboot-time was caused by a Syncing disk anomaly, which happens when the system prepares for shutting down. Nov 26 22:38:12 server kernel: Syncing disks, vnodes remaining...1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 timed out Nov 26 22:38:12 server kernel: Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Nov 26 22:38:12 server kernel: Syncing disks, buffers remaining... 184 185 186 1 185 185 185 185 184 184 185 185 185 184 184 185 1 184 184 184 184 185 185 185 1 184 184 184 184 184 185 184 184 185 185 1 185 184 184 184 184 184 184 1 185 184 184 184 184 185 184 184 185 1 185 184 184 184 184 184 184 185 1 184 184 185 184 184 184 184 185 184 184 185 1 185 185 184 184 184 185 184 184 184 185 1 184 184 185 184 184 185 184 184 185 185 184 184 184 184 184 1 184 184 184 1 184 184 185 1 185 184 184 1 184 185 184 184 185 185 184 184 ... etc etc... Nov 26 22:38:12 server kernel: Final sync complete So I figured, might as well run fschk -y in single user mode to fix potential problems. Now I got some new errors: Nov 26 20:48:11 server kernel: ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=1364750271 Nov 26 20:48:11 server kernel: ad4: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR error=4ABORTED LBA=1364750271 Nov 26 20:48:11 server kernel: g_vfs_done():ad4s1g[WRITE(offset=682932174848, length=131072)]error = 5 So far, nothing serious has followed from these errors I know off. They only happen sporadically, during reboots. Are these to problems even related, or am I just unlucky? Anyone has some suggestions to fix them? Regards, Rick Unless there is some incompatibility between FreeBSD - Your disk controller - Your disk, my best guess is you have a failing disk. I would also suggest you check cables, connections (I guess this is an ATA disk so you may wish the check whether the flat cable is the 80-conductor type and is plugged in correctly). The disk is a new SATA model (1TB Samsung), so that lessens the chances of the disk itself being defective somewhat. The mainboard is a MSI K9A2VM-F (AMD 780V / AMD SB700 chipsets) In fact, new disks *can* be faulty. Usually, the faults surface few days / weeks after initial use. I don't really trust a new disk on my system until it runs for a couple of months. It will then run for years until it reaches end-of-life due to wear. I still suggest you try testing it with some programs like sysutils/smartmontools You did not mention the speed of you WAN connection, but FWIW I am running a webserver behind a 1Mbps/256Kbps ADSL line and response is good enough. SSH is definitely good enough to use in long vi sessions, with lengthy documents. The connection is something similar. Should be no cause for the slowness. Since it works fine on the LAN, you need to check the router though. Maybe some setting is slowing it down. Is it one of these cheap DSL routers? You may want to turn off various features on the router like firewalls, intrusion detections and so on (it goes without saying that you will secure your FreeBSD system instead) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Temporarily blocking ports
Chris wrote: On Nov 29, 2008, at 1:11 PM, Jos Chrispijn wrote: From your reply on my message of 29-11-2008 21:47: An even tighter practice is to turn off all password logins and use only keyed connections. This is easier than it might seem though I'll admit I think of ssh as something only a select number of users may use and thus you know them by name and what IPs they are permitted to connect on. I have been thinking of that as well, but don't think I should use that yet with the knowledge I have on this. Do you refer to manual of automatic key connections? It's extremely easy. Generate your key and spread it to all systems you want to connect to. Have other users generate their key and do the same. After everyone is set, turn off password access in /etc/ssh/sshd_config, that file contains the docs in comments on how to do this. You change three parameters. Then sshd will need to be restarted. Be sure logins by key work first. This implies how to set up your keys. This was lifted from a helpful page on the net and modified but is pretty basic. Creates the keys in home directory of myuserid on system www.example.com, then moving the key to a second system called other.example.com such that myuserid can move between systems. The userid on the remote does not need to be the same string as on the local system though it's shown that way here. www$ cd # get to your home directory www$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/myuserid/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/myuserid/.ssh/id_rsa. Your public key has been saved in /home/myuserid/.ssh/id_rsa.pub. The key fingerprint is: fingerprintshownhere [EMAIL PROTECTED] www$ ssh [EMAIL PROTECTED] mkdir -p .ssh Password: enter password here for other system www$ cat .ssh/id_rsa.pub|ssh [EMAIL PROTECTED] 'cat .ssh/authorized_keys' Password:enter password here for other system You are done setting up keys. Sample use of seamless login: www$ ssh other.example.com other$ host other.example.com other$ users myuserid ttyp0Jul 14 05:28 (www.example.com) other$ exit www$ I only use this on FreeBSD and OS-X. No idea on Putty and others. Can be used on Putty too. There are some small helper programs you can download along with Putty: - Puttygen: This will convert your key to a format that can be used by putty - Pageant: This works like ssh-agent. You simply supply the key, and it is automatically used in your Putty connections it works flawlessly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: custom kernel
PJ wrote: Michael Powell wrote: PJ wrote: [snip] Read carefully: uvscom.o (.text+0x293): In function 'uvscom_attach' ; :undefined reference to 'ucom_attach' etc. *** Error code 1 See further down at bottom. did I do something wrong? system is still on and functioning but how do I make the custom kernel? The canonical first thing to do is to see if your system will build GENERIC. If it does not you have done something to the OS. If GENERIC builds OK and your custom kernel config will not, there is something broken with your config file. Remember to cd /usr/obj and rm -rf usr or make clean first. Always clean out the stale leftovers prior to build. this is my kernel file: # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.7 2008/04/10 22:09:22 rwatson Exp $ I'm at home and only have two GENERIC conf files to look at. RELENG_7: # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.15 2008/11/24 00:52:26 yongari Exp $ RELENG_7_0: # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06 03:24:28 scottl Exp $ cpuI686_CPU identMYKERNEL # To statically compile in device wiring instead of /boot/device.hints #hintsGENERIC.hints# Default places to look for devices. [snip] # USB Serial devices #deviceucom# Generic com ttys [snip] deviceuvscom# USB serial support for DDI pocket's PHS [snip] Read the error message. It is failing to build uvscom because uvscom depends on #device ucom and you have ucom commented out. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Can't u;nderstand where this stuff came from... I normally had that stuff commented out. I even found the same error on the older, functional machine's kernel which had compiled correctly there was another error in that kernel at the very beginning - the SCHEDULE_4BSD was SCHEDULE_UNO or something like that.. but it was commented out...perhaps these glitches happened through some kind of accidental typos in vi Anywasy, I think that will fix things... thank you for the observations. Phil Jourdan Also, to avoid the next frustration: Either comment out options SCTP or, put back in: options INET6 or it will stop again :) Just a quick observation from reading your configuration file. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UPS Gembird 1200VA
Octavian Ionescu wrote: hi, i have received an Gembird UPS 1200 VA for one of the servers and i am trying to get it work. The main problem is that the cd came with a compiled aplication for linux and with linux_base-fc8 installed it does not detect it. the apcupsd does not recognize it either. is there a way to make this work under FreeBSD? #usbdevs -d addr 1: UHCI root hub, VIA uhub0 addr 2: UPS USB MON V1.4, ? ugen0 #uname -a FreeBSD bkvideo 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Tue Dec 9 11:23:41 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BKVIDEO i386 Thank you, I am not familiar with this model, but you could try sysutils/nut. It supports a large number os UPSes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Centralized DB of system users
Valentin Bud wrote: Hello list, I don't know if the Subject says what i really want to achieve but i do hope that i will make myself understood. I work for a school and i want to install in 2 labs on very low performance computers (1 Ghz CPU, 126 Mb RAM) some linux distro (zen walk). I *need* to install linux because there are some programs that need to run on those stations and guess what, they only work on linux. There are different students that use those computers and they change frequently. So i thought to make a server, using FreeBSD (of course), that has a database of users so the linux machines don't have local users but they query the DB to get login credentials and such. I don't really know what to look for. So any suggestion and hints to how can i achieve this are welcomed. thank you and a great day, v What you are looking for is called NIS: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nis.html However note it is not (unfortunately) interoperable between FreeBSD and Linux, although there is a setting (UNSECURE=true in /var/yp/Makefile of the NIS server) that works around this, albeit it lowers security. There are other solutions too (LDAP?) but NIS would be the easiest to setup. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB Flash Drives
fixer wrote: FreeBSD localhost 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 localhost# I just discovered flash drives. They are very easy to use on Windows. I don't know if FreeBSD supports these drives. But if FreeBSD does, I need instructions on how-to-use. Thanks in advance for anyone who can help. Bruce Have a look at these: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html Generally speaking, using an ms-dos (fat/fat32) formatted flash drive is as simple as this: - plug - get device name (probably da0) with dmesg |tail - mount as root in /mnt: mount -t msdofs /dev/da0s1 /mnt - Copy / move files etc - umount /mnt - unplug If you read the handbook section, you will also be able to setup your system for user mounting, so you won't have to mount as root. Another useful piece of info is this: http://www.freebsd.org/gnome/docs/halfaq.html With these instructions you can configure automounting in GUIs like Gnome (and XFCE and possibly others, as long as HAL is used) Bear in mind that no matter how you mounted the device, you will have to unmount it before physically removing it, otherwise you are in for a nasty surprise... ___ 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: Upgrade from FreeBsd 6.3 to 6.4 freebsd-update
Renat wrote: Hello! Can't upgrade from 6.3 to 6.4 with freebsd-update. webarchive# sh freebsd-update.sh -f freebsd-update.conf -r 6.4-RELEASE install No updates are available to install. Run 'freebsd-update.sh fetch' first. webarchive# sh freebsd-update.sh -f freebsd-update.conf -r 6.4-RELEASE fetch Looking up update.FreeBSD.org mirrors... none found. Fetching metadata signature for 6.3-RELEASE from update.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 6.3-RELEASE-p6. webarchive# sh freebsd-update.sh -f freebsd-update.conf -r 6.4-RELEASE upgrade Looking up update.FreeBSD.org mirrors... none found. Fetching metadata signature for 6.3-RELEASE from update.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata files... failed. --- I probe with manual: Upraded stoped with error. If I download manually 1 have a No updates needed to update system to 6.3-RELEASE-p6. Thanks Renat. If you are starting from FreeBSD 6.3, why are you using the add-on freebsd-update.sh ? The base system freebsd-update in 6.3 can handle upgrades to newer releases. Please follow the instructions here, using the freebsd-update utility that comes with the system (section 26.2.3): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-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: Centralized DB of system users
Michel Talon wrote: Lowell Gilbert wrote: NIS, which stands for Network Information Services, was developed by Sun Microsystems to centralize administration of UNIX (originally SunOS) systems. It has now essentially become an industry standard; all major UNIX like systems (Solaris, HP-UX, AIX(R), Linux, NetBSD, OpenBSD, FreeBSD, etc) support NIS. I work i am in a mostly Linux shop managed by NIS. However my machines are under FreeBSD and i have no problem getting the NIS info. The only gotcha is that, under Linux you have 2 files for passwds /etc/passwd and /etc/shadow, while under FreeBSD you have just one /etc/master.passwd. So you need to run NIS in compatibility mode on the Linux server, so that passwd and shadow are concatenated. Securitywise it is the same since in any case the shadow information flows on the wire, ready to be captured by a scannner. Yes, but running the NIS server in UNSECURE=true mode also allows local users on NIS workstations to access the password hashes. It is essentially the same as running a local machine with world read access to master.passwd. Your only defense then would be very strong passwords that would not be breakable by something like i.e. jack the ripper. I bet most people would prefer not to rely on 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
Re: Upgrade from FreeBsd 6.3 to 6.4 freebsd-update
Renat wrote: Yes. I try . But not worked!! - webarchive# freebsd-update -r 6.4-RELEASE upgrade Looking up update1.FreeBSD.org mirrors... none found. Fetching metadata signature for 6.3-RELEASE from update1.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata files... failed. I probe you solution change change server from update.freebsd.org to update1.freebsd.org Not worked((( What's is is the Bug on the FreeBSD servers? Nothing wrong on the FreeBSD servers, AFAIK. I remotely upgraded two 6.3 servers to 6.4 just yesterday There must be something on your end or your ISP that causes 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
Re: Wireless router?
Nerius Landys wrote: I have a PC with FreeBSD set up as a router (NAT). The PC has several network cards and I'm grouping the internal-facing network cards as a bridge (promiscuous mode for the interfaces). Everything works well. Now I'd like to extend my wired network to include wireless. I really have no experience with wireless networks. I have a couple of computers that are wireless-ready (a laptop and a Playstation 3 that I won in a raffle). Is it possible to somehow add some hardware to my FreeBSD router PC to make it into a wireless router? What kind of hardware would I install? What is it called? The PC only has PCI slots, can you recommend a brand and model of wireless server equiptment if such a thing exists? Would a normal wireless card suffice? What model should I get? Yes, a supported Wireless net card would suffice. It can be configured to work in Access Point mode, essentially what a cheap wireless router would. Instructions in section 32.3.5 here: http://www.freebsd.org/doc/en/books/handbook/network-wireless.html While I haven't used FreeBSD in this mode, from my experience atheros-based (ath(4)) cards work well. I have no less than three Dlink DWL-G520 cards and never had any problems. This is a rather older model now, newer atheros cards may need a newer HAL than the one currently in the source tree (e.g. the Aspire One uses a newer atheros, and needs a custom kernel with some of the original files replaced. I believe -CURRENT has the newer HAL though). I recently also got a Linksys WMP 54G that is based on a Ralink chipset (ral(4)). This also works nicely. I would prefer to set up static internal IPs for my wireless network at home, would this be possible? Sure. I am using static IPs in all my wireless clients. Or is DHCP the way to go (I hesitate at the thought of configuring a DHCP server). Configuring a DHCP server is very easy. I've only used it with wired ethernet though. Have a read at this: http://www.freebsd.org/doc/en/books/handbook/network-dhcp.html Another way to go is to hook up a standalone wireless router appliance to my FreeBSD machine's network interface (one of the interfaces). I already have such a device, I think it's made by Linksys. But then, I would be NAT'ing both through the FreeBSD machine and through the wireless router. So it would be a double-NAT so to speak. Is there anything wrong with that approach? I've used something similar and it worked. Don't know about possible drawbacks, cause it was only a toy for me. My setup was something like this: Wireless standalone router (built in NAT) -- FreeBSD system as wireless client of the router + wired ethernet card -- FreeBSD NAT using pf / ipfw -- Wired internal ethernet (with DHCP server) -- Wired client(s) So I guess your approach is also possible. So in a nutshell, I have a wired FreeBSD router with multiple ethernet jacks at home, and I want to extend it to include wireless network. Any suggestions would be appreciated. Thanks. Probably multiple solutions exist, start up by buying a cheap but supported wireless card. ___ 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: Going back to generic kernel
Zbigniew Szalbot wrote: Hi friends, I have a test machine with a custom kernel, which I copied (as the handbook suggests) to /root/kernels/. However, I do not really need it. My question is how do I switch back to the generic kernel? Many thanks and all the best to you all! If you don't have a copy of your previous GENERIC kernel, you can still get one from the CD. Here is an example, using a FreeBSD 7.0-RELEASE CD: # mount /cdrom # cd /cdrom/7.0-RELEASE/kernels # ./install.sh GENERIC This will install it to /boot/GENERIC and you can copy it to /boot/kernel if you wish. Or you can use nextboot(8) to boot it once and see what happens. Keep in mind that if you have updated your system (e.g. freebsd-update), this kernel may not be in sync with the rest of the system. ___ 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: The booting process stops at the line mounting root ufs /dev/md0
Xrhstaras wrote: The booting process stops at the line mounting root ufs /dev/md0 (Starting with the option for no acpi ) We really need more info to be able to help you... Is this booting off from the CD? What version of FreeBSD? Any specific reason you are booting without ACPI? What is the make/model of your motherboard? ___ 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: Optimising NFS for system files
Bernard Dugas wrote: Wojciech Puchar wrote: nfsserver# time tar -cf - clientusr-amd64 /dev/null 5.001u 12.147s 1:23.92 20.4%69+1369k 163345+0io 0pf+0w client9# time tar -cf - /usr /dev/null tar: Removing leading '/' from member names 3.985u 19.779s 4:32.47 8.7% 74+1457k 0+0io 0pf+0w Note : clientusr-amd64 is around 1.3GB and is the same directory exported to client9 /usr with nfs. it's FAST. what's wrong? First thing that may be wrong is the understanding of the time figures. The documentation is not clear about them and the -h option is not working : client6# time -h tar -cf - /usr /dev/null -h: Command not found. 0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w Just a sidenote, you are probably getting a version of time integrated to your shell. The -h option works fine in /usr/bin/time, so run like this: client6# /usr/bin/time -h tar -cf - /usr /dev/null ___ 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: 7.0 7.1 update problem
Zbigniew Szalbot wrote: Hello, Thanks for FreeBSD. I am trying to update FreeBSD 7.0-RELEASE-p7 (GENERIC) #2 to 7.1-RELEASE. Here are the steps I am performing: 1. freebsd-update -r 7.1-RELEASE upgrade I get: The following components of FreeBSD seem to be installed: kernel/generic src/base src/sys world/base world/dict world/doc world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: src/bin src/cddl src/compat src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/tools src/ubin src/usbin world/catpages Does this look reasonable (y/n)? Y Fetching metadata signature for 7.1-RELEASE from update1.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 7.0-RELEASE for merging... done. Preparing to download files... done. Fetching 17792 patches. Then it asks me about files in /etc/ which were modified. I install newer versions and change some entries if needed. Save and exit vi when it is all finished. 2/ cd /usr/src/ 3/ make kernel KERNCONF=GENERIC 4/ shutdown -r now The system is up and geuss what - it is still FreeBSD 7.0-RELEASE-p7 (GENERIC) #2. I repeated the whole procedure (didn't have to download the 17792 patches though) and restarted once again - but got the same effect. A slight hint. I am sure I modified and saved /etc/ssh/sshd_config file but its modify date is from 2008. So I am probably doing something wrong there... I put the entries (for example a non-standard ssh port number), press Esc, then : and finally wq. Can you help by suggesting where to go from here? Many thanks! Hi Zbigniew During the first run of freebsd-update, the sources for the kernel are not yet installed. Please follow the exact procedure described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html (Section 24.2.3 onwards) This was recently updated to cater for people with custom kernel. On the other hand, if you intend to use GENERIC as shown above, you don't need to recompile 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
Re: 7.0 7.1 update problem
Odhiambo Washington wrote: On Wed, Jan 7, 2009 at 4:04 PM, Manolis Kiagias sonic200...@gmail.com mailto:sonic200...@gmail.com wrote: Zbigniew Szalbot wrote: Hello, Thanks for FreeBSD. I am trying to update FreeBSD 7.0-RELEASE-p7 (GENERIC) #2 to 7.1-RELEASE. Here are the steps I am performing: 1. freebsd-update -r 7.1-RELEASE upgrade I get: The following components of FreeBSD seem to be installed: kernel/generic src/base src/sys world/base world/dict world/doc world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: src/bin src/cddl src/compat src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/tools src/ubin src/usbin world/catpages Does this look reasonable (y/n)? Y Fetching metadata signature for 7.1-RELEASE from update1.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 7.0-RELEASE for merging... done. Preparing to download files... done. Fetching 17792 patches. Then it asks me about files in /etc/ which were modified. I install newer versions and change some entries if needed. Save and exit vi when it is all finished. 2/ cd /usr/src/ 3/ make kernel KERNCONF=GENERIC 4/ shutdown -r now The system is up and geuss what - it is still FreeBSD 7.0-RELEASE-p7 (GENERIC) #2. I repeated the whole procedure (didn't have to download the 17792 patches though) and restarted once again - but got the same effect. A slight hint. I am sure I modified and saved /etc/ssh/sshd_config file but its modify date is from 2008. So I am probably doing something wrong there... I put the entries (for example a non-standard ssh port number), press Esc, then : and finally wq. Can you help by suggesting where to go from here? Many thanks! Hi Zbigniew During the first run of freebsd-update, the sources for the kernel are not yet installed. Please follow the exact procedure described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html (Section 24.2.3 onwards) This was recently updated to cater for people with custom kernel. On the other hand, if you intend to use GENERIC as shown above, you don't need to recompile anything. Hello Manolis, I don't use freebsd-update myself. I still use csup and the long procedure, but I have a question on the GENERIC kernel. You say he does not need to recompile anything? Does that mean freebsd-update pulls in a new GENERIC kernel based on the latest source tree? Yes, freebsd-update will automatically update a GENERIC kernel if it is installed in /boot/kernel or /boot/GENERIC. It will simply download a new precompiled GENERIC kernel for the version you are upgrading. ___ 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: 7.0 7.1 update problem
Zbigniew Szalbot wrote: First of all - thank you Manolis! On Wed, Jan 7, 2009 at 14:23, Odhiambo Washington odhia...@gmail.com wrote: I don't use freebsd-update myself. I still use csup and the long procedure, but I have a question on the GENERIC kernel. You say he does not need to recompile anything? Does that mean freebsd-update pulls in a new GENERIC kernel based on the latest source tree? Based on what I have NOW read :) (but should have studied ealier), I do not think I need to compile a generic kernel. If the system was running with a custom kernel, use the nextboot(8) command to set the kernel for the next boot to /boot/GENERIC (which was updated): I hope I am not wrong again... Thanks! If you had a /boot/GENERIC directory, then it was upgraded. If not, and you already compiled a kernel yourself before the second freebsd-update install you still have a 7.0 kernel. But after you run freebsd-update install for the second time the sources are updated anyway, so you can build the kernel of your choice ___ 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: MD5sum mismatch
Richard wrote: Hi to all the members of the List. I am new to this list. But not new to FreeBSD. Twice I have tried to download 7.1 i386 dvd1 iso from 2 different ftp servers. But I am getting a totally different md5sum from the one listed in the website or ftp sites. Am I getting the right one?. The downloaded file for sure is not corrupt. Because I can unzip it,mount it and view the contents in it. Did anyone see the difference. The md5sum that I am getting is: 7d56d43359d7b7e05c0d450bafb4c8fa 7.1-RELEASE-i386-dvd1.iso.gz (md5sum) You've taken the md5 of the compressed gz file 64e8fe534e2e185d1f897bb742e06a1aae830f2978cb6b8c339977460fd6dfd6 7.1-RELEASE-i386-dvd1.iso.gz (sha256sum) The md5sum that is listed in the website is : MD5 (7.1-RELEASE-i386-dvd1.iso) = bbb47ab60bda55270ddd9ff4f73b9dc8 This refers to the md5 of the uncompressed file SHA256 (7.1-RELEASE-i386-dvd1.iso) = 303be4ce844f0cb18aa38a41988dc5fba960427dbc c69263410308176cb5875f Can anyone please confirm whether I am getting the right one. You are getting the right one, simply decompress before checking, i.e. gunzip 7.1-RELEASE-i386-dvd1.iso.gz md5 7.1-RELEASE-i386.dvd1.iso ___ 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: Anybody using Lenovo S10? [ Model Correction ]
ec...@casasponti.net wrote: Quoting ec...@casasponti.net: I bought a Lenova S10 for my wife. It comes with WindowsXP and while configuring it for her I found it to be a nice, new generation laptop. I liked it well enough to consider buying another for me and installing FreeBSD but I would like to see what works and doesn't work. Link because of the original subject error [Lenovo S110 rather than the correct S10. Sorry. http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:category.details?current-catalog-id=12F0696583E04D86B9B79B0FEC01C087current-category-id=D4B2E83FADD74C9F8BBA5B276072AD8C Any comments or suggestions appreciated. ed According to the link, it has a broadcom wireless, which I believe will be a 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: Cannot install php5-gd!!!
perikillo wrote: Hi people. I want to install some ports that depends this module php5-gd (phpmyadmin example), I update my ports every day, but I still getting this error: bacula# pwd /usr/ports/graphics/php5-gd bacula# make install clean === php5-gd-5.2.8 has known vulnerabilities: = php5-gd -- uninitialized memory information disclosure vulnerability. Reference: http://www.FreeBSD.org/ports/portaudit/58a3c266-db01-11dd-ae30-001cc0377035.html = Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/graphics/php5-gd. *** Error code 1 Stop in /usr/ports/graphics/php5-gd. I have been trying today, but no success, someone knows anything about this? FreeBSD 6.1-p21 Thanks for your support!!! Well, it seems it suffers from an unpatched vulnerability. You can still install it if you really want to, using stg like: make install clean -DDISABLE_VULNERABILITIES but whether it would be wise to do so, is definitely questionable. ___ 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 users on buildword
E. J. Cerejo wrote: I just upgraded freebsd to 7.1 release and I think I messed up using mergemaster because I lost my users, I backed up /etc before I buildworld. Is there a way to recover this now? Sure. Compare your current /etc/master.passwd and /etc/passwd to your backups. Merge any new changes to your backups, restore them to /etc and run pwd_mkdb /etc/master.passwd ___ 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: Newbie: offline package use / XFCE.
Thomas W. Holloway wrote: Greetings from newbie land. I have what I hope is a simple question about using packages offline, with particular reference to XFCE if that matters. I am not so much asking how do I do this? as I am Do I understand this correctly? I have read the appropriate sections of the Handbook, Lehey's _Complete FreeBSD_ (both paragraphs :) ), and Lucas' _Absolute FreeBSD (2nd ed.). I have googled and done some searching of this list's archives, and couldn't tease the answer out of them. As you will see, it would be a LOT of work to just try it, so I don't feel too bad about asking before diving in. I would like to install XFCE on a FreeBSD 7.1 box that is and will remain (for now) offline. No network connection at all. If I have read correctly, this means downloading the appropriate package(s) and using pkg_add. So far, so good (I haven't done it, but it seems clear enough). The package for XFCE4, as listed here http://www.freebsd.org/ports/xfce.html is a meta-port (I believe I understand the idea), which seems to have about one hundred (100) dependencies. Of course, some of those will have dependencies of their own, and so on. My question is this: In order to download/ftp the package for XFCE4, I would have to obtain all hundred (or so) of the listed files _and_ any dependencies they may have so as to point pkg_add at them locally. Is this correct? In short, yes. And this will be quite difficult to get right. *Unless* the machine you actually use to get the packages is also running FreeBSD. You could then pkg_add -r xfce4 on it and then recreate all the required packages and transfer them to the target machine. To recreate the packages: # cd /usr/ports # mkdir packages # cd packages # pkg_create -Rb xfce-x.y.z (hint: use pkg_info -Ix xfce to get the exact name of the xfce metaport to use with pkg_create) The same applies also if you decide to build xfce from Ports. You could still create packages in the same way. Simply copy the packages to a CD or USB drive, and pkg_add on the target machine (note you will not use '-r' on it as all the packages are local) If not correct, what have I missed (a pointer to what I've missed should be sufficient). I've also looked at it from the XFCE side, where there is a nice, detailed doc by Benedikt Meurer, here http://www.os-works.com/documentation/xfce-installers/4.2.1/xfce-installer/ This document refers to an older version of XFCE and may not be applicable to the current one. I've never used this, I definitely prefer to build my own packages from the official port. This strongly implies that I can bypass the pkg_add procedure entirely. Might be worth trying, but I'd still like to know if I've understood what the package listing above is saying. Editorial comment and/or general advice on XFCE is not unwelcome. It's just secondary to the question. XFCE is nice, I've been using it on almost all my FreeBSD desktops. It is a no frills desktop. The default look is somewhat blunt, but it is easy to customize to taste. I also usually install ristretto (picture viewer) thunar-volman-plugin (for mounting USB drives etc) and a few other xfce utilities. It compiles rather quickly on my humble Pentium IV. As a side note, I have a machine specifically for building packages and it just happens that I finished a complete build run today (for FreeBSD 7.1 32bit). This includes XFCE, Xorg, Gnome + power tools + fifth toe, KDE4 (4.1 actually) and few other things. More than 1.5G of packages. I could possibly upload just the XFCE + dependencies packages somewhere so you can download them and use them. Contact me directly if you wish to go down that route. ___ 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: dummies version of dummies to setup printers in freebsd
Warren Liddell wrote: i have a cannon pixma ip1000 and i have tried various ways to set it up so i can print using methods found through google, but so far nothing has had success, so id like to know if there is an idiots guide to the dummies version of trying to setup a printer to work cause im in desperate need of step by step instructions to get it goin. AFAIR, this is one of the difficult to get working models in FreeBSD (or linux for that matter). CUPS does not support it directly (it is a 'winprinter'). Canon has a linux driver here: http://software.canon-europe.com/software/0022414.asp?model= and this can probably be adapted (if if contains a PPD for CUPS) but this may not be the easiest task. Other than that, I always found the following wiki entry in desktopbsd.net easy to follow for a successful CUPS setup: http://desktopbsd.net/wiki/doku.php?id=doc:printing ___ 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: Newbie: offline package use / XFCE.
Thomas W. Holloway wrote: On Tue, 20 Jan 2009 18:16:45 -0500, Manolis Kiagias sonic200...@gmail.com wrote: As a side note, I have a machine specifically for building packages and it just happens that I finished a complete build run today (for FreeBSD 7.1 32bit). This includes XFCE, Xorg, Gnome + power tools + fifth toe, KDE4 (4.1 actually) and few other things. More than 1.5G of packages. I could possibly upload just the XFCE + dependencies packages somewhere so you can download them and use them. Contact me directly if you wish to go down that route. Let me take this opportunity to express my sincere thanks to Mr. Kiagias for his (offline) assistance with this. In the process, we seem to have uncovered a small bug: pkg_add -n apparently does not check properly for _local_ dependencies. Being a newb, I leave any bug reporting to Mr. Kiagias. Thanks again to Mr. Kiagias and the list. regards, Tom Holloway Thanks Tom. Problem report submitted already! ___ 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: .ape extension
Mel wrote: On Monday 26 January 2009 13:39:19 Wojciech Puchar wrote: is it any decruncher for unix for this format (it's compressed audio CD, from size i think it's kind of lossless compression) # cd /usr/ports/audio # grep -l APE */pkg-descr gnormalize/pkg-descr optimfrog/pkg-descr p5-Audio-Musepack/pkg-descr py-apetag/pkg-descr py-musepack/pkg-descr py-mutagen/pkg-descr py-tagpy/pkg-descr soundconverter/pkg-descr And audio/aqualung as well. ___ 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: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE
Zbigniew Szalbot wrote: Hello, On Thu, Jan 29, 2009 at 10:40, k...@snaffler.net k...@snaffler.net wrote: After installkernel finishes successfully, you should boot in single user mode (i.e. using boot -s from the loader prompt). How can this be done with a remote machine? NO without serial access or some kind of ALOM card eg DELL DRAC CARD, as you will have no ip up Then correct me if I am wrong but if I do not have such a card, then I am better off using freebsd-update since it does not require me to boot in single user mode? Thanks! Yes, freebsd-update does not require single user mode. Just follow the updated handbook instructions: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html#FREEBSDUPDATE-UPGRADE As an additional precaution, edit the /etc/rc.conf file and comment out all non essential services when rebooting with the GENERIC kernel in the intermediate step (assuming you were using a custom kernel). Re-enable them when you rebuild your custom kernel. ___ 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: [Fwd: Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE]
Akenner wrote: Hi, I've continued reading to keep myself updated with info used, and I have a few questions about what I've seen about freebsd-update: I've read not to use FreeBSD-update AND cvsup together, and so I've decided to go along with this as to not cause problems for myself. Does FreeBSD-update have any benefit over the cvsup method? I've heard you don't have to go single user and a few other things, but does it have any actual benefit? Thanks, -Allen You don't have to recompile anything (can be lengthy esp. on older machines), the mergemaster step is usually a lot simpler and less tedious. Very useful for people tracking RELEASE and the security branch. You still need csup / cvsup to track STABLE or CURRENT though. ___ 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: APC PowerChute on FBSD
bsd wrote: Hello, I am trying to see if someone has already configured an APC PowerChute software on FreeBSD. There is a linux version, I was just wondering how to set It up on BSD and if anyone has successfully installed such soft… I have installed a BSD box in Angola in unstable electrical conditions, and I am afraid the server will be rebooted the hard way quite often (without any warning) if I don't use this kind of soft… Thanks for your help. Use the sysutils/apcupsd port. I am using it on all my FreeBSD servers (and linux boxes actually) and never had any problems. Works with both USB and serial models. ___ 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: Patching / Updating / Upgrading
Akenner wrote: Hello all, I've been using this list to my advantage for a while to learn things I can't seem to grasp, and I've gotten great amounts of help. I have a question in regards to the process of patching / Updating / Upgrading I'd like a hand with. I have two machines running FreeBSD 7.1-RELEASE and I'd like to make sure I've got security fixes on my test machine. I'm saying test amchine because the box I'm typing this from is an active needed desktop system I'm using for a lot of things right now, and I figured my best bet would be to set up another machine with a similar installation set so I could test out new ideas on that instead of risking breaking something on this one. Definitely a good idea, if you have machines to spare. Anyway, I've been reading up on the CVS idea and asking things about freebsd-update, and I guess my question is more along these lines: If I wanted to just make sure I've got bug fixes and security patches, would CVS or FreeBSD-Update be best for this? Or are they both good for this? I know in the Unix world there are generally a lot of things that do one thing very well but can generally do other things too. For getting just the security fixes for your -RELEASE version, freebsd-update is by far the easiest way to go. Only thing you need to do is run: # freebsd-update fetch # freebsd-update install These can even be combined into one: # freebsd-update fetch install Depending on whether a new kernel was installed, you may or may not have to reboot. (it is easy to see on the messages whether a new /boot/kernel/kernel file was installed). If you are using a custom kernel, the process is slightly more involved: Every time the updates touch the kernel, you will have to rebuild your custom kernel. If you know nothing on custom kernels (yet) you are running GENERIC and you just need the above procedure. For details, please refer to: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html (esp. sect 24.2.2) I'm reading on CVS right now and it seems I could use this to keep the machine updated, but I'm having some issues understanding the idea of how it works. Basically, if I'm running 7.1-RELEASE, isn't that already the updated version? Or, have I maybe misunderstood something, and the tree RELEASE for 7.1 has bug fixes and security patches added to it, and I could CVSup to the newest release of 7.1 ? 7.1 is the latest RELEASE. Although new feature will not be added into it, you could use csup/cvsup to get the security fixes. These would be the same as the ones you can get (without recompiling anything) with freebsd-update as described above. If you really wish to track a development version of FreeBSD, you can use CVSup to get 7-STABLE (this is the continuing development branch, based on the work of 7.1. In the future, developments from this branch will get us to 7.2-RELEASE). Or, if you are really adventurous, you could try running -CURRENT (which will in time become FreeBSD 8.0-RELEASE). More info is here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html If you just need the security updates for 7.1-RELEASE, freebsd-update is really the painless way to go. But CVSup can also do it, and it will be a nice exercise ;) Also, FreeBSD-update came across my reading, and it seems to be similar to swaret in the Slackware world. I know it isn't the same thing as BSD seems much more source based than other OSs, but I would like to get at least one of the ways to keep updated picked out, and started using on the test machine to make sure I fully understand it before using it to update my main box. Go ahead and use it on your main system. Freebsd-update is safe (you can even rollback the updates if need be). As I said, unless you are running a custom kernel (and you are not probably), this is just two commands. And there no other settings needed beforehand. One of the things I did was make two copies of the example CVS standard supfile; one I made in that directory as standard.bak and then I copied a copy of it to the /root directory to look at and maybe edit as well, but as I said, I could use a hand in deciding which option is going to work best. If you decide to go the CVSup way for the security fixes, you would need to make sure you have this line: *default release=cvs tag=RELENG_7_1 (This is already in the standard supfile normally) To move to 7-STABLE, you would need to change it to: *default release=cvs tag=RELENG_7 (You will find this in the sample stable-supfile) Then, follow the instructions in chapter 24. If you are getting confused with the many different possible tags, this will probably make them clear: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html So if anyone could lend a little but in typing out what they use for updates and how they go about it, I'd appreciate it. I've already gotten a full CVSup file
Re: Image size manipulation
Doug Hardie wrote: I am looking for a port that would take an image file (preferably and image format) and convert it to JPEG at a specified pixel size. I couldn't find anything in the ports that appears to provide this capability. If needed I would settle for requiring JPEG input format. You are looking for graphics/ImageMagick. This provides a 'convert' command that does lots of image file manipulations. ___ 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: GEOM_JOURNAL on a 550G partition - opinions ?
Hugo Silva wrote: Hi list, For a server I will be setting up, I am considering using gjournal on the partition that will hold all the www data. The journaled partition (mounted async) would be mostly read from, uploads would not be very frequent and most sites wouldn't write to the disk. Logs would be kept elsewhere. This server will have two hard disks, mirrored (gmirror) at the disk level. Here are my questions: - Will the fact that gmirror is underneath the journal (/dev/mirror/gm0s1f.journal) affect performance ? (either positively or negatively) (* I would be keeping the journal in the same provider) I can only tell you this works. Have not done any real measurements on this stuff, as most of my systems are normally not under high load. I've done this for a friend's SAMBA server, who is storing very large photo files all the time. In fact, I am just preparing our local LUG server in exactly this way. At least in theory gmirror can be set to balance (round-robin) reads from the disks, so read should be improved. On the other hand, the journaling implementation in gjournal writes everything twice, so expect to have some significant overhead there. Ivan Voras has done some performance testing on several filesystems, including UFS with soft updates and journaling. See the results in this post: http://lists.freebsd.org/pipermail/freebsd-questions/2008-December/188131.html - Would reads / writes be faster? considerably faster ? (gjournal) I've seen different numbers from different places, the impression I got is that reads should be faster while writes will be substantially slower - is this correct ? It seems so, at least for the writes. - What about reliability ? From the manpage, I know that if I journaled the entire mirror, I would not need to sync it after an unclean shutdown. Going from the assumption that this will not be so for a single journaled partition, will there be any interference between gjournal and gmirror ? I haven't had any reliability problems combining gmirror and gjournal. To my experience, gjournal syncs the gmirror almost instantly after an unclean shutdown. - I've never had an UFS2 partition filled with more than 200G of data, so I am not sure what to expect for 550G with soft-updates (I expect this partition to hold close to 550G of data) - real numbers about this would also be helpful. Any personal experiences concerning gjournal or gmirror+gjournal are greatly appreciated! As I said, I've been using both (and combined) for quite some, and haven't faced any problems caused by the software. I even recovered from a serious hardware problem, without losing any data. For performance measuring I guess you would have to setup a test system and see by yourself if it is acceptable. ___ 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: edit users quota in a script
Nicolas Letellier wrote: Hello. I use a script to create automatically my users (with pw, and mkdir, etc...). I use quota, and I have to excute 'edquota -u user', and enter quota informations. So, the process can not be automaticated. And cannot be part of my script. I don't find informations in edquota(8) manpages about editing user quota without open a file. Is an other solution exists? I'm looking for a solution in command line (for my script). Regards, The edquota(8) command accepts a '-e' option that allows it to set quotas non-interactively. Try man edquota again. ___ 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 erase a DVD-RW
Gary Kline wrote: iS there an easy way (by cmd-line) to erase a used DVD-RW? I tried K3B and can't figure out where to click! tia, gary Try something like dvd+rw-format /dev/cd0 -blank dvd+rw-format comes with sysutils/dvd+rw-tools (you probably have it installed already). ___ 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: Command line video player
Mehul Ved wrote: On Sat, Feb 21, 2009 at 4:36 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: install FreeBSD 7 How do I upgrade to FreeBSD 7? Use ports? No. Strictly speaking, you would have to obtain the sources for 7.1-RELEASE and rebuild the base system. This is described in Chapter 24 of the FreeBSD Handbook. However, you wouldn't want to do any of this on a P1 90. Just download the CD/DVD and reinstall from scratch. As far as video playback on a P1 90, I doubt you will accomplish much. ___ 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: No mirrors remaining, giving up. when trying to update(minor or version )
paljibus wrote: Helo gurus, my system is: FreeBSD cvs2.abvent.fr 7.0-STABLE-200806 FreeBSD 7.0-STABLE-200806 #0: Mon Jun 2 18:36:08 UTC 2008 [1]r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 cvs2# I installed that half-year version of FreeBSD 7, and I get in trouble when updating: it says: cvs2# freebsd-update fetch Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching public key from update1.FreeBSD.org... failed. Fetching public key from update2.FreeBSD.org... failed. No mirrors remaining, giving up. cvs2# It seems my key is bad, because I installed a 7+ version? where is my key? any idea? References 1. mailto:r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC You can't use freebsd-update, unless you are running a -RELEASE version. You will have to recompile from source to update this system: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html (relevant section: 24.5.2) Using RELENG_7_1_0_RELEASE as the tag in the method above will get you 7.1-RELEASE, and you can then start using freebsd-update. (You can also use RELENG_7_1 which will get you 7.1-RELEASE plus latest updates) ___ 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: flashplugin9?
Gary Kline wrote: Guys, If I stick with FreeBSD as my main desktop, I want firefox and flashplugin-9. So far, no joy. I have firefox2, and when I try to pkg_delete, I find gnome2 is just one of the dependicies. linux-flashplugin-9 is installed as well as the pluginwrapper ports, but still YouTube won't work. Is there an all-linix port or set of ports to use? Or is there another way of getting both audio+video? gary Don't pkg_delete firefox2, just install www/firefox3 alongside it. graphics/gnash-devel works mostly ok for youtube. Just a quick note, firefox3 uses /usr/local/lib/firefox3/plugins as the plugins directory, while firefox2 uses /usr/local/browser_plugins. You will probably have to symlink files from this directory to the new one for the plugins to work. ___ 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 can I see all of error messages about server's situation in a log file ?
Yavuz Maslak wrote: I use freebsd7.1-release. Sometimes, when I monitor my server on the monitor, I see some messages which are about inform, warning or kernel messages. But I couldn't see these messages in /var/log/messages. How can I do that ? What do I need to set to this ? Edit /etc/syslog.conf You will some commented out entries like: #console.info /var/log/console.log Remove the hash, restart syslog (/etc/rc.d/syslogd restart) and these messages will get stored in /var/log/console.log ___ 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: Please, recommend CPU and RAM burn test
Vasadi I. Claudiu Florin wrote: Hello! I need to really heavily test a box with 8 cores and 16GB FBDIM RAM. Is there a suitable port for such task? I'd like to point out that i don't want to measure perfomance. I need to really really heavily load the server up to it's maximum. well, not quite a port but there is a CD called Ultimate Boot CD with an app called pc-check if I remember correctly that really streses your RAM, CPU, MOBO, CD/DVD unit, etc. You could also try sysutils/cpuburn and math/mprime (in torture mode) ___ 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: [6.3] MySQL server doesn't start
Gilles wrote: Hello I successfully updated the Ports collection to compile MySQL 5.1.22, but even after updating /etc/rc.conf, the server doesn't start but doesn't say why: == # pkg_version -v | grep -i mysql mysql-client-5.1.22needs updating (port has 5.1.30) mysql-server-5.1.22needs updating (port has 5.1.30) == # cat /etc/rc.conf #BAD? mysql-server=YES mysql_server=YES == [r...@freebsd ~/www]# ps aux | grep -i mysql root 52112 0,0 0,1 468 336 p4 R+ 18:15 0:00,00 grep -i mysql == # /usr/local/etc/rc.d/mysql-server start [r...@freebsd ~/www]# /usr/local/etc/rc.d/mysql-server status # == There no information in /var/log/messages either. Any idea what I could try to investigate is going on? Thank you for any tip. The /etc/rc.conf variable should be: mysql_enable=YES It will start then ;) ___ 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: issues in XFCE 4.6
Keith Seyffarth wrote: On freebsd 6.0, I upgraded XFCE from 4.4 to 4.6 last night. When I started X this morning, and went to follow these instructions from the UPDATING file: Make sure to switch as well to the Tango theme. To do this just open the Settings Manager and select Appearance. Inside the Appearance dialog switch to the Icons tab and select the Tango entry in the list on the left side of the Icons tab. I discovered that the menu from the panel does not work in 4.6. Is there something else I have to install or update (or reconfigure) to get this available? I also figure I may as well ask now, but in 4.4 there was not an option for Appearance in the Settings Manager. Should this have been installed in 4.6, or is there something else I need to install? I don't see anything that looks like an error in Xorg.0.log. Thanks, Keith S. Did you follow the rest of the instructions for xfce 4.6 in UPDATING? There are a few ports to deinstall, preferably before upgrading. A little problem with that: after having the ports tree updated I could not simply make deinstall them, as the old port directories were no longer present. I could use stg like pkg_delete, but in the end, I preferred using pkg_rmleaves and remove the entire xfce4.4 related ports (including the libs, mousepad, Thunar and a few add-ons) and just installed 4.6 afterwards. It all works fine. The following is a list of the xfce related ports (minus some extra add-ons) in my system. Check whether you are missing something: Thunar-1.0.0XFce 4 file manager gtk-xfce-engine-2.4.3 An XFCE engine for GTK 2.0 libexo-0.3.100 Terminal library, extensions to Xfce by os-cillation libxfce4gui-4.6.0 XFce 4 widget library required by xfce4 and xfwm4 libxfce4menu-4.6.0 XFce 4 library for a freedesktop.org compliant menu impleme libxfce4util-4.6.0 XFce 4 library with non-graphical helper functions mousepad-0.2.16 Simple xfce editor orage-4.6.0 A calendar application to manage your time with XFce 4 xfce-4.6.0 The meta-port for the XFce 4 desktop environment xfce4-appfinder-4.6.0 Find application in the system supporting Desktop entry for xfce4-conf-4.6.0XFce 4 configuration mananger xfce4-desktop-4.6.0_1 XFce 4 desktop background manager and root menu xfce4-mixer-4.6.0 XFce 4 volume mixer module for xfce4-panel xfce4-panel-4.6.0 XFce 4 panel module xfce4-print-4.6.0 XFce 4 graphical frontend for printing xfce4-session-4.6.0 Session manager for the Xfce 4 desktop environment xfce4-settings-4.6.0 XFce 4 settings application xfce4-utils-4.6.0 XFce 4 essential utilities and scripts xfce4-wm-4.6.0 XFce 4 window manager xfce4-wm-themes-4.6.0 XFce 4 window decoration themes for xfwm4 ___ 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: issues in XFCE 4.6
Keith Seyffarth wrote: snip longer present. I could use stg like pkg_delete, but in the end, I preferred using pkg_rmleaves and remove the entire xfce4.4 related ports I wasn't able to find pkg_rmleaves, so I tried pkg_delete on all the related packages I could find. Well, pkg_rmleaves is a port itself. It's in ports-mgmt/pkg_rmleaves (including the libs, mousepad, Thunar and a few add-ons) and just installed 4.6 afterwards. It all works fine. after installing again, I'm still in the same boat. The screen resolution is too fine to make it usable, the menus are missing, and (as expected) many icons are missing. Please make sure these ports are installed: x11-themes/gtk-xfce-engine x11-themes/icons-tango-extras It looks like once you start down the (mislead?) path of upgrading to 4.6, there is no going back to a working version, so I need to get this one working. Since the XFCE menu is not supported in 4.6 yet, is there a file I can edit to get the screen resolution and refresh rate set correctly (important), and to switch the theme (much less important). Keith I am afraid I can do both in my install from the XFCE menu. (Settings = Display and Settings = Appearance) I don't know why you are not getting the menus. Could you try creating a new user account and see if it works? It could be something wrong in your dot files. I've got another system with XFCE that I will be upgrading tonight - I'll let you know if it works out differently. ___ 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: issues in XFCE 4.6
Keith Seyffarth wrote: New user gets a completely different interface. XFCE and components don't seem to launch, nor do they seem to be available. Not only is there no menu, there's no panel from which to launch the menu, and the panel won't start from the command line. Well, this leads me to believe you don't have an .xinitrc file in the new user's home directory Create an ~/.xinitrc with exec startxfce4 as the only content and try again. I've got another system with XFCE that I will be upgrading tonight - I'll let you know if it works out differently. Let me know. It would be nice to have a usable computer again. It's rather frustrating that any time there is an update for something X-related, it seems that if you're going to make the upgrade, you need to be ready to have your computer unusable for 3-10 days... Just completed the upgrade on the second one. This is running 7-STABLE amd64. I used the pkg_rmleaves method and removed xfce4.4 and its leaf ports. Compiling completed without problems. On first start some icons were indeed missing, but where fixed as soon as I selected the tango theme. I can send you a complete list of the ports that were built if you wish, but I think there is probably something else that's wrong in your installation. ___ 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: gnash and ff3
Neal Hogan wrote: Hi, I have 7-1 RELEASE running with up-to-date packages, including firefox3. I also have gnash-0.8.3 and mozplugger-1.10.2. I'm confused as to why gnash and mozplugger are not automatically enabled and/or used by ff3. That is, ff claims not to have any plug-ins. I have the same set-up on an oBSD machine and didn't have to do anything special to get them working together (that I can remember). Can someone help jog my memory or point me to something useful? Thanks. Try creating symlinks of the files from /usr/local/lib/browser_plugins to /usr/local/lib/firefox3/plugins Normally this should not be necessary in recent firefox3 versions but YMMV Also try running firefox3 from the terminal and see if it complains about plugins that cannot be loaded because of errors (missing files or whatever) ___ 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: issues in XFCE 4.6
Keith Seyffarth wrote: Well, I finally got XORG to install again, and then installed XFCE 4.6. Still no menus, and huge screen resolution. However, Ctl-Alt-[Keypad Minus] will zoom in on part of the desktop area, making text at least readable on screen. Any other suggestions on getting XFCE to have its menu again? Or on just manually a) launching the settings manager, or b) editing the settings manually? You could try hitting ALT+F2 and typing xfce4-settings-manager or xfce4-settings-editor to run these. As for the screen resolution, I upgraded one more machine today and it went down to 1024x768 instead of 1280x1024. This was the only machine I had had in the past to adjust resolution by using XFCE's display applet. Every other machine would start directly at the correct resolution. In the previous XFCE version, the Display applet would correctly set this, but not in 4.6. Although the correct resolution was selectable, it just resulted to a blank screen. Finally, I used xrandr to adjust the resolution. This maybe of some help to you as well: Open an Xterm or Terminal and type: xrandr You should see a list of modes. Select the desired one from the list and count from the top, starting with zero. For example, to select the third resolution from the list, type: xrandr -s 2 If this works correctly, add xrandr -s 2 in your .xinitrc just before the exec startxfce4 part, so it starts every time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Building packages without installing them?
Ross wrote: I want to use my home server to build Xorg and KDE packages for a desktop. man ports says make package will install the port. I don't need Xorg on the server and I would like to tweak make.conf to build for a different architecture. Is there a way to do this? Use ports-mgmt/tinderbox. Very powerful and relatively easy to use. You will have to follow the instructions here: http://tinderbox.marcuscom.com/README.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: Compression with *.zip output
Zbigniew Szalbot wrote: Hello, Is there a command utility to help me compress files with *.zip extenstion so that windows users can download and unpack it without using any special software? Man gzip suggests -S switch but when I tried it, I could not open the file under windows. Many thanks for your suggestions! Have a nice weekend! I believe you are looking for archivers/zip ___ 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: Compression with *.zip output
Polytropon wrote: On Sat, 21 Mar 2009 08:47:06 +0100 (CET), Zbigniew Szalbot z.szal...@lcwords.com wrote: Hello, Is there a command utility to help me compress files with *.zip extenstion so that windows users can download and unpack it without using any special software? Maybe this is a stupid follow-up question, but... since WHEN is Windows able to handle any kind of archive file (except its own CAB format) without installing any third party software? Windows users NEED to install additional software for every little piece that a proper OS should be able to do on its own... Wildly off-topic as we are discussing Windows, but all recent versions (XP, Vista, etc) can handle zip files. They call them compressed folders (don't confuse with NTFS compression though) and even have a silly wizard-like interface for extracting files from them. If you don't like it you can always install WinZip to take over this function. ___ 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: Kernel compile fails
Remorque wrote: On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart kstew...@owt.com wrote: On Sunday 22 March 2009 07:53:00 am Remorque wrote: I have installed 7.1-RELEASE on a hardware with AMD processor. I have successfully buildworld, and now doing the make kernel thing.The kernel config file is pretty GENERIC, I only removed the option to build a DEBUG kernel.I have csup-ped today. However, my compilation fails, viz: cut cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath *** Error code 1 Stop in /usr/obj/usr/src/sys/FS. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. /cut I can go ahead and comment out all ath_* from the configuration, since I wouldn't really need them at this juncture, but I believe it should not be failing anyway. Do I just wait to csup again tomorrow and hope this gets fixed? :) You have optimization options on the compile line that I don't have on my system. From this, I would guess that you have a cflags statment in /etc/make.conf and it is bitting you. Kent Hi Kent, Thank you for replying. The fact is that: 1. I have never used any optimizations ever since I started using FreeBSD 2. This is a new box, and there is no /etc/make.conf as yet The only things I have done on this box (a Dell SC1435) is to install, csup (src, ports) and buildworld. I was just gonna do the kernel, then start doing the other stuff after the system updates. Your guess is wrong:-) If you csup'd source as you say above, you are now on 7-STABLE. There have been some changes in the atheros driver, and I noticed your build stopped there. Look at the new GENERIC conf file: device ath # Atheros pci/cardbus NIC's device ath_hal # Atheros HAL (Hardware Access Layer) options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors device ath_rate_sample # SampleRate tx rate control for ath If your custom configuration file comes from editing a 7.0-RELEASE e.g. GENERIC, it will fail. Use the newer GENERIC as a starting point, or simply replace the atheros entries with the ones above. This change is also documented in /usr/src/UPDATING ___ 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: Kernel compile fails
Remorque wrote: If you csup'd source as you say above, you are now on 7-STABLE. There have been some changes in the atheros driver, and I noticed your build stopped there. Look at the new GENERIC conf file: device ath # Atheros pci/cardbus NIC's device ath_hal # Atheros HAL (Hardware Access Layer) options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors device ath_rate_sample # SampleRate tx rate control for ath If your custom configuration file comes from editing a 7.0-RELEASE e.g. GENERIC, it will fail. Use the newer GENERIC as a starting point, or simply replace the atheros entries with the ones above. I used the 7.1 DVD to install, not 7.0. From my observation (having gone thro 5 `make kernel` attempts now) is that the failure is quite random. I am not sure what is happening actually. If you used the standard-supfile to csup src, you are still on 7.1-RELEASE+patches and this should not happen. If you used the stable-supfile for src, then the above still stands. Anyway, if it stops at different places every time, it may indicate a hardware failure of some sort (e.g. RAM). ___ 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: mergemaster options
Charles Howse wrote: Hi, I'm upgrading form 4.6-RELEASE to 4.6-STABLE. When I get to the *second* run of mergemaster (after installworld), I'd be interested to hear the list's comments on using options to start mergemaster. For example, have you had good luck with: mergemaster -i -u (install any files that don't already exist, and attempt to install any files that haven't been user-modified) Yes, I am using this all the time. Note that you need a capital U: mergemaster -iU Also, what is the first line of a file used for? What parts of the OS 'care' about that line? What would happen if I kept the existing file below, with it's older date and version #? (This is just a made-up example). keep this existing file: # $FreeBSD: src/etc/csh.cshrc,v 1.3 1999/08/27 23:23:40 peter Exp $ my custom line blah delete this (fake) temporary file: # $FreeBSD: src/etc/csh.cshrc,v 1.4 2000/08/27 23:23:40 peter Exp $ blah blah I hope that's clear...? The lines you see starting with $FreeBSD are used by the Version Control System (CVS or SVN). You have to judge by the content of the older file (not by the tag) whether to keep or upgrade the file. Usually, you will let it upgrade all files which you have not modified yourself. In some of these the only thing that changes is the tag. Before doing the mergemaster step, I suggest you keep a complete backup copy of your /etc directory. It may happen that you replace a file you actually need. And it is a real problem if you overwrite, say, master.passwd :) ___ 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: mergemaster options
Charles Howse wrote: Actually, I wasn't asking about the CVS line with regard to mergemaster. I realize that mergemaster will stop and ask about any file in its list with a CVS line older than the new file. What I really want to know is, let's say the file above is /etc/hosts.allow, and I have customized it according to my needs. If I leave the old file in /etc, I'm thinking it will still work just fine. It's only mergemaster, and maybe cvsup, and things that actually deal with version control that are concerned with the CVS line. Am I correct? You are correct. As long as the content of the file is right for the purpose, the line added by CVS is simply ignored by anything and everything - except mergemaster and friends when upgrading. ___ 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: anybody know about a 3.01 package *With* browser?
Adam Vandemore wrote: Gary Kline wrote: On Mon, Apr 06, 2009 at 12:02:07AM -0400, Robert Huff wrote: Tim Judd writes: I don't understand the months/years or weeks/days symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said =50% CPU usage For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded with fairly fast SCSI disks, it takes 30+ hours. Robert Huff Sorry if this is getting old . I'm running two desktops, one 2.8GHz, this one 2.4. Both with only 1G ram. I useemy hardware pretty intensively, not lightly loaded, and building a full-blown OO takes at least three days. ---This is when I've got plenty of space. With fewer than 5G disk, forget it. That's why I want my next computer to be not only powerful but with diskspace to burn. just got done compiling ooo3 devel on 1.4 gz pentium-m. I think it took less than a day, 512 ram, nothing else running. My tinderbox machine (see ports-mgmt/tinderbox and http://tinderbox.marcuscom.com/README.html) builds this in 8 hours (assuming the distfiles are already available locally). It is a modest 2.5Ghz P4 with 2G RAM and plenty of disk space. I am also using ccache. I would be glad to make these packages available somewhere (this machine is constantly building packages anyway), but I don't have this kind of space available anywhere. If people care enough though, I could probably create a torrent. ___ 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 question
Leslie Jensen wrote: I used to use csup and in my /root/ports-supfile I changed the default host line to a server near me. *default host=cvsup.se.FreeBSD.org Now I've been using portsnap for a while and when installing a new system I got to question if portsnap look in this file for an update server or does portsnap need to be configured somewhere else? Thanks /Leslie No, portsnap uses /etc/portsnap.conf. Normally you don't need to make any changes to this file. ___ 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 ELSE do I need to add to make.conf to avoid X ?
Juri Mianovich wrote: Just trying to install rrdtool on a server. Do not want X. Do not want X11. Do not want Xorg. So I did the right thing and added this to /etc/make.conf: WITHOUT_X11=yes WITHOUT_X=yes WITH_X=NO ENABLE_GUI=NO and then 'make install' in the rrdtool directory. The problem is, eventually I saw this: === Installing for pango-1.14.7 === pango-1.14.7 depends on file: /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf - not found ===Verifying install for /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf in /usr/ports/x11-fonts/xorg-fonts-truetype === Vulnerability check disabled, database not found === Extracting for xorg-fonts-truetype-6.9.0 = MD5 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz. = SHA256 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz. === Refetch for 1 more times files: xorg/X11R6.9.0-src1.tar.gz xorg/X11R6.9.0-src1.tar.gz === Vulnerability check disabled, database not found = X11R6.9.0-src1.tar.gz doesn't seem to exist in /usr/ports/distfiles/xorg. = Attempting to fetch from ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.9.0/src/. X11R6.9.0-src1.tar.gz 3% of 31 MB 8188 Bps 01h05m^C fetch: transfer interrupted Oops. Looks like I was going to get X11 anyway. So, what other options do I need to add to make.conf in order to install a simple stats/database tool without hundreds and hundreds of MB of x11 ? Thanks. I don't think your '=NO' stuff would do much. You may also wish to add WITHOUT_GUI=yes ___ 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
openoffice.org-3.01 packages available (i386)
Inspired by the recent discussion on the list concerning openoffice.org-3.01 packages, I have created a set of packages for the i386 architecture using my tinderbox system. Glen Barber has kindly offered *lots* of his webspace to host these packages for everyone's benefit. These packages are available from the following location: http://freebsd.dev-urandom.com/packages/openoffice/ And the main package to download would be: http://freebsd.dev-urandom.com/packages/openoffice/openoffice.org-3.0.1.tbz All the other packages are build and/or run dependencies of the above. On a system that already has a running GUI, most (if not all) of these packages are probably installed already. Please note the following: * The openoffice.org-3.01 package was built using a tinderbox system running 7.1-RELEASE-p4 i386. The ports tree was updated before the build. As a result this package is in sync with the latest versions of its dependencies and you may have trouble installing / running it in systems with outdated packages. A portupgrade is recommended before installation. * All the dependencies are provided in the same directory. It is possible to use pkg_add -r to recursively fetch any dependencies not present in your system: - First, redefince the PACKAGESITE environment variable: (assuming csh) setenv PACKAGESITE http://freebsd.dev-urandom.com/packages/openoffice/ - Use pkg_add -r: pkg_add -r openoffice.org-3.0.1.tbz * The package and all dependencies were built with default options. The site does not yet contain any other pages or info, as Glen is still working on the web content. Please send us your feedback (including problems, suggestions and success stories!) either on the list or directly. If this proves to be successful, we could also build and host other packages as well. Cheers, Manolis ___ 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: openoffice.org-3.01 packages available (i386)
Chris Whitehouse wrote: Hi guys, When you have a minute please would you have a look at a proposal for changes to the packages system I posted which is kind of a ports equivalent of freebsd-update involving a 'ports-snapshot'. The original post is here http://lists.freebsd.org/pipermail/freebsd-questions/2009-April/195793.html. A more detailed description is here http://lists.freebsd.org/pipermail/freebsd-questions/2009-April/196223.html And other peoples comments in between. It's going a bit parallel to the discussion here and in fact you have already offered some of the requirements,ie hosting Would you be interested in incorporating the idea into what you are doing? I could at least do some building of packages. One of the requirements is a new package management tool which I've called ports-update. Does anyone here have C or scripting skills who would be interested to write it? I'm sorry to ask, I know the FreeBSD way is to do it yourself, but I don't have programming skills. I could probably knock up a framework to start from though. If you are prepared to host a bunch of packages it would be interesting to ask people to give us a list of their installed packages to create a master list. Thanks Chris I am following this discussion too. I was actually thinking of some less drastic method to make a FreeBSD desktop easier to build and less time consuming. Currently there are at least two projects based on FreeBSD that offer reasonable BSD desktops without lots of manual setup: DesktopBSD and PC-BSD (PC-BSD actually had a version release yesterday). The problem is both projects focus on KDE. I would like to have a choice between XFCE, Gnome and possibly some light WMs i.e. fluxbox. I like to build my own packages, and have put together a spare machine just for this purpose. It is no speed daemon (P4 2.5Ghz, 2G DDR2 RAM) but it is stable and always available. What I intend to do - and I am close to this - is start building package CDs (or DVDs) that people can download and use in the following way: - Perform a base install of FreeBSD with *no* additional packages (except maybe the linux binary compatibility) - Insert the CD/DVD and run a dialog(1) based sh script with options to: - Install packages - Configure X and DE / WM - Configure shell (i.e. startup files etc) - Configure sound card (and more) All these packages would be build from the same ports tree so they would be in sync. There should be regular (bimonthly?) updates to the CD itself. Everyone building a new system can use the latest CD, and anyone who installed a system using a previous version could use the same CD with portupgrade -PP (after setting PKG_PATH, PKG_FETCH etc). This can actually be one of the menu options. Taking this one step further (using your ideas), I could also distribute the ports tree (and probably /var/db/ports assuming the ports do not use default options) along with the packages, so anyone wishing to compile more stuff could use this same tree knowing it will be in sync. I intend to build a prototype of this soon. It will contain XFCE, firefox, thunderbird, vlc, bash, openoffice, Xorg and few more packages. If it generates enough interest in the community, we will then decide the final set of packages etc for the regular releases. ___ 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: openoffice.org-3.01 packages available (i386)
per...@pluto.rain.com wrote: Manolis Kiagias sonic200...@gmail.com wrote: I could also distribute the ports tree ... I wonder if it's necessary to distribute the entire ports tree. Perhaps it would suffice to distribute a timestamp for csup/cvsup to retrieve the appropriate version. Yes, this is probably correct :) However distributing a compressed ports tree in the CD (without the distfiles) won't be much of a problem space-wise. ___ 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: openoffice.org-3.01 packages available (i386)
Chris Whitehouse wrote: I am following this discussion too. I was actually thinking of some less drastic method to make a FreeBSD desktop easier to build and less time consuming. Currently there are at least two projects based on FreeBSD that offer reasonable BSD desktops without lots of manual setup: DesktopBSD and PC-BSD (PC-BSD actually had a version release yesterday). The problem is both projects focus on KDE. I would like to have a choice between XFCE, Gnome and possibly some light WMs i.e. fluxbox. My motivation also, plus energy considerations. I was rolling my own using icewm but have recently been using PCBSD. I like PCBSD very much but I would go back to my previous setup with this project. I like to build my own packages, and have put together a spare machine Are you using the tinderbox port or do you build in the machines own environment? I am using ports-mgmt/tinderbox In the past I was using a simple setup: I would install the ports, create the packages with pkg_create and then delete /usr/local and restart. just for this purpose. It is no speed daemon (P4 2.5Ghz, 2G DDR2 RAM) but it is stable and always available. What I intend to do - and I am close to this - is start building package CDs (or DVDs) that people can download and use in the following way: Would each CD contain all the available packages or do you have some idea to only distribute changed packages? The purpose is for every CD to be self contained so it can be used for clean installs. Creating incremental CDs would be fairly easy, but will increase the number of CDs to carry around. - Perform a base install of FreeBSD with *no* additional packages (except maybe the linux binary compatibility) - Insert the CD/DVD and run a dialog(1) based sh script with options to: - Install packages - Configure X and DE / WM - Configure shell (i.e. startup files etc) - Configure sound card (and more) All these packages would be build from the same ports tree so they would be in sync. There should be regular (bimonthly?) updates to the CD itself. Everyone building a new system can use the latest CD, and anyone who installed a system using a previous version could use the same CD with portupgrade -PP (after setting PKG_PATH, PKG_FETCH etc). This can actually be one of the menu options. Taking this one step further (using your ideas), I could also distribute the ports tree (and probably /var/db/ports assuming the ports do not use default options) along with the packages, so anyone wishing to compile more stuff could use this same tree knowing it will be in sync. This achieves pretty much exactly what I was hoping for! Fantastic. I had assumed default configs though because I imagine the ports people have reasons for choosing them. Yes, default configs would probably be best when redistributing to lots of people. I intend to build a prototype of this soon. It will contain XFCE, firefox, thunderbird, vlc, bash, openoffice, Xorg and few more packages. If it generates enough interest in the community, we will then decide the final set of packages etc for the regular releases. Exactly. gnome and kde? Sure. I'll do a test run with XFCE and we can discuss details afterwards. ___ 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: Cant get Java working with FireFox
Warren Liddell wrote: im running FreeBSD7.1-STABLE portupgrade//world//kernel done today an still even from following a few howto's on the BSD site i cant get java to work or show up in the plugins .. anyone got any ideas on whats going on and/or how to fix this annoying problem ? Assuming you got the diablo-jdk or diablo-jre package installed, try creating a symbolic link of libjavaplugin_oji.so to /usr/local/lib/firefox3/plugins On my system that would be in /usr/local/diablo-jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so for just the jre it would probably be in /usr/local/diablo-jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so ___ 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: ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'
tethys ocean wrote: I am using 7.1-STABLE FreeBSD 7.1-STABLE # on one of the my servers. This server was working properly for long time. Electricty is often break down and this server isnt behind UPS. Today I have found it as shutdown and than opened it but some servis/daemon hasn't work (such as mysql etc) I have done fschk etc. And than I want to update since it is working so so slow. Than I have update source tree and rebuild kernel and make depend has been passing well and than make state fail, error log(stdout) is shown bellow. [r...@witch /usr/src/sys/i386/compile/WITCH]# make cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror ../../../dev/ath/if_ath.c -I../../../dev/ath ../../../dev/ath/if_ath.c: In function 'ath_rx_tap': ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags' ../../../dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no member named 'rs_flags' *** Error code 1 Stop in /usr/src/sys/i386/compile/WITCH. I read some mail and paper about this error it is saying this is bug freebsd bug... but I got suspicious because I did so many times kernel rebuild+update source tree. It hasnt fail with this stdout. Why now? thank a lot This is probably due to the changes in the atheros driver. You will have to update your kernel configuration file. Please read /usr/src/UPDATING and this thread: http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/195075.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: ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'
tethys ocean wrote: thank a lot i found info in UPDATING just below 20090312: The open-source Atheros HAL has been merged from HEAD to STABLE. The kernel compile-time option AH_SUPPORT_AR5416 has been added to support certain newer Atheros parts, particularly PCI-Express chipsets. The following modules are no longer available, and should be removed from MODULES_OVERRIDE and/or loader.conf:- ath_hal ath_rate_amrr ath_rate_onoe ath_rate_sample i added some line to my loader.conf shown in below ath_load=YES ath_hal_load=YES ath_rate_amrr=YES According to UPDATING, you should *remove* these. You are building the driver into the kernel anyway. and added to my kernel such lines device ath # Atheros pci/cardbus NIC's device ath_hal # Atheros HAL (Hardware Access Layer) options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors device ath_rate_sample # SampleRate tx rate control for ath I suggest you try building the GENERIC kernel (take care to use the new GENERIC conf file that you received with the sources, not an older version you were keeping somewhere else). If that compiles, there is a problem with your conf. ___ 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: Mouse stopped working in X
Schmehl, Paul L wrote: I ran the perl upgrade and portupgrade, and now my mouse doesn't work in Xorg running KDE. Works fine in the console, and I haven't changed anything in the xorg.conf file. I generated a new one, and the mouse section is identical to what I already have. Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection For some reason I now have a PS2 mouse being detected (there's no PS2 port on this box and there's no PS2 mouse plugged in to it), and I think that's the cause of the mouse failure in X. # ls -l /dev/psm0 crw-rw-rw- 1 root wheel0, 64 Apr 14 09:33 /dev/psm0 But how do I track down what's causing this device to be loaded? I also have the usb mouse: # ls -l /dev/ums0 crw-r--r-- 1 root operator0, 42 Apr 14 09:29 /dev/ums0 (**) |--Input Device Mouse0 (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Mouse0 (==) RADEONHD(0): Silken mouse enabled (II) config/hal: Adding input device PS/2 Mouse (II) LoadModule: mouse (II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so (II) Module mouse: vendor=X.Org Foundation (**) PS/2 Mouse: Device: /dev/psm0 (==) PS/2 Mouse: Protocol: Auto (**) PS/2 Mouse: always reports core events (==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50 (**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5 (**) PS/2 Mouse: Buttons: 9 (**) PS/2 Mouse: Sensitivity: 1 (II) XINPUT: Adding extended input device PS/2 Mouse (type: MOUSE) (**) PS/2 Mouse: (accel) keeping acceleration scheme 1 (**) PS/2 Mouse: (accel) filter chain progression: 2.00 (**) PS/2 Mouse: (accel) filter stage 0: 20.00 ms (**) PS/2 Mouse: (accel) set acceleration profile 0 (II) PS/2 Mouse: SetupAuto: hw.iftype is 3, hw.model is 0 (II) PS/2 Mouse: SetupAuto: protocol is PS/2 (II) PS/2 Mouse: ps2EnableDataReporting: succeeded Dmesg shows the device being loaded: atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 But also shows the usb mouse being loaded: ukbd0: vendor 0x045e Microsoft Natural Keyboard Elite, class 0/0, rev 2.00/2.07, addr 3 on uhub3 kbd2 at ukbd0 ums0: Logitech Optical USB Mouse, class 0/0, rev 2.00/3.40, addr 4 on uhub3 ums0: 3 buttons and Z dir. I have no idea where this PS2 mouse suddenly appeared from, but I think it's clearly the cause of the problem. Also, Ctrl-Alt-Bksp no longer restarts X, which is kind of weird. I can still switch to other ttys though. Paul Schmehl (pa...@utdallas.edu) Senior Information Security Analyst University of Texas at Dallas http://www.utdallas.edu/ir/security/ The fact that CTRL+ALT+BACKSPACE does not work indicates that you probably upgraded to Xorg 7.4 Try inserting the following in your xorg.conf to fix keyboard/mouse problems: Section ServerFlags Option AutoAddDevices false Option AllowEmptyInput false Option DontZap false EndSection (DontZap will restore the previous CTRL+ALT+BKSP behaviour) ___ 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: Automounting of USB drives - Why is it a problem?
Odhiambo Washington wrote: Hello List, For some time now, I have been baffled by one thing: Mac OS X somehow has FreeBSD under the hood. When you connect a USB stick (flash disk, external drive) to a Mac, it gets automounted, yet the same does not happen on FreeBSD. I have seen several questions being asked on this list about this feature, but the answer is neither here nor there. There is even a port (sysutils/automounter) that I believe is supposed to help towards this, but again it's not as easy as it seems to be. Now my question is just one: Why should it be this difficult for FreeBSD to have the automount feature within the base system? If OS X is doing it, Linux is doing it, FreeBSD can do it. FreeBSD *can* automount. The problem for the time being is pulling a USB flash drive without unmounting. To automount (assuming you are using something like GNOME or XFCE), you can use the facilities provided by hal and policykit. See this: http://www.freebsd.org/gnome/docs/halfaq.html#q3 (I have also written a complete set of steps for this - currently in Greek only, but I will translate it sooner or later) ___ 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: Automounting of USB drives - Why is it a problem?
Mehmet Erol Sanliturk wrote: On Wed, Apr 15, 2009 at 9:50 AM, Manolis Kiagias sonic200...@gmail.com mailto:sonic200...@gmail.com wrote: Odhiambo Washington wrote: (I have also written a complete set of steps for this - currently in Greek only, but I will translate it sooner or later) Such a write-up really will be very useful , because part in the FreeBSD Handbook contains errors . For example : mount -t msdosfs -o -m=644 -M=755 /dev/da0s1 /mnt/username Error -- Invalid switch M You've forgotten the comma between the -o options: mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt/username The example in the handbook is correct (I remember fixing it myself :) ) Also examples for pw contain invalid switches . If you do find problems in the documentation, please tell us exact locations or submit doc-bug reports. The paages from man such as man pw are very difficult to use because they contain many switches and to understand use of those requires many trials due to combinatorial possible combinations and lack of ample examples . Well, yes you need to study it carefully. It's easier than it looks at first glance. People accustomed to Windows device management finds Unix device management really very difficult such as me . To understand and use of USB sticks in FreeBSD required much time . Among FreeBSD , Linux , and Windows , hardest to use is FreeBSD with respect device usage by the user . It is not hard, you just have to learn how it works. Windows does a lot of handholding, and so do many of the popular linux distros. FreeBSD does not. You can only accomplish tasks that you understand, but there is lot of stuff to read and is very well organized. OTOH, you may not want to spend so much time if you just need to have an average user's desktop. ___ 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: Automounting of USB drives - Why is it a problem?
Polytropon wrote: On Wed, 15 Apr 2009 19:16:02 +0300, Manolis Kiagias sonic200...@gmail.com wrote: OTOH, you may not want to spend so much time if you just need to have an average user's desktop. If this case, go with PC-BSD. Looks like Windows, feels like Windows, still is FreeBSD. :-) (Honestly, it's not *that* bad and offers a lot of handholding, automation and preconfiguration.) Totally OT now, but I aggree they have done an excellent work on their latest 7.1 release. Now I can definitely give this to friends who wish to have a usable system right away. And they can still move to FreeBSD internals if they wish to. ___ 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: missing xorgconfig
kenneth hatteland wrote: Having reinstalled my laptop twice and updated to stable 7.2 prerelease but each time no xorgconfig exists as I am used to. xfce4 starts ok, but I get the known mouse locked problem and would love and xorg.conf to edit as I have learned but it doesn`t exist. Anyone know hos to install xorgconfig manually ?? No need to run xorgconfig As root, run: X -configure This will create a /root/xorg.conf.new file that you can edit and move to /etc/X11/xorg.conf Note that you will probably have to add some ServerFlags (look at the list archives of few days ago) if you wish to actually use the InputDevices section of your xorg.conf file. ___ 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: boot manager vista
John Beukema wrote: I am having trouble with the freebsd boot manager on an ACER Aspire 4730Z laptop. I installed the latest version of FBSD on partition 3. Partition 1 is a 10 G compressed partition with the Windows Vista Home system to install and backup. partition 2 is Windows after installation. I installed the boot0 manager. it worked for bsd but not vista and i had to reinstall windows. after I could not access fbsd other than by setting partition 3 active which again denied access to windows. fbsd is there and boots. How can I install a boot manager to be able to use both Vista and fbsd? John Beukema For Vista, the easiest way is to use EasyBCD (free). Do not install the FreeBSD boot manager on the MBR. http://neosmart.net/dl.php?id=1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: java using 100% CPU
Warren Liddell wrote: Lowell Gilbert wrote: Warren Liddell shin...@maydias.com writes: After finally managing to get java working with FF i find when i goto use it now, it uses 100% of my CPU ... how can i fix this annoyinng issue ? Running FreeBSD 7.1-STABLE AMD64 You don't mention what version of each you're running, or how you installed the plugins, but with native firefox-3.0.8,1 and native jdk-1.6.0.3p4_10, I don't have this problem. I installed the plugins with links in my home directory, as described in the 20090109 entry in /usr/ports/UPDATING. FF 3.0.8,1 with diablo-jdk-1.6.0.07.02_3 an all was installed via ports an to get it working in FF i created a symbolic link of libjavaplugin_oji.so to /usr/local/lib/firefox3/plugins Are you getting 100% on something as simple as this? http://www.java.com/en/download/help/testvm.xml My setup is exactly similar, but I run i386. No such problem. I do get very high CPU usage when flash (gnash) is active though... ___ 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: java using 100% CPU
Warren Liddell wrote: Are you getting 100% on something as simple as this? http://www.java.com/en/download/help/testvm.xml My setup is exactly similar, but I run i386. No such problem. I do get very high CPU usage when flash (gnash) is active though... No, that works quite fine, but has very little graphics involved with it. It occurs when i goto http://world121.runescape.com/a2,m1,j1,o0 Which is a lot more intense on the java This gets me around 40% CPU usage (just displaying the options / login screen) ___ 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: Problems with Xorg after portupgrade
Ivan Rambius Ivanov wrote: Hello, This week upgraded my Acer TravelMate 4060 laptop from FreeBSD 7.0 to FreeBSD 7.1 and also csup'ed my ports and portupgraded them and I am not able to start X correctly. When I invoke startx, it tries to start it and then the screen goes blank and black, nothing is seen on it and I am no able to kill X using ctrl-alt-backspace or swtich to another terminal and I have to cold reboot my machine. uname -r shows 7.1-RELEASE-p4 The version of xorg metaport is 7.4_1, the version of xorg-server is 1.6.0,1. After I did the portupgrade I rebooted my machine and the KDE display manager failed to appear, so I disabled it from /etc/ttys for easier debugging. After I logged in to a shell, I called startx and the screen went blank and black. After I rebooted the machine I invoked X -configure as root and run X -config /root/xorg.conf.new and again the same problem. The default screen when not running a WM/DE is no longer the familiar screen pattern / X mouse pointer, but a black screen. Go figure... You maybe having a working X and not know it. I then tried to make ctrl-alt-backspace work and I added the following section at the end of /root/xorg.conf.new Section ServerFlags Option DontZap off EndSection This should definitely work. and called X -config /root/xorg.conf.new again - same results and still could not kill ther server. I followed /usr/ports/UPDATING, entry from 20090123 and disabled moused and added Option AllowEmptyInput off Browsing your xorg.conf, you forgot to add the keyword Option in front of AllowEmptyInput. And actually this should also go the ServerFlags section. in the ServerLayout section. Again X refuses to start appropriately. I would be very grateful if you help me in resolving this issue. I am attaching my xorg.conf file and the logs from /var/log/Xorg.0.log and I will happily provide more information if needed. Thank you very much in advance. Regards Rambius You can download my working xorg.conf from here: http://store.itsyourftp.com/~sonic2000gr/freebsd/xorg.conf.tar.gz It even includes some comments. Give it a try. ___ 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: Problems with Xorg after portupgrade
Warren Block wrote: On Sun, 19 Apr 2009, Manolis Kiagias wrote: Browsing your xorg.conf, you forgot to add the keyword Option in front of AllowEmptyInput. And actually this should also go the ServerFlags section. A ServerFlags section is optional; those entries can also go in the ServerLayout section. That simplifies xorg.conf a little. -Warren Block * Rapid City, South Dakota USA Good to know, thanks. The Xorg upgrade was bumpy for me too - too many changes at once. ___ 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: Problems with Xorg after portupgrade
Jerry wrote: On Mon, 20 Apr 2009 03:58:10 +0200 Polytropon free...@edvax.de wrote: [snip] While CTRL+ALT+Backspace does not kill the X server, I can press CTRL+ALT+F1 or ALT+F1 to return to the text mode console. I then kill the X server via CTRL+C. There's a new setting that needs to be put into xorg.conf: Section ServerFlags Option DontZap false EndSection Then you should be able to Ctrl+Alt+BkSpace to kill X. Maybe I am reading this incorrectly; however, in my /etc/xorg.conf file, I have this notation. # Uncomment this to disable the CtrlAltBS server abort sequence # This allows clients to receive this key event. #Option DontZap It would seem the language is confusing. As I would understand it, uncommenting the line disables the sequence. Therefore, it would seem to indicate that leaving it commented out activates the sequence. Maybe the language should be cleaned up. Heh, it can be quite confusing because it enables the system to *not* do something, which is the reverse of what we usually think options do. Using Option DontZap simply enables DontZap which prevents CTRL+ALT+BSKP from being used. Hence disabling DontZap allows X-Server to be... Zapped or killed by the key combination ;) ___ 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