Re: Eject CD
> "cdcontrol eject" ? Then what would be causing "cdcontrol eject"? This has been going on for many releases of FreeBSD (5 to 7) and only on Intel Motherboards. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Eject CD
"cdcontrol eject" ? On Sat, Feb 27, 2010 at 9:01 PM, Olivier Nicole wrote: > Hi, > > What in a standard installation of FreeBSD, on a server running only > MySQL and Postgress, could cause the CD tray to open by itself from > time to time? > > Thanks in advance, > > Olivier > ___ > freebsd-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"
Eject CD
Hi, What in a standard installation of FreeBSD, on a server running only MySQL and Postgress, could cause the CD tray to open by itself from time to time? Thanks in advance, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: RESOLVED: Printing via USB Port
On Sat, 27 Feb 2010, Bill Tillman wrote: Now one last question. I print from two segments in my home LAN. One is 10.0.0.0/24 which is where almost everything in the house is. The other is 192.168.0.0/24 which is for all the wireless devices and guests who visit with their wireless laptops. I need to start lpd with -W parameter in order to get it to accept print jobs from the 192.168.0.0/24 wireless segment. So what is the proper syntax for this in /etc/rc.conf lpd_enable="YES" and lpd_flags="-W" (untested)... And from the other message: The simpler /etc/printcap above using ps2hl1250 which is a very short script works as well. No need to have to load the foomatic-filters port. Although like apsfilter, foomatic provides other features you may like. -Warren Block * Rapid City, South Dakota 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: Squid reporting incorrect time
On Sat, 27 Feb 2010 20:06:31 -0500 Jon Radel wrote: > On 2/27/10 7:59 PM, Ty John (sand_man) wrote: > > > > On Sun, 28 Feb 2010 00:03:19 + > > RW wrote: > > > >> On Sun, 28 Feb 2010 09:07:27 +1030 > >> Ty John (sand_man) wrote: > >> > >>> > >>> Hi guys, > >>> > >>> I've had my squid proxy running fine for quite some time now but > >>> just one thing bothers me. When a page cannot be displayed, the > >>> date and time showing on that page is incorrect even the the > >>> system date and time is correct. > >> > >> Works for me. Are you sure the error page is generated by your > >> cache? Do you see your own hostname in the page? > >> ___ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > >> "freebsd-questions-unsubscr...@freebsd.org" > >> > > > > Yes I'm 100% sure. I'll check out those others links Jon just > > posted. ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscr...@freebsd.org" > > > He's referring to my mail where I mentioned: > > > > > Try http://www.linuxreaders.com/2009/08/10/squid-change-timezone/ > > > > See also the distinction between %t and %T at > http://wiki.squid-cache.org/Features/CustomErrors > > I got it working. Thanks for your help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: RESOLVED: Printing via USB Port
On Sat, 27 Feb 2010, Bill Tillman wrote: Sorry to keep beating this dead horse but I forgot to mention that this also means that I didn't need the ppd file either. The ps2hl1250 takes care of everything through ghostscript. One less thing to worry about in the setup. I guess the only thing left to do with this is to figure out an if/then module to decide whether the file is postscript or just plain text and then print just plain text without using the ghostscript portion. There's one in my lpd article under Smart Filters: http://www.wonkity.com/~wblock/docs/lpdprinting.pdf -Warren Block * Rapid City, South Dakota 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: selling freebsd cd for profit
On Sat, Feb 27, 2010 at 07:58:51AM +, Matthew Seaman wrote: > > Some parts of the material in FreeBSD is under GPL, which means > that you have to ensure source code is available for those bits: if > you're redistributing the standard .iso images from the FreeBSD web > sites, you can just point to the ways of getting the sources in the > Handbook. Actually, once your project becomes a commercial enterprise, the GPL stops allowing reference to upstream sources to suit the requirements of code redistribution. If you sell GPLed software, you have to provide the sources yourself -- and, if you offer the *option* of access to the sources without actually ensuring that everybody gets a copy of the sources right away, you have to maintain sources for each distributed version for a number of years after the last such distribution. I'm not saying you *don't* have to maintain sources that long after the fact if you make sure everybody gets a copy right away; I haven't read the text of the GPL in detail in a while, and don't recall that specific detail. Note that I'm not a lawyer, and this does not constitute legal advice. My only direct legal advice is to seek legal advice from a professional. > > Whether reselling for profit something that anyone can get for free > is a viable business proposition I'll leave up to your better judgement. That's really true of software under *any* license -- because it's basically free to copy and distribute. The only question is whether it's reasonable to expect to be able to get the government to enforce your business model for you. If not (as in the case of something distributed under the terms of the BSD license), you'll probably need to offer something additional (such as local presence for physical, face to face transactions, or a package deal with something else, or perhaps free support above and beyond what's available from the FreeBSD project itself, and so on). -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpEQ7IE1Q20m.pgp Description: PGP signature
Re: 8.0 on new hardware and a few errors, should I be worried?
On Sun, Feb 28, 2010 at 03:28:48AM +0200, Dan Naumov wrote: > Additionally, while building a whole bunch of ports on this new system > (about 30 or so, samba, ncftp, portaudit, bash, the usual suspects), I > noticed the following in my logs during the build process: > > -- > Feb 27 21:24:01 atombsd kernel: pid 38846 (try), uid 0: exited on > signal 10 (core dumped) > Feb 27 22:17:49 atombsd kernel: pid 89665 (conftest), uid 0: exited on > signal 6 (core dumped) > -- This is intentional/normal, believe it or not. It's by-design as part of some compiler tests that autoconf (or the software that uses autoconf) induces. Thanks, GNU! FreeBSD logs these to the console by default; the sysctl to control this behaviour is kern.logsigexit. -- | Jeremy Chadwick j...@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
8.0 on new hardware and a few errors, should I be worried?
Hello I've very recently finished installing 8.0-RELEASE on some new hardware and I noticed a few error messages that make me a bit uneasy. This is a snip from my dmesg: -- acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fee0, 1000 (3) failed acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, bf60 (3) failed -- What do these mean and should I worry about it? The full DMESG can be viewed here: http://jago.pp.fi/temp/dmesg.txt Additionally, while building a whole bunch of ports on this new system (about 30 or so, samba, ncftp, portaudit, bash, the usual suspects), I noticed the following in my logs during the build process: -- Feb 27 21:24:01 atombsd kernel: pid 38846 (try), uid 0: exited on signal 10 (core dumped) Feb 27 22:17:49 atombsd kernel: pid 89665 (conftest), uid 0: exited on signal 6 (core dumped) -- All ports seem to have built and installed succesfully. Again, what do these mean and should I worry about it? :) Thanks! - Sincerely, Dan Naumov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Squid reporting incorrect time
On 2/27/10 7:59 PM, Ty John (sand_man) wrote: On Sun, 28 Feb 2010 00:03:19 + RW wrote: On Sun, 28 Feb 2010 09:07:27 +1030 Ty John (sand_man) wrote: Hi guys, I've had my squid proxy running fine for quite some time now but just one thing bothers me. When a page cannot be displayed, the date and time showing on that page is incorrect even the the system date and time is correct. Works for me. Are you sure the error page is generated by your cache? Do you see your own hostname in the page? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" Yes I'm 100% sure. I'll check out those others links Jon just posted. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" He's referring to my mail where I mentioned: > > Try http://www.linuxreaders.com/2009/08/10/squid-change-timezone/ > See also the distinction between %t and %T at http://wiki.squid-cache.org/Features/CustomErrors -- --Jon Radel j...@radel.com
Re: How to check a ext3 partition ?
e2fsprogs has utilities to create and check ext2 and ext3, it also creates ext4, but freebsd (at this time) doesn't seems to be able to mount ext4 yet. I had to install it because I share /home with GNU/linux. 2010/2/27 Kevin Kinsey > zaxis wrote: > >> There is a ext3 partition used to share data between linux and freebsd. >> Sometimes freebsd cannot mount this partition as abnormal poweroff. I >> have >> to enter linux to do `fsck.ext3` . >> >> Can freebsd fsck ext3 partition ? >> >> > Not natively, AFAIK. Check out /usr/ports/sysutils/e2fsprogs; > I've not used it, but I'd imagine it would take care of this > chore for you. > > KDK > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > -- [] [En muchos lugares, tomar fotos es visto como] [una costumbre vil y reprensible ] [] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Squid reporting incorrect time
On Sun, 28 Feb 2010 00:03:19 + RW wrote: > On Sun, 28 Feb 2010 09:07:27 +1030 > Ty John (sand_man) wrote: > > > > > Hi guys, > > > > I've had my squid proxy running fine for quite some time now but > > just one thing bothers me. When a page cannot be displayed, the > > date and time showing on that page is incorrect even the the system > > date and time is correct. > > Works for me. Are you sure the error page is generated by your cache? > Do you see your own hostname in the page? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscr...@freebsd.org" > Yes I'm 100% sure. I'll check out those others links Jon just posted. ___ freebsd-questions@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 check a ext3 partition ?
zaxis wrote: There is a ext3 partition used to share data between linux and freebsd. Sometimes freebsd cannot mount this partition as abnormal poweroff. I have to enter linux to do `fsck.ext3` . Can freebsd fsck ext3 partition ? Not natively, AFAIK. Check out /usr/ports/sysutils/e2fsprogs; I've not used it, but I'd imagine it would take care of this chore for you. KDK ___ freebsd-questions@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 check a ext3 partition ?
On Sat, 27 Feb 2010 16:49:12 -0800 (PST), zaxis wrote: > > There is a ext3 partition used to share data between linux and freebsd. > Sometimes freebsd cannot mount this partition as abnormal poweroff. I have > to enter linux to do `fsck.ext3` . > > Can freebsd fsck ext3 partition ? I think the port sysutils/e2fsprogs contains a fsck program that can be run on ext3 partitions. -- 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"
How to check a ext3 partition ?
There is a ext3 partition used to share data between linux and freebsd. Sometimes freebsd cannot mount this partition as abnormal poweroff. I have to enter linux to do `fsck.ext3` . Can freebsd fsck ext3 partition ? - fac n = let { f = foldr (*) 1 [1..n] } in f -- View this message in context: http://old.nabble.com/How-to-check-a-ext3-partition---tp27732285p27732285.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Squid reporting incorrect time
On Sun, 28 Feb 2010 09:07:27 +1030 Ty John (sand_man) wrote: > > Hi guys, > > I've had my squid proxy running fine for quite some time now but just > one thing bothers me. When a page cannot be displayed, the date and > time showing on that page is incorrect even the the system date and > time is correct. Works for me. Are you sure the error page is generated by your cache? Do you see your own hostname in the page? ___ freebsd-questions@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 a sound card
Did you try using mixer to change the volume? mixer vol 90 mixer pcm 90 mixer speaker 90 I followed this instructions to test my card http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html 2010/2/26 Piotr Lukawski > Hi, > Please help me with a problem. > > I installed FreeBSD > > casiopea.lukawski.net 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 > > on Cassiopea Fiva MPC-205E ( > http://world.casio.com/system/pa/products/ht/fiva_mpc205e_spec.html ) with > build in sound card "AC-Link connected sound chip (16-bit stereo PCM)" > > Then I tried "kldload snd_driver" and the driver was recognised as: > > casiopea# cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: at io 0x1000 irq 10 kld snd_t4dwave [GIANT] > (1p:1v/1r:1v channels duplex default) > > but... still no sound > > then I enabled the driver in /boot/defaults/loader.conf > > snd_t4dwave_load="YES" # t4dwave > > the driver is loading properly, but ... still no sound > > Following the suggestion from > > http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-November/005322.html > I've put these into my /etc/sysctl.conf: > > > > > > hw.snd.maxautovchans=10 > > > hw.snd.pcm0.vchans=4 > > still no sound > > if I try > > casiopea# mpg123 puszek.mp3 > > I get: > > High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 >version 1.10.0; written and copyright by Michael Hipp and others >free software (LGPL/GPL) without any warranty but with best wishes > > Playing MPEG stream 1 of 1: puszek.mp3 ... > [...] > MPEG 1.0 layer III, 320 kbit/s, 44100 Hz joint-stereo > > but still no sound. > > Please help to solve it, I have no more idea what I can do with. > > Thanks in advance, > Take care, > Piotr > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > -- [] [En muchos lugares, tomar fotos es visto como] [una costumbre vil y reprensible ] [] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Squid reporting incorrect time
Hi guys, I've had my squid proxy running fine for quite some time now but just one thing bothers me. When a page cannot be displayed, the date and time showing on that page is incorrect even the the system date and time is correct. I've checked the squid.conf file in case there was something in there I was supposed to set but I can't find anything. I'm running FreeBSD 8.0-RELEASE and I'm still pretty new to it, I'm generally a GNU/Linux user. Cheers, Ty ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Question about Jails
Hi, Graeme Dargie wrote: > Hello List, > > > > I understand this is possible but cant seem to find any how to`s or > guides out on the net, I would like to set up a jail running FreeBSD 8.0 > i386 on a system that is running FreeBSD 8.0 amd64. I know this may > sound somewhat odd but I have a program that I need to run that just > will not compile under amd64. > You want to set the TARGET for buildworld, which will create /usr/obj/i386. Use TARGET again for installworld to install from that obj directory. make TARGET=i386 buildworld make TARGET=i386 DESTDIR=/usr/jails/myi386jail installworld Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
8.0 USB storage issues reading more than 100Mb
Hi list I've been having issues when I try to read/write more than 100Mb from/to USB storage devices (pen-drives and HDs). ie: If I try to copy anything than happens to be greater than 100M, the WHOLE system FREEZES for about 2 minutes and then continues processing the transfer, and then freezes again, and so it continues till it finishes. That happens in 8.0 i386 and AMD64. How can I fix that? Everything else works like a charm, but I can't live without my external 100G HD attached to my computer... In case someone needs to know, these are the specs of my laptop http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01061905&cc=us&dlc=en&lc=en&jumpid=reg_R1002_USEN -- [] [En muchos lugares, tomar fotos es visto como] [una costumbre vil y reprensible ] [] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Question about Jails
On 2/27/10, Gökşin Akdeniz wrote: >> >> I understand this is possible but cant seem to find any how to`s or >> guides out on the net, I would like to set up a jail running FreeBSD 8.0 >> i386 on a system that is running FreeBSD 8.0 amd64. >> > JAILS requires host and client systems source code in sync. So that makes it > impossible to run a jail -i386- on -AMD64- host. You can only build a i386 > jail if and only if the host is i386. > > > Won't the lib32 subsystem allow the i386 jail to work with an amd64 host? Or have I misunderstood the lib32 subsystem completely? I have no amd64 systems to work with, as I have only i386 at home. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance (fixed)
Hello folks A few weeks ago, there was a discussion started by me regarding abysmal read/write performance using ZFS mirror on 8.0-RELEASE. I was using an Atom 330 system with 2GB ram and it was pointed out to me that my problem was most likely having both disks attached to a PCI SIL3124 controller, switching to the new AHCI drivers didn't help one bit. To reitirate, here are the Bonnie and DD numbers I got on that system: === Atom 330 / 2gb ram / Intel board + PCI SIL3124 ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 8192 21041 53.5 22644 19.4 13724 12.8 25321 48.5 43110 14.0 143.2 3.3 dd if=/dev/zero of=/root/test1 bs=1M count=4096 4096+0 records in 4096+0 records out 4294967296 bytes transferred in 143.878615 secs (29851325 bytes/sec) (28,4 mb/s) === Since then, I switched the exact same disks to a different system: Atom D510 / 4gb ram / Supermicro X7SPA-H / ICH9R controller (native). Here are the updated results: ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 8192 30057 68.7 50965 36.4 27236 21.3 33317 58.0 53051 14.3 172.4 3.2 dd if=/dev/zero of=/root/test1 bs=1M count=4096 4096+0 records in 4096+0 records out 4294967296 bytes transferred in 54.977978 secs (78121594 bytes/sec) (74,5 mb/s) === Write performance now seems to have increased by a factor of 2 to 3 and is now definately in line with the expected performance of the disks in question (cheap 2TB WD20EADS with 32mb cache). Thanks to everyone who has offered help and tips! - Sincerely, Dan Naumov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Question about Jails
> > I understand this is possible but cant seem to find any how to`s or > guides out on the net, I would like to set up a jail running FreeBSD 8.0 > i386 on a system that is running FreeBSD 8.0 amd64. > JAILS requires host and client systems source code in sync. So that makes it impossible to run a jail -i386- on -AMD64- host. You can only build a i386 jail if and only if the host is i386. signature.asc Description: This is a digitally signed message part.
Re: RESOLVED: Printing via USB Port
--- On Sat, 2/27/10, Warren Block wrote: From: Warren Block Subject: Re: RESOLVED: Printing via USB Port To: "Bill Tillman" Cc: "Robert Bonomi" , freebsd-questions@freebsd.org Date: Saturday, February 27, 2010, 2:26 PM On Sat, 27 Feb 2010, Bill Tillman wrote: > Okay guys this is finally working. I found the answer here: > > http://forums.freebsd.org/showthread.php?p=64508 > > This didn't come up in my other searches. > > This morning I put in "freebsd hl2040 usb" into my yahoo search and this came > up. Didn't you get my last message yesterday? It had that very link. > Seems this guy got it to work by using unlpt0 not ulpt0. I had tried this > before and was using the ifhp filter but that didn't work. The printer is not HP or even PCL, so ifhp is likely not the right filter. > So I did this with /etc/printcap: > > lp|HL2040|Brother HL-2040:\ > :lp=/dev/unlpt0:\ > :af=/home/bill/hl1250.ppd:\ > :if=/usr/local/bin/foomatic-rip:\ > :lf=/var/log/lpd/hl2040.log:\ > :sh:sd=/var/spool/lpd/laser: It was probably the unlpt0 device that cured it. Could you verify whether the plain lpd entry with the unlpt0 device works? lp:\ :lp=/dev/unlpt0:\ :sh:\ :mx#0:\ :sd=/var/spool/lpd/lp:\ :if=/usr/local/libexec/ps2hl1250: \ :lf=/var/log/lpd-errs: -Warren Block * Rapid City, South Dakota USA Sorry to keep beating this dead horse but I forgot to mention that this also means that I didn't need the ppd file either. The ps2hl1250 takes care of everything through ghostscript. One less thing to worry about in the setup. I guess the only thing left to do with this is to figure out an if/then module to decide whether the file is postscript or just plain text and then print just plain text without using the ghostscript portion. The ifhp filter did this and I will look there for ideas. Once in a blue moon I might actually print out some plain text files from one of the FreeBSD severs and I will need this functionality. I'm going to write my HOWTO on this and shutup for now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: RESOLVED: Printing via USB Port
--- On Sat, 2/27/10, Warren Block wrote: From: Warren Block Subject: Re: RESOLVED: Printing via USB Port To: "Bill Tillman" Cc: "Robert Bonomi" , freebsd-questions@freebsd.org Date: Saturday, February 27, 2010, 2:26 PM On Sat, 27 Feb 2010, Bill Tillman wrote: > Okay guys this is finally working. I found the answer here: > > http://forums.freebsd.org/showthread.php?p=64508 > > This didn't come up in my other searches. > > This morning I put in "freebsd hl2040 usb" into my yahoo search and this came > up. Didn't you get my last message yesterday? It had that very link. > Seems this guy got it to work by using unlpt0 not ulpt0. I had tried this > before and was using the ifhp filter but that didn't work. The printer is not HP or even PCL, so ifhp is likely not the right filter. > So I did this with /etc/printcap: > > lp|HL2040|Brother HL-2040:\ > :lp=/dev/unlpt0:\ > :af=/home/bill/hl1250.ppd:\ > :if=/usr/local/bin/foomatic-rip:\ > :lf=/var/log/lpd/hl2040.log:\ > :sh:sd=/var/spool/lpd/laser: It was probably the unlpt0 device that cured it. Could you verify whether the plain lpd entry with the unlpt0 device works? lp:\ :lp=/dev/unlpt0:\ :sh:\ :mx#0:\ :sd=/var/spool/lpd/lp:\ :if=/usr/local/libexec/ps2hl1250: \ :lf=/var/log/lpd-errs: -Warren Block * Rapid City, South Dakota USA Okay, we can put this one to rest. The simpler /etc/printcap above using ps2hl1250 which is a very short script works as well. No need to have to load the foomatic-filters port. Good thinking as this keeps the setup simple and easier. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: RESOLVED: Printing via USB Port
--- On Sat, 2/27/10, Warren Block wrote: From: Warren Block Subject: Re: RESOLVED: Printing via USB Port To: "Bill Tillman" Cc: "Robert Bonomi" , freebsd-questions@freebsd.org Date: Saturday, February 27, 2010, 2:26 PM On Sat, 27 Feb 2010, Bill Tillman wrote: > Okay guys this is finally working. I found the answer here: > > http://forums.freebsd.org/showthread.php?p=64508 > > This didn't come up in my other searches. > > This morning I put in "freebsd hl2040 usb" into my yahoo search and this came > up. Didn't you get my last message yesterday? It had that very link. > Seems this guy got it to work by using unlpt0 not ulpt0. I had tried this > before and was using the ifhp filter but that didn't work. The printer is not HP or even PCL, so ifhp is likely not the right filter. > So I did this with /etc/printcap: > > lp|HL2040|Brother HL-2040:\ > :lp=/dev/unlpt0:\ > :af=/home/bill/hl1250.ppd:\ > :if=/usr/local/bin/foomatic-rip:\ > :lf=/var/log/lpd/hl2040.log:\ > :sh:sd=/var/spool/lpd/laser: It was probably the unlpt0 device that cured it. Could you verify whether the plain lpd entry with the unlpt0 device works? lp:\ :lp=/dev/unlpt0:\ :sh:\ :mx#0:\ :sd=/var/spool/lpd/lp:\ :if=/usr/local/libexec/ps2hl1250: \ :lf=/var/log/lpd-errs: -Warren Block * Rapid City, South Dakota USA OK, got the server and the printer back in their respective holes. Made the necessary changes on the server's config and it's working. Test pages et.al are being sent and printed like before but this time it's on the USB setup. Warren, I must have been missing the forest for the trees. I saw your link but was convinced it was just another story about how it's not working. Anyway, turns out there is no need to make one a member of daemon group for this. Now one last question. I print from two segments in my home LAN. One is 10.0.0.0/24 which is where almost everything in the house is. The other is 192.168.0.0/24 which is for all the wireless devices and guests who visit with their wireless laptops. I need to start lpd with -W parameter in order to get it to accept print jobs from the 192.168.0.0/24 wireless segment. So what is the proper syntax for this in /etc/rc.conf lpd_enable="YES" or should I just start lpd from /etc/rc.local where I can setup the command line as I need it? Will test your other /etc/printcap settings listed above and report back. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: RESOLVED: Printing via USB Port
On Sat, 27 Feb 2010, Bill Tillman wrote: Okay guys this is finally working. I found the answer here: http://forums.freebsd.org/showthread.php?p=64508 This didn't come up in my other searches. This morning I put in "freebsd hl2040 usb" into my yahoo search and this came up. Didn't you get my last message yesterday? It had that very link. Seems this guy got it to work by using unlpt0 not ulpt0. I had tried this before and was using the ifhp filter but that didn't work. The printer is not HP or even PCL, so ifhp is likely not the right filter. So I did this with /etc/printcap: lp|HL2040|Brother HL-2040:\ :lp=/dev/unlpt0:\ :af=/home/bill/hl1250.ppd:\ :if=/usr/local/bin/foomatic-rip:\ :lf=/var/log/lpd/hl2040.log:\ :sh:sd=/var/spool/lpd/laser: It was probably the unlpt0 device that cured it. Could you verify whether the plain lpd entry with the unlpt0 device works? lp:\ :lp=/dev/unlpt0:\ :sh:\ :mx#0:\ :sd=/var/spool/lpd/lp:\ :if=/usr/local/libexec/ps2hl1250: \ :lf=/var/log/lpd-errs: -Warren Block * Rapid City, South Dakota 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"
Synchronize cache failed, status == 0x59
Hi, I am trying to use a Qlogic 2432 chip based card on FreeBSD 7.1 or 7.2. The SAN storage is IBM DS 4800. I get following error on boot and can't fdisk the fiber LUN.Following is the dmesg output: da0 at isp1 bus 0 target 0 lun 2 da0: Fixed Direct Access SCSI-5 device da0: 400.000MB/s transfers da0: Command Queueing Enabled da0: 20480MB (41943040 512 byte sectors: 255H 63S/T 2610C) SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #7 Launched! (da0:isp1:0:0:2): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. (da0:isp1:0:0:2): READ(10). CDB: 28 0 0 0 0 1 0 0 1 0 (da0:isp1:0:0:2): CAM Status: SCSI Status Error (da0:isp1:0:0:2): SCSI Status: Check Condition (da0:isp1:0:0:2): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:2): Vendor Specific ASC (da0:isp1:0:0:2): Unretryable error (da0:isp1:0:0:2): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (da0:isp1:0:0:2): CAM Status: SCSI Status Error (da0:isp1:0:0:2): SCSI Status: Check Condition (da0:isp1:0:0:2): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:2): Vendor Specific ASC (da0:isp1:0:0:2): Unretryable error isp1: 0.0.2 FCP RESPONSE: 0x2 (da0:isp1:0:0:2): Synchronize cache failed, status == 0x59, scsi status == 0x0 (da0:isp1:0:0:2): READ(10). CDB: 28 0 2 7f ff ff 0 0 1 0 (da0:isp1:0:0:2): CAM Status: SCSI Status Error (da0:isp1:0:0:2): SCSI Status: Check Condition (da0:isp1:0:0:2): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:2): Vendor Specific ASC (da0:isp1:0:0:2): Unretryable error (da0:isp1:0:0:2): READ(10). CDB: 28 0 0 0 0 80 0 0 10 0 (da0:isp1:0:0:2): CAM Status: SCSI Status Error (da0:isp1:0:0:2): SCSI Status: Check Condition (da0:isp1:0:0:2): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:2): Vendor Specific ASC (da0:isp1:0:0:2): Unretryable error (da0:isp1:0:0:2): READ(10). CDB: 28 0 0 0 0 10 0 0 10 0 (da0:isp1:0:0:2): CAM Status: SCSI Status Error (da0:isp1:0:0:2): SCSI Status: Check Condition (da0:isp1:0:0:2): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:2): Vendor Specific ASC (da0:isp1:0:0:2): Unretryable error (da0:isp1:0:0:2): READ(10). CDB: 28 0 0 0 0 0 0 0 10 0 (da0:isp1:0:0:2): CAM Status: SCSI Status Error (da0:isp1:0:0:2): SCSI Status: Check Condition (da0:isp1:0:0:2): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:2): Vendor Specific ASC (da0:isp1:0:0:2): Unretryable error (da0:isp1:0:0:2): READ(10). CDB: 28 0 0 0 2 0 0 0 10 0 (da0:isp1:0:0:2): CAM Status: SCSI Status Error (da0:isp1:0:0:2): SCSI Status: Check Condition (da0:isp1:0:0:2): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:2): Vendor Specific ASC (da0:isp1:0:0:2): Unretryable error (da0:isp1:0:0:2): READ(10). CDB: 28 0 0 0 0 80 0 0 10 0 (da0:isp1:0:0:2): CAM Status: SCSI Status Error (da0:isp1:0:0:2): SCSI Status: Check Condition (da0:isp1:0:0:2): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:2): Vendor Specific ASC (da0:isp1:0:0:2): Unretryable error (da0:isp1:0:0:2): READ(10). CDB: 28 0 0 0 0 10 0 0 10 0 (da0:isp1:0:0:2): CAM Status: SCSI Status Error (da0:isp1:0:0:2): SCSI Status: Check Condition (da0:isp1:0:0:2): ILLEGAL REQUEST asc:94,1 (da0:isp1:0:0:2): Vendor Specific ASC (da0:isp1:0:0:2): Unretryable error Can someone enlighten me about this error? What is my err on this issue? Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: selling freebsd cd for profit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/02/2010 18:47:05, Jon Radel wrote: > On 2/27/10 1:31 PM, Programmer In Training wrote: >> On 02/27/10 12:22, Jon Radel wrote: >>> On 2/27/10 2:58 AM, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/02/2010 24:50:54, Citra Cool wrote: > can i selling free bsd for my profit?? > is it legal?? In a word, yes -- sure you can. All you have to do is abide by the terms of the licensing. >>> >>> You sure that this applies in a couple countries where they have >>> rather draconian laws about selling software that supports any >>> type of encryption? It's a big world out there, with many >>> interesting laws. >>> >> >> That would be for the interested party to find out on their own, since >> we cannot possibly know the laws for each and every country out there. I >> find it hard enough to keep up with the laws in my own. >> > > Well, duh! However, in personal correspondence, the OP refuses to even > say what country he or she wants to do this in and simply reiterates the > original question, despite strong hints, both on and off list, to get > local expertise. As far as I know FreeBSD is not actually illegal anywhere in the world, although I guess there may be a few unenlightened places where they don't understand the necessity of strong encryption on today's Internet. Even so, you can strip the crypto out, and it still counts as FreeBSD. Anyhow, any local restrictions are the OP's problem: the only point on which I or anyone else on this list are qualified to offer an opinion is the interpretation of the various licenses involved. Even so, it's strictly amateur: I have no legal qualifications or license to practice. [My advice is free and worth every penny. It even comes with a full money-back guarantee...] Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuJa/QACgkQ8Mjk52CukIwfJwCfQQXYMCNWY1AyPeQahCHyarEc sDMAn1l6Sg6MV0dz7EPT9tPgcewx7gVd =NLUz -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RESOLVED: Printing via USB Port
--- On Fri, 2/26/10, Robert Bonomi wrote: From: Robert Bonomi Subject: Re: Printing via USB Port To: btillma...@yahoo.com Date: Friday, February 26, 2010, 8:29 PM > From owner-freebsd-questi...@freebsd.org Fri Feb 26 18:20:29 2010 > Date: Fri, 26 Feb 2010 16:19:40 -0800 (PST) > Cc: freebsd-questions@freebsd.org > Subject: Re: Printing via USB Port > > > > > > From: Warren Block > > Subject: Re: Printing via USB Port > > Date: Friday, February 26, 2010, 5:38 PM > > > > On Fri, 26 Feb 2010, Bill Tillman wrote: > > > > > > Thanks again for your valuable input. I have set up lpd printing on my > > > old > > > FreeBSD server at least a dozen times and it became a simple routine to > > > do > > > with apsfilter.Let me see if I can place all my cards in one place and > > > perhaps we can find the bug. > > > > I think I found it. The HL-2040 is a GDI printer, aka winprinter (aka "oh > > no, > > one of those", aka "I guess I didn't really want to print that after all"). > > It won't respond to PCL, unlike the one I looked up first, the HL-2060. > > > > Based on http://beej.us/hl2040/: > > > > % cd /usr/local/libexec > > % cp ps2pcl ps2hl1250 > > > > Change the line in ps2hl1250 to: > > > > /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=hl1250 -sOutputFile=- - > > ^^ > > And change the if= line in the printcap to refer to ps2hl1250. > > > > (And remember, buying winprinters just encourages them to make more.) > > > > -Warren Block * Rapid City, South Dakota USA > > Warren, > > Once again many thanks, but that is one of the first things I tried. By > checking ghostcript's drivers > > #gs -h | grep hl > > I found many drivers for the HL-12xx models. I have used this in my previous > setup with my old parallel server. I actually tried what you suggested and it > only worked when using the parallel cable, not the USB. For some reason the > USB connection on this and any other FreeBSD server I connect to is DOA for > printing. I run mouse and keyboard via USB. But these print jobs are lining > up in the queue and just sit there no matter how many times I reconnect the > printer, or reboot it or reboot the computer. And once again I'm seeing two > instances of lpd running when I only launched it from the command-line once, > no entry in /etc/rc.conf. > > BigDell# ps -ax | grep lpd > 1311 ?? Is 0:00.00 lpd > 1329 ?? IE 0:00.00 lpd > > BigDell# lpq > no entries > > BigDell# lpc status all > lp: > queuing is enabled > printing is enabled > no entries in spool area > printer idle > > BigDell# > > This just don't make sense and I hope when we find it it's something we can > laugh about. > OK, it's time to try some _basics_. Can you throw data _directly_ at the printer (i.e., *NOT* through lpr/lpd), and will it print? You can't use a simple 'echo Hello, World! >/dev/lp' to find out, because its a fscking 'winprinter'. power everything down, connect the USB cable only, power up the printer first, then the computer. When it has come up, do you have a /dev/usb/lp0 device? Have you created a symlink at /dev/lp that points to /dev/usb/lp0? What happens if you do (as root) where 'testfile.ps' is a simple Postscript doc]: # /usr/local/libexec/ps2hl1250 < testfile.ps >/dev/usb/lp0 how about: # /usr/local/libexec/ps2hl1250 < testfile.ps >/dev/lp For that matter, what does "find /dev -name '*lp*' -ls" show? If any of the names show as symlinks, do an 'ls -l' on the symlink target. I'm guessing that /dev/lp is a 'character device' node, pointing to the parallel port; and when lpd tries tyo print to _that_ -- with only the USB connection, -- it *doesn't*work* (for what is now an 'obvious' reason :) Okay guys this is finally working. I found the answer here: http://forums.freebsd.org/showthread.php?p=64508 This didn't come up in my other searches. This morning I put in "freebsd hl2040 usb" into my yahoo search and this came up. Seems this guy got it to work by using unlpt0 not ulpt0. I had tried this before and was using the ifhp filter but that didn't work. So I did this with /etc/printcap: lp|HL2040|Brother HL-2040:\ :lp=/dev/unlpt0:\ :af=/home/bill/hl1250.ppd:\ :if=/usr/local/bin/foomatic-rip:\ :lf=/var/log/lpd/hl2040.log:\ :sh:sd=/var/spool/lpd/laser: I got the hl1250.ppd file from openprinting.org. I edited the file like the poster said to do to be sure the gs program was pointed to by it's complete pathname. I then installed the foomatic-filter port because the foomatic-rip program was not on this machine. I also made myself a member of the deamon group like this post said, but I don't think this will actually be required. I'm in another room doing most of this by ssh to the FreeBSD box with the printer in another part of the house. I ran a postscript file through this and thought I heard the printer ejecting pages down the hall. To my surprise there were four pe
Re: selling freebsd cd for profit
On 2/27/10 1:31 PM, Programmer In Training wrote: On 02/27/10 12:22, Jon Radel wrote: On 2/27/10 2:58 AM, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/02/2010 24:50:54, Citra Cool wrote: can i selling free bsd for my profit?? is it legal?? In a word, yes -- sure you can. All you have to do is abide by the terms of the licensing. You sure that this applies in a couple countries where they have rather draconian laws about selling software that supports any type of encryption? It's a big world out there, with many interesting laws. That would be for the interested party to find out on their own, since we cannot possibly know the laws for each and every country out there. I find it hard enough to keep up with the laws in my own. Well, duh! However, in personal correspondence, the OP refuses to even say what country he or she wants to do this in and simply reiterates the original question, despite strong hints, both on and off list, to get local expertise. -- --Jon Radel j...@radel.com
Re: problem with booting and installing
On Fri, Feb 26, 2010 at 06:50:45PM -0800, david wilson wrote: > I am using win xp on a hp laptop. > I want to run bsd. So i get the cd burned and then > when i reboot my system. it starts up in the usual way. > i have tried setting bios settings for the boot device and > nothiing seems to work. any other help please? It is not quite clear, but I think you are saying that you cannot boot from the new CD you just burned. The most likely problem is that you burned it incorrectly. For me the terminology gets rather fuzzy when trying to describe this, but you must burn the ISO image you downloaded directly to the CD. Usually, if you use the CD for something like backups or to hold a bunch of picture files, you first create an image containing the files and that image gets burned to the CD. But, with the install ISOs, they are already an image that needs to be burned as-is - no further image making. Unfortunately, although I have made many dual boot systems with FreeBSD and XP, I have never used the XP to burn a CD (my earliest installs were actually with Floppies and later versions I burned CDs using FreeBSD), so I am not familiar with the utilities available on XP nor any of their parameters/syntax. You will have to study their documentation. Someone else may know the utilities and their parameters better. The other possible problem is if the BIOS will boot from you CD. If the BIOS is from the last 10 years or so, it should have that ability. It sounds like you have already looked in to this one so it is probably not the problem. The first one above is probably it. Good luck, jerry > > > > ___ > freebsd-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: selling freebsd cd for profit
On 02/27/10 12:22, Jon Radel wrote: > On 2/27/10 2:58 AM, Matthew Seaman wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 27/02/2010 24:50:54, Citra Cool wrote: >>> can i selling free bsd for my profit?? >>> is it legal?? >> >> In a word, yes -- sure you can. >> >> All you have to do is abide by the terms of the licensing. > > You sure that this applies in a couple countries where they have > rather draconian laws about selling software that supports any > type of encryption? It's a big world out there, with many > interesting laws. > That would be for the interested party to find out on their own, since we cannot possibly know the laws for each and every country out there. I find it hard enough to keep up with the laws in my own. -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
Re: selling freebsd cd for profit
On 2/27/10 2:58 AM, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/02/2010 24:50:54, Citra Cool wrote: can i selling free bsd for my profit?? is it legal?? In a word, yes -- sure you can. All you have to do is abide by the terms of the licensing. You sure that this applies in a couple countries where they have rather draconian laws about selling software that supports any type of encryption? It's a big world out there, with many interesting laws. -- --Jon Radel j...@radel.com
Question about Jails
Hello List, I understand this is possible but cant seem to find any how to`s or guides out on the net, I would like to set up a jail running FreeBSD 8.0 i386 on a system that is running FreeBSD 8.0 amd64. I know this may sound somewhat odd but I have a program that I need to run that just will not compile under amd64. Regards Graeme ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Printing via USB Port
--- On Fri, 2/26/10, Robert Bonomi wrote: From: Robert Bonomi Subject: Re: Printing via USB Port To: btillma...@yahoo.com Date: Friday, February 26, 2010, 8:29 PM > From owner-freebsd-questi...@freebsd.org Fri Feb 26 18:20:29 2010 > Date: Fri, 26 Feb 2010 16:19:40 -0800 (PST) > Cc: freebsd-questions@freebsd.org > Subject: Re: Printing via USB Port > > > > > > From: Warren Block > > Subject: Re: Printing via USB Port > > Date: Friday, February 26, 2010, 5:38 PM > > > > On Fri, 26 Feb 2010, Bill Tillman wrote: > > > > > > Thanks again for your valuable input. I have set up lpd printing on my > > > old > > > FreeBSD server at least a dozen times and it became a simple routine to > > > do > > > with apsfilter.Let me see if I can place all my cards in one place and > > > perhaps we can find the bug. > > > > I think I found it. The HL-2040 is a GDI printer, aka winprinter (aka "oh > > no, > > one of those", aka "I guess I didn't really want to print that after all"). > > It won't respond to PCL, unlike the one I looked up first, the HL-2060. > > > > Based on http://beej.us/hl2040/: > > > > % cd /usr/local/libexec > > % cp ps2pcl ps2hl1250 > > > > Change the line in ps2hl1250 to: > > > > /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=hl1250 -sOutputFile=- - > > ^^ > > And change the if= line in the printcap to refer to ps2hl1250. > > > > (And remember, buying winprinters just encourages them to make more.) > > > > -Warren Block * Rapid City, South Dakota USA > > Warren, > > Once again many thanks, but that is one of the first things I tried. By > checking ghostcript's drivers > > #gs -h | grep hl > > I found many drivers for the HL-12xx models. I have used this in my previous > setup with my old parallel server. I actually tried what you suggested and it > only worked when using the parallel cable, not the USB. For some reason the > USB connection on this and any other FreeBSD server I connect to is DOA for > printing. I run mouse and keyboard via USB. But these print jobs are lining > up in the queue and just sit there no matter how many times I reconnect the > printer, or reboot it or reboot the computer. And once again I'm seeing two > instances of lpd running when I only launched it from the command-line once, > no entry in /etc/rc.conf. > > BigDell# ps -ax | grep lpd > 1311 ?? Is 0:00.00 lpd > 1329 ?? IE 0:00.00 lpd > > BigDell# lpq > no entries > > BigDell# lpc status all > lp: > queuing is enabled > printing is enabled > no entries in spool area > printer idle > > BigDell# > > This just don't make sense and I hope when we find it it's something we can > laugh about. > OK, it's time to try some _basics_. Can you throw data _directly_ at the printer (i.e., *NOT* through lpr/lpd), and will it print? You can't use a simple 'echo Hello, World! >/dev/lp' to find out, because its a fscking 'winprinter'. power everything down, connect the USB cable only, power up the printer first, then the computer. When it has come up, do you have a /dev/usb/lp0 device? Have you created a symlink at /dev/lp that points to /dev/usb/lp0? What happens if you do (as root) where 'testfile.ps' is a simple Postscript doc]: # /usr/local/libexec/ps2hl1250 < testfile.ps >/dev/usb/lp0 how about: # /usr/local/libexec/ps2hl1250 < testfile.ps >/dev/lp For that matter, what does "find /dev -name '*lp*' -ls" show? If any of the names show as symlinks, do an 'ls -l' on the symlink target. I'm guessing that /dev/lp is a 'character device' node, pointing to the parallel port; and when lpd tries tyo print to _that_ -- with only the USB connection, -- it *doesn't*work* (for what is now an 'obvious' reason :) Thanks for your reply. I hate to be such a noob about this but USB and FreeBSD don't ever seem to work right for me. I tried the echo method # echo Hello > /dev/lp /dev/lp: Operation not supported. So I then tried # echo Hello > /dev/ulpt0 and I got an empty prompt until I pressed Ctrl+c to exit. I disconnected everything except the keyboard which is PS2 and the monitor and rebooted the printer and computer allowing the printer to come up first. When I did a directory on the /dev/usb folder this is what shows up: BigDell# ll /dev/usb/ total 0 crw--- 1 root operator 0, 72 Feb 27 07:40 0.1.0 crw--- 1 root operator 0, 76 Feb 27 07:40 0.1.1 crw--- 1 root operator 0, 94 Feb 27 02:40 0.2.0 crw--- 1 root operator 0, 96 Feb 27 02:40 0.2.1 crw--- 1 root operator 0, 97 Feb 27 02:40 0.2.2 crw--- 1 root operator 0, 87 Feb 27 02:40 0.3.0 crw--- 1 root operator 0, 89 Feb 27 02:40 0.3.1 crw--- 1 root operator 0, 100 Feb 27 02:40 0.3.2 crw--- 1 root operator 0, 74 Feb 27 07:40 1.1.0 crw--- 1 root operator 0, 77 Feb 27 07:40 1.1.1 I'm not so sure this is what we call a Windows printer. Maybe I'm off base there but by that if you mean i
Re: problem with booting and installing
On Sat, 27 Feb 2010 01:20 pm, david wilson wrote: > I am using win xp on a hp laptop. > I want to run bsd. So i get the cd burned and then > when i reboot my system. it starts up in the usual way. > i have tried setting bios settings for the boot device and > nothiing seems to work. any other help please? It is not very clear what you, David, have done! Have you actually installed FreeBSD from the cd you burned and find that you are unable to boot from the installed FreeBSD. In this case it would seem probable that you failed to install a suitable master boot record during installation. You can reboot from the installation source and correct this without needing to reinstall everything. When this is done you will be asked at boot which partition/slice to boot from whenever the machine is restarted. Or have you put the cd in your optical drive and attempted to boot from that in an attempt to install FreeBSD. I suspect this may be your actual difficulty. If so what do you see on the cd if you mount it under XP. If it contains a single file of the ISO image you used when burning the CD then you burned the CD incorrectly. The ISO-image is an image and needs to be burned to directly to the CD -- not recorded as a file on the CD. Your CD burner software will surely have this option but it is not likely to be its default manner of working. If you simply use the default of copying the image to a file in some arbitrary file sytem on the CD then it will not contain any boot code so all attemps to boot from the CD will fail. Or perhaps you have some quite different problem. Then tell us exactly what you have done step by step and someone here may be able to help. Best of luck, Malcolm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
transmission-daemon: Couldn't create socket: Protocol not supported (fdlimit.c:642)
I have 4 virtual machines. They have exactly the same settings, except port numbers. Only one is doing this. Writes messages to syslog like: Feb 27 11:06:32 vm04 transmission-daemon: Couldn't create socket: Protocol not supported (fdlimit.c:642) Feb 27 11:09:20 vm04 transmission-daemon: Couldn't create socket: Protocol not supported (fdlimit.c:642) Feb 27 11:09:57 vm04 last message repeated 11 times Feb 27 11:13:25 vm04 transmission-daemon: Couldn't create socket: Protocol not supported (fdlimit.c:642) and also the rpc part is not reachable. Usually when I try to connect to the rpc port of transmission-daemon, I get "connection timed out" or "connection reset by peer" messages. But sometimes (rarely) it works. Some more information: vm04# uname -a FreeBSD vm04 7.2-STABLE FreeBSD 7.2-STABLE #2: Wed Nov 18 08:50:04 CET 2009 gand...@vm04:/usr/obj/usr/src/sys/DARKSUN amd64 vm04# sysctl kern.maxfiles kern.maxfiles: 12328 vm04# sysctl kern.openfiles kern.openfiles: 784 File uploads/downloads work as expected. Just I cannot monitor them, cannot add new files, remove old ones etc. because the RPC interface is not available. Where should I look for the problem? Thanks Laszlo ___ freebsd-questions@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 new/current f10 emulator?!
On Fri, 26 Feb 2010 19:58:31 -0800 Gary Kline wrote: > See what happens with my 7.3RC1 You can try: 1. Setting sysctl compat.linux.osrelease to "2.6.16". 2. Adding to /etc/make.conf: - OVERRIDE_LINUX_BASE_PORT=f10 OVERRIDE_LINUX_NONBASE_PORTS=f10 - That should work for (most, many) linux applications. However not all new linuxulator bits can be merged from 9.x/8.x to 7.x. That's why the default for 7.x (and 6.x as well) is not going to be changed. And please take a look here http://lists.freebsd.org/pipermail/freebsd-emulation/2009-June/006221.html for more information about how to switch a linux base port and other linux insfrastructure ports. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"