Re: PPPoE
On Thu 2012-12-06 16:13:40 UTC+0100, Ralf Mardorf (ralf.mard...@rocketmail.com) wrote: how do I have to set up PPPoE? This doesn't work: [1] In what way does it not work? In your example, at the very least you should be able to ping 213.191.89.25: tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1492 options=8LINKSTATE inet 92.224.211.44 -- 213.191.89.25 netmask 0xff00 Opened by PID 21614 Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: myaddr 92.224.211.44 hisaddr = 213.191.89.25 ___ 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
/usr/sbin/ppp doubling connections on tun0
I'm using /usr/sbin/ppp for PPPoE over an ADSL modem in bridged mode: # ifconfig tun0 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1492 options=8LINKSTATE inet 203.217.27.170 -- 203.215.15.252 netmask 0x inet 203.214.46.107 -- 203.215.7.251 netmask 0x Opened by PID 49158 What would cause this? Notice the two IP addresses assigned to the same interface. It should just have one address assigned. Something causes the initial PPPoE session to stop, then another to restart without properly closing the previous PPPoE session. I'm not sure when this started happening but I've noticed it's become more frequent in the past few weeks. One theory I have is that it may have begun after I upgraded FreeBSD from 8.2 to 8.3 a few months back. I suppose concurrent PPPoE sessions aren't the end of the world, but obviously it makes no sense to have two on the same interface, so I'd like to prevent that. (Strictly speaking they aren't concurrent as the previously allocated IP [203.217.27.170 in the case above] no longer responds to pings, etc. It's dead, Jim.) The multiple IP addresses also causes /usr/ports/dns/ddclient to get confused and not tell DynDNS when a new IP address has been assigned, although perhaps that's a bug (sort of) in ddclient. I notice FreeBSD PR 151400 mentions: The patch also makes a small change to how ppp(8) destroys interfaces at exit. Instead of just dealiasing interfaces and leaving them behind, they are now destroyed in the same manner ifconfig destroy works. I wonder if that's the cause? If I get a chance I'll try building a local copy of /usr/sbin/ppp with the patch reverted and test that, although it can be a difficult problem to replicate. Plus of course the patch doesn't explain the initial disconnections. I suspect that's an issue unrelated to /usr/sbin/ppp though. # cat /etc/ppp/ppp.conf default: set log phase chat lcp ipcp ccp tun command lqm set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 nat enable yes disable lqr disable ipv6cp set echoperiod 30 enable echo iinet: set device PPPoE:bge0 set authname secret set authkey secret set dial set login set mru 1492 set mtu 1492 set redial 15 0 add default HISADDR # grep ppp /etc/rc.conf ppp_enable=YES ppp_mode=ddial ppp_nat=YES ppp_profile=iinet # uname -a FreeBSD blizzard.phoenix 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Tue Jun 12 00:39:29 UTC 2012 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 In the meantime I've switched to using mpd5 (/usr/ports/net/mpd5) and /sbin/ipnat. So far, so good: # ifconfig ng0 ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST metric 0 mtu 1492 inet 124.170.51.116 -- 203.215.7.251 netmask 0x Regards Andrew ___ 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
PPPoA section of FreeBSD Handbook
On Tue 2012-11-20 11:49:38 UTC+1100, andrew clarke (m...@ozzmosis.com) wrote: In the meantime I've switched to using mpd5 (/usr/ports/net/mpd5) and /sbin/ipnat. So far, so good: # ifconfig ng0 ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST metric 0 mtu 1492 inet 124.170.51.116 -- 203.215.7.251 netmask 0x Incidentally the PPPoA section of the FreeBSD is very out of date: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoa.html The ambiguously named net/pppoa port in section 28.6.1 has been marked as broken since 2009. (Ambiguous since it's only for a particular brand of USB ASDL modem.) In section 28.6.2 the example provided is a config file for mpd 4.x which does not work in mpd 5.x. net/mpd4 was deleted from the ports tree 11 months ago. net/mpd5 doesn't seem to support PPPoA, only PPPoE. I could find no reference to PPPoA in the manual or source code. The net/pptpclient port listed in section 28.6.3 does build but issues errors when run: # pptp 192.168.1.1 iinet /bin/ip: not found /bin/ip: not found Plus it's not clear what advantage it's supposed to have over the regular /usr/sbin/ppp. The pptp source code doesn't mention PPPoA, despite what the FreeBSD handbook suggests. Regards Andrew ___ 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 use the Dell 3010??
On Mon 2012-11-19 07:55:16 UTC-0500, Daniel Feenberg (feenb...@nber.org) wrote: The only way for FreeBSD (or Linux, for that matter) to survive in a world where hardware vendors care only about Windows, is to make sure that FreeBSD only depends upon features that Windows uses. In a world where Windows drivers are rarely well-documented, let alone open source? I suspect what you suggest is easier said than done... ___ 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: confessions of a FreeBSD purist
On Sat 2012-11-17 01:28:02 UTC-0500, Matthew Pope (mp...@teksavvy.com) wrote: Could anyone be kind enough to recommend a free, or share their own FreeBSD VM image that has bind pre-configured in a jail, and / or an Apache web server pre-configured in a jail, for a non-commercial site? I'd be very hesitant to use a VM image provided by an untrusted third party. Is there a reason you don't want to build your own? ___ 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: pkgng and the old pkg_* programs
On Sun 2012-10-21 18:10:06 UTC+0100, Arthur Chance (free...@qeng-ho.org) wrote: Now that portmaster officially supports pkgng I've converted to using it. Is there any reason to keep the old pkg_* programs around, or can I delete them and add WITHOUT_PKGTOOLS to my /etc/src.conf? I'm running RELEASE-9.0 on amd64 and will update to REL-9.1 as soon as it arrives if that matters. I don't think there's any harm in leaving the pkg_* programs there? Of course if you delete them, a binary upgrade with freebsd-update will most likely put them back. I've switched to pkgng on two machines here. Working well so far, although pkg2ng had some initial problems with the conversion due to some conflicting files that had been installed by different packages... ___ 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
/usr/bin/lint - bitrot?
Is /usr/bin/lint still useful to anyone? Here, even the simplest of C programs does not parse without errors: $ cat null.c int main(void) { return 0; } $ lint null.c null.c: lint: cannot find llib-lc.ln Lint pass2: $ uname -r 9.1-RC2 I'm not sure how to generate llib-lc.ln. Evidently this issue has existed for at least 12 years if I'm reading this PR correctly: http://www.freebsd.org/cgi/query-pr.cgi?pr=18326 Regards Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Question regarding a server with an unsupported old version
On Mon 2012-10-22 11:31:36 UTC+0900, Rei Okamoto (okam...@mix-net.co.jp) wrote: I want to build the test server as close to the actual server as possible, such as considering the OS's version 4.11 to be close enough to 4.7, but as I try to install PHP4 with a following command, Like others have said, if at all possible you should at least try to upgrade to supported versions of FreeBSD PHP 4. FreeBSD 7.x should have similar system requirements as 4.7, except for needing more disk space. Having said that though, support for FreeBSD 7.4 is estimated to end in February 2013, just four months away, and I can't see any signs on the FreeBSD web site that there is a 7.5 release being planned. So perhaps switching to 8.3 is the more sensible option if your hardware will allow it. I should point out that it should be possible to use 'pkg_create -a' on the existing system to create tarballs of every installed package, then install FreeBSD 4.7 under VirtualBox, copy the tarballs to the virtual machine, then install all of them with 'pkg_add *.tgz'. It may also be possible to use rsync to synchronise the VM's filesystem with the actual server machine, although I think rsync will need to be installed on both. Also, sshd will probably need to be temporarily enabled on the original server if it's not already. There is also the 'dump' and 'restore' programs in FreeBSD that could be used for cloning a FreeBSD system over a network, although I'm not at all familiar with their usage. Is there any particular reason you went with 4.11? Is it because it was the last of the 4.x series? (I don't recall offhand.) I vaguely recall there were some ABI changes over the lifetime of the 4.x series which meant binaries built for, say, FreeBSD 4.0 would not run under later versions (4.8 perhaps). I only mention this because you might encounter problems running binaries built for FreeBSD 4.7 under FreeBSD 4.11. Regards Andrew ___ 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 many memory is needed for FreeBSD 9 ?
On Sun 2012-10-21 18:21:59 UTC+0200, Patrick Lamaiziere (patf...@davenulle.org) wrote: I'm updating an old laptop running FreeBSD 8.1 with 64 MB ram (44MB available) but now FreeBSD 9.1 panics at boot time: panic: kmem_malloc(4194304): kmem_map too small: 24584192 allocated? That's one very old laptop. I think you'll need to install more memory or downgrade FreeBSD to an earlier version. 9.1-RELEASE isn't available yet, only 9.1-RC1 RC2. Given it's prerelease code it's plausible the 9.1-RC2 kernel requires more memory at boot than 9.1-REL will. Attempting to boot 9.0-REL from CD on your laptop should answer that question. From my limited testing under VirtualBox, 96 MB RAM is about the lower limit that will allow FreeBSD 9.1-RC2 to boot before the swap partition is enabled. Any less and the kernel will freeze or panic at boot. This was with the amd64 version though, not i386. ___ 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: pppoe configuration and dns name resolution
On Tue 2012-10-16 20:38:47 UTC+0530, Jack (jacks.1...@gmail.com) wrote: I'm new as a FreeBSD user, and trying to configure my pppoe connection. After reading handbook and searching on various forums, I prepared the ppp.conf file, and tried starting the ppp via # ppp -ddial adsl Here 'adsl' is the profile name, in /etc/ppp/ppp.conf. I also tried #ppp -auto adsl but the error message was same. ... I use a similar setup here except I use static IPs for both the ADSL modem (in bridge mode) and the FreeBSD box connecting to it. The FreeBSD box then runs a DHCP server (dns/dnsmasq in ports) for any other machines on my LAN to talk to. I'm pasting my related configuration files if they can help. Please tell me if any other files are needed. Nothing really stands out glancing at your configs. I'd be looking for clues in /var/log/ppp.log. tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1500 options=8LINKSTATE inet 10.0.0.1 -- 10.0.0.2 netmask 0xff00 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL Opened by PID 1907 tun0 should have been reassigned a public address here by the remote PPP host (your ISP). Also the MTU is still stuck at 1500 despite you correctly configuring 1492 in ppp.conf. So I think the PPP negotiation is failing. ppp.log may explain why. Mine looks like this: tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1492 options=8LINKSTATE inet 58.6.247.132 -- 203.215.15.252 netmask 0x Opened by PID 45904 Below is my (edited) rc.conf ppp.conf. I simply start stop the PPP session with service ppp start service ppp stop as root. ## /etc/rc.conf hostname=blizzard.phoenix ifconfig_bge0=inet 192.168.1.4 netmask 255.255.255.0 zfs_enable=YES syslogd_flags=-c gateway_enable=YES sshd_enable=YES inetd_enable=YES fusefs_enable=YES openntpd_enable=YES dovecot_enable=YES named_enable=NO dnsmasq_enable=YES postfix_enable=YES sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO ppp_enable=YES ppp_mode=ddial ppp_nat=YES ppp_profile=iinet firewall_enable=YES firewall_script=/etc/ipfw.rules firewall_logging=YES ## /etc/ppp/ppp.conf default: set log phase chat lcp ipcp ccp tun command lqm set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 nat enable yes disable lqr disable ipv6cp set echoperiod 30 enable echo iinet: set device PPPoE:bge0 set authname myusername set authkey mypassword set dial set login set mru 1492 set mtu 1492 set redial 15 0 add default HISADDR ___ 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: Info 2 Release
On Wed 2012-10-10 10:16:35 UTC+0200, René Mercier (realmo.merc...@gmail.com) wrote: Bonjour, Je suis sous Debian, mais travaillant dans les réseaux, je souhaiterai passer sur FreeBsd pour sa stabilité et pour sa sécurité,, je vois qu'actuellement il y une 9 rc1, pourriez vous s'il vous plait me dire quelle la prochaine release à venir et sa date de sortie http://www.freebsd.org/releases/9.1R/schedule.html PS. This is an English-speaking mailing list. ___ 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: Info 2 Release
On Wed 2012-10-10 10:02:48 UTC+0100, Anton Shterenlikht (me...@bristol.ac.uk) wrote: From: andrew clarke m...@ozzmosis.com PS. This is an English-speaking mailing list. What's the problem? If there are non-english posts and non-english helpful replies, who suffers? You and me can just ignore those, like we ignore OT, right? Then the OP suffers from being ignored. Clearly English is preferred. (Incidentally the page at http://www.freebsd.org/community/mailinglists.html lists a French FreeBSD mailing list at listser...@freebsd-fr.org, with the web site at http://www.freebsd-fr.org/, however the web address no longer resolves, so I suspect the listserver is offline too.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9.1 RC2
On Tue 2012-10-09 15:54:23 UTC-0500, ajtiM (lum...@gmail.com) wrote: I saw that is no more iso for FreeBSD RC1. Now is for RC2. Is it possible or better safe to use freebsd-update to update 9.1 RC1 to RC2, please? You can use freebsd-update upgrade -r 9.1-RC2. Safe? You probably wouldn't want to use it on a production server. ___ 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: suggest pdf viewer for pdf version 1.6 with annotations
On Wed 2012-10-03 11:26:38 UTC+0200, Polytropon (free...@edvax.de) wrote: On Wed, 3 Oct 2012 08:50:16 +0100 (BST), Anton Shterenlikht wrote: I got sent a pdf file, version 1.6, with annotations. xpdf can view the file, but not the annotations. Please suggest a pdf viewer from ports that might help. I haven't checked, but the Adobe Reader (port: acroread, e. g. acroread9) should be able to do this, as PDF 1.6 support is in that product since version 7 (Jan. 2005). I'm not sure if it would be less bloaty to use a PDF viewer coming with one of the big desktop environments KDE or Gnome: Evince, KPDF or Okular... I'm not using any of these, so I can't make better recommendations. Whenever I approach the border of what xpdf and gv can do, I use acroread filename. :-) I'm curious if anyone's tried running the Linux version of FoxItReader under FreeBSD's Linux emulation. There's a good chance it supports showing annotations. http://www.foxitsoftware.com/pdf/desklinux/download.php Also I suspect Chromium (www/chromium) has an internal PDF viewer like the Windows Linux versions do. It may also show annotations. A cursory web search for a PDF with annotations came up empty, otherwise I'd test both natively in Ubuntu. ___ 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: Auto-mounting sshfs from /etc/fstab
On Wed 2012-09-05 19:38:54 UTC+0200, OriS (site.free...@orientalsensation.com) wrote: I've been trying to find a page on the Internet where an example is posted explaining how to mount sshfs from /etc/fstab, but I can't find any! Have you tried running sshfs from cron? eg. run crontab -e as a regular user and add: @reboot /usr/local/bin/sshfs remotehost: $HOME/mnt/remote Note: Untested. ___ 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: ls-F tcsh built-in command
On Thu 2012-05-17 15:17:13 UTC+0200, Polytropon (free...@edvax.de) wrote: Search for LS_COLORS in the environment variables section of man csh. However, I've always been satisfied with using $LSCOLORS as ExGxdxdxCxDxDxBxBxegeg. :-) Before I discovered $LSCOLORS I used gls from /usr/ports/sysutils/coreutils and had an alias in .tcshrc: alias ls gls --time-style=long-iso --color=auto I still use this in Linux. In FreeBSD I use /bin/ls: setenv LSCOLORS ExGxFxdxCxDxDxhbadExEx alias ls 'ls -D %Y-%m-%d %H:%M:%S' The -D stuff is to display ISO 8601 style timestamps like GNU ls's --time-style=long-iso format, eg: -r-xr-xr-x 1 root wheel 12612347 2011-09-28 19:13:57 /boot/GENERIC/kernel I don't know if this helps the OP. :-) ___ 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: Follow up....Re: Updating for the FreeBSD Security Advisory FreeBSD-SA-12:01.openssl
On Thu 2012-05-03 19:17:05 UTC+0200, Leslie Jensen (les...@eskk.nu) wrote: After a reboot my system now has the following label FreeBSD 8.2-RELEASE-p3 #0 How come it downgrades the label from p6 to p3 when upgrading to p7. This is a FAQ. There's a thread about it here: http://lists.freebsd.org/pipermail/freebsd-questions/2010-June/217031.html Short answer: The patch level (-p3) displayed by uname -r after a reboot will not change if freebsd-update has not touched the kernel. As far as I know there haven't been any patches to the 8.2-REL kernel since -p3. /usr/src/sys/conf/newvers.sh is always updated by freebsd-update when there is an update. (Although now that I think about it that might not be true if you don't have the kernel sources installed?) Not exactly intuitive. Several Linux distros have a file named /etc/issue that shows the distro name and version. Perhaps this or something similar could be provided in future FreeBSD releases and updated by freebsd-update. $ cat /etc/issue Ubuntu 12.04 LTS \n \l Regards Andrew ___ 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: Follow up....Re: Updating for the FreeBSD Security Advisory FreeBSD-SA-12:01.openssl
On Thu 2012-05-03 20:48:17 UTC+0200, Leslie Jensen (les...@eskk.nu) wrote: Short answer: The patch level (-p3) displayed by uname -r after a reboot will not change if freebsd-update has not touched the kernel. ... I have read similar answers and was partly aware of this. But I was just curious to why. I'll accept it and let a kernel rebuild be a part of my updates. If you're running the GENERIC kernel then you're only creating extra work for yourself by rebuilding it for the sole purpose of having uname -r show the correct patchlevel... On the other hand if you're running a custom kernel then you only need to rebuild the kernel when freebsd-update touches the kernel sources. I don't recall the kernel was touched at all with the most recently -p7 patch (openssl), for example, so there's absolutely no need to rebuild it. Apologies if this was already obvious. Regards Andrew ___ 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: ps, clang and make variables
On Sat 2012-03-31 20:32:04 UTC+1000, R Skinner (ro...@herveybayaustralia.com.au) wrote: Stupid question, but I need to clarify and make sure I'm right here: what should I see as the running process if clang is compiling? ATM I see cc1plus. clang for C, clang++ for C++ I'm trying to set CC and friends make variables to clang for a build, but it doesn't appear to be 'sticking'. It seems to change the shell env to bash, but that shouldn't be the problem. So I'm trying to work out whats up. I have this in /etc/make.conf: .include /etc/make.clang.conf and /etc/make.clang.conf itself: .if !defined(CC) || ${CC} == cc CC=clang .endif .if !defined(CXX) || ${CXX} == c++ CXX=clang++ .endif .if !defined(CPP) || ${CPP} == cpp CPP=clang -E .endif # Don't die on warnings NO_WERROR= WERROR= # Don't forget this when using Jails! NO_FSCHG= This is from http://wiki.freebsd.org/BuildingFreeBSDWithClang which talks about building the FreeBSD kernel base, but it's also used by the Ports system. Another option is to set CC CXX explicitly: cd /usr/ports/*/foobar make CC=clang CXX=clang++ FWIW I'm trying to build libreoffice with clang as it doesn't build, or more accurately doesn't build and test correctly. It doesn't appear to honor the CC variables (CC, CXX, CPP, etc). Worth a shot anyway :) I've never tried building LibreOffice at all, let alone with Clang, but apparently it can be done: http://nabble.documentfoundation.org/libreoffice-clang-success-td3788899.html Regards Andrew ___ 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: 'rm' Can not delete files
On Fri 2012-02-10 16:12:06 UTC+, Matthew Seaman (m.sea...@infracaninophile.co.uk) wrote: In addition, I don't believe it solves the OP's initial problem of the argument list being too long! You'd probably need to use the xargs -n switch here. Go and read the xargs(1) man page carefully. xargs is specifically designed to avoid arglist overflows. Ah, I grepped for 'limit' and 'overflow', didn't see anything applicable, and didn't notice the -s switch. That it avoids arglist overflows should perhaps be written more obviously in the man page (though I'm not sure how...) Or the scenic route, using xargs, with one rm per file (slower): find . -type f -depth 1 -print0 | xargs -n1 -0 rm -f (The scenic route is useful if you want to do something else with the files instead of deleting them with rm.) In this case, if you're going to call rm repeatedly with only one arg, then xargs is pretty pointless. You might as well do: find . -type f -depth 1 -exec rm -f '{}' ';' but let's not leave people in any doubt that this is not the best option. True, but I can never remember the syntax for -exec. :-) Regards Andrew ___ 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: 'rm' Can not delete files
On Tue 2012-02-07 23:17:16 UTC+, RW (rwmailli...@googlemail.com) wrote: On Tue, 07 Feb 2012 22:14:56 + Matthew Seaman wrote: ls -1 | xargs rm but be aware that that wont work for filenames with spaces. In addition, I don't believe it solves the OP's initial problem of the argument list being too long! You'd probably need to use the xargs -n switch here. The above will also try to 'rm' directories, which won't work. Instead I would use 'find': find . -type f -depth 1 -delete This will also work with filenames with spaces. Or the scenic route, using xargs, with one rm per file (slower): find . -type f -depth 1 -print0 | xargs -n1 -0 rm -f (The scenic route is useful if you want to do something else with the files instead of deleting them with rm.) Regards Andrew ___ 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: Installing FreeBSD ver. 8.2
On Sat 2012-01-07 15:05:55 UTC-0800, leeoliveshackelf...@surewest.net (leeoliveshackelf...@surewest.net) wrote: (5) What device driver must be installed for the sound board to be able to receive a m.i.d.i. over u.s.b. signal? This signal would be generated by a musician's keyboard, and would control a music synthesizer application, to be installed. I could find no mention of this topic in the Handbook. There are USB to MIDI in/out hardware devices available. Last I looked they were selling for about US$25 on eBay. I bought one about two years ago and use it in Ubuntu Linux. I don't think I ever tested if it worked in FreeBSD but I suspect it would. I also have a Casio WK3300 keyboard with USB output. I don't think it was supported by FreeBSD, but Ubuntu Linux (10.04 Lucid) recognised it. The sound card you use is irrelevant as to whether you can use MIDI over USB. In fact MIDI can be used for non-audio applications, for example lighting rigs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update
On Sun 2011-12-04 11:06:29 UTC+0100, Dick Hoogendijk (d...@nagual.nl) wrote: Why do I get a warning if I use freebsd-update about a renewal of my FreeBSD installation within the next two months because after that time it will nog be supported anymore? Presumably you mean 8.2-RELEASE. http://security.freebsd.org/ says that the estimated EOL (end-of-life) for 8.2-RELEASE is February 29, 2012. Looking at the source code to freebsd-update, the EOL date is fetched from the metadata hosted by the freebsd-update servers. From what I understand, the focus is on releasing FreeBSD 9.0, and 8.3 will be released after that. But 9.0 is still in testing. Despite the message, I suspect security updates for 8.2 will still be issued for several months after 8.3 is released, to give people plenty of time to test 8.3 first before upgrading their 8.2 machines. I run FreeBSD-release-p4. Freebsd-update 'sees' p3. Is this the cause? If this is true, you may have a separate (possibly additional) problem, but on my 8.2-RELEASE-p4 system, freebsd-update sees I have p4 installed. I still see the above message you describe. uname -r shows p3, however. I understand this is expected behaviour on account of there being no kernel patches between p3 p4. Regards Andrew ___ 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: larger disk for a zfs pool
On Mon 2011-08-01 17:05:02 UTC+0200, Dick Hoogendijk (d...@nagual.nl) wrote: But I'm confused about the gpart thing I did on the original disks. $ gpart show = 34 156301421 ad4 GPT (75G) 341281 freebsd-boot (64K) 16283886082 freebsd-swap (4.0G) 8388770 1479126853 freebsd-zfs (71G) = 34 156301421 ad6 GPT (75G) 341281 freebsd-boot (64K) 16283886082 freebsd-swap (4.0G) 8388770 1479126853 freebsd-zfs (71G) Do I repeat this gpart section on the new disk(s) before putting them in the rpool (one at a time). Basically yes. Both drives in the mirror need the freebsd-boot partition, otherwise the drive without freebsd-boot won't be bootable if the other drive fails to boot. freebsd-swap can be any size. The sector count of the freebsd-zfs partition on the new drive needs to be equal or greater to the existing sector count, though. 147912685 in your case. gpart should do that automatically if the replacement drive is larger and you tell it just to use the remaining space. Don't forget this step: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i nnn device Is it compatrible to putting the solaris bootcode on disk before attaching them to a rootpool and resilvering? I want to expand my rootpool but am a little confused about the right procedure. I've not used Solaris, but I assume so. Regards Andrew ___ 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: larger disk for a zfs pool
On Mon 2011-08-01 09:37:55 UTC-0500, Dan Nelson (dnel...@allantgroup.com) wrote: In the last episode (Aug 01), Dick Hoogendijk said: OK, my freebsd system runs on ZFS boot. W/ solaris getting larger disks for a pool was quit easy. Simply replace one disk from a mirror for a larger one, wait for the resilvering and after this replace the second one for a larger disk and wait for the resilvering again. That's it. Been there, done that. But my feeling tells me it is not that simple for a FreeBSD zfs root system, or is it? Should be the same procedure. Make sure you either use zpool online -e when swapping in the new disks, or that you have the zpool autoexpand=on attribute set. On my FreeBSD 8.2-RELEASE machine, -e is an invalid option and autoexpand an invalid property. I suspect these are features of ZFS v28 and are not provided with the ZFS v15 provided with FreeBSD 8.2-REL. Judging from behaviour I experienced experimenting with ZFS in a virtual machine using 8.2-REL, it was possible to replace all drives in a ZFS mirror with larger ones and increase the size of the pool, but (after resilvering) it required either a reboot, or (if I recall correctly): zpool export tank zpool import tank for the increased size to become available. So I assume autoexpand was implied for ZFS v15. However this was not with FreeBSD booting from 'tank'. Trying to run zpool export tank may result in a Device busy error if the boot device was the tank pool. It might be worthwhile experimenting in on a spare (or virtual) machine to get a definitive answer, especially since there seem to be differences depending on FreeBSD version. Regards Andrew ___ 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: larger disk for a zfs pool
On Mon 2011-08-01 16:30:50 UTC+0200, Dick Hoogendijk (d...@nagual.nl) wrote: OK, my freebsd system runs on ZFS boot. W/ solaris getting larger disks for a pool was quit easy. Simply replace one disk from a mirror for a larger one, wait for the resilvering and after this replace the second one for a larger disk and wait for the resilvering again. That's it. Been there, done that. But my feeling tells me it is not that simple for a FreeBSD zfs root system, or is it? By the way, a similar question appeared on the freebsd-fs list recently: http://lists.freebsd.org/pipermail/freebsd-fs/2011-June/011887.html Although the question was asked with regards to ZFS v28, which may be newer than what you are using. Regards Andrew ___ 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: A possibly odd upgrade question
On Wed 2011-05-04 12:50:05 UTC-0400, Chris Brennan (xa...@xaerolimit.net) wrote: I have an old PIII running FreeBSD7.3 currently, ports is all kinds of screwed up, when I did my first cross-version upgrade from 6.x to 7.x, I didn't know I had to rebuild ports, I subsequently upgrades though every version upto to 7.3. Ports is still FUBAR, half of them no longer work. So my question is this, now I know for the future to upgrade ports after every upgrade, is it safe to nuke /usr/local (excluding /usr/local/home), rebuild world/kernel for 8.2 and start with a fresh ports tree? You only need to rebuild all your ports after a major FreeBSD upgrade, eg. 6.x to 7.x, or 7.x to 8.x. Deleting /usr/local is a bit of an extreme step. You can run pkg_delete -av to delete all installed ports. Starting with a fresh ports tree is probably only necessary if your ports tree is very out of date. Only because if it's stale it could take longer to update it with portsnap than to start the tree from scratch. Of course deleting an existing ports tree can also take a while, too. You shouldn't need to build world kernel for 8.2 unless you need a custom kernel or something else peculiar to your setup. I have no way of knowing, but I suspect most FreeBSD users just use freebsd-update these days to install the premade binaries of world kernel. I thought about a clean reinstall but this machine cannot boot from USB, both CD-ROM's are dead and have been disconnected to use IDE hard-drives and the floppy driver is dead as well. You could put the boot HDD into another machine with a working CD-ROM, install it onto that, then put the HDD back into the P3 when you're done. There's no requirement that the installation needs to be done on the same machine it's going to ultimately boot from. Do you actually need to upgrade to 8.x? I'm not sure there's much to gain from putting 8.x on an old P3... Regards Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update housekeeping?
On Fri 2011-02-25 17:26:52 UTC+, Neil Long (n...@cymru.com) wrote: Just noticed how large /var/db/freebsd-update has grown on a box I just upgraded from 7.3 to 7.4 (but I can't recall when I started using it). Is there a recommended approach or just rm the directory if I have no need to roll it back? Before I upgraded to 7.4-REL I used rm -rf /var/db/freebsd-update/ as my /var is only 1 GB and was running low on free space. Doing this should be no different to a fresh install where this directory is initially empty anyway. Of course if you're still wary you could make a tarball backup of that directory somewhere else before emptying it out. IIRC, freebsd-update will complain if /var/db/freebsd-update/ doesn't exist, so you may need to mkdir it after using rm -rf. Regards Andrew ___ 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: Archiving directories / zip format
On Mon 2010-12-06 08:17:17 UTC+0100, Zbigniew Szalbot (zszal...@gmail.com) wrote: From time to time I want to archive a quite a few directories to download them conveniently. I have been using tar to do it, endingin up with a tar.gz file. But the problem with it is that I do not have a unix machine at home so if I want to extract something or unpack the content, there is no easy way to do that. My question basically is if there is a way to end up with a zip file? As somebody else already mentioned there is zip/unzip in the FreeBSD Ports tree. There's also a BSD port of rar/unrar if you'd like to use the .rar format instead of .zip. Or are there any windows tools to unzip and/or extract content from tar.gz files? In Windows I use 7-Zip. It's open source and supports .tar.gz, .tar.xz, .zip, .rar and a number of other archive formats. http://www.7-zip.org/ On the BSD side you can also use p7zip to create .7z archives that can be opened with 7-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: filter a binary file and reduce 0x150a to 0x15
On Tue 2010-10-19 21:21:00 UTC-0400, Karl Vogel (vogelke+u...@pobox.com) wrote: me% perl -0pe 's/\025\n/\025/g;' blah | od -c Nitpicking a little, but Perl isn't part of the FreeBSD base any more. Most FreeBSD users probably have it installed, though (perhaps as a dependency)... ___ 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: filter a binary file and reduce 0x150a to 0x15
On Tue 2010-10-19 15:08:45 UTC+0200, Matthias Apitz (g...@unixarea.de) wrote: Before I programm it in C (or whatever), is there any normal shell tool to filter a (large) binary file and change any occurance of 0x150a to 0x15 (i.e. delete \n but only if it follows a char 0x15)? I'd be personally more comfortable doing it in C or Python but I think you can do this with tr -s. Note: 0x15 == 25 octal; 0x0a == 12 octal. I don't recall if it's possible to use hex values in csh arguments - if so, what is the syntax? 0:28 ozzmo...@blizzard [~/tmp]printf 'Hello\25\12world.\12' blah 0:28 ozzmo...@blizzard [~/tmp]hd blah 48 65 6c 6c 6f 15 0a 77 6f 72 6c 64 2e 0a|Hello..world..| 000e 0:28 ozzmo...@blizzard [~/tmp]tr -s '\25\12' '\25' blah | hd 48 65 6c 6c 6f 15 77 6f 72 6c 64 2e 15 |Hello.world..| 000d Regards Andrew ___ 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 tell ls output date in digital
On Wed 2010-09-08 16:03:20 UTC-0700, Guojun Jin (g...@ubicom.com) wrote: I remember that ls can output date in digital like following format before -rw-r--r-- 1 user Domain Users54323 2010-09-08 14:12 crash.log Instead of Sep 08 2010 or Sep 08 11:07 But I cannot find any option or ENV to do this under FreeBSD (6.X-R). Does anyone have knowledge about this possibility? In FreeBSD 7.3 I use /usr/local/bin/gls installed from the sysutils/coreutils port, and a tcsh alias for ls: ls gls --time-style=long-iso --color=auto 21:23 ozzmo...@blizzard [~]ls -ld / drwxr-xr-x 19 root wheel 512 2010-09-05 03:11 / Regards Andrew ___ 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 tell ls output date in digital
On Thu 2010-09-09 13:11:39 UTC+, Pala, Santosh (santosh_p...@keane.com) wrote: The ls command with -E switch will give the required output. Hmm, not in FreeBSD 7.3: 23:19 ozzmo...@blizzard [~]/bin/ls -E ls: illegal option -- E usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] 23:19 ozzmo...@blizzard [~]/usr/local/bin/gls -E /usr/local/bin/gls: invalid option -- 'E' Try /usr/local/bin/gls --help' for more information. ___ 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: Should a squid user have a shell?
On Wed 2010-09-01 09:02:45 UTC-0700, Ed Flecko (edfle...@gmail.com) wrote: I'm looking in some documentation for Squid, which I'm installing on a FBSD 8.1 server, and it says I need to create a squid user and a squid group because I'm building/installing from source. All of this is done automatically if you build Squid from source using the Ports tree - probably www/squid, or www/squid31. Are you sure you want to do it manually? Regards Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update newbie
On Tue 2010-08-31 09:56:19 UTC-0400, Kyle Dippery (k...@engr.uky.edu) wrote: hostname# freebsd-update fetch Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 8.1-STABLE from update4.FreeBSD.org... failed. Fetching metadata signature for 8.1-STABLE from update5.FreeBSD.org... failed. Fetching metadata signature for 8.1-STABLE from update2.FreeBSD.org... failed. Fetching metadata signature for 8.1-STABLE from update3.FreeBSD.org... failed. No mirrors remaining, giving up. Short answer: freebsd-update doesn't support updating systems running -STABLE. ___ 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: Digital camera for FreeBSD
On Sun 2010-07-18 12:21:42 UTC-0400, Robert Ames (roberta...@hotmail.com) wrote: If such a thing does exist, can someone recommend a simple point and shoot digital camera that you can connect to a FreeBSD machine via a USB cable and have access to the images via a (presumably MS-DOS based) filesystem? Please CC me on responses as I'm not subscribed. Thanks. Any camera that can act as a USB mass storage device should basically be plug-and-play in FreeBSD. Once such a camera is switched on it will behave essentially the same as a USB card reader, and you can you mount the flash memory card using mount_msdos. This web page shows how: http://www.freebsddiary.org/card-reader.php http://en.wikipedia.org/wiki/USB_mass-storage_device_class There are some cameras (eg. my Kodak C1013) that support Picture Transfer Protocol (PTP) over USB, instead of acting as a mountable mass storage device. For PTP-only cameras you can use gPhoto (graphics/gphoto2 in Ports) to copy the images and videos to your PC. http://en.wikipedia.org/wiki/Picture_Transfer_Protocol http://en.wikipedia.org/wiki/GPhoto I believe F-Spot (graphics/f-spot) also supports PTP cameras. Another option (for both types of cameras) is of course to use a USB card reader, removing the flash memory card from the camera each time you want to access your images. It's somewhat cumbersome to do this each time, although it's good to have a card reader anyway in emergencies when the camera's batteries have inevitably gone flat. Good luck, Regards Andrew ___ 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: sort: write error with portsnap
On Thu 2010-07-08 12:34:29 UTC+0200, Julien Cigar (jci...@ulb.ac.be) wrote: Am I the only one to have sort: write errors since a few days with portsnap ? : Same here. No idea why! 16:46 ozzmo...@blizzard [~]sudo portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap6.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Sat Jul 10 19:16:22 EST 2010 to Mon Jul 12 15:47:14 EST 2010. Fetching 4 metadata patches... done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 64 patches.102030405060.. done. Applying patches... done. Fetching 3 new ports or files... done. sort: write failed: standard output: Broken pipe sort: write error Removing old files and directories... done. Extracting new files: /usr/ports/archivers/deb2targz/ /usr/ports/archivers/unalz/ ... /usr/ports/x11/xclip/ /usr/ports/x11/xorg-minimal/ Building new INDEX files... done. 16:46 ozzmo...@blizzard [~]uname -a FreeBSD blizzard.phoenix 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 06:15:01 UTC 2010 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Regards Andrew ___ 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: Is it appropriate to mount /var and /usr on ext2fs partition ?
On Thu 2010-06-24 18:36:13 UTC-0700, zaxis (z_a...@163.com) wrote: /dev/ad4s8 on /media/G (ext2fs, local) The /dev/ad4s8 is an empty partition. Now i want to move /var and /usr to it. Do i need to format /dev/ad4s8 to UFS ? I would reformat it as UFS unless you plan on dual-booting Linux on the same machine. You can use the -U argument with the newfs command to enable softupdates. AFAIK the default is off. Alternatively you can use tunefs to do this after you run newfs, but before you mount it. ___ 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: Icelandic FTP server doesn't work? I don't think it's been up for a while?
On Thu 2010-06-24 23:28:27 UTC+, Svavar Ingi Hermannsson (sva...@security.is) wrote: I just wanted to notify you that the Icelandic ftp mirror site doesn't seam to be working. ftp.is.freebsd.org 21:48 ozzmo...@blizzard [~]host ftp.is.freebsd.org ftp.is.freebsd.org is an alias for ftp1.is.freebsd.org. ftp1.is.freebsd.org has address 130.208.16.26 ftp1.is.freebsd.org has address 130.208.16.31 ftp1.is.freebsd.org has IPv6 address 2001:948:10:16::31 ftp1.is.freebsd.org has IPv6 address 2001:948:10:16::26 ftp1.is.freebsd.org mail is handled by 10 durinn.rhnet.is. I get Connection refused with 130.208.16.31. 130.208.16.26 is OK. ___ 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: Small webserver recommendations
On Sun 2010-06-06 18:44:10 UTC+0100, peter harrison (four.harris...@googlemail.com) wrote: I'm looking for a small webserver to add to a nanobsd image, so preferably with few dependencies too. Needs to be able to run Perl cgi's as well. Anyone willing to make a recommendation? thttpd? http://acme.com/software/thttpd/ ___ 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 FBSD from 8.0-release to stable-8
On Sun 2010-06-06 13:37:58 UTC+, Giorgos Tsiapaliokas (terie...@gmail.com) wrote: i have seach to net but i haven't find a way to update my system from 8.0-release to stable-8. can you tell me a way to do this? My immediate thought was that if you can't work out how to update your system to FreeBSD-STABLE then you probably shouldn't be doing that. You should read the FreeBSD handbook then decide whether running STABLE is actually what you want to do. Particularly this page: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html Most FreeBSD users install FreeBSD-RELEASE then use the freebsd-update command to either patch it with security updates or upgrade to a newer version of RELEASE. As far as I know you can't use freebsd-update to upgrade to/from STABLE, only RELEASE. Regards Andrew ___ 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: md5(1) and cal(1)
On Mon 2010-05-10 17:35:45 UTC-0800, David Allen (the.real.david.al...@gmail.com) wrote: 1. Why doesn't cal(1) hilight the current day? Hell, some days I'm not even sure what day or week it is, so after typing 'cal', I have to type in 'date', and then sit there for a few seconds to interpret what I'm looking at. Of course, that isn't always successful, so I typically end up reaching for my mouse and hilight the date manually. But after doing that I'm just as annoyed by not knowing the date as I'm annoyed by the behavior of the cal utility and the extra work I'm forced to do. cal(1) is pretty old. I suspect it was written partly so the output could be printed out on paper. /usr/ports/deskutils/cal might be more your taste. 2. Why doesn't md5(1) have a check option? Seems to me requiring a manual inspection is error-prone at best, and makes scripting unecessarily complicated. If you're comparing two files, cmp(1) might be more suitable. ___ 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: Number of columns when redirecting ps command stdout to a file
On Fri 2010-05-07 11:53:03 UTC+0200, Bastien Semene (bsem...@cyanide-studio.com) wrote: I wish to log the 'ps' command output in a file through a cron job. If I execute the command on the console, the result lines are truncated depending on the number of columns of the client console, what is fine. But when the command is executed by cron and redirected to a file, there's a maximum of 80 char columns. Where is set this limitation ? How can I remove it ? From the ps(1) man page: If the -w option is specified more than once, ps will use as many columns as necessary without regard for your window size. ___ 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: Auto update
On Sun 2010-04-11 08:14:48 UTC+0200, Jos Chrispijn (ker...@webrz.net) wrote: Can someone tell me if there is a way of generating an email on the moment that someone logs in to my FreeBSD server? By which method? SSH? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problem with mailing list archives?
On Tue 2010-03-30 11:55:18 UTC-0400, Robert Huff (roberth...@rcn.com) wrote: If I go to http://docs.freebsd.org/mail/archive/freebsd-questions.html;, the last weekly archive is dated March 07. What's up with that? :-) Mar 07 means the week preceding March 7, 2010. It looks like the index hasn't been generated for mail newer than that for some reason. However there's a this week link above Mar 07 which is current, and it links to your question: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=463321+0+current/freebsd-questions For the list archives you may prefer to use this link instead: http://lists.freebsd.org/pipermail/freebsd-questions/ ... although it only goes back to 2003, whereas the archive you pointed to goes way back to 1994! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD Version recommend for OLD machine
On Fri 2010-03-12 00:16:35 UTC-0500, Steve Bertrand (st...@ibctech.ca) wrote: The machine has a Motherboard that supports 2 double pentium III processors with 1GB of ram and a hard disk with 40GB. I run FreeBSD 7.2 on a headless 1 GHz Pentium III with 256 MB RAM. ... Again... so long as the system won't change its overall process objectives, go to the recent production release, but instead of assigning 256M for /, throw 2G at it to be safe. 2 GB for / seems excessive to me. 1 GB should be plenty. I have 500 MB allocated for FreeBSD 7.2: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a496M144M312M31%/ Although, with a cheap PCI SATA controller card you should be able to use current model terabyte-sized hard drives on a Pentium III, so hard drive space is a bit academic. Regards Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problem with `find -delete`
On Wed 2010-02-10 14:24:34 UTC+0100, Alexander Best (alexbes...@wwu.de) wrote: thanks goes to jilles on #freebsd-bugbuster. he told me that -delete doesn't delete directories recursively. so what i'm bow using is sudo /usr/bin/find /usr/ports -name work -depth 3 -type d -exec rm -rf {} + AFAIK another method is: sudo rm -rf /usr/ports/*/*/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: wps to odt?
On Tue 2010-02-02 12:44:41 UTC-0800, Gary Kline (kl...@thought.org) wrote: is there such a converter that sends m$ Works [.wps] to odt? AbiWord. And a quick-and-dirty shell script to convert all .wps (Microsoft Works) word processor files in the current directory to .odt (OpenDocument Text): #!/bin/sh for fn in *.wps; do abiword --to=odt $fn done Regards Andrew ___ 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: wps to odt?
On Tue 2010-02-02 16:35:42 UTC-0800, Gary Kline (kl...@thought.org) wrote: outstanding! but if abiword can grow wps [thru hook or crook], i might as well use abiword [?] I think AbiWord will only read WPS format, not write it. pps: i did try abiword, first, just % abiword file.wps it came up with garbage. FWIW... . Strange. I've viewed WPS files in AbiWord under Ubuntu Linux. The FreeBSD port should be practically identical. Worst case, you could install Works under DOSBox or WINE, save the file as RTF then open it in AbiWord. Regards Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 2.0.5 Release
On Mon 2010-01-04 20:32:54 UTC+0800, Paul Shi (shih...@hkusua.hku.hk) wrote: I am looking for a FreeBSD release which is most similar to 4.4 BSD-Lite and I chose FreeBSD 2.0.5, the oldest release since 4.4 BSD-Lite. However, after downloading iso file from archive ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/4.3/ and burning to CDROM, it still will not boot from CDROM. The burning process should be fine since I just got it correctly as some of you may be aware. So I wondering if it is possible that the ISO file has been broken. Is there any one who maintains older archive know the validity of ISO file. Thank you very much! I don't think the very early releases available on CD are bootable. Not many PCs in the mid-1990s supported booting from CD. CD-ROM drives weren't very common and those that did exist often had non-standard interfaces that required special drivers to work - which meant the BIOS couldn't see them to boot from them. To install FreeBSD 2.x, if I recall correctly you need to write the FreeBSD diskette images (in the /floppies/ directory) to diskettes, then boot from the first install diskette, while having the installation CD in the CD drive. You may need to RTFM a bit to get this working. ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/2.0.5-RELEASE/INSTALL (AFAIK it's still possible to use this technique to do a network install of FreeBSD 8.x, if you don't have a working CD-ROM drive.) The ISO for FreeBSD 3.x is probably bootable. I know the 4.x ISO is. It wouldn't surprise me if FreeBSD 2.0.5 fails to boot correctly on modern hardware. You may need to use older hardware, or an emulator. Regards Andrew ___ 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
pkgtools and xz compressor
Hi, I notice FreeBSD 7.2's pkg_add, pkg_create, etc don't have support for the xz compressor, evidently due to lack of support for the xz format in bsdtar. Does bsdtar support xz in FreeBSD 8.0? Failing that, is xz support for the pkgtools something being looked at in future? xz's compression ratios tend to be much better than bzip2's, eg. -rw-r--r-- 1 root wheel 27360899 2009-12-05 03:20 samba-3.0.37,1.tbz -rw-r--r-- 1 root wheel 16672892 2010-01-01 12:15 samba-3.0.37,1.tar.xz Happy new year to FreeBSD users worldwide! Regards Andrew ___ 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 subject)
On Wed 2009-12-23 12:05:40 UTC-0700, Modulok (modu...@gmail.com) wrote: Is there a software method (not a microwave oven) to destroy a CD-R? Something like: dd if=/dev/random of=/dev/acd0? Obviously the above doesn't work, but the idea is there. I suspect most CD burners are designed to disallow overwriting of data already written to a CD-R. Otherwise the software method would already exist and you'd see lots of people treating CD-Rs as rewritable discs. Which they aren't. Personally I'd physically destroy the disc using whatever method you prefer, eg. removing the label with steel wool, or disintegrate the disc with a shredder. ___ 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: startx and xinit under FreeBSD8
On Fri 2009-12-11 16:57:06 UTC-0500, Steven Friedrich (free...@insightbb.com) wrote: I installed FreeBSD to another partition, so I could check it out. I selected All sources and binaries and KDE4. When I tried startx, it complained that it didn't exist. It's just a script, so I copied it over from my 7.2p5 partition. Now it complains that xinit doesn't exist. Why didn't these two get laid-down by the install?? The dependencies for KDE4 probably don't go as far as requiring an X server. Some machines run headless and so don't require an X server (what startx runs) to be installed to run X apps. ___ 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: slow clock on FreeBSD 7.2 on vmware
On Sat 2009-12-12 12:06:18 UTC-0500, Robert Fitzpatrick (rob...@webtent.com) wrote: pgsql# cat /boot/loader.conf kern.ipc.semmni=32 kern.ipc.semmns=512 hint.apic.0.disabled=1 According to the loader.conf man page these should all be in the format: kern.ipc.semmni=32 kern.ipc.semmns=512 hint.apic.0.disabled=1 I don't know if this matters. I'm not sure hint.apic.0.disabled is valid for 7.2. sysctl -a doesn't list this variable on my machine. Maybe it's only available on some machines. The only way I'm able to keep the clock up to date is to sync with an Internet time server regularly. Anyone have an idea how fix this issue? Can you use ntpd? Regards Andrew ___ 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: 'X' vs. 'Mouse'
On Fri 2009-12-11 07:30:01 UTC-0500, Carmel (carmel...@hotmail.com) wrote: It is really hard to push the merits of an operating system when you have to give detailed instructions to the potential end user on how to get a mouse to work, when all they have to do in a Win32 based system Last time I had X working was in FreeBSD 6.3, with no dramas. Things may have changed a bit since then, but the general impression I get is that most of Xorg's design decisions are made by Linux developers, and so folks using Xorg in FreeBSD may have to put up with a few compromises to get it to work reliably. To be fair to FreeBSD, I don't think you can really call this as a fault of the OS since Xorg is not part of FreeBSD. is plug it in. I really cannot fathom a seven year old having to modify an XML document to facilitate their playing a How to Spell CD, assuming that they could even get the CD operational. I don't believe FreeBSD is intended to be used (let alone administered) by children. There are Linux distros better suited to children. Edubuntu springs to mind. Ubuntu is pretty much plug-and-play point-and-click on most PCs made in the last few years. Certainly no XML editing required to get Xorg working. Regards Andrew ___ 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
tcsh backtick/quote bug on FreeBSD 7.2
Hi, I just stumbled across a bug in the version of tcsh supplied with FreeBSD 7.2. $ uname -a FreeBSD blizzard.phoenix 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 UTC 2009 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 $ which tcsh /bin/tcsh $ tcsh --version tcsh 6.15.00 (Astron) 2007-03-03 (i386-intel-FreeBSD) options wide,nls,dl,al,kan,sm,rh,color,filec $ tcsh -f ` Unmatched `. Segmentation fault (core dumped) $ Regular tcsh isn't in the ports tree, although there is a modified version called tcsh-bofh. It's apparently based on an older version of tcsh and is not vulnerable. $ /usr/local/bin/tcsh --version tcsh 6.12.00 (Astron) 2002-07-23 (i386-intel-FreeBSD) options 8b,nls,dl,al,rh,color,filec $ /usr/local/bin/tcsh -f ` Unmatched `. Regards Andrew ___ 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 uname -a weirdness
On Thu 2009-12-03 14:46:26 UTC+0100, Andrea Venturoli (m...@netfence.it) wrote: Now uname -a reports 6.3p13, although cat /usr/src/UPDATING gives: ... 20091203: p14 FreeBSD-SA-09:15.ssl, FreeBSD-SA-09:17.freebsd-update Disable SSL renegotiation in order to protect against a serious protocol flaw. [09:15] Fix permissions in freebsd-update in order to prevent leakage of sensitive files. [09:17] ... From what I understand the version number compiled into the kernel is retrived from /usr/src/sys/conf/newvers.sh at build time. Maybe one of the developers forgot to update this file to p14 for FreeBSD 6.3. Or perhaps newvers.sh is only updated when the kernel is modified. But the latter theory does not match my experience on the FreeBSD 7.2 machine I run here: 1:52 ozzmo...@blizzard [~]grep -v # /usr/src/sys/conf/newvers.sh | head TYPE=FreeBSD REVISION=7.2 BRANCH=RELEASE-p5 ... Here, newvers.sh was modified only a few hours ago when I ran freebsd-update to upgrade from 7.2-REL-p4 to 7.2-REL-p5: 1:58 ozzmo...@blizzard [~]touch x 1:59 ozzmo...@blizzard [~]ls -l /usr/src/sys/conf/newvers.sh x -rw-r--r-- 1 root wheel3795 2009-12-03 21:24 /usr/src/sys/conf/newvers.sh -rw-r--r-- 1 ozzmosis ozzmosis0 2009-12-04 01:59 x I think the above does not affect the kernel; Yes, I believe ihis is correct for the recent security patches for 7.2. I saw no kernel modifications (so presumably no need to reboot the machine). in fact I recompiled it just to be able to check the OS version with uname. Just curious on whether this is normal... I wonder if the FreeBSD developers would consider it worthwhile to make it a bit easier to find out what patch level the system is at. uname -a only reflects the kernel patch level. I don't think there's an unambiguous way to determine the userland patch level. Most Linux distros use /etc/issue. Maybe FreeBSD could have something like that. Regards Andrew ___ 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: Wanting to buy a laptop w/ FreeBSD, AND...
On Tue 2009-12-01 10:00:16 UTC+0100, Polytropon (free...@edvax.de) wrote: ?4).? WordPerfect 5.1? Could be a problem to run it natively. WordPerfect 5.1 will run under the DOSBox emulator. http://www.dosbox.com/ /usr/ports/emulators/dosbox in the FreeBSD Ports tree. ___ 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
Possible workaround for 'BTX halted' error
Hi, I have an old 200 MHz Pentium Pro. A slow machine by today's standards but my intention was to put a minimal installation of FreeBSD 7.2 on it (ultimately installing to a CF or SD memory card using an IDE adapter), turning it into a very basic home office firewall and not much else. One of the problems I encountered (which I've also encountered on other old PCs) was the dreaded BTX halted error when attempting to boot from the FreeBSD install CD: AMIBIOS (C)1992 American Megatrends, Inc. (C) 1992 - 1998 Intel Corporation. BIOS Version 1.00.18.CS1 Intel Corporation VS440FX Motherboard Serial Number: M04090465 0131072 KB Press F1 Key if you want to run SETUP Hard Disk 0 Installed QUANTUM FIREBALL EL2.5A CD Loader 1.2 Building the boot loader arguments Looking up /BOOT/LOADER... Found Relocating the loader and the BTX Starting the BTX loader BTX loader 1.00 BTX version is 1.01 int= err= efl=00010246 eip=0002c85b eax= ebx= ecs= edx= esi= edi=00040320 ebp=00093ff8 esp=00093fc4 cs=002b ds=0033 es=0033fs=0033 gs=0033 ss=0033 cs:eip=f7 f1 85 db 89 c1 89 45-94 74 08 8b 55 18 89 32 89 7a 04 89 4d 98 8b 45-94 8b 55 98 83 c4 6c 5b ss:esp=91 01 00 00 dc df 09 00-00 00 00 00 00 00 00 00 00 00 00 00 20 00 20 00-60 01 20 00 0b 00 20 00 BTX halted At this point the machine freezes. Ctrl+Alt+Del won't reset it. I've seen the same bug crop up occasionally for more than a few years now (since FreeBSD 5.x, I think). Presumably there's no urgency to fix it. Until now the workaround I used was to boot from floppy diskettes (all five of them) made from the images in the \floppies directory on the install CD. The FreeBSD installer would then operate normally and install from the CD. But this is frustrating as diskettes are obviously terribly slow and often unreliable. Today by accident I found a much simpler workaround. There's a freeware program called PLoP Boot Manager that can be used to boot from CD. I burnt plpbtinnoemul.iso (from plpbt-5.0.4.zip) to CD on another PC then got the Pentium Pro to boot from it. When I reached the boot menu I took out the PLoP CD, replaced it with the FreeBSD 7.2 CD and told PLoP to boot from that. FreeBSD 7.2 then proceeded to boot from CD with no apparent problems. I've successfully booted FreeBSD 7.2, 7.0, 6.2, 5.4 5.3 from CD on this machine using the PLoP CD as a boot loader. Also a recent version of the FreeNAS LiveCD. PLoP isn't required to boot the FreeBSD 4.10 CD on this machine, but the 4.10 CD causes it to freeze very early on with no messages displayed if I do use PLoP to boot it. http://www.plop.at/en/bootmanager.html Apologies if this is long-winded, but I haven't seen this information anywhere else, so I thought I'd pass it on! I hope it helps someone. Regards Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can I prevent freebsd-update from installing kernel debug files
On Wed 2009-11-11 12:35:55 UTC-0600, Jason Fried (r...@churchofbsd.org) wrote: I have a fairly old install and not much room on my ROOT is there a way to prevent freebsd-update from installing .symbols files. In /etc/freebsd-update.conf: IgnorePaths /boot/kernel/*.symbols From reading the man page I get the impression this should work. I haven't tested it 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: Help understanding basic FreeBSD concepts (ports, updates, jails)
On Sat 2009-11-07 19:19:52 UTC-0800, Randi Harper (ra...@freebsd.org) wrote: Don't bother with any of that. Just use portsnap. It's also part of base, and was written by the same person that wrote freebsd-update. It's lovely and much faster, although some people may argue with me on that. For your system, use freebsd-update. Seconded. Portsnap and freebsd-update are a cinch to use. For your ports tree, use portsnap. For installed ports, use portupgrade or portmanager. I'm more fond of portmanager, but it seems portupgrade has many more users. Both portupgrade and portmanager are available in the ports tree, not base. I use portmaster and find it easy to use. Not familiar with portmanager. /usr/ports/UPDATING will often provide portmaster commands where necessary and these can useful for upgrading some ports. Maybe it's easy to translate those commands to their equivalent portmanager commands. Regards Andrew ___ 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: /etc/fstab + embedded spaces
On Tue 2009-11-03 06:57:12 UTC-0500, carmel_ny (carmel...@hotmail.com) wrote: I was attempting to create this entry in the /etc/fstab file. It is to a WinXP machine. //u...@bios/My Documents /laptop smbfs rw,noauto 0 0 It fails because 'fstab' does not allow embedded spaces in device names, not does it allow enclosing the name in quotes. A workaround may be to run mount_smbfs from /etc/crontab (or perhaps the root user's crontab), eg. @reboot /usr/sbin/mount_smbfs -N //u...@bios/My Documents /laptop or similar. Regards Andrew ___ 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: /etc/fstab + embedded spaces
On Tue 2009-11-03 14:07:37 UTC-0600, Adam Vande More (amvandem...@gmail.com) wrote: windows path's have alternate eg c:\Test~1 Yes, files and paths may all have an MS-DOS 8.3 equivalent (I think this option can be disabled in NTFS), however Windows SMB shares do not. \\host\My Documents is valid, but not \\host\MYDOCU~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: Deleting the kernel source - just with #rm?
On Sun 2009-10-04 15:15:05 UTC+0200, herbert langhans (herbert.raim...@gmx.net) wrote: I just compiled a nice, slim kernel on my laptop, but I dont want to carry all the kernel sources around there. Is it ok just to #rm the content of the /usr/src directory? And will I get it completely back from sysinstall or the FreeBSD-servers? Or is there a more elegant solution on FreeBSD? This should be fine. Since you've built a custom kernel you may want to keep a copy of your kernel build config (LINT) file, eg. /usr/src/sys/i386/conf/HOSTNAME. Note that you can't use freebsd-update to patch a custom (non-GENERIC) kernel. You can restore the kernel source code by extracting the ssys.?? binaries (normally found in the /src/ directory, eg. ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.2-RELEASE/src/ ) using install.sh (found in the same directory). Probably also with sysinstall, but I don't recall the steps to do that. Regards Andrew ___ 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: Deleting the kernel source - just with #rm?
On Sun 2009-10-04 16:29:08 UTC+0200, herbert langhans (herbert.raim...@gmx.net) wrote: Can you please tell me about the issue with freebsd-update. Does it mean if I run: #freebsd-update fetch #freebsd-update install - it will overwrite my self compiled kernel? Good to know indeed! No, I suspect freebsd-update will simply refuse to patch it. ___ 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: MD5 Checksum mismatch for netatalk-2.0.4.tar.bz2
On Sun 2009-08-23 10:24:53 UTC+0200, Vincent Zee (zen...@xs4all.nl) wrote: === Vulnerability check disabled, database not found === Extracting for netatalk-2.0.4,1 = MD5 Checksum mismatch for netatalk-2.0.4.tar.bz2. = SHA256 Checksum mismatch for netatalk-2.0.4.tar.bz2. I'm getting a checksum mismatch here too. This probably means the tarball was modified. I checked the distinfo file and it is the same as on my other machine. On which the update went fine. Solution #1: Use make NO_CHECKSUM=yes, just ignore the mismatch and hope it will build. Solution #2: Copy /usr/ports/distfiles/netatalk-2.0.4.tar.bz2 from your other machine and rebuild. Solution #3: Don't bother building from ports if you already have a working binary on your other machine. Use pkg_create -vb netatalk\*, copy the resulting file to the new machine, then use pkg_add. This assumes the same architecture (eg. i386) on both machines. ___ 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
feet to metres [was: 5000' ethernet?]
On Wed 2009-07-15 22:27:35 UTC+0200, Michelle Konzack (bsd4miche...@tamay-dogan.net) wrote: Not directly FreeBSD related, but how much of a chance is there that two machines could communicate directly over 5,000 feet of cat5 with no special hardware? I do not know hoe much a feet is in meters but AFAIK arround 0,3 which mean, you are talking about 1.5km or 1 mile ? Just FYI, you can use FreeBSD's 'units' (/usr/bin/units) to convert feet to metres: $ units 5000 feet metres * 1524 There is also a more advanced version in /usr/ports/math/units/ that installs to /usr/local/bin/gunits. ___ 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 move vi to /bin
On Wed 2009-05-13 12:51:46 UTC+0530, manish jain (invalid.poin...@gmail.com) wrote: I want to move vi to /bin so that I have an editor available in single-user mode. You may be able to use /rescue/vi. ___ 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: howto sidestep sysinstall during installation
On Mon 2009-05-11 23:17:09 UTC+0930, Daniel O'Connor (docon...@gsoft.com.au) wrote: Recreating a disk - slice/parttion/newfs - is one of the main things to do under a fixit. You should have fdisk, bsdlabel and newfs there as well as restore for sucking dumps back in. Depends what sort of fixit you have. A holographic shell won't have it, but the others will. That reminds me... Can someone explain to me why it's called a holographic shell? ___ 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 IRC client
On Thu 2009-05-07 17:19:47 UTC-0700, Nerius Landys (nlan...@gmail.com) wrote: What is the most recommended IRC client that runs in a terminal? irssi ___ 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: basic
On Wed 2009-05-06 14:32:47 UTC+0200, giorgio novello (gio@vodafone.it) wrote: Develop e visual-basic like language, or asp vb and your OS will be a best seller The OP is likely trolling, but reminded me of the Lazarus project. It's loosely based on Borland Delphi and is apparently quite good for VB-like RAD development. It's in FreeBSD ports tree. http://www.lazarus.freepascal.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Preferred client for DynDNS
On Wed 2009-05-06 10:40:46 UTC-0400, Daniel Underwood (djuatde...@gmail.com) wrote: There appear to be several clients capable of working with DynDNS.com services here: http://www.freebsd.org/ports/dns.html E.g., dns/inadyn, dns/ipcheck Can anyone make recommendations? My goal in using DynDNS is to allow remote SSH logins to a machine behind a router at my house (using a common ISP). ddclient has worked very well for me. You may also want to use sshguard-ipfw to protect from brute-force SSH attacks. ___ 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: Disk usage analysis
On Thu 2009-04-23 05:05:25 UTC+1000, andrew clarke (m...@ozzmosis.com) wrote: durep seems to have no concept of security :-) So how did you go about restricting unwanted people from viewing its output? I'm referring to the CGI version of durep here, of course. ___ 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: Disk usage analysis
On Wed 2009-04-22 10:46:14 UTC-0400, Mikel King (mikel.k...@olivent.com) wrote: I used to run durep on my shared servers. durep seems to have no concept of security :-) So how did you go about restricting unwanted people from viewing its output? Regards Andrew ___ 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 pause that removes
On Thu 2009-03-12 22:37:13 UTC-0700, prad (p...@towardsfreedom.com) wrote: one of the neat things i've found about freebsd vs linux is the 'instantaneous' rm. when you remove a large file or a substantial directory, freebsd does it right away ard you get your prompt back, while with every linux i've tried, you wait and wait and wait. i presume freebsd just takes the pointer to the file out so it can be overwritten, while may be the linuxes fill stuff with zeros or something like that?? is this instantaneity a result of the ufs file system vs say ext3 or reiser? I've been under the impression that this (fast deletes) had something to do with the soft updates feature of UFS. Although, the Wikipedia page doesn't talk about deleting files in particular, so I could be completely wrong about that. http://en.wikipedia.org/wiki/Soft_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: best archiver?
On Fri 2009-03-13 12:15:24 UTC-0700, Gary Kline (kl...@thought.org) wrote: guys, this is for any compression experts on-list. my main desktop is nearly full. i'm looking for the best means of compressing [mostly] audio files. mp3, ogg, and .flag. i cross backup among my servers and would like to have the most reasoned approach to compressing my ~/Music/ files. is rar/unrar better that bzip -9? is there any new/forthcoming archiver on the horizon? .mp3, .ogg and .flac files are already compressed. You won't get them much smaller. Maybe 1% with rar or bzip2, if you're lucky, eg. 2009-03-06 08:38 22,524,903 FLOSS-059.mp3 2009-03-14 06:37 22,135,433 FLOSS-059.rar If these sorts of files could be made significantly smaller than they already are, people would be regularly transmitting them over the Internet in that smaller format. Possibly the only thing you'll gain from using rar instead of something more primative like tar/bzip2 is marginally better error detection. Personally I just burn all my media files to DVD-Rs, using Nero Burning ROM under Windows. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update patch not being applied
On Sun 2009-03-01 08:50:48 UTC-0800, James (ja...@slohall.com) wrote: For some reason when i type uname -a on my desktop, which is running 7.1, all I see is this: $ uname -a FreeBSD me 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 But if i run freebsd-update fetch i get this $ sudo freebsd-update fetch Password: Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 7.1-RELEASE-p3. Everytime the application has said there are new updates i installed them with `freebsd-update install`, and eventually i got around to restarting, but when I log back in and type `uname -a` I get the same message as above: `7.1-RELEASE #0` This is (probably) normal. uname -a shows the kernel version, however often freebsd-update will patch other (non-kernel) parts of the base system, leaving the kernel alone. eg. the recent bug involving telnetd on 7.x systems only required patching the telnetd binary. AFAIK, each time a patch is required, /usr/src/sys/conf/newvers.sh is updated. $ sudo freebsd-update fetch No updates needed to update system to 6.4-RELEASE-p3. $ uname -a FreeBSD blizzard.phoenix 6.4-RELEASE-p1 FreeBSD 6.4-RELEASE-p1 #0: Sun Dec 21 07:56:41 UTC 2008 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 $ grep -v # /usr/src/sys/conf/newvers.sh | head -4 TYPE=FreeBSD REVISION=6.4 BRANCH=RELEASE-p3 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkg_info php
On Tue 2009-01-06 10:50:39 UTC-0600, Kevin Kinsey (k...@daleco.biz) wrote: IANAE, but (and I don't intend a personal offense) this is a very convoluted configuration. Having PHP4 and PHP5 side by side isn't something I'd try on one box Presumably one could make use of FreeBSD's jails then run different versions of PHP within separate jails on the one box. I have no personal experience with that sort of setup but it May be an option for the OP. ___ 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: Last q of '08...
On Thu 2009-01-01 01:03:12 UTC+, Bruce Cran (br...@cran.org.uk) wrote: is there a C-beauitful//reformatter in ports? need one Badly!! It's not in ports, but /usr/bin/indent reformats C code. I prefer the GNU version. devel/gindent in ports. $ cat ~/.indent.pro -kr -bl -bli0 -bls -i4 -ts1 -nce -ncs -fca -nfc1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update killed my /var
On Sun 2008-12-14 19:28:16 UTC+0500, FuLLBLaSTstorm (fullblastst...@gmail.com) wrote: Recently I've run freebsd-update on my desktop machine, but it failed saying that it cannot save its files anymore to /var because the filesystem is full. If you are short on disk space then from what I can tell it seems to be harmless to erase everything under /var/db/freebsd-update before you run freebsd-update -r x.x-RELEASE upgrade. The catch is that you lose the ability to use the freebsd-update rollback command. After all, /var/db/freebsd-update/ presumably begins life as an empty folder after an initial install of FreeBSD. That is my experience, anyway. I may be wrong! I assume the way rollback works is that if you use freebsd-upgrade to upgrade from 6.2-REL to 6.3-REL, then again to 6.4-REL, the theory is that you can reverse the upgrades all the way back to 6.2-REL again. Whether you'd actually want to do that... I'm not sure. It seems to me that if you upgraded to 6.4-REL, then you'd probably only ever want to rollback as far back as 6.3-REL. I guess the ability to rollback multiple releases is provided mostly because it's possible, and disk space is cheap. I suppose you could always create a symlink: mv /var/db/freebsd-update /var/db/freebsd-update.old ln -s /disk/with/lots/of/space/freebsd-update /var/db/freebsd-update ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is there a way to get an ACK from the mutt version of FBSD?
On Sat 2008-12-13 17:02:48 UTC-0500, Glen Barber (glen.j.bar...@gmail.com) wrote: i did something to evolution (or mail) so it sends a your mail was opened on u...@foo.com. i've been hunting thru the mutt docs; i do not see how to get a similar ack from mutt as evo. is there, perhaps a sendmail.[cf|mc] way lost in the reams of pages in my sendmail book? [2 da ago i send cold-call mail to a few experts; one at least read my paragraph. i'd like to know at least that my mail arr and hopefully was glanced at!] I believe you're looking for a receipt confirmation tool, but I don't believe mutt has that capability, as its job is to write mail, and direct it to the MTA. Either way, receipt confirmations are not always accurate, as I never send confirmations that I have received mail -- then I'd *need* to reply. Indeed. Also, these links may be useful... http://en.wikipedia.org/wiki/Return_receipt#E-mail http://en.wikipedia.org/wiki/E-mail_tracking ___ 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: Release schedules
On Sat 2008-12-13 19:05:35 UTC+, Matthew Seaman (m.sea...@infracaninophile.co.uk) wrote: Ports aren't actually frozen at the moment. Neither are they completely open for any sort of updates. Instead they're in a 'slush' -- no sweeping changes permitted, no major changes to the infrastructure (ie. bsd.ports.mk, that sort of thing). How does one determine the state (frozen/slush/unfrozen/other?) of the Ports tree? Is the state kept in the tree itself? ___ 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: wich are the difference among freebsd, NetBsd and HPUX?
On Sun 2008-12-14 16:50:09 UTC+0100, Wojciech Puchar (woj...@wojtek.tensor.gdynia.pl) wrote: Hi everybody somebody cand explain me wich are the difference among freebsd, NetBsd and HPUX? NTG. I had to look up what NTG stood for. Not This Group? Is freebsd-questions a group? NEHTBAA (Not Everything Has To Be An Acronym). :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-update through proxy with auth
On Wed 2008-12-03 10:36:29 UTC+0200, DA Forsyth ([EMAIL PROTECTED]) wrote: How do I get freebsd-update to fetch through a proxy that requires authentication? I cannot find any options in the man pages. freebsd-update is a /bin/sh shell script. Looking at the source I can see it uses /usr/bin/fetch, so it's probably just a matter of reading the fetch(1) fetch(3) manpages to get it to do what you want. If all else fails, you might be able to hack the freebsd-update script to use Wget instead of Fetch, but I doubt you'll need to go to that much trouble. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs stupid question
On Wed 2008-12-03 16:31:29 UTC+0100, Wojciech Puchar ([EMAIL PROTECTED]) wrote: export [EMAIL PROTECTED]:/home/ncvs cvs checkout -rRELENG_7 src waited over an hour, no files got fetched what i'm doing wrong? Looks like the server is down: $ export [EMAIL PROTECTED]:/home/ncvs $ cvs checkout -rRELENG_7 src ssh: connect to host anoncvs.FreeBSD.org port 22: Connection refused cvs [checkout aborted]: end of file from server (consult above messages if any) This works: $ export [EMAIL PROTECTED]:/home/ncvs $ cvs checkout -rRELENG_7 src The authenticity of host 'anoncvs1.freebsd.org (216.87.78.137)' can't be established. DSA key fingerprint is 53:1f:15:a3:72:5c:43:f6:44:0e:6a:e9:bb:f8:01:62. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'anoncvs1.freebsd.org' (DSA) to the list of known hosts. cvs checkout: Updating src U src/COPYRIGHT U src/LOCKS U src/MAINTAINERS U src/Makefile ^Ccvs [checkout aborted]: received interrupt signal $ Killed by signal 2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Uninstalling kde3 meta-port
On Tue 2008-12-02 19:26:40 UTC+0530, Masoom Shaikh ([EMAIL PROTECTED]) wrote: How would you guys uninstall a meta-port? can try `pkg_delete -a` No Masoom, this is wrong advice. pkg_delete(1) manpage: -a, --all Unconditionally delete all currently installed packages. (Assuming you weren't trying to be funny) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Looking @ upgrades mechanisms...
On Tue 2008-12-02 00:41:58 UTC-0600, Javier Vasquez ([EMAIL PROTECTED]) wrote: I was reading chapter 4 of the handbook, as well as chapters 24 and 26... If I got it clear, I pretty much might get the base system updated by using freebsd-update script. Ports collection can get updated with portsnap, but that doesn't update neither the intalled ports, nor the installed packages. To upgrade the installed ports, portmanager or portmaster or portupgrade can be used... However only portupgrade can be used to upgrade packages, right? Now, can something like portupgrade -a -PP to upgrade all packages without building a thing (might be that some don't get updated due to the lack of binary package yet, and in such case would dependencies be managed right)? Right. More into how things work, as ports and pacakages are not part of the base systems, are they somehow associated to a particular release (most probably not)? So that pretty much no matter the release, if packages and ports are kept up to date, they might be the same for all releases? There are downloadable packages that are regularly built from the latest ports tree. There are different packages available for different releases though (eg. 6.x vs 7.x, i386 vs amd64). The theory goes that you can use i386 packages built for (for example) 6.4 on a 6.3 system. Possibly all the way back to 6.0. If you're relying on prebuilt packages then ideally you should try to keep the base system updated where possible. I'm asking these questions since I'm evaluating moving to BSD, but I want to avoid compiling as much as possible since my box is 800MHz piii celeron with just 32KB of cache and 512MB of ram, and for it source based distributions have proven to be too much to handle, so my intention would be to live with binary packages and updates/upgrades only... Those specs should be fine if you're building small software such as Squid, Apache, Samba, etc. I build everything I need (http server + http cache + mail server + spam filter + more) from source using a 1 GHz Pentium III with 256 Mb (using portmaster). Firefox, GNOME or KDE would take a long time with 800 MHz. But I wouldn't really like to run those big apps at only 800 MHz either. There's no reason why you can't install the larger software from packages then just build the smaller stuff from source. With portupgrade -PP you're still going to have to keep your ports tree updated (I use portsnap) so it's not a lot of extra effort to build from source. Also if remaining under -STABLE, is all this possible? Kind of understood that openoffice.org can't be installed with pkg_add -r, so most probably if living under -STABLE automatic updates for openoffice.org won't show up... So this kinds of answers one previous question about the packages been independent from the base system release, it looks like they aren't... Not too sure what you're asking here, and I've never used -STABLE. Keep in mind though that you can't use freebsd-update if you're using -STABLE (AFAIK). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Looking @ upgrades mechanisms...
On Tue 2008-12-02 09:28:44 UTC+0100, Mel ([EMAIL PROTECTED]) wrote: Portupgrade -PP is detrimental for bandwidth. It's not really portupgrade's fault (well, partially, it shouldn't offer the feature), because it will quite often download Latest/foo.tbz, unpack it entirely and then say oops, I downloaded this useless package which is older or equal to what you have installed. Yes, this happens. -PP is not ideal for regular updates but it's still useful for when you have a new FreeBSD install with no packages installed, and want to get up and running quickly, grabbing the most recent binaries of all your favourite ports instead of building them all from source. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Looking @ upgrades mechanisms...
On Tue 2008-12-02 17:22:53 UTC+0100, Mel ([EMAIL PROTECTED]) wrote: Yes, this happens. -PP is not ideal for regular updates but it's still useful for when you have a new FreeBSD install with no packages installed, and want to get up and running quickly, grabbing the most recent binaries of all your favourite ports instead of building them all from source. That's infinitely slower than pkg_add -r list of leaves. Hmm. Yes. I'm trying to remember why I did not like pkg_add -r. On the other hand I may be imagining any preference I had towards portupgrade -PP. Sorry :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: documentation problem for times(3) man page
On Mon 2008-12-01 09:51:46 UTC+0100, Viktor ??tujber ([EMAIL PROTECTED]) wrote: Hi. Half a year ago I started the following thread: http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172448.html. The subject was a documentation issue where a man page mismatched the actual system behavior. Maybe the freebsd-doc mailing list is the place to discuss this? [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Temporarily blocking ports
On Sat 2008-11-29 20:39:47 UTC+0100, Jos Chrispijn ([EMAIL PROTECTED]) wrote: Can someone hint me how I can block ports for let's say 30 minutes if someone repeatedly tries to do a SSH login? I use ipfw as firewall... security/sshguard-ipfw works well for me. ___ 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
On Wed 2008-11-26 20:45:34 UTC-0800, gahn ([EMAIL PROTECTED]) wrote: i did freebsd-update fetch and i got message: No updates needed to update system to 6.3-RELEASE-p6 what does that suppose to mean? My current system (this one is online) is p4. Did you run freebsd-update install? Did you reboot the machine after running the install command? ___ 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
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. ___ 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
On Tue 2008-11-18 11:21:02 UTC-0500, Gary Hartl ([EMAIL PROTECTED]) wrote: 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. 550 MHz will be a bit slow for playing DivX/XviD movies, especially if they're high definition (beyond 640x480 approx). Presumably Windows is installed on it at the moment, so you can give the Windows version of VLC a test run. The RAM HDD specs are fine. Provided the laptop's integrated video and networking is supported, you should be good to go. ___ 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
On Tue 2008-11-18 17:06:44 UTC-0500, michael ([EMAIL PROTECTED]) wrote: 550 MHz will be a bit slow for playing DivX/XviD movies, especially if they're high definition (beyond 640x480 approx). Presumably Windows is installed on it at the moment, so you can give the Windows version of VLC a test run. The RAM HDD specs are fine. Provided the laptop's integrated video and networking is supported, you should be good to go. Actually, an AMD k6-2 450 will play over 720 resolution divx. mplayer with a proper cache setting and enough ram helps massively. Ah, I use mplayer occasionally but never -cache setting. What do you use on the K6-2 450? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running X without a videocard
On Tue 2008-11-18 19:02:48 UTC-0500, Gary Hartl ([EMAIL PROTECTED]) wrote: I am running FBSD-stable 6.0 on some Sun Netra X1's so it is sparc64. There is no video card on these puppies. But I seem to recall that we ran solaris X using WinAXE or VNC or something like that I'm wondering if it is possible to do the same with FBSD. I use vncserver from the net/tightvnc port. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: preparing for an upgrade
On Tue 2008-11-18 16:47:20 UTC-0700, Kelly Martin ([EMAIL PROTECTED]) wrote: With the release of FreeBSD 6.4 imminent, I'd like to prepare for an upgrade from FreeBSD 6.2 - 6.4. Have you considered using freebsd-update? From memory, it supports 6.2. Please excuse my ignorance but in my mind here's what I plan to do when it's available: 1. install / run the upgrade script using CD-ROM media to a 6.4 GENERIC kernel, reboot 2. customize the kernel to my hardware (like I did in 6.2), reboot 3. portsnap fetch update (to get the latest ports tree for 6.4) 4. portupgrade -ai (to upgrade any outdated ports) I don't think there will be any need to rebuild your ports after upgrading from 6.2 to 6.4. (The situation is different if you were going from 6.2 to 7.1 though.) Will this work? I'm a little confused about different versions of the ports tree. What I mean is, I keep updating my FreeBSD 6.2 ports tree and have never had any problems... it just works. I'm assuming the 6.4 ports tree is a little different and specific to 6.4? No, there is only one ports tree shared between all FreeBSD versions. If you already have an updated ports tree with a 6.2 installation, you can keep using that with 6.4 (or even 7.x). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Invalid address running apps using wine-1.1.8,1
Hi, I'm getting an Invalid address error trying to run Windows apps under WINE. wineconsole cmd works OK though, and so does winefile. The error seems to only occur with apps that aren't supplied with WINE, eg. C:\Program Files\Winampwinamp.exe wine: could not load LC:\\Program Files\\Winamp\\winamp.exe: Invalid address $ 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]:/usr/obj/usr/src/sys/GENERIC i386 $ pkg_info | grep wine wine-1.1.8,1Microsoft Windows compatibility layer for Unix-like systems Any ideas? Regards Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Glob error?
On Fri 2008-11-07 15:13:03 UTC-0800, Steve Watt ([EMAIL PROTECTED]) wrote: % mkdir -p a/dir1/new a/dir1/cur % mkdir -p b/dir1/new b/dir1/cur % mkdir -p c/dir1/new c/dir1/cur % ls -ld */dir1/new drwxrwxr-x 2 steve wheel 512 Nov 7 15:10 a/dir1/new/ What file system are you using? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc 3.4.4 -fno-gcse
On Wed 2008-11-05 13:02:27 UTC+, Robin Becker ([EMAIL PROTECTED]) wrote: I'm trying to do some benchmarks for a new/improved version of CPython and would like to know if gcc 3.4.4 as distributed with FreeBSD 6.1 handles the -fno-gcse option reasonably. I looked in the man page, but don't see that option explicitly so perhaps the main thrust of the optimisation approach is going wrong. I don't know about FreeBSD 6.1's gcc 3.4.4, but the info page for gcc 3.4.6 (supplied with FreeBSD 6.3) explicitly mentions -fno-gcse. It's under the section 3.10 Options That Control Optimization. $ info gcc option will also find it. Not sure if that helps you at all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]