Re: HP networked printer -- hp-setup won't use, hp-probe finds
On 06/02/12 18:35, Polytropon wrote: On Sat, 02 Jun 2012 18:08:55 -0600, Gary Aitken wrote: I've deinstalled cups and its dependencies and rebuilt only hpijs. You could have kept it installed (maybe some ports will want it as a dependency), just disable it in /etc/rc.conf. I'm probably going to have to rebuild anyway, as I was totally unclear on what cups was initially and whether or not it was needed / wanted. One of the problems with not having another system and display when starting out, and not understanding the architecture at first. However, when I try to use gs + hpijs as a filter, it fails. Did you write your own filter? I used a tweaked version of the one Wojciech Puchar just posted, which appears to be a tweaked version of the one supplied with the hpijs port. I turned off some of the batch type options to help see what was going on. #!/bin/sh #export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/share/ppd /usr/local/bin/gs -dBATCH -dPARANOIDSAFER -dNOPAUSE \ -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer=HEWLETT-PACKARD \ -sDeviceModel=Officejet Pro 8500 A909g \ -dIjsUseOutputFD -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r600 \ -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2 \ -sOutputFile=/tmp/$$ - /dev/null #-sDeviceModel=DESKJET 960 \ #/usr/local/bin/gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE \ #-sOutputFile=- - exit 0 cat /tmp/$$ #rm /tmp/$$ For comparison: I'm using a HP Laserjet 4000 duplex here, networked, with /opt/libexec/ps2pcl-dup.sh being the filter for use with duplexing: #!/bin/sh printf \033k2G || exit 2 gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER -sPAPERSIZE=a4 -r600x600 \ -sDEVICE=ljet4d -dDuplex=true \ -sOutputFile=- - exit 0 exit 2 The entry for this printer in /etc/printcap is: Laserjet|ljet4d;r=600x600;q=high;c=full;p=a4;m=auto:\ :rm=192.168.100.100:\ :rp=raw:\ :lp=:\ :if=/opt/libexec/ps2pcl-dup.sh:\ :sd=/var/spool/lpd/Laserjet:\ :lf=/var/spool/lpd/Laserjet/log:\ :af=/var/spool/lpd/Laserjet/acct:\ :mx#0:\ :sh: The name Laserjet is set in $PRINTER as the system's default printer. There's also Laserjet-nodup where the filter simply omits the duplexing functionality. I assume you did something similarly? That's quite a bit different, in that the output device for mine is the ijs daemon with hpijs as the ijs server. That part's from the hp sample script with the hpijs port. As you can see from the script and the commented out lines, the -sDeviceModel=XXX is what is changing the behavior. If I swap that one argument, it works. Can you provide the command you've used for printing? By default, the printer subsystem accepts PS (which is the normal printing output format of _any_ printing application). lpr foo.txt lpr foo.pdf Also, the ppd.gz files from the port *did not* include any ppd.gz file for this printer. However, the cups port did, but they were installed elsewhere. So I just copied them over, but I'm wondering if there is a db or internal cache somewhere that has to be rebuilt. The ppd handling tool usually manages that. I never saw that mentioned. What's the ppd handling tool? It looks to me like it is unable to locate a .ppd.gz or .ppd which matches the device name enough to be used. Anyone know who is generating the error It's lpd (see message). I'm not certain about that. It may be an error passed up by the ijs subsystem and simply spit out by lpd. It's accessing a printer called lp (does it exist with tha name?) and loses the connection, and try to restart it. The inability is expressed as unable to set device=HP Officejet Pro 8500 a909g hpijs, I'm not sure if spaces are allowed? (Check man 5 printcap to be sure.) Spaces are allowed; DESKJET 960 works. But that name is coming from the :if: script, not printcap. Again, I don't think it's a printcap / lpr issue. lpr is simply running the script it found by looking up device lp. The script passes the DeviceModel on to gs, which feeds it to ijs (-sDEVICE=ijs) which uses the hpijs implementation which is what I think is failing to find the ppd file or its contents. (which I think it has cached, see below; I think the actual files are irrelevant at this point) lpr passes the appropriate stuff to gs, which creates a file, which lpr then sends on to the output device :rm=aa.bb.cc.dd: The gs process gets cut short because hpijs or ijs can't fine the ppd file/contents its looking for, so the file created by gs is empty and the error gets passed on up to lpd and nothing gets sent to the device. Here's my printcap entry: lp|hp|text|hp8500|HP Officejet Pro 8500 a909g:\ :lp=:\ :sh:\ :mx=1000:\ :rm=aa.bb.cc.dd:\ :rp=lp:\ :sd=/var/spool/lpd/hp8500:\
Updating packages
I have tried the available package update methods. It occurred to me to experiment with a different way. I am working on a package update script in Python as an alternate way to update installed packages with latest available on the FreeBSD web site. It parses the index page of the web site and compares the versions of installed packages. If their is a difference it downloads the package tbz file and performs an MD5 checksum, then writes the corresponding pkg_delete and pkg_add for the package into a file which can be edited and executed from the command line. It does not automatically update the packages, for example in some cases the script reports that an older version of Perl is a suitable replacement for the latest version. Also on my system there are like seventeen versions of doc_book package so it writes the pkg_delete for each installed version and pkg_add for the latest version. (in which case we would not really want to install it seventeen times). Does anyone have recollection of a negative experience using 'pkg_delete --force' to the old version and 'pkg_add' the replacement? Would you say it's generally a bad idea to first delete the package before adding the updated package, and instead recommend to install the updated package on top of the existing installation? My project is at the following URL: https://github.com/creamy/pkg_checkversion Thanks, Waitman Gobble San Jose California USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
freebsd-update no mirrors?
c400# uname -a FreeBSD c400 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Following the handbook: c400# freebsd-update -r 9-STABLE upgrade Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 9.0-RELEASE from update4.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/src world/base world/doc world/games The following components of FreeBSD do not seem to be installed: Does this look reasonable (y/n)? y Fetching metadata signature for 9-STABLE from update4.FreeBSD.org... failed. Fetching metadata signature for 9-STABLE from update2.FreeBSD.org... failed. Fetching metadata signature for 9-STABLE from update5.FreeBSD.org... failed. Fetching metadata signature for 9-STABLE from update3.FreeBSD.org... failed. No mirrors remaining, giving up. In case I had got the CVS tag wrong I also tried 9.0-STABLE with the same results. I haven't changed freebsd-update.conf Am I doing something wrong? This is the first time I've used freebsd-update, except that just now I apparently successfully did freebsd-update fetch and freebsd-update install on this machine. Thanks Chris ___ freebsd-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 no mirrors?
On Sun, 03 Jun 2012 12:47:47 +0100 Chris Whitehouse wrote: c400# uname -a FreeBSD c400 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Following the handbook: c400# freebsd-update -r 9-STABLE upgrade ... Am I doing something wrong? freebsd-update only works on release security branches - not development branches. ___ freebsd-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 no mirrors?
On 03/06/2012 13:00, RW wrote: On Sun, 03 Jun 2012 12:47:47 +0100 Chris Whitehouse wrote: c400# uname -a FreeBSD c400 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Following the handbook: c400# freebsd-update -r 9-STABLE upgrade ... Am I doing something wrong? freebsd-update only works on release security branches - not development branches. Ah my mistake, thanks. It's a rather old slow laptop and I don't want to stress it by building world/kernel, I guess that means it stays on RELEASE. thanks Chris ___ freebsd-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: Portmaster and update progress, suggestion.
On Sun, 3 Jun 2012, Leslie Jensen wrote: 2012-06-02 19:18, Doug Barton skrev: On 6/2/2012 8:09 AM, Leslie Jensen wrote: I'm thinking about some kind of information on the build progress Portmaster already has that if you're building in a terminal window, look in the titlebar. I can take a look at printing that in line if you're not in a terminal window though. I'm running in XFCE4 terminal and the titlebar is empty here! So do I need to activate this function? It's on by default. --no-term-title disables it, as does setting PM_NO_TERM_TITLE in portmaster.rc. ___ freebsd-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: HP networked printer -- hp-setup won't use, hp-probe finds
On Sun, 03 Jun 2012 01:01:07 -0600, Gary Aitken wrote: On 06/02/12 18:35, Polytropon wrote: On Sat, 02 Jun 2012 18:08:55 -0600, Gary Aitken wrote: I've deinstalled cups and its dependencies and rebuilt only hpijs. You could have kept it installed (maybe some ports will want it as a dependency), just disable it in /etc/rc.conf. I'm probably going to have to rebuild anyway, as I was totally unclear on what cups was initially and whether or not it was needed / wanted. As a summary, CUPS is both a replacement of the system's default printer spooler (lpr) and its command line tools (lpr, lpq, lprm, plus lpstat, lpconfig), as well as a collection of printer filters (to turn PS into different printer languages) and preprocessors (to turn non-PS input files into PS prior to printing). It's being considered _the_ standard meanwhile for many modern software packages that have hardcoded expectations that CUPS is present and running, in order to print (instead of just to submit the PS data to whatever is there - lpr is _always_ there). One of the problems with not having another system and display when starting out, and not understanding the architecture at first. As soon as you've got the the basic system up and running, a minimal windowing environment, some xterms, a MUA and a web browser should be sufficient. However, when I try to use gs + hpijs as a filter, it fails. Did you write your own filter? I used a tweaked version of the one Wojciech Puchar just posted, which appears to be a tweaked version of the one supplied with the hpijs port. I turned off some of the batch type options to help see what was going on. #!/bin/sh #export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/share/ppd /usr/local/bin/gs -dBATCH -dPARANOIDSAFER -dNOPAUSE \ -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer=HEWLETT-PACKARD \ -sDeviceModel=Officejet Pro 8500 A909g \ -dIjsUseOutputFD -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r600 \ -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2 \ -sOutputFile=/tmp/$$ - /dev/null #-sDeviceModel=DESKJET 960 \ #/usr/local/bin/gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE \ #-sOutputFile=- - exit 0 cat /tmp/$$ #rm /tmp/$$ Ah okay, this uses ijs, _not_ a .ppd file. See the -sDEVICE parameter which is the main entry to what printer filter will be used (to compare, in my case it's ljet4d which produces PCL that gets then sent). For comparison: I'm using a HP Laserjet 4000 duplex here, networked, with /opt/libexec/ps2pcl-dup.sh being the filter for use with duplexing: #!/bin/sh printf \033k2G || exit 2 gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER -sPAPERSIZE=a4 -r600x600 \ -sDEVICE=ljet4d -dDuplex=true \ -sOutputFile=- - exit 0 exit 2 The entry for this printer in /etc/printcap is: Laserjet|ljet4d;r=600x600;q=high;c=full;p=a4;m=auto:\ :rm=192.168.100.100:\ :rp=raw:\ :lp=:\ :if=/opt/libexec/ps2pcl-dup.sh:\ :sd=/var/spool/lpd/Laserjet:\ :lf=/var/spool/lpd/Laserjet/log:\ :af=/var/spool/lpd/Laserjet/acct:\ :mx#0:\ :sh: The name Laserjet is set in $PRINTER as the system's default printer. There's also Laserjet-nodup where the filter simply omits the duplexing functionality. I assume you did something similarly? That's quite a bit different, in that the output device for mine is the ijs daemon with hpijs as the ijs server. That part's from the hp sample script with the hpijs port. Correct. If the ijs system supports your printer, it should be fine. As you can see from the script and the commented out lines, the -sDeviceModel=XXX is what is changing the behavior. If I swap that one argument, it works. Good! Can you provide the command you've used for printing? By default, the printer subsystem accepts PS (which is the normal printing output format of _any_ printing application). lpr foo.txt lpr foo.pdf For diagnostics, you should always start with a PS file. This is what the printer spooler accepts as input. Before printing, check the PS file with gv filename to make sure it contains what you expect it to contain. All applications that have a print to file option will output PS. In the past, I've been using apsfilter to do the preprocessing (? - PS), but its backend was the same simple gs command as I'm using today, even the automatically generated printcap entry was similar (except at that time, the printer destination was parallel). Also, the ppd.gz files from the port *did not* include any ppd.gz file for this printer. However, the cups port did, but they were installed elsewhere. So I just copied them over, but I'm wondering if there is a db or internal cache somewhere that has to be rebuilt. The ppd handling
Re: vpn speed loss
On Fri, 1 Jun 2012 11:48:45 +0200 Beni Brinckman beni.brinck...@gmail.com wrote: Hi, I'm running FreeBSD 9.0-RELEASE (pc-bsd 9.0 actuallly) on amd64 and I'm using a vpn connexion. My problem is the enormous speed loss i'm having when I'm using the vpn connexion. I have tried Openvpn and mpd5 (with a pptp and l2pt connexion) and the max speed (according to various speedtests) is 5 to 6MB. Without the vpn I'm having 45-50 MB... My vpn service has servers in several European countries and US, Canada, etc. The speed stays the same. So I don't think it is a specific bsd problem but the lines/connexion between ISP's. Is this the normal speed when using a vpn (independently of the used program to connect) ? Because from 45-50 back to 5-6 is a big step backward... Thanks for any insights here. With OpenVPN, you should not be seeing that big of a drop, with the real limiting factor being the CPU time available for it. You can easily check top and see if that is the case. If you get 45-50MBps between the two locations with out VPN, baring any firewall issues at either end, it is likely a configuration issue in regards to the networking of the machines in question or the VPN software or a CPU resource issue. One of the first areas I would check is the MTU being used on the network interfaces, figure out what the max MTU for the path is, and make sure the VPN software is not sending packets larger than that. You may also want to take a look at tuning(7). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
umount device busy
Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mnt/goflex Then, as nearly as I can remember... I then poked around a bit using the xfce4 browser. I tried to mkdir from the mount point as a normal user: cd /mnt/goflex %mkdir breakaway mkdir: .: No such file or directory After checking write premissions, which I didn't have, I did an su -l and tried again, with the same results. I then tried to unmount the drive, believing it was mounted read-only: #umount /mnt/goflex umount: unmount of /mnt/goflex failed: Device busy As nearly as I can tell, I don't have anything pointing at that drive. Questions: 1. What does the No such file or directory mean from mkdir? It's a relative dir name, and I'm sitting at a valid dir. 2. How do I find out how the file-system was mounted? mount (noargs) does not show read/write status 3. I tried lsof but I don't get any output from it: lsof +d /mnt/goflex -x -- /mnt/goflex Where does it go if not to stdout? 4. lsof has a *long* man page, so I'd like to save it temporarily so I can search it in an editor. If I do man lsof temp.tmp the output contains backspace sequences which screw up searching. How do I get man to produce plain text without the control sequences? 5. The lsof man page references a faq which is supposed to be part of the distribution. find . -ls | grep lsof doesn't show any faq. 6. And finally, any idea why umount says the device is busy? Seems like I should have been able to find the answer to at least one of those but I'm coming up short. Thanks for relevant pointers, Gary ___ freebsd-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: umount device busy
On Sun, 03 Jun 2012 08:59:11 -0600, Gary Aitken wrote: Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mnt/goflex Then, as nearly as I can remember... I then poked around a bit using the xfce4 browser. I tried to mkdir from the mount point as a normal user: cd /mnt/goflex %mkdir breakaway mkdir: .: No such file or directory After checking write premissions, which I didn't have, I did an su -l and tried again, with the same results. I then tried to unmount the drive, believing it was mounted read-only: #umount /mnt/goflex umount: unmount of /mnt/goflex failed: Device busy As nearly as I can tell, I don't have anything pointing at that drive. Questions: 1. What does the No such file or directory mean from mkdir? It's a relative dir name, and I'm sitting at a valid dir. I think I remember having read about problems with Windows-based file system use, such as valid directories becoming invalid. The error message you mentioned states /mnt/goflex is not a valid directory (anymore), that's why no directory entry can be created here. Consider NTFS being part of the problem, i. e. problems with the _ntfs file system driver provided by the OS (as it seems you're not using FUSE tools here - there are fusefs-ntfs and ntfsprogs in the ports collection which may provide a functionality the base system is missing here). 2. How do I find out how the file-system was mounted? mount (noargs) does not show read/write status It does - implicitely. For -o ro, it shows read-only. 3. I tried lsof but I don't get any output from it: lsof +d /mnt/goflex -x -- /mnt/goflex Where does it go if not to stdout? If no output redirection is applied, consider the output being empty, as no error message is displayed (so both stdout and stderr are silent). 4. lsof has a *long* man page, so I'd like to save it temporarily so I can search it in an editor. If I do man lsof temp.tmp the output contains backspace sequences which screw up searching. How do I get man to produce plain text without the control sequences? You can use less's search (key /) when using the man lsof command. You can also use a PDF viewer (including text search functionality) so you can keep the formatting details. The following command does the trick: zcat `man -w lsof` | groff -Tps -dpaper=a4 -P-pa4 -mandoc | ps2pdf - /tmp/man_1_lsof.pdf To convert to pure text, use -Tascii or -Tlatin1; however, this renders to pure text without keeping the formatting intact. 6. And finally, any idea why umount says the device is busy? Maybe there are writes pending, or it's just held open by Xfce. Make sure no terminal session has the mount point as current working directory, which would imply device busy, even if there's no actual reading or writing action. Seems like I should have been able to find the answer to at least one of those but I'm coming up short. You could use umount -f to force it, but that may result in files missing. Anyway, I've never actually used NTFS with FreeBSD so this could also be a source of the problem. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: umount device busy
Hi Gary, if you are using xfce4, then you have most likely got gamin running as well, this caused the same problem for me when trying to umount an external USB drive I resolved my umount problem by including the -f switch #umount -f /mnt/goflex Dave Whytcross - Original Message - From: Gary Aitken free...@dreamchaser.org To: FreeBSD Mailing List freebsd-questions@freebsd.org Sent: Monday, June 04, 2012 12:59 AM Subject: umount device busy Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mnt/goflex Then, as nearly as I can remember... I then poked around a bit using the xfce4 browser. I tried to mkdir from the mount point as a normal user: cd /mnt/goflex %mkdir breakaway mkdir: .: No such file or directory After checking write premissions, which I didn't have, I did an su -l and tried again, with the same results. I then tried to unmount the drive, believing it was mounted read-only: #umount /mnt/goflex umount: unmount of /mnt/goflex failed: Device busy As nearly as I can tell, I don't have anything pointing at that drive. Questions: 1. What does the No such file or directory mean from mkdir? It's a relative dir name, and I'm sitting at a valid dir. 2. How do I find out how the file-system was mounted? mount (noargs) does not show read/write status 3. I tried lsof but I don't get any output from it: lsof +d /mnt/goflex -x -- /mnt/goflex Where does it go if not to stdout? 4. lsof has a *long* man page, so I'd like to save it temporarily so I can search it in an editor. If I do man lsof temp.tmp the output contains backspace sequences which screw up searching. How do I get man to produce plain text without the control sequences? 5. The lsof man page references a faq which is supposed to be part of the distribution. find . -ls | grep lsof doesn't show any faq. 6. And finally, any idea why umount says the device is busy? Seems like I should have been able to find the answer to at least one of those but I'm coming up short. Thanks for relevant pointers, Gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: umount device busy
On Sun, 3 Jun 2012, Gary Aitken wrote: Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mnt/goflex Then, as nearly as I can remember... I then poked around a bit using the xfce4 browser. I tried to mkdir from the mount point as a normal user: cd /mnt/goflex %mkdir breakaway mkdir: .: No such file or directory After checking write premissions, which I didn't have, I did an su -l and tried again, with the same results. I then tried to unmount the drive, believing it was mounted read-only: #umount /mnt/goflex umount: unmount of /mnt/goflex failed: Device busy This almost always means someone (i.e. you) is sitting in the directory. If you tried this while su'ed and the un-su'ed you were still in the directory /mnt/goflex, you'd get this message. This may also happen if someone (i.e. you) is in the directory on another vtty. Naturally it can also mean some operation is in progress, but generally you would have recognized and avoided that. As nearly as I can tell, I don't have anything pointing at that drive. As I said, were you in the directory when you su'd? If so, you need to drop back and get out before you su again an umount. Questions: 1. What does the No such file or directory mean from mkdir? It's a relative dir name, and I'm sitting at a valid dir. You did not provide a history with this problem, but generally it means some part of the path before the last does not exist. I get it for using a leading /, when I meant a relative path, or not using the leading slash when I meant an absolute path -- and of course for misspelling some part of the path. 2. How do I find out how the file-system was mounted? mount (noargs) does not show read/write status Did you try $mount -p ? 3. I tried lsof but I don't get any output from it: lsof +d /mnt/goflex -x -- /mnt/goflex Where does it go if not to stdout? You've got me! But why is there anything after -x? I don't quite understand. 4. lsof has a *long* man page, so I'd like to save it temporarily so I can search it in an editor. If I do man lsof temp.tmp the output contains backspace sequences which screw up searching. How do I get man to produce plain text without the control sequences? man -t lsof | sp2ascii savefile.txt 5. The lsof man page references a faq which is supposed to be part of the distribution. find . -ls | grep lsof doesn't show any faq. I can't find it either, but I don't know why the above did not show /usr/local/share/lsof . /usr/local/share is where to look for such things, and /usr/local/share/doc is generally where any docs that are install are / found. 6. And finally, any idea why umount says the device is busy? Answered above. When you su, where you may go while su'd has no effect on where you left yourself. You (as a normal user) are still on the mounted directory so the mounted device is busy. You have to drop back (exit su) and move out of the device before you can umount it. Seems like I should have been able to find the answer to at least one of those but I'm coming up short. Thanks for relevant pointers, -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
optionsng ignores /var/db/ports/portname/options
Hi, With the release of the new options framework for ports, I've run into a problem trying to convert one of my ports. The nature of the problem is that the port seems to ignore the setting stored in /var/db/ports/portname/options: I've used 'make config' to set the PYCAIO option to on; slackbox# cat /var/db/ports/py27-py-stl/options # This file is auto-generated by 'make config'. # Options for py27-py-stl-3.1 _OPTIONS_READ=py27-py-stl-3.1 _FILE_COMPLETE_OPTIONS_LIST=PYCAIRO OPTIONS_FILE_SET+=PYCAIRO But the port seems to ignore it: slackbox# make showconfig === The following configuration options are available for py27-py-stl-3.1: PYCAIRO=off: Use (py)Cairo to enable stl2pdf === Use 'make config' to modify these settings Every time I do 'make config', the PYCAIRO option will be unset, even if it shows as set in /var/db/ports/portname/options! My port Makefile is as follows: port Makefile # New ports collection makefile for:py-stl # Date created: 28 Dec 2011 # Whom: rsm...@xs4all.nl # # $FreeBSD$ PORTNAME= py-stl PORTVERSION=3.1 CATEGORIES= graphics python MASTER_SITES= http://rsmith.home.xs4all.nl/software/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rsm...@xs4all.nl COMMENT=Converts STL models to POV-Ray meshes or PostScript/PDF images USE_ZIP=YES USE_PYTHON= 2.5+ USE_PYDISTUTILS=YES CONFLICTS= stl2pov-[0-9]* MAN1= stl2ps.1 stlinfo.1 OPTIONS_DEFINE= PYCAIRO PYCAIRO_DESC= Use (py)Cairo to enable stl2pdf .include bsd.port.options.mk .if ${PORT_OPTIONS:MPYCAIRO} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cairo1.8:${PORTSDIR}/graphics/py-cairo MAN1+= stl2pdf.1 PLIST_SUB+= STL2PDF= .else PLIST_SUB+= STL2PDF=@comment .endif NO_BUILD= YES post-install: .if ${PORT_OPTIONS:MPYCAIRO} @${INSTALL_MAN} ${WRKSRC}/stl2pdf.1 ${MANPREFIX}/man/man1 @${MV} ${PREFIX}/bin/stl2pdf.py ${PREFIX}/bin/stl2pdf .else @${RM} -f ${PREFIX}/bin/stl2pdf.py @${RM} -f ${MANPREFIX}/man/man1/stl2pdf.1* .endif @${INSTALL_MAN} ${WRKSRC}/stl2ps.1 ${MANPREFIX}/man/man1 @${INSTALL_MAN} ${WRKSRC}/stlinfo.1 ${MANPREFIX}/man/man1 @${MV} ${PREFIX}/bin/stl2ps.py ${PREFIX}/bin/stl2ps @${MV} ${PREFIX}/bin/stl2pov.py ${PREFIX}/bin/stl2pov @${MV} ${PREFIX}/bin/stlinfo.py ${PREFIX}/bin/stlinfo @${MV} ${PYTHON_SITELIBDIR}/py_stl-${PORTVERSION}-py${PYTHON_VER}.egg-info ${PYTHON_SITELIBDIR}/${PYDISTUTILS_EGGINFO} .include bsd.port.mk port Makefile I've looked at other ports makefiles and see no obvious defects. Help? Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpevURyMlf0Z.pgp Description: PGP signature
Re: umount device busy
Gary Aitken free...@dreamchaser.org wrote: Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mnt/goflex Then, as nearly as I can remember... I then poked around a bit using the xfce4 browser. I tried to mkdir from the mount point as a normal user: cd /mnt/goflex %mkdir breakaway mkdir: .: No such file or directory After checking write premissions, which I didn't have, I did an su -l and tried again, with the same results. Questions: 1. What does the No such file or directory mean from mkdir? It's a relative dir name, and I'm sitting at a valid dir. The specific complaint was concerning '.' this indicates a filesystem error. Note: it is (or, at least 'used to be') documented that _writing_ to NTFS filesystems was likely to have problems. 2. How do I find out how the file-system was mounted? mount (noargs) does not show read/write status Yes, it does. :) 'readonly' means just that. 'readonly' NOT shown means read/write. 6. And finally, any idea why umount says the device is busy? ABSOLUTELY! *GRIN* You did a cd to a directory located on that device. you started a 'su' process. Maybe you did a cd to 'somewhere else', or maybe not. Then you tried to umount the device. The current process may have the 'working directory' open on that drive. The _PARENT_ of the su process *DOES* have the 'working directory' open there. The O/S rightly refuses to unmount the device in such a situation. :) ___ freebsd-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: HP networked printer -- hp-setup won't use, hp-probe finds
On Sun, 3 Jun 2012, Polytropon wrote: By the way, have you tried using your filter directly for testing? As mentioned before, prepare a printable PS file, then do: # cat test.ps | /var/spool/lpd/hp8500/diff.2 | nc 123.45.67.890 Note: nc is from port nc (netcat). It will send it directly to the IP address, which will normally be done by lpr, but just for diagnostics, always work with the smallest possible variables. :-) nc(1) is also in the base system as /usr/bin/nc. ___ freebsd-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: Portmaster and update progress, suggestion.
On Sun, 3 Jun 2012, Warren Block wrote: On Sun, 3 Jun 2012, Leslie Jensen wrote: 2012-06-02 19:18, Doug Barton skrev: On 6/2/2012 8:09 AM, Leslie Jensen wrote: I'm thinking about some kind of information on the build progress Portmaster already has that if you're building in a terminal window, look in the titlebar. I can take a look at printing that in line if you're not in a terminal window though. I'm running in XFCE4 terminal and the titlebar is empty here! So do I need to activate this function? It's on by default. --no-term-title disables it, as does setting PM_NO_TERM_TITLE in portmaster.rc. Oh, and xfce's Terminal has a preferences setting that can prevent dynamically-set titles from being displayed. ___ freebsd-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: HP networked printer -- hp-setup won't use, hp-probe finds
On Sun, 3 Jun 2012 10:17:28 -0600 (MDT), Warren Block wrote: On Sun, 3 Jun 2012, Polytropon wrote: By the way, have you tried using your filter directly for testing? As mentioned before, prepare a printable PS file, then do: # cat test.ps | /var/spool/lpd/hp8500/diff.2 | nc 123.45.67.890 Note: nc is from port nc (netcat). It will send it directly to the IP address, which will normally be done by lpr, but just for diagnostics, always work with the smallest possible variables. :-) nc(1) is also in the base system as /usr/bin/nc. Damn, you're right! Maybe that is because of netcat hasn't always been part of the OS? I talked about it as something so common that I didn't even mention it. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Chromium - fails to compile
On 05/30/2012 09:33, Lowell Gilbert wrote: Yes. Chromium currently depends on SSE3; the recommended way of enabling that appears to be setting CPUTYPE. Port should be ding that itself. Make use of misc/cpuid if needed. Make it BUILDDEP. Currently 19.0.1084.52 fails to build for me too. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: umount device busy
On Sun, 3 Jun 2012, Gary Aitken wrote: 6. And finally, any idea why umount says the device is busy? xfce uses gamin to scan for new files and directories, but it causes just this problem. Edit /usr/local/etc/gamin/gaminrc and set it to poll the device directory: poll /mnt/* ___ freebsd-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: starting xfce4 reboots machine
On Thu, May 31, 2012 at 12:10 AM, Joe Gain joe.g...@gmail.com wrote: On Thu, May 31, 2012 at 8:43 AM, Waitman Gobble gobble...@gmail.com wrote: On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble gobble...@gmail.com wrote: On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble gobble...@gmail.com wrote: On Mon, May 28, 2012 at 7:42 AM, Warren Block wbl...@wonkity.com wrote: On Sun, 27 May 2012, Waitman Gobble wrote: Hi, I've been running FreeBSD 10.0-CURRENT for some months, last time i rebuilt the system was April 20th. I've rebooted my machine many times and started X and Xfce4 without any trouble, however today I'm out of town on the road and when I startx my machine reboots. If I log in as root and startx i can run xorg without xfce4. but if i try startxfce4 the machine reboots. If I try to startx without xfce4 from my non-root account it locks up. It's pretty quick and nothing I can see in the logs... Anyone have any ideas about troubleshooting??? It seems like it's out of the blue with no changes to the system that I recall. :) First, make sure you have cairo-1.10 instead of 1.12. After that, run pkg_libchk from sysutils/bsdadminscripts. Rebuild anything that says it is missing libxfce4-utils. After that, well, I still see some unsteadiness from xfce-4.10. There's a long delay on start, like a DNS timeout (but I have working DNS). Switching to console works, switching back usually does not, rebooting the machine. Leaving X and starting again reboots the machine. These last two could be due to the recent X upgrade, except I'm pretty sure they did not happen until xfce-4.10. thanks. i'll check it out.. Waitman spending some time troubleshooting this. it's a weird harold, the machine runs fine for days doing various things (but if i want X i have to log in as root first and startx, otherwise instant reboot). I've noticed that if i do a pkg_add the thing reboots, if i run SciTe editor it reboots. like snap of a finger instantly. I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll have to re-add somehow, might have to build from source if it won't stop rebooting :) i'll try the pkg_libchk Thanks, Waitman this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up with the zero-byte files.. i did do a pkg_delete but didn't expect to see this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Can't help with a solution. I had a very similar problem. I'm following 9.0-STABLE (rev. 235976 ca. week old) using xfce and have a thinkpad laptop with intel on-board graphics chip. My problems started when I updated the cairo port, and at the time I couldn't really believe that cairo was the cause of _the_ problem, because of the way X was crashing. What was even more frustrating was that the Xorg log file was not revealing anything other than unknown error and segfault. So, I didn't know what to do for a while, and after spending a couple of days looking for an answer, downgrading cairo fixed that issue. Couple of days later the new xfce is also available, and I have had no problems running it, on stable with downgraded (currently current again*) cairo. Be sure to read UPDATING with respect to xfce4-utils etc. It would be interesting to hear from someone who knows what's going on as this is the first major hiccup that I've had using freebsd. Thanks, Joe * http://www.freshports.org/commit.php?category=graphicsport=cairofiles=yesmessage_id=201205260354.q4q3sboi042...@repoman.freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) Hi, I think I finally got to the bottom of my instant rebooting issue. I did a csup and rebuilt world/kernel, but doing a pkg_add or running xfce4 would still reboot the machine. This morning I scoured my logs and found one message that lead me to solution: bad dir ino AT OFFSET xxx: MANGLED ENTRY. It looks like on my machine that /var/tmp got wrecked, the fsck on boot wasn't catching it. I booted into single user mode and ran fsck -y a few times, the second time it skipped the journal to do a 'regular fsck' (maybe there is a switch to force it to skip the journal anyway?). w/o Journal it picked up the inode problems and fixed.. then mounted drive rw and deleted stuff in /var/tmp pkg_add works fine now, i haven't tried xfce4 yet but i bet it's going to work. Waitman Gobble San Jose California USA ___ freebsd-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: optionsng ignores /var/db/ports/portname/options
On 03/06/2012 17:05, Roland Smith wrote: I've used 'make config' to set the PYCAIO option to on; slackbox# cat /var/db/ports/py27-py-stl/options # This file is auto-generated by 'make config'. # Options for py27-py-stl-3.1 _OPTIONS_READ=py27-py-stl-3.1 _FILE_COMPLETE_OPTIONS_LIST=PYCAIRO OPTIONS_FILE_SET+=PYCAIRO But the port seems to ignore it: slackbox# make showconfig === The following configuration options are available for py27-py-stl-3.1: PYCAIRO=off: Use (py)Cairo to enable stl2pdf === Use 'make config' to modify these settings Every time I do 'make config', the PYCAIRO option will be unset, even if it shows as set in /var/db/ports/portname/options! What does % make -V PORT_OPTIONS show? If PYCAIRO is set in PORT_OPTIONS, then the port is accepting your setting of the option, and you've found a bug with the showconfig target. (If so, please open a PR.) If not, then something odd is happening, as your port looks perfectly OK to me. Are you using a ports tree updated within about the last 48 hours or so? I know there were some bug fixes went in to all FOO_DESC lines to contain (brackets) and other syntactically significant characters. Cheers, Matthew PS. Asking this on freebsd-ports@... might be a good idea. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: optionsng ignores /var/db/ports/portname/options
On Sun, Jun 03, 2012 at 07:18:26PM +0100, Matthew Seaman wrote: On 03/06/2012 17:05, Roland Smith wrote: I've used 'make config' to set the PYCAIO option to on; slackbox# cat /var/db/ports/py27-py-stl/options # This file is auto-generated by 'make config'. # Options for py27-py-stl-3.1 _OPTIONS_READ=py27-py-stl-3.1 _FILE_COMPLETE_OPTIONS_LIST=PYCAIRO OPTIONS_FILE_SET+=PYCAIRO But the port seems to ignore it: slackbox# make showconfig === The following configuration options are available for py27-py-stl-3.1: PYCAIRO=off: Use (py)Cairo to enable stl2pdf === Use 'make config' to modify these settings Every time I do 'make config', the PYCAIRO option will be unset, even if it shows as set in /var/db/ports/portname/options! What does % make -V PORT_OPTIONS slackbox# pwd /usr/ports/graphics/py-stl slackbox# make -V PORT_OPTIONS DOCS EXAMPLES NLS show? If PYCAIRO is set in PORT_OPTIONS, then the port is accepting your setting of the option, and you've found a bug with the showconfig target. (If so, please open a PR.) If not, then something odd is happening, as your port looks perfectly OK to me. Are you using a ports tree updated within about the last 48 hours or so? I know there were some bug fixes went in to all FOO_DESC lines to contain (brackets) and other syntactically significant characters. I updated my ports tree this afternoon. The really weird thing is that I tested 'make config' in several other ports where it worked fine... PS. Asking this on freebsd-ports@... might be a good idea. I guess I will do that. Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp5KhoOgyYfF.pgp Description: PGP signature
apache2 doesn't .flv in my server
Hello I use apache22-worker on freebsd9 It Works. But I can't video file flv extension. I googled about that and downloaded mod_flvx.c and followed the instructions. Also I see that flv is added as shared module in apache Httpd -M . alias_module (shared) rewrite_module (shared) php5_module (shared) h264_streaming_module (shared) flvx_module (shared) But when i call at http://myweb/example.flv i only download this file. How can I solve this case ? ___ freebsd-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: umount device busy
On Sun, Jun 3, 2012 at 7:59 AM, Gary Aitken free...@dreamchaser.org wrote: Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mnt/goflex Then, as nearly as I can remember... I then poked around a bit using the xfce4 browser. I tried to mkdir from the mount point as a normal user: cd /mnt/goflex %mkdir breakaway mkdir: .: No such file or directory After checking write premissions, which I didn't have, I did an su -l and tried again, with the same results. I then tried to unmount the drive, believing it was mounted read-only: #umount /mnt/goflex umount: unmount of /mnt/goflex failed: Device busy As nearly as I can tell, I don't have anything pointing at that drive. Questions: 1. What does the No such file or directory mean from mkdir? It's a relative dir name, and I'm sitting at a valid dir. 2. How do I find out how the file-system was mounted? mount (noargs) does not show read/write status 3. I tried lsof but I don't get any output from it: lsof +d /mnt/goflex -x -- /mnt/goflex Where does it go if not to stdout? 4. lsof has a *long* man page, so I'd like to save it temporarily so I can search it in an editor. If I do man lsof temp.tmp the output contains backspace sequences which screw up searching. How do I get man to produce plain text without the control sequences? 5. The lsof man page references a faq which is supposed to be part of the distribution. find . -ls | grep lsof doesn't show any faq. 6. And finally, any idea why umount says the device is busy? Seems like I should have been able to find the answer to at least one of those but I'm coming up short. Thanks for relevant pointers, Gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org something that *might* be helpful to you, it's a basic little man page browser in Qt left side of the pane shows a treeview of filesystem, so you can navigate /bin, /usr/bin, etc.. when you click on a file it looks for the corresponding man page and shows it on the right pane formatted html, which is a webkit panel. https://github.com/creamy/man-browser i built it on a FreeBSD machine but it also works with cygwin systems and probably GNU/Linux as well but i have not tried it. it is intended as a way to quickly look at what's installed on your system and possibly 'discover' and learn about previously 'unknown' commands. Waitman Gobble San Jose California USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to use an external USB3.0 drive with 4k sectors?
I solved it. No kernel or other driver installations necessary beyond those I already had (xhci). 1. Hook up disk to USB 2 Port. - System detects drive and creates device nodes: ugen3.2: Jmicron Corp. at usbus3 umass1: MSC Bulk-Only Transfer on usbus3 da1 at umass-sim1 bus 1 scbus9 target 0 lun 0 da1: ST1000LM 024 HN-M101MBB Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers da1: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C) 2. Replace the vendor installed NTFS with a UFS file system. $ newfs -U /dev/da1s1 (No, I didn't bother to create BSD partitions) 3. Hook up disk to USB 3 Port. - Now system detects drive and creates device nodes: ugen4.2: Jmicron Corp. at usbus4 umass0: Jmicron Corp. Usb production, class 0/0, rev 3.00/1.00, addr 1 on usbus4 da1 at umass-sim0 bus 0 scbus8 target 0 lun 0 da1: ST1000LM 024 HN-M101MBB Fixed Direct Access SCSI-2 device da1: 400.000MB/s transfers da1: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C) 4. Mount $ mount /dev/da1s1 /mnt $ df /mnt FilesystemSizeUsed Avail Capacity Mounted on /dev/da0s1968G8.2k891G 0%/mnt Wohooo! Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) ___ freebsd-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: FreeBSD9 fails to install on HP Proliant (crash)
At 08:41 AM 5/31/2012, Ewald Jenisch wrote: Hi, I'm trying to install FreeBSD9 (64bit) on a HP Proliant server (ProLiant DL385 G1). Installation is done via remote-management (iLO) basically by mounting the Installation-ISO. However a couple of seconds after booting the box crashes. Here's what I tried already: o) Re-download the installation ISO - same checksum - same result o) Instead of booting directly I issued the following two commands on the loader prompt: set kern.eventtimer.periodic=1 set kern.eventtimer.timer=LAPIC followed by boot Neither of these helped. To cross-check I tried booting of a FreeBSD 8 installation media - no problems at all (besides that the machine is running FreeBSD8 currently without problems) Any clue what could be wrong here and what I can do in order to make this box boot from the installation media? Thanks much in advance for your help, -ewald You can try the boot options on the boot menu to try with ACPI disabled. I have experienced some crashes and some hangs when trying to boot different hardware via an ISO virtually mounted and also booting via USB key. I believe the issues come down to timing issues, where in the boot process the kernel expects to have some required /tmp space on physical disk. You may need to create a RAID volume you plan to use for the filesystems first. Also check compatibility with your hardware. While it can be a pain, to debug something like this, I have booted systems at data centers where I have a console connected and using a CD or DVD drive (external USB if no internal device is installed.) -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-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: Firewall, blocking POP3
At 07:18 PM 5/30/2012, Robert Bonomi wrote: From jbiq...@intranet.com.mx Wed May 30 13:48:05 2012 Date: Wed, 30 May 2012 13:47:34 -0500 To: Robert Bonomi bon...@mail.r-bonomi.com From: Jorge Biquez jbiq...@intranet.com.mx Subject: Re: Firewall, blocking POP3 Cc: freebsd-questions@freebsd.org Hello. Thanks a lot!. Simple an elegant solution. I just did that and of course it worked I just was wondering... what if I need to have the service working BUT want to block those break attemps? IN this and other services. ? My guess is that it is a never ending process? I mean, block one, block another, another, etc? If one knows the address-blocks that legitimate customers will be using, one can block off access from 'everywhere else'. What the people who has big servers running for hosting services are doing? Or you just have a policy of strng passworrds, server up-todate and let the attemps to try forever? There are tools like 'fail2ban' that can be used to lock out persistant doorknob-rattlers. Also, one can do things like allow mail access (POP, IMAP, 'whatever') only via a port that is 'tunneled' through an SSH/SSL connection. This eliminates almost all doorknob rattling on the mail access ports, but gets lots of attempts on the SSH port. Which is generally not a problem, since the SSH keyspace is vastly larger, and more evenly distributed, than that for plaintext passwords. To eliminate virtually all the 'noise' from SSH doorknob-rattling, run it on a non-standard port. This does =not= increase the actual security of the system, but it does greatly reduce the 'noise' in the logs -- so any actual attack attempt is much more obvious. You can use /etc/hosts.allow to list your friendly IP's allowed by protocol. This provides an easy way to block all foreign users. You can use wildcards in this file, so if you need to allow users in for POP access from an ISP, you can do that. Also, if you do have wide array of addresses you need to let in, you may want to put the email services in a jail. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-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/find - binary operands howto
Given a fs with millions of inodes, multiple find runs is expensive. As is performing the ch* on more than the minimum required inodes, which also needlessly updates the inode ctime. So I want one find, doing the ch* only if necessary. I came up with this. But any true line short circuits the rest of the -o's, which isn't desired. Using -a results similarly. The man page says -exec returns true if util is true. ch* is usually true unless the operation isn't permitted (file flags, read-only, etc) or the node vanishes in a race. The test[s] would keep -exec[s] from being always executed. Then there is the problem of the full permutation of the initial state of the owner and mode, say: 00, 01, 10, 11. So how should I write this? Do I want to use -true/-false somehow? # touch 1 ; chown 1:1 1 ; chmod 0666 1 ; ls -l 1 # find 1 \( \ \( \! \( -uid 0 -gid 0 \) -exec chown 0:0 {} \+ \) \ -o \ \(-perm +0222 -exec chmod ugo-w {} \+ \) \ -o \ ... -o \ ... \) # ls -l 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
Syntax error: redirection unexpected
http://forums.freebsd.org/showthread.php?t=32482 After recent update of ports tree make became unable to build lang/expect: Code: freebsd64# cd /usr/ports/lang/expect freebsd64# make install Syntax error: redirection unexpected *** Error code 2 Stop in /usr/ports/lang/expect. *** Error code 1 Stop in /usr/ports/lang/expect. The same error on FreeBSD 6.2 with make from 6.4: Code: [root@freebsd62 /usr/ports/devel/glib20]# make install Syntax error: redirection unexpected *** Error code 2 Stop in /usr/ports/devel/glib20. *** Error code 1 Stop in /usr/ports/devel/glib20. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Strange case of vanishing disk
Hi, this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS server with 2x 2TB disks and 2x4TB disks as storage - all spread out over 2 ZFS storage pools. Additionally I am running the root file system on a 40GB SSD. The strange thing with this is that I recently installed the 4TB disks and they're brand new. One disk connected to the system board works fine and shows up as online and on one of the channels using atacontrol list. The other disk is connected to a Startech.com Jmicron based 2x SATA RAID controller card. The disk connected to the controller card is having issues. At first the drive wouldn't be seen by the system then after a while all of a sudden it was there. No reboots, no io scans nothing it just appeared. After blasting it with IO for a few days the disk has now vanished again. I had this error in dmesg for a while: ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535 I have tried to use pciconf -lbvv to show the connected interfaces and the JMICRON comes up fine: atapci0@pci0:2:0:0:class=0x010400 card=0x2366197b chip=0x2366197b rev=0x02 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)' class = mass storage subclass = RAID bar [10] = type I/O Port, range 32, base 0xd040, size 8, enabled bar [14] = type I/O Port, range 32, base 0xd030, size 4, enabled bar [18] = type I/O Port, range 32, base 0xd020, size 8, enabled bar [1c] = type I/O Port, range 32, base 0xd010, size 4, enabled bar [20] = type I/O Port, range 32, base 0xd000, size 16, enabled bar [24] = type Memory, range 32, base 0xd051, size 8192, enabled So why isn't the disk? I reckon as stated at the beginning that either the 180Watt PSU inside the system isn't enough or the controller is just really poor?? Could anyone suggest anything to look into, I'm sure I've covered all the bases but just incase there is something else I can do with this one?? Thanks. Kaya ___ freebsd-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: umount device busy
Combining several responses to save traffic; thanks all Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mnt/goflex Then, as nearly as I can remember... I then poked around a bit using the xfce4 browser. I tried to mkdir from the mount point as a normal user: cd /mnt/goflex %mkdir breakaway mkdir: .: No such file or directory After checking write premissions, which I didn't have, I did an su -l and tried again, with the same results. I then tried to unmount the drive, believing it was mounted read-only: #umount /mnt/goflex umount: unmount of /mnt/goflex failed: Device busy As nearly as I can tell, I don't have anything pointing at that drive. Questions: 1. What does the No such file or directory mean from mkdir? It's a relative dir name, and I'm sitting at a valid dir.On 06/03/12 09:24, Polytropon wrote: On Sun, 03 Jun 2012 08:59:11 -0600, Gary Aitken wrote: Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mnt/goflex Then, as nearly as I can remember... I then poked around a bit using the xfce4 browser. I tried to mkdir from the mount point as a normal user: cd /mnt/goflex %mkdir breakaway mkdir: .: No such file or directory After checking write premissions, which I didn't have, I did an su -l and tried again, with the same results. I then tried to unmount the drive, believing it was mounted read-only: #umount /mnt/goflex umount: unmount of /mnt/goflex failed: Device busy As nearly as I can tell, I don't have anything pointing at that drive. Questions: 1. What does the No such file or directory mean from mkdir? It's a relative dir name, and I'm sitting at a valid dir. I think I remember having read about problems with Windows-based file system use, such as valid directories becoming invalid. The error message you mentioned states /mnt/goflex is not a valid directory (anymore), that's why no directory entry can be created here. It's still valid. I can cd there and look at anything in the subtree. Consider NTFS being part of the problem, i. e. problems with the _ntfs file system driver provided by the OS (as it seems you're not using FUSE tools here - there are fusefs-ntfs and ntfsprogs in the ports collection which may provide a functionality the base system is missing here). may try that but will probably decide to use two different drives for removable backup, one for windoze and one for fbsd. if you are using xfce4, then you have most likely got gamin running as well, this caused the same problem for me when trying to umount an external USB drive gamin *is* installed, and I did have the file browser up and using it to look at the ntfs disk. I thought it might be holding a file open, so first I backed it out to something not on the ntfs disk, then exited it. Made no difference. Also, no gamin currently running. But as Warren Block noted, it causes this problem, so I'm assuming that is it. I resolved my umount problem by including the -f switch #umount -f /mnt/goflex Which is what I am ending up doing. This almost always means someone (i.e. you) is sitting in the directory. If you tried this while su'ed and the un-su'ed you were still in the directory /mnt/goflex, you'd get this message. This may also happen if someone (i.e. you) is in the directory on another vtty. Naturally it can also mean some operation is in progress, but generally you would have recognized and avoided that. That's what I kept thinking. Backed out of all su ops, checked all xterms; nada. no other vtys opened. In any case, the mount was done after X was started, and switching vtys crashes X so I don't do that. You did not provide a history with this problem, but generally it means some part of the path before the last does not exist. I get it for using a leading /, when I meant a relative path, or not using the leading slash when I meant an absolute path -- and of course for misspelling some part of the path. Nice to know someone else admits to that too :-). In this case, not the problem. 2. How do I find out how the file-system was mounted? mount (noargs) does not show read/write status It does - implicitely. For -o ro, it shows read-only. Yes, it does. :) 'readonly' means just that. 'readonly' NOT shown means read/write. I thought maybe so, but didn't know for sure. Thanks. But Lars' mount -p is more assuring. 3. I tried lsof but I don't get any output from it: lsof +d /mnt/goflex -x -- /mnt/goflex Where does it go if not to stdout? If no output redirection is applied, consider the output being empty, as no error message is displayed (so both stdout and stderr are silent). I thought maybe so, but then tried another test which should have had output
Re: Strange case of vanishing disk
this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS server with 2x 2TB disks and 2x4TB disks as storage - all spread out over 2 ZFS storage pools. Additionally I am running the root file system on a 40GB SSD. The strange thing with this is that I recently installed the 4TB disks and they're brand new. One disk connected to the system board works fine and shows up as online and on one of the channels using atacontrol list. The other disk is connected to a Startech.com Jmicron based 2x SATA RAID controller card. The disk connected to the controller card is having issues. At first the drive wouldn't be seen by the system then after a while all of a sudden it was there. No reboots, no io scans nothing it just appeared. After blasting it with IO for a few days the disk has now vanished again. I had this error in dmesg for a while: ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535 I have tried to use pciconf -lbvv to show the connected interfaces and the JMICRON comes up fine: atapci0@pci0:2:0:0:class=0x010400 card=0x2366197b chip=0x2366197b rev=0x02 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)' class = mass storage subclass = RAID bar [10] = type I/O Port, range 32, base 0xd040, size 8, enabled bar [14] = type I/O Port, range 32, base 0xd030, size 4, enabled bar [18] = type I/O Port, range 32, base 0xd020, size 8, enabled bar [1c] = type I/O Port, range 32, base 0xd010, size 4, enabled bar [20] = type I/O Port, range 32, base 0xd000, size 16, enabled bar [24] = type Memory, range 32, base 0xd051, size 8192, enabled So why isn't the disk? I reckon as stated at the beginning that either the 180Watt PSU inside the system isn't enough or the controller is just really poor?? Could anyone suggest anything to look into, I'm sure I've covered all the bases but just incase there is something else I can do with this one?? Thanks. Kaya ___ One thing I can think of is to disconnect the questionable disk from the RAID controller card and connect it directly to the motherboard. Then you'd know whether the fault is with the hard drive or the RAID controller. PSU = power supply unit? 180 watts seems very little, I didn't know any modern system could run on so little. I thought the minimum would be around 400 watts, and this would not allow for a powerful gaming graphics card. Maybe you need to replace the power supply with something having more watts, but make sure it will physically fit. Tom ___ freebsd-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: Strange case of vanishing disk
this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS server with 2x 2TB disks and 2x4TB disks as storage - all spread out over 2 ZFS storage pools. Additionally I am running the root file system on a 40GB SSD. [...] ___ One thing I can think of is to disconnect the questionable disk from the RAID controller card and connect it directly to the motherboard. Then you'd know whether the fault is with the hard drive or the RAID controller. PSU = power supply unit? 180 watts seems very little, I didn't know any modern system could run on so little. I thought the minimum would be around 400 watts, and this would not allow for a powerful gaming graphics card. Maybe you need to replace the power supply with something having more watts, but make sure it will physically fit. Tom Thanks for the response! Here's some more info that I managed to dig up: Jun 4 02:39:19 Zeta-Ray root: ZFS: vdev I/O failure, zpool=ZFS_POOL_2 path=/dev/ad4 offset=270336 size=8192 error=6 Jun 4 02:39:19 Zeta-Ray kernel: ata2: port is not ready (timeout 15000ms) tfd = 00ff Jun 4 02:39:19 Zeta-Ray kernel: ata2: hardware reset timeout Jun 4 02:39:19 Zeta-Ray kernel: unknown: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=269091394 Yeah, 180 Watts is what comes with the chassis as it's an external power supply. Additionally the system is a Mini-ITX so that would account for less power usage however, in this case I think it might be the PSU that's simply not providing enough power. I will definitely try sticking the downed disk into the motherboard controller directly as that will tell me if the disk is the issue or not. I'm also thinking to eliminate the issue of using external controller to just get a new system board that 6x SATA connectors on it instead of 4 as per my board. Regards, Kaya ___ freebsd-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: umount device busy
On Sun, 03 Jun 2012 20:28:28 -0600, Gary Aitken wrote: Consider NTFS being part of the problem, i. e. problems with the _ntfs file system driver provided by the OS (as it seems you're not using FUSE tools here - there are fusefs-ntfs and ntfsprogs in the ports collection which may provide a functionality the base system is missing here). may try that but will probably decide to use two different drives for removable backup, one for windoze and one for fbsd. Good idea. However, you can do efficient backups of Windows data by using the ntfsprogs tools. This makes sure they can even be read under non-Windows systems. if you are using xfce4, then you have most likely got gamin running as well, this caused the same problem for me when trying to umount an external USB drive gamin *is* installed, and I did have the file browser up and using it to look at the ntfs disk. I thought it might be holding a file open, so first I backed it out to something not on the ntfs disk, then exited it. Made no difference. Maybe the ganim lock is regarding a device file? Not sure about that, I'm not using it here. In any case, the mount was done after X was started, and switching vtys crashes X so I don't do that. That sounds a bit wrong... 4. lsof has a *long* man page, so I'd like to save it temporarily so I can search it in an editor. If I do man lsoftemp.tmp the output contains backspace sequences which screw up searching. How do I get man to produce plain text without the control sequences? You can use less's search (key /) when using the man lsof command. You can also use a PDF viewer (including text search functionality) so you can keep the formatting details. The following command does the trick: zcat `man -w lsof` | groff -Tps -dpaper=a4 -P-pa4 -mandoc | ps2pdf - /tmp/man_1_lsof.pdf To convert to pure text, use -Tascii or -Tlatin1; however, this renders to pure text without keeping the formatting intact. Thanks. I get a grops: can't open file `a4` but I'll deal with that later. That's just for formatting the paper format (ISO A4 here). You can omit those options, the default format (in your case I assume it will be letter) will be selected. man -t lsof | sp2ascii savefile.txt Where'd you get/find sp2ascii? I don't see one anywhere, not even on google. (Except this thread...) Secret weapon? Typo maybe? A command like ps2ascii sounds more reasonable if we consider PS being the output format. The command % man -t lsof | ps2ascii man_1_lsof.txt works as intended. The only remaining control character is ^L, means page break (for form feed to be precise). 6. And finally, any idea why umount says the device is busy? You could use umount -f to force it, but that may result in files missing. hope not, but not a heck of a lot of choices at this point. Since I didn't do squat because of the failed mkdir, seems hopeful. You can always call the command % sync to request writing any pending buffers; however, the system will decide when the actual writes to the media will happen. :-) I've mounted them ro a number of times, but never tried writing before. In that case, using fuse-ntfs seems to be the better choice as the NTFS support of the base system is considered good enough for r/o. something that *might* be helpful to you, it's a basic little man page browser in Qt left side of the pane shows a treeview of filesystem, so you can navigate /bin, /usr/bin, etc.. when you click on a file it looks for the corresponding man page and shows it on the right pane formatted html, which is a webkit panel. https://github.com/creamy/man-browser it is intended as a way to quickly look at what's installed on your system and possibly 'discover' and learn about previously 'unknown' commands. Thanks. There's also a traditional way: xman. You can use it like % xman -bothshown then select Manual Page and then select a command from the directory on top. It's quite simple, but renders fast. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Strange case of vanishing disk
On Mon, 04 Jun 2012 02:06:57 +0100 Kaya Saman kayasa...@gmail.com wrote: Hi, this is a very strange issue but I guess will either be related to 2 things, PSU not being powerful enough or disk controller simply being crap. Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS server with 2x 2TB disks and 2x4TB disks as storage - all spread out over 2 ZFS storage pools. Additionally I am running the root file system on a 40GB SSD. The strange thing with this is that I recently installed the 4TB disks and they're brand new. One disk connected to the system board works fine and shows up as online and on one of the channels using atacontrol list. The other disk is connected to a Startech.com Jmicron based 2x SATA RAID controller card. The disk connected to the controller card is having issues. At first the drive wouldn't be seen by the system then after a while all of a sudden it was there. No reboots, no io scans nothing it just appeared. After blasting it with IO for a few days the disk has now vanished again. I had this error in dmesg for a while: ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535 I have tried to use pciconf -lbvv to show the connected interfaces and the JMICRON comes up fine: atapci0@pci0:2:0:0:class=0x010400 card=0x2366197b chip=0x2366197b rev=0x02 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)' class = mass storage subclass = RAID bar [10] = type I/O Port, range 32, base 0xd040, size 8, enabled bar [14] = type I/O Port, range 32, base 0xd030, size 4, enabled bar [18] = type I/O Port, range 32, base 0xd020, size 8, enabled bar [1c] = type I/O Port, range 32, base 0xd010, size 4, enabled bar [20] = type I/O Port, range 32, base 0xd000, size 16, enabled bar [24] = type Memory, range 32, base 0xd051, size 8192, enabled So why isn't the disk? I reckon as stated at the beginning that either the 180Watt PSU inside the system isn't enough or the controller is just really poor?? Could anyone suggest anything to look into, I'm sure I've covered all the bases but just incase there is something else I can do with this one?? Greetings, It looks like you are using the default ATA drive with that. I would suggest trying the AHCI driver and see if that works better. kldload ahci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
New message
Counsel, I aminquiring about the possibility of your firm representing me in the litigationof a breach of payment agreement.If this falls within the scope of yourpractice get back to me so that I can send the copies of our agreements andmore information. Regards Timothy Whitfield Tel:1-289-981-9580 Email: timothywhitfiel...@gmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: HP networked printer -- hp-setup won't use, hp-probe finds
Polytropon, you mention ppd files (.ppd or .ppd.gz). Is this the binary plugin that hplip was unable to install for me? Or am I grasping at straws? Somehow I thought the binary plugin was much bigger than the .ppd.gz files found in /usr/local/share/ppd/HP/ Tom ___ freebsd-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: HP networked printer -- hp-setup won't use, hp-probe finds
From: Thomas Mueller muelle...@insightbb.com Polytropon, you mention ppd files (.ppd or .ppd.gz). Is this the binary plugin that hplip was unable to install for me? No. '.ppd' files are 'postscript printer description' files. They ontain 'device dependant information about a specific make/model of Postscript-capable printer. They consist of 'feature' names, 'values' for that feature, and the postscript code fragment that tells that printer how to use a particular 'value' for that particular feature. e.g. one can select the input paper tray by 'name' -- e.g. 'upper', 'lower', etc. -- without having to know whether trays are numbered starting at zero or one, or whether the numbering goes 'up' or 'down'. '.ppd' files are relevent _only_ if you are producing postscript output, ___ freebsd-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)
For a server, you don't need a lot of fancy stuff such as Adobe Flash and do you need this for a non-server? Adobe don't want us (FreeBSD users) to use their closed-source software. And i respect their will and don't use it. Which resulted in much easier browsing by the way :) Some, too many, web sites are difficult or impossible to access without Adobe Flash. Adobe may discontinue Linux version of Flash plugin except when bundled with Chrome browser. I personally would like to see HTML 5 wipe Adobe Flash off the face of the earth. Some web sites use Flash just to be annoying, not to create a video. Examples are: freefilefillableforms.com : I was unable to proceed with income tax return for e-file. shoplocal.com : When advertiser/vendor offers a choice between Flash (broadband) and HTML (dialup), HTML (non-Flash) works better even on broadband. www.gagels.com (farm market), last time I looked was maybe a month ago, and I remember complaining. laguanajuatoky.com : crashes (Mozilla) Seamonkey browser when running in FreeBSD. Gnash is great on YouTube but seems to work nowhere else. Tom ___ freebsd-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)
and do you need this for a non-server? Adobe don't want us (FreeBSD users) to use their closed-source software. And i respect their will and don't use it. Which resulted in much easier browsing by the way :) Some, too many, web sites are difficult or impossible to access without Adobe Flash. true. but this is actually great filter that save your time. such sites doesn't have any real contents. Adobe may discontinue Linux version of Flash plugin except when bundled with Chrome browser. I personally would like to see HTML 5 wipe Adobe Flash off the face of the earth. true. Gnash is great on YouTube but seems to work nowhere else. i rarely run gnash. youtube is not a problem, use youtube-dl from ports and do download videos to disk drive, then watch instead of having movies in the internet, where they can disappear everytime youtube decide that you should's watch 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: HP networked printer -- hp-setup won't use, hp-probe finds
ppd file are actually human readable, you get a fragment that tell you how to filter postscript to produce output. eg. my OfficeJet 8500 filter is based on it. On Sun, 3 Jun 2012, Thomas Mueller wrote: Polytropon, you mention ppd files (.ppd or .ppd.gz). Is this the binary plugin that hplip was unable to install for me? Or am I grasping at straws? Somehow I thought the binary plugin was much bigger than the .ppd.gz files found in /usr/local/share/ppd/HP/ Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to use an external USB3.0 drive with 4k sectors?
2. Replace the vendor installed NTFS with a UFS file system. $ newfs -U /dev/da1s1 (No, I didn't bother to create BSD partitions) but why still create msdos partition? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org