Re: port update problem - newbie
saravanan ganapathy wrote: --- Erik Norgaard <[EMAIL PROTECTED]> wrote: Since I am very new to freebsd, I am not sure abt the ports collections which I don't want. Since you are new, I will give you some (ports) advice: 1. Always update all of your ports so that you can use portupgrade. 2. Use portupgrade. 3. Read /usr/ports/UPDATING if you want things to go smoothly. 4. If you forget step 3, and step 3 happens to have some bad news in it (usually pertaining to gettext), 'portupgrade -rRf [some port]' can work wonders. 5. Don't forget to do a 'portsdb -uU' after cvsup'ing your ports. My quick start to portupgrade: http://tabor.taborandtashell.net/serversetup/ports.html Where I learned about portupgrade: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html -- Tabor Kelly [EMAIL PROTECTED] http://tabor.taborandtashell.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: : Mrs. Butterworth vs Vermont Maid
On Fri, 21 Jan 2005 17:10:55 + Daniel Bye <[EMAIL PROTECTED]> wrote the most significant part of his message, to which I can only say heartily, "Hear!! Hear!!" ...or maybe, "Look!! Look!!" :-] ||| ||| VVV > ASCII ribbon campaign ( ) > - against HTML, vCards and X >- proprietary attachments in e-mail / \ ^^^ ||| ||| Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Hardware RAID
On Fri, Jan 21, 2005 at 11:42:32PM -0800, Ted Mittelstaedt wrote: > Stijn Hoop said: > > "Ted Mittelstaedt" <[EMAIL PROTECTED]> said: > > > This did teach me a lesson that I kind of knew already but > > > didn't think too much about. That is, a software array > > > is no substitute > > > for a hardware array. ... > > > > I respectfully disagree here; it is a substitute in some respects, > > especially if you factor in cost. > > I think you didn't read my post, Well I tried to... > I explicitly stated vinum is a great > thing if what your wanting to do is use a bunch of cheap disks and > cheap controller cards to either get a giant partition, or to > stripe them together and get faster access. Yes, but that's what I was refuting in part; I've used it for reliability purposes to great effect, as I stated. So IMHO it's also a great thing if you need reliability for a lower price. > In other words cost is the only justification for selecting software > raid over hardware raid. You haven't really made the case that vinum > is better than a hardware array card on any other issue except cost. It was not my intent to describe vinum as being 'better' than the hardware RAID. As I read it, you dismissed software RAID for reliability purposes. I was stating that it can be used for that purpose. > > My vinum volumes allowed me to survive for a long time without backups > > (bad idea, don't do that), and for the past years have allowed me to > > survive without having to restore my backups. This through about 5 > > failing ATA disks and multiple upgrades of the storage space. > > > > I'd say it was worth it for me, including reliability. > > > > If you need speed, or have the cash, etc, you can go for hardware > > RAID. But even there I've seen and heard horror stories of > > incompatible disks, spontaneously lost configurations or even worse, > > silent data corruption due to a bad disk. > > I didn't say these things couldn't happen on a hardware array. I > said that when these things do happen, it's worse for a software > array than a hardware array, and that they happen a lot more on a > software array. In my experience, when bad things happen, it was the same for the software RAID arrays as for the hardware RAID arrays. Regular vinum does have a few warts (notably, online rebuilding is b0rked) but other than that it's the same procedure: remove bad drive, add new drive, rebuild. I agree that I've seen more failures with software RAID than hardware RAID. And certainly cost is a factor in that. It still comes down to cost vs downtime. The only thing I 'objected' to in your post was the fact that you dismissed vinum as being useful in reliability situations. I hope I made that clearer this time. --Stijn -- "Well," Brahma said, "even after ten thousand explanations, a fool is no wiser, but an intelligent man requires only two thousand five hundred." -- The Mahabharata. pgplzr1GSkzaG.pgp Description: PGP signature
RE: Which Way to Partition.
> -Original Message- > From: Tabor Kelly [mailto:[EMAIL PROTECTED] > Sent: Friday, January 21, 2005 11:52 PM > To: Greg 'groggy' Lehey > Cc: Ted Mittelstaedt; [EMAIL PROTECTED]; stheg olloydson; > freebsd-questions@FreeBSD.org > Subject: Re: Which Way to Partition. > > > Greg 'groggy' Lehey wrote: > > On Friday, 21 January 2005 at 22:14:13 -0800, Ted Mittelstaedt wrote: > > > > > > Can we try to change that? > > Indeed. My first post to this email list (since I have been > back from a > 3 year hiatus) was a question about the infamous portsdb > -uU/portupgrade > -uU segfault. My reward for coming back to this list was an > angry email > from Don Novello ([EMAIL PROTECTED]). > > Also, if you are going to tell people that they posted duplicate > messages, do you need to send that to the whole email list? The message to stheg was people that throw rocks should not live in glass houses, a message he quite obviously understood since he has wisely refrained from responding. The message to the rest of the list was that it isn't nice to criticize people for baloney items, and that if you do so, others are going to come after you. I have found that sort of response to be more effective in the long run to use a ruler to snap the fingers than to make pious hand-wringing or whiny limp appeals to play nice. And I don't mind being called an a-hole for doing it. As a matter of fact, the more people that criticize me for criticizing stheg, the more of a nasty a-hole I look like, which greatly enhances my effectiveness for making people like stheg who start the rock-throwing to quake in their shoes and be more afraid of starting the rock throwing. So, thanks for the cirticism! Perhaps you and some others could give me some more so as to make me an even more effective deterrent to sthenglike behavior :-) Although of course you must not construe this statement as a statement that I wish to interfere with your rights to make as many pious hand-wringing or whiny limp appeals to be nice as you feel necessary, should you feel the need to make pious hand-wringing or whiny limp appeals to be nice, that is. Sorry to have to be so blunt publically, I'm not trying to embarass you, but clearly since you didn't get this, others may have not also. Thus I feel this message also should go for public distribution. Is that enough justification for ccing questions? By the way, could we possibly have more metadiscussion please? You know, I heard this last Christmas there was a sick kid that all he wanted for Christmas was for everyone to send him a Christmas card At least one good thing is we can tell old [EMAIL PROTECTED] that we now have unimpeachable proof that FreeBSD must not have nay problems anymore since there's so few problems people are posting about now that we are now posting about posting about posting!!! ;-) Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mylex AcceleRAID 352 utilities
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No, gam - is binary file... Dan Nelson wrote: | In the last episode (Jan 21), Krok said: | |>Hello. |> |>Does anybody know, how can I administrate Mylex AcceleRAID 352 from |>FreeBSD 5.2.1 ? |> |>I've tried software from lsilogic - linux-gam (sam), but it's fails with |>following error : |> |># ./gam |>sh: wine: command not found |> |>even with wine installed | | | Chances are "gam" is a shell script that launches wine. Take a look at | it and hardcode the path. | - -- With best regards, Krok -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB8iFOsXuomovtlAARAq8GAJ9WHnFDvzByVsAXS+dqHx5nbiwzfACeLHlr 2ud+l7tz2B6SrzHOeMO5X14= =8XZj -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Hardware RAID
> -Original Message- > From: Stijn Hoop [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 22, 2005 1:01 AM > To: Ted Mittelstaedt > Cc: Sandy Rutherford; FreeBSD Questions > Subject: Re: Hardware RAID > > > > I explicitly stated vinum is a great > > thing if what your wanting to do is use a bunch of cheap disks and > > cheap controller cards to either get a giant partition, or to > > stripe them together and get faster access. > > Yes, but that's what I was refuting in part; I've used it for > reliability purposes to great effect, as I stated. So IMHO it's also a > great thing if you need reliability for a lower price. > Well that may be so but RAID reliability is kind of like this: if there's 10 people running it and 9 of them have no problems and one of them does, then be very afraid! You might be that 10th person. The desirable situation with RAID reliability is to have all 10 people with no problems, and a series of vague rumors that someone heard that a friend of a friend might of had a problem, then when you bother chasing it down you find the person was smoking pipeweed. Another way of saying it is that my kernel crashdump file of a blown-up vinum install that blew my array - which is online for anyone to download if they so choose as I post this - is worth 500 of your testimonals about how reliable vinum is. > > It was not my intent to describe vinum as being 'better' than the > hardware RAID. As I read it, you dismissed software RAID for > reliability purposes. I do. From a structural standpoint a lot more things can go wrong with it. > I was stating that it can be used for that > purpose. > My crashdump file says raid isn't a reliable means of getting out of having to backup your data. > > I didn't say these things couldn't happen on a hardware array. I > > said that when these things do happen, it's worse for a software > > array than a hardware array, and that they happen a lot more on a > > software array. > > In my experience, when bad things happen, it was the same for the > software RAID arrays as for the hardware RAID arrays. > How many hardware arrays vs software arrays do you deal with? Over the last decade I think I've directly admined about 20-30 different makes and models of hardware array cards in different servers. I've lost about 3 disks in those. Admittedly not a lot. But so far I've never had one that lost a disk where replacing the disk didn't recover the array. Oh sure, some of them you had to do some really stupid things like take the server down completely for half the day to do it. But they all came back. During this time I've admined exactly 3 servers on software arrays. One was a news server using ccd which ran for years. The other are 2 vinum servers one of which is going strong, the other blew up due to a bad SCSI cable which wrote garbage on 2 drives making the array unrecoverable. In my experience if the reliabilty was equal, none of the software arrays should have given trouble and one or two of the hardware ones should have blown. Now granted in my vinum case the scsi cable is at fault. But, the log clearly shows vinum trying a write to one disk, getting a parity error, trying a write to another, getting another parity error, then the server freezing. The problem with vinum in this instance wasn't the initial parity errors and freezing. In fact, THAT was exactly what should have happend - shut the works down before you write garbage over the entire disk. The problem was that after a very simple error like that only a few blocks of data on the disks would have been bad so the vinum manager should have been able to recover the array to the point that it could be mounted again, so that fsck could have ripped out a handful of files and got the disk clean. Could this same have happend with a hardware array card? Probably. But I would be betting that the recovery routines in any hardware raid could have got the array to the point that a higher level tool like fsck could have got at least some data off it. And in any case, regardless of whether using software or hardware arrays, you should be backing up. I didn't with my software array and data was lost (fortunately not my data, and I don't know if the people who had data on it were backing their data up, they were supposed to, but I don't trust anyone on that) So I was stupid. Don't you or anyone else be stupid - learn from my mistake. > Regular vinum does have a few warts (notably, online rebuilding is > b0rked) but other than that it's the same procedure: remove bad drive, > add new drive, rebuild. > > I agree that I've seen more failures with software RAID than hardware > RAID. And certainly cost is a factor in that. It still comes down to > cost vs downtime. > What? I don't think I understand what your saying with that statement. RAID when used for reliability is because you cannot be backing up continuously - for example you have a database server that is receiving writes
Re: 1st degree verbal assault and battery hate crime at Applebees
On Fri, Jan 21, 2005 at 03:48:00PM -0700, Tom Connolly wrote: > >> > >> Well Said! > > > > Why is there such a huge influx of idiots as of late? Then the next > > million dollar question, why? > > They're really starting to come out in force as of late aren't they? > this is only my best swag, obviously, but consider the political situation... globally! more idiots/mm**2 than i've seen in many a moon. run! hide in your bomb shelters! (*mumble*) -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Cannot connect to printer...
I have read the manual carefully, looked in the forums and tried everything, but for the life of me I just cannot get my printer to work under FreeBSD. Actually my setup is nothing complicated or so you would think. I have an HP Deskjet 720C connected to my parallel printer port. It workes just fine under Windows so I know that the hardware, cables etc. are fine. Does anyone have any suggestions? -- Kiffin Rex Gish Gouda, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
uscanner problem with HP Scanjet 3400C
Hi, I am trying to get my HP ScanJet 3400C scanner to work with FreeBSD 5.3. Whenever I plug it into the usb port on my laptop I get in dmesg: uscanner0: Hewlett Packard ScanJet 3400cse, rev 1.00/0.00, addr 2 uscanner0: setting config no failed device_attach: uscanner0 attach returned 6 uhub0: port 1, set config at addr 2 failed uhub0: device problem, disabling port 1 Naturally after that sane can't find it. This is a device that is fully supported now with Sane and one that uscanner claims to support. I am happy to do any testing required to get this to work. This problem seems to have been around for a while now and I have found a few unanswered threads about it on google. Thanks for your help. Chris Hodgins # uname -a FreeBSD paranoia 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Fri Dec 3 18:15:16 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/paranoia i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uscanner problem with HP Scanjet 3400C
Chris Hodgins wrote: Hi, I am trying to get my HP ScanJet 3400C scanner to work with FreeBSD 5.3. Whenever I plug it into the usb port on my laptop I get in dmesg: uscanner0: Hewlett Packard ScanJet 3400cse, rev 1.00/0.00, addr 2 uscanner0: setting config no failed device_attach: uscanner0 attach returned 6 uhub0: port 1, set config at addr 2 failed uhub0: device problem, disabling port 1 Naturally after that sane can't find it. This is a device that is fully supported now with Sane and one that uscanner claims to support. I am happy to do any testing required to get this to work. This problem seems to have been around for a while now and I have found a few unanswered threads about it on google. Thanks for your help. Chris Hodgins # uname -a FreeBSD paranoia 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Fri Dec 3 18:15:16 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/paranoia i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I just recompiled my kernel to include uscanner support and USB_DEBUG. [EMAIL PROTECTED]:/usr/src/sys/i386/conf$ diff -u paranoia paranoia_usb_debug --- paranoiaSat Oct 30 18:33:02 2004 +++ paranoia_usb_debug Sat Jan 22 12:08:02 2005 @@ -108,3 +108,6 @@ device ukbd# Keyboard device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse +device uscanner + +optionsUSB_DEBUG I was expecting a lot more output in dmesg about my problem but only one extra line appeared: uscanner0: Hewlett Packard ScanJet 3400cse, rev 1.00/0.00, addr 2 uscanner0: setting config no failed device_attach: uscanner0 attach returned 6 uhub_explore: usb_new_device failed, error=STALLED uhub0: device problem, disabling port 2 Have I done something wrong in getting the USB_DEBUG option into my kernel? Should I just of ran this instead? : # make -DUSB_DEBUG -KERNCONF=paranoia buildkernel Or should I add it to make.conf somewhere? Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
hicolor-icon-theme
Hi all, Conpletley new to BSD and trying to build a box and install firefox but I keep getting a stop - hicolor-icon-theme Anyone able to offer any help Stephen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
certificates for ipsec?
Hi, all I have 2 certificates which created 2 years ago for ipsec connection. It works ok until now. The self signed CA is about to expire. Here comes questions: 1. If certificate expire, will racoon working ok as usual? 2. I tried to generate new certificates for those hosts, but new certificates won't work with ipsec. I forget the detail to create existing certificates, is there any special attribute or openssl configuration needed for ipsec? Thanks, Vincent Chen - Yahoo!奇摩造型精靈 最新的造型精靈簽名檔,讓信件獨具個人色彩! http://tw.avatar.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Permissions being reset on a portupgrade
Hey, Everytime I upgrade a port, some custom permissions such as /usr/local/www/ and /usr/local/sbin go back to their defaults, which is very annoying. I have to keep checking these directories permissions are my custom ones. How do I avoid newly installed ports from overwriting my custom permissions ? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot connect to printer...
On Jan 22 at 12:27, Kiffin Gish launched this into the bitstream: > I have read the manual carefully, looked in the forums and tried everything, > but for the life of me I just cannot get my printer to work under FreeBSD. > > Actually my setup is nothing complicated or so you would think. I have an HP > Deskjet 720C connected to my parallel printer port. It workes just fine > under Windows so I know that the hardware, cables etc. are fine. > > Does anyone have any suggestions? Well, I'm a newbie myself, but... I think some more details might be helpful: Are you sharing (or intending to share) your printers amongst Windows clients? If so, Samba is necessary, as is swat. (uncomment the swat line in inetd.conf) also you may (or may not since apprently this is a hot issue) may wish to use Cups. You could also manage much of this process from within Webmin if you have it installed - it's a great tool, I wouldn't be without it. I don't say webmin is a substitute for the command line, but a terrific adjunct to it. /usr/ports/sysutils/webmin takes your right to it. Getting samba up and running is fairly trivial if you do it all (or mostly) from webmin, also webmin has a swat interface!! Concerning the specific printer model, well I just don't know. You would have to do some reading on the CUPS help page. If you do want to use cups, cupsd has to be running. At that point you can play with some cups settings on the web based admin page (see below). I suggest starting with webmin first and enable stuff from there onwards in stages. Localhost URL's for various www-based admin interfaces: Webmin (unless you configure it differently) defaults to: http://localhost:1 or, if you have SSL up and running at https://localhost:1 Swat ([S]amba [W]eb [A]dministration [T]ool) - once enabled - is available at:http://localhost:901 CUPS (Common Unix Printing System) is available at: http://localhost:631 Ports you may care to install: Webmin: /usr/ports/sysutils/webmin Samba: /usr/ports/net/samba3 These are some suggestions only, and obviously predicated on the assumption you want to enable printing via Samba/CUPS. Should you wish to approach the matter from a Unix-only perspective, YMMV. Good Luck! Regards & HTH, -Colin -- Colin J. Raven FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One Sat Jan 22 13:21:00 CET 2005 1:21PM up 2 days, 2:11, 5 users, load averages: 0.00, 0.00, 0.00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 300GIG SATA drives
> These Maxtor drives may well be flaky, but they are very widely > available and frequently installed in commodity machines. Maxtor drives are flaky? Oh dear. How flaky? Mine is starting to get a bit noisy. Mark pgpvnwXSK9tOO.pgp Description: PGP signature
Fwd: Re: Re[8]: Connection via proxy
I seems that your network is not properbly configured. Have you verified that the interface you wish to use is up and has a valid IP adress. Is the proxy in "your" subnet or do you need to use a gateway to reach it ? Hexren maybe consider posting your replies under the original message as that will make it so much easier to read the full message ;) ___ I have verfied that the interface is up and running ... but not sre if I connect via a subnet or a gateway. Total noob to this so I am not sure how I can verify. The only thing I got in my dorm is an RJ45 socket outlet for connecting to the net. the subnet mask is 255.255.255.0 and the gateway is 146.226.11.1 Note: forwarded message attached. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- Begin Message --- sorry for taking so long, the my classes had me a bit exhausted netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire localhost localhost UH00 lo0 Internet6: Destination Gateway Flags Netif Expire localhostlocalhostUH lo0 fe80::%lo0 fe80::1%lo0 U lo0 fe80::1%lo0 link#3 UHLlo0 ff01:: localhost U lo0 ff02::%lo0 localhost UClo0 ifconfig sis0:flags=8802 mtu 1500 options=8 ether 00:0f:20:c7:24:47 media: Ethernet autoselect (100 baseTX < full-dupelx>) status active plip0:flags=108810 mtu 1500 lo0:flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6:: prefixlen 128; inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail --- End Message --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot connect to printer...
Like I said, this is just my laptop connected to a printer via the parallel port. Nothing to do with Windows, Samba nor a web server. I'll be happy enough if I can get the basics up and running. Kiffin Gish Gouda, The Netherlands - Original Message - From: "Colin J. Raven" <[EMAIL PROTECTED]> To: "Kiffin Gish" <[EMAIL PROTECTED]> Cc: Sent: Saturday, January 22, 2005 13:23 Subject: Re: Cannot connect to printer... > On Jan 22 at 12:27, Kiffin Gish launched this into the bitstream: > > > I have read the manual carefully, looked in the forums and tried everything, > > but for the life of me I just cannot get my printer to work under FreeBSD. > > > > Actually my setup is nothing complicated or so you would think. I have an HP > > Deskjet 720C connected to my parallel printer port. It workes just fine > > under Windows so I know that the hardware, cables etc. are fine. > > > > Does anyone have any suggestions? > > Well, I'm a newbie myself, but... > I think some more details might be helpful: > Are you sharing (or intending to share) your printers amongst Windows > clients? If so, Samba is necessary, as is swat. (uncomment the swat line > in inetd.conf) also you may (or may not since apprently this is a hot > issue) may wish to use Cups. > You could also manage much of this process from within Webmin if you > have it installed - it's a great tool, I wouldn't be without it. I don't > say webmin is a substitute for the command line, but a terrific adjunct > to it. /usr/ports/sysutils/webmin takes your right to it. Getting samba > up and running is fairly trivial if you do it all (or mostly) from > webmin, also webmin has a swat interface!! > Concerning the specific printer model, well I just don't know. You would > have to do some reading on the CUPS help page. > > If you do want to use cups, cupsd has to be running. > At that point you can play with some cups > settings on the web based admin page (see below). I suggest starting > with webmin first and enable stuff from there onwards in stages. > > Localhost URL's for various www-based admin interfaces: > > Webmin (unless you configure it differently) defaults to: > http://localhost:1 > or, if you have SSL up and running at > https://localhost:1 > > Swat ([S]amba [W]eb [A]dministration [T]ool) - once enabled - is > available at:http://localhost:901 > > CUPS (Common Unix Printing System) is available at: > http://localhost:631 > > Ports you may care to install: > Webmin: /usr/ports/sysutils/webmin > Samba: /usr/ports/net/samba3 > > These are some suggestions only, and obviously predicated on the > assumption you want to enable printing via Samba/CUPS. Should you wish > to approach the matter from a Unix-only perspective, YMMV. > > Good Luck! > > Regards & HTH, > -Colin > -- > Colin J. Raven > FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One > Sat Jan 22 13:21:00 CET 2005 > 1:21PM up 2 days, 2:11, 5 users, load averages: 0.00, 0.00, 0.00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot connect to printer...
On Sat, 2005-01-22 at 06:27, Kiffin Gish wrote: > I have read the manual carefully, looked in the forums and tried everything, > but for the life of me I just cannot get my printer to work under FreeBSD. > > Actually my setup is nothing complicated or so you would think. I have an HP > Deskjet 720C connected to my parallel printer port. It workes just fine > under Windows so I know that the hardware, cables etc. are fine. > > Does anyone have any suggestions? I have an HP 710C, which is very similar, and was intended as a Windows-only printer. A small team reverse-engineered the protocol, and wrote "pnm2ppa", which will do the necessary conversion. It is available in the ports/packages collection, and works quite well. It is slow, and a better recommendation is to buy a more normal printer if the money is available. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot connect to printer...
On Jan 22 at 16:40, Kiffin Gish responded: > > >> On Jan 22 at 12:27, Kiffin Gish launched this into the bitstream: >> >>> I have read the manual carefully, looked in the forums and tried > everything, >>> but for the life of me I just cannot get my printer to work under > FreeBSD. >>> >>> Actually my setup is nothing complicated or so you would think. I have > an HP >>> Deskjet 720C connected to my parallel printer port. It workes just fine >>> under Windows so I know that the hardware, cables etc. are fine. >>> >>> Does anyone have any suggestions? >> >> Well, I'm a newbie myself, but... >> I think some more details might be helpful: >> Are you sharing (or intending to share) your printers amongst Windows >> clients? If so, Samba is necessary, as is swat. (uncomment the swat line >> in inetd.conf) also you may (or may not since apprently this is a hot >> issue) may wish to use Cups. >> You could also manage much of this process from within Webmin if you >> have it installed - it's a great tool, I wouldn't be without it. I don't >> say webmin is a substitute for the command line, but a terrific adjunct >> to it. /usr/ports/sysutils/webmin takes your right to it. Getting samba >> up and running is fairly trivial if you do it all (or mostly) from >> webmin, also webmin has a swat interface!! >> Concerning the specific printer model, well I just don't know. You would >> have to do some reading on the CUPS help page. >> >> If you do want to use cups, cupsd has to be running. >> At that point you can play with some cups >> settings on the web based admin page (see below). I suggest starting >> with webmin first and enable stuff from there onwards in stages. >> >> Localhost URL's for various www-based admin interfaces: >> >> Webmin (unless you configure it differently) defaults to: >> http://localhost:1 >> or, if you have SSL up and running at >> https://localhost:1 >> >> Swat ([S]amba [W]eb [A]dministration [T]ool) - once enabled - is >> available at:http://localhost:901 >> >> CUPS (Common Unix Printing System) is available at: >> http://localhost:631 >> >> Ports you may care to install: >> Webmin: /usr/ports/sysutils/webmin >> Samba: /usr/ports/net/samba3 >> >> These are some suggestions only, and obviously predicated on the >> assumption you want to enable printing via Samba/CUPS. Should you wish >> to approach the matter from a Unix-only perspective, YMMV. > > Like I said, this is just my laptop connected to a printer via the parallel > port. > > Nothing to do with Windows, Samba nor a web server. > > I'll be happy enough if I can get the basics up and running. Please don't top post. I adjusted it so that the archives will reflect the generally accepted form Unfortunately I gotta recuse myself at this point. I don't know how to do what it is you seek. That said though if anyone *does* know, I'll be "lurking 'n learning" :-) -Colin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Logging to custom file via syslog [was]: [Repost] php log to own syslog file
Kevin Kinsey wrote: Gerard Samuel wrote: Im trying to figure out how to setup FreeBSD 5.3 to log php events to its own log file via syslog. In /etc/syslog.conf, I added -> # php logs !httpd *.* /var/log/php.log I created a empty file for the log -> gladiator# touch /var/log/php.log gladiator# ls -l /var/log/php* -rw-r--r-- 1 root wheel 0 Jan 20 16:37 /var/log/php.log Then I HUPped syslogd -> gladiator# ps aux | grep syslogd root 277 0.0 0.2 1316 908 ?? Is4:14PM 0:00.01 /usr/sbin/syslogd -s gladiator# kill -HUP 277 In my php script, Im using -> define_syslog_variables(); openlog('TESTING', LOG_NDELAY, LOG_USER); syslog(LOG_INFO, $message); closelog(); But nothing is being logged to the file. Am I doing something wrong on the FreeBSD side of things?? Thanks PHP as an Apache module? IANAE, but wouldn't you have to change log settings in httpd.conf? I dont think so. These errors, that I want to log, are initiated by the php function syslog() (look at the example above). These messages are supposed to go to the syslogd daemon, not to httpd's log file. In the example above, if I change the priority from "LOG_INFO" to "LOG_WARNING", the error messages go to /var/log/messages. I just need it to start going to its own file. The ultimate goal, is that I want to have a cluster of webservers, logging to a central server. I think this is a FreeBSD problem. Here is what I have. 1. I removed my initial modification of /etc/syslog.conf, and added -> user.=info /var/log/php.log According to syslog.conf man page, that should mean, any syslog events that come is as LOG_USER, and only LOG_INFO, should be appended to /var/log/php.log 2. I HUPped syslogd. 3. Im using logger to try to add a message to the log file like -> gladiator# logger -s -p user.info test gsam: test But unfortunately, the message "test" doesn't appear in /var/log/php.log OR /var/log/messages. I currently have the file /var/log/php.log chmodded to 777. Im including my syslog.conf file. Can anyone tell me, as to why, Im unable to log these tests? Thanks /etc/syslog.conf # $FreeBSD: src/etc/syslog.conf,v 1.26 2003/04/23 13:08:31 des Exp $ # # Spaces ARE valid field separators in this file. However, # other *nix-like systems still insist on using tabs as field # separators. If you are sharing this file between systems, you # may want to use only tabs as field separators here. # Consult the syslog.conf(5) manpage. *.err;kern.debug;auth.notice;mail.crit /dev/console *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages security.* /var/log/security auth.info;authpriv.info /var/log/auth.log mail.info /var/log/maillog lpr.info/var/log/lpd-errs ftp.info/var/log/xferlog cron.* /var/log/cron *.=debug/var/log/debug.log *.emerg * # uncomment this to log all writes to /dev/console to /var/log/console.log #console.info /var/log/console.log # uncomment this to enable logging of all log messages to /var/log/all.log # touch /var/log/all.log and chmod it to mode 600 before it will work #*.*/var/log/all.log # uncomment this to enable logging to a remote loghost named loghost #*.*@loghost # uncomment these if you're running inn # news.crit /var/log/news/news.crit # news.err /var/log/news/news.err # news.notice /var/log/news/news.notice !startslip *.* /var/log/slip.log !ppp *.* /var/log/ppp.log user.=info /var/log/php.log ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mixer does not work
On Sat, 22 Jan 2005 00:19:45 -0600, Adrian Patino II <[EMAIL PROTECTED]> wrote: > i have both onboard sound and soundcard > > ### > [EMAIL PROTECTED]:11:0: class=0x040100 card=0x80651102 chip=0x00021102 > rev=0x0a hdr=0x00 > vendor = 'Creative Labs' > device = 'EMU1 Sound Blaster Live! (Also Live! 5.1) - OEM > from DELL - CT4780' > class= multimedia > subclass = audio > [EMAIL PROTECTED]:17:5:class=0x040100 card=0xa0021458 chip=0x30591106 > rev=0x50 hdr=0x00 > vendor = 'VIA Technologies Inc' > device = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller' > class= multimedia > subclass = audio > > > hw.snd.targetirqrate: 32 > hw.snd.report_soft_formats: 1 > hw.snd.verbose: 1 > hw.snd.unit: 0 > hw.snd.maxautovchans: 0 > hw.snd.pcm0.buffersize: 4096 > ## > I disabled onboard sound in the bios > the sound is working but > mixer controls have no effect on volume > > is mixer controlling onboard sound instead of soundcard? > if so, how can i change that? I have the same sound card as you ("EMU1 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780") and very recently had the same kind of experience: the sound was working, but the mixer had no effect on the volume. In my case, the solution was woefully simple: I had my headphones (which I use for speakers) plugged into the wrong output jack. Moving them from the black 3.5 mm jack to the green one "solved" my problem. When I looked carefully at the jacks on the card, I discovered the black one designated "2" and the green designated as "1." Mixer lists the following devices: vol, pcm, speaker, line, mic, cd, rec, ogain, line1, phin, phout, and video. None of them has any apparent effect on the volume of the black 3.5 mm jack, which kind of begs the question as to whether it is possible to control the volume of that particular output jack from FreeBSD at all. So, if you are using the black output jack, I suggest you switch to the green one. :-) Cheers, Paul. -- e-mail: [EMAIL PROTECTED] "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: hicolor-icon-theme
Stephen Harrison wrote: Hi all, Conpletley new to BSD and trying to build a box and install firefox but I keep getting a stop - hicolor-icon-theme Anyone able to offer any help Stephen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I had this error until I cvsup'd everything. Then the builds went fine. Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What Port Installs /usr/local/lib/libiconv.la?
> On 1/21/2005 5:55 PM Kris Kennaway wrote: > > >On Fri, Jan 21, 2005 at 02:03:12PM -0800, Drew Tomlinson wrote: > > > >>I'm attempting to upgrade the libiconv port from 1.9.1 to 1.9.2 but keep > >>getting this error: > >> > >>libtool15: link: cannot find the library `/usr/local/lib/libiconv.la' > >> > >>A 'ls' of /usr/local/lib confirms this file doesn't exist. What port > >>should I install to get this file? Seems like it is part of this port, > >>as I see several references to it in the build output. However I don't > >>see any error regarding it other than the one above. My complete build > >>output can be viewed here: > >> > >>http://drew.mykitchentable.net/libiconv.log > > > >I'd guess something is wrong with your libtool installation. Try > >reinstalling the libtool15 port. > > > I thought that too. Prior to posting, I had libtool13, 14, and 15 > installed. I removed all of them and then installed 15 from ports. Yet > the error persists. It is interesting that I could install libiconv > from packages without error. But even after that, I still did not have > /usr/local/lib/libiconv.la. Also after installing libiconv from a > package, 'portupgrade -f libiconv' ends with the error I described above. At one time, it was -ports policy to not install .la files, although I can't see any reference to that in the current porters-handbook. If that is still true, I would have to say that libiconv is in error by installing such a file (see the patches included in converters/libiconv/files -- the file is definitely installed). Not sure why it doesn't get installed in your case and breaks your subsequent upgrade, however. -- Matt Emmerton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Daily run output message
I see this in the daily run output on a 4.10-R box: Removing stale entries from sendmail host status cache: purgestat: no mapping in /etc/mail/mailer.conf What is the mapping that is missing? The machine is running postfix, not sendmail BTW. TIA Regards, Mark --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0503-2, 21/01/2005 Tested on: 22/01/2005 17:46:33 avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daily run output message
On Sat, 22 Jan 2005 17:46:32 +, Mark Ovens wrote > I see this in the daily run output on a 4.10-R box: > > Removing stale entries from sendmail host status cache: > purgestat: no mapping in /etc/mail/mailer.conf > > What is the mapping that is missing? The machine is running postfix, > not sendmail BTW. Mine looks like this, and I'm also running Postfix. # # Execute the Postfix sendmail program, named /usr/local/sbin/sendmail # sendmail/usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail Perhaps you're missing something? Jorn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daily run output message
On 22/01/2005 17:58 Jorn Argelo stood on a soap-box and preached to the unwashed masses: On Sat, 22 Jan 2005 17:46:32 +, Mark Ovens wrote I see this in the daily run output on a 4.10-R box: Removing stale entries from sendmail host status cache: purgestat: no mapping in /etc/mail/mailer.conf What is the mapping that is missing? The machine is running postfix, not sendmail BTW. Mine looks like this, and I'm also running Postfix. # # Execute the Postfix sendmail program, named /usr/local/sbin/sendmail # sendmail/usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail Perhaps you're missing something? No, same as yours. Thanks for the suggestion though. I take it that you don't see the same message? Mark --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0503-2, 21/01/2005 Tested on: 22/01/2005 18:07:41 avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: usb printer-scanner
On Tue, 2005-01-18 at 07:49 +0800, Khairil Yusof wrote: > On Fri, 2004-12-31 at 21:24 +0300, Andrew Diakin wrote: > > > Hmm.. I setup all ports as described this > > http://www.freebsddiary.org/cups.php, also I setup > > print/hpijs port and copy all *.ppd files to /usr/local/share/cups/model > > printer is connected and usbdevs show him - > > > in cups web admin I setup printer, select device USB Printer #1, then > > when I try to print test page nothing happens... what I do wrong? Sorry for getting back late on this: I forgot.. that that if using foomatic you need foomatic filter: http://www.linuxprinting.org/download.cgi?filename=foomatic-rip&show=0 Copy it to: /usr/local/libexec/cups/filter/ And set it as executable chmod 700 foomatic-rip signature.asc Description: This is a digitally signed message part
Re: Daily run output message
--On Saturday, January 22, 2005 5:46 PM + Mark Ovens <[EMAIL PROTECTED]> wrote: I see this in the daily run output on a 4.10-R box: Removing stale entries from sendmail host status cache: purgestat: no mapping in /etc/mail/mailer.conf What is the mapping that is missing? The machine is running postfix, not sendmail BTW. Read the pkg-message file in the Postfix port. Also, you will want to disable some Sendmail-specific daily maintenance routines in your /etc/periodic.conf file: daily_clean_hoststat_enable="NO" daily_status_mail_rejects_enable="NO" daily_status_include_submit_mailq="NO" daily_submit_queuerun="NO" Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daily run output message
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2004-02/0336.html Best Regards fofo I see this in the daily run output on a 4.10-R box: Removing stale entries from sendmail host status cache: purgestat: no mapping in /etc/mail/mailer.conf What is the mapping that is missing? The machine is running postfix, not sendmail BTW. TIA Regards, Mark --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0503-2, 21/01/2005 Tested on: 22/01/2005 17:46:33 avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IP Block
My Question is...how can I block my IP address so others won't see it??? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot connect to printer...
Kiffin Gish wrote: Like I said, this is just my laptop connected to a printer via the parallel port. Nothing to do with Windows, Samba nor a web server. I'll be happy enough if I can get the basics up and running. Kiffin Gish Gouda, The Netherlands You might try installing apsfilter to do some of this work for you. Last time I did it, it took care of driver selection and /etc/printcap configuration quite well and automagically, with a shell "setup" script that only asked a few questions that needed my input. It's in ports (/usr/ports/print/apsfilter), and you might be able to find out it your printer would work with it at www.apsfilter.org (I'm pretty sure it would) It's nice software, IMHO, and who knows, maybe Andreas doesn't yet have a postcard from your location Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Network Printing - Please put me out of my misery
Hello everyone, I call this e-mail "Network Printing" because that, along with many other strings I've been googling for the past two days. This is the situation, I've got an HP PSC2510 and I've gotten everything working (copier, fax, scanner) except for the printing. I've got this printer connected to my network switch via it's NIC and it's pulling an IP address, I did a brief nmap to see where it listens and here is the output: -- Interesting ports on hpprinter (10.0.0.19): (The 1657 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 21/tcp open ftp 80/tcp open http 139/tcp open netbios-ssn 280/tcp open http-mgmt 443/tcp open https 9100/tcp open jetdirect MAC Address: 00:01:E6:94:5D:5D (Hewlett-Packard Company) Device type: printer Running: HP embedded OS details: HP printer w/JetDirect card Uptime 0.010 days (since Sat Jan 22 11:04:39 2005) -- I have never setup a printer in my bsd days, thus I'm inquiring here. Does anyone have any clues, links to how-tos, a cousin's phone number that knows how to do this? I also tried to install and configure cups and lpd to no avail. One thing that did give me hope was this command: echo "Test" | nc hpprinter 9100 which returned a printed page with "Test" on it (without the quotes). Thanks! gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IP Block
Depends, is it a private ip address? IP addresses, if public, can be "seen" by everyone on the internet, you may be able to limit the type of packets and responses it gives, but other than that, no clue. On Sat, 22 Jan 2005 12:11:45 -0700, Lady Amalara <[EMAIL PROTECTED]> wrote: > >My Question is...how can I block my IP address so others won't see >it??? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IP Block
yOn Sat, 22 Jan 2005, Lady Amalara wrote: > >My Question is...how can I block my IP address so others won't see >it??? Unless you go via a proxy not easily but this is more of a general question than VPS Rus -- e: [EMAIL PROTECTED] : t: 1-888-327-6330 http://www.vaserv.com - Coming soon. Email [EMAIL PROTECTED] for more info http://www.storemypic.com - Free Image Hosting http://www.vpsforums.com - Talk for VPS users and Providers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IP Block
Lady Amalara wrote: My Question is...how can I block my IP address so others won't see it??? Remove you internet connection. -- Best regards, Chris Any line, however short, is still too long. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot connect to printer...
You might wanna look at www.linuxprinting.org, see if it can use hpjis as a driver. If so, then you can follow what they recommend. Cheers! On Sat, 22 Jan 2005 13:13:05 -0600, Kevin Kinsey <[EMAIL PROTECTED]> wrote: > Kiffin Gish wrote: > > >Like I said, this is just my laptop connected to a printer via the parallel > >port. > > > >Nothing to do with Windows, Samba nor a web server. > > > >I'll be happy enough if I can get the basics up and running. > > > > > >Kiffin Gish > >Gouda, The Netherlands > > > > > > You might try installing apsfilter to do some of this > work for you. Last time I did it, it took care of driver > selection and /etc/printcap configuration quite well and > automagically, with a shell "setup" script that only asked a > few questions that needed my input. > > It's in ports (/usr/ports/print/apsfilter), and you might > be able to find out it your printer would work with it > at www.apsfilter.org (I'm pretty sure it would) > > It's nice software, IMHO, and who knows, maybe Andreas > doesn't yet have a postcard from your location > > Kevin Kinsey > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
gabriel wrote: I call this e-mail "Network Printing" because that, along with many other strings I've been googling for the past two days. This is the situation, I've got an HP PSC2510 and I've gotten everything working (copier, fax, scanner) except for the printing. I've got this printer connected to my network switch via it's NIC and it's pulling an IP address, I did a brief nmap to see where it listens and here is the output: -- Interesting ports on hpprinter (10.0.0.19): zip - 9100/tcp open jetdirect try the jetdirect, got that working fine here with a HP Laserjet 5M and cups (make cupsd run properly and try the setup in localhost:631) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IP Block
Lady Amalara wrote: My Question is...how can I block my IP address so others won't see it??? ___ The only way is to stop using 205.206.1.11 to connect to anything. Really, you can't "hide".. else nothing will work. The only way is to not use the Internet. i.e. you don't want to. -Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
I'm not sure what you mean by "try the jetdirect," - I had cupsd running and I accessed and configured a printer in localhost:631, however, when the time came to print a test page, it wouldnt, a page would be printed out that says "*** Unable to open the initial device, quiting." Cheers! On Sat, 22 Jan 2005 20:24:44 +0100, albi <[EMAIL PROTECTED]> wrote: > gabriel wrote: > > > I call this e-mail "Network Printing" because that, along with many > > other strings I've been googling for the past two days. This is the > > situation, I've got an HP PSC2510 and I've gotten everything working > > (copier, fax, scanner) except for the printing. I've got this printer > > connected to my network switch via it's NIC and it's pulling an IP > > address, I did a brief nmap to see where it listens and here is the > > output: > > > > -- Interesting ports on hpprinter (10.0.0.19): > zip - > > 9100/tcp open jetdirect > > try the jetdirect, got that working fine here with a HP Laserjet 5M > and cups (make cupsd run properly and try the setup in localhost:631) > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
gabriel wrote: I'm not sure what you mean by "try the jetdirect," - I had cupsd running and I accessed and configured a printer in localhost:631, however, when the time came to print a test page, it wouldnt, a page would be printed out that says "*** Unable to open the initial device, quiting." in cups you have the choice between jet-direct, ipp, http, smb and more, my suggestion was to try the jetdirect if you didn't do that yet, furthermore, if i were you i would look at the logfiles from cups (put them in debug-mode if needed), it's possible that you need to change some permissions in the cups-spoolfile (and perhaps even a tcpdump can be helpful) GL! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
gabriel wrote: I'm not sure what you mean by "try the jetdirect," PORT STATE SERVICE 9100/tcp open jetdirect <=== This One Jetdirect is HP's print server ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
Yeah I already use "AppSocket/HP JetDirect" in cups. Check out http://normal1.net/tcpdump for a real quick dump done when "Printing test page". After the print test is done, I go check on the job in "Manage Jobs" and I see this, ID Name User Size State Control HPPrinter-5 Test Page root 15k aborted Restart Job HPPrinter-6 Test Page root 15k aborted Restart Job HPPrinter-7 Test Page root 15k aborted Restart Job -- If I try to "Restart Job" this outputs: Error: client-error-not-possible and this is what the error_log from cups says: E [22/Jan/2005:11:53:17 -0800] restart_job: job #5 cannot be restarted - no files! E [22/Jan/2005:11:53:27 -0800] PID 65224 stopped with status 3! E [22/Jan/2005:11:58:48 -0800] restart_job: job #5 cannot be restarted - no files! Cheers! On Sat, 22 Jan 2005 20:57:35 +0100, albi <[EMAIL PROTECTED]> wrote: > gabriel wrote: > > I'm not sure what you mean by "try the jetdirect," - I had cupsd > > running and I accessed and configured a printer in localhost:631, > > however, when the time came to print a test page, it wouldnt, a page > > would be printed out that says "*** Unable to open the initial device, > > quiting." > > in cups you have the choice between jet-direct, ipp, http, smb and more, > my suggestion was to try the jetdirect if you didn't do that yet, > > furthermore, if i were you i would look at the logfiles from cups (put > them in debug-mode if needed), it's possible that you need to change > some permissions in the cups-spoolfile (and perhaps even a tcpdump can > be helpful) > > GL! > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daily run output message
On 22/01/2005 19:01 Paul Schmehl stood on a soap-box and preached to the unwashed masses: --On Saturday, January 22, 2005 5:46 PM + Mark Ovens <[EMAIL PROTECTED]> wrote: I see this in the daily run output on a 4.10-R box: Removing stale entries from sendmail host status cache: purgestat: no mapping in /etc/mail/mailer.conf What is the mapping that is missing? The machine is running postfix, not sendmail BTW. Read the pkg-message file in the Postfix port. Also, you will want to disable some Sendmail-specific daily maintenance routines in your /etc/periodic.conf file: daily_clean_hoststat_enable="NO" daily_status_mail_rejects_enable="NO" daily_status_include_submit_mailq="NO" daily_submit_queuerun="NO" I'd read the port message and put those lines in /etc/periodic.conf but I had to create the file but mis-typed periodic.comf Duh! :-[ Thanks for all the replies. Regards, Mark --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0503-2, 21/01/2005 Tested on: 22/01/2005 20:08:55 avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Who generates the daily, weekly, monthly reports on FreeBSD?
Speaking of reports, how do the daily, monthly, and weekly reports output by FreeBSD get generated? I see nothing when I do a crontab -l from root, but there's stuff under /etc/crontab. Is there a schedule of cron stuff that gets run independently of any user, or how does it work? If I wanted to change when or how these reports are generated (I don't currently, but suppose I did), where would I go to modify it, since it doesn't seem to be part of root's crontab? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Who generates the daily, weekly, monthly reports on FreeBSD?
Anthony Atkielski wrote: Speaking of reports, how do the daily, monthly, and weekly reports output by FreeBSD get generated? I see nothing when I do a crontab -l from root, but there's stuff under /etc/crontab. check the /etc/periodic/ dir ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ALTQ support?
+++ Brian John [freebsd] [20-01-05 17:30 -0600]: | Hello, | I am trying to get pf to work on my 5.3 machine. I thought that I had | it setup but it says that I don't have ALTQ support? What is that? Can | someone help me set it up? | | Thanks | | /Brian 1) man altq 2) http://www.openbsd.org/faq/pf Regards, Shantanoo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Plugin for onlinestreaming music
+++ Nguyen Le Hinh [freebsd] [21-01-05 14:53 +0900]: | Hi alls, | Can anyone hear the online streaming music from this website: | http://www.nhatrangngaynay.net/music/index.php?act=view&code=song&ssid=12&id=625 | I installed both mplayer plugin and plugger but still not be able to | hear it.Any ideas for it? | Thanks, | Ps :The above address will be ok with windows... | | -- Following is what I get from mplayer === Playing http://www.nhatrangngaynay.net/music/index.php?act=view&code=song&ssid=12&id=625. Resolving www.nhatrangngaynay.net for AF_INET6... Couldn't resolve name for AF_INET6: www.nhatrangngaynay.net Resolving www.nhatrangngaynay.net for AF_INET... Connecting to server www.nhatrangngaynay.net[67.43.159.12]:80 ... Cache size set to 320 KBytes Connected to server: www.nhatrangngaynay.net Cache fill: 13.37% (43810 bytes) Exiting... (End of file) === ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Who generates the daily, weekly, monthly reports on FreeBSD?
albi writes: a> check the /etc/periodic/ dir I've seen it. But where does it run from? Supposedly you're not supposed to modify crontab files directly, but where do these jobs belong if crontab -l from root won't list them. Is there some sort of "system" crontab in addition to those for root and other users, or how does it work? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Who generates the daily, weekly, monthly reports on FreeBSD?
On Sat, Jan 22, 2005 at 10:01:47PM +0100, Anthony Atkielski wrote: > albi writes: > > a> check the /etc/periodic/ dir > > I've seen it. But where does it run from? Supposedly you're not > supposed to modify crontab files directly, but where do these jobs > belong if crontab -l from root won't list them. Is there some sort of > "system" crontab in addition to those for root and other users, or how > does it work? /etc/crontab is indeed the "system" crontab. You can safely edit this one by hand. The following three lines are the ones you're interested in: # Perform daily/weekly/monthly maintenance. 1 3 * * * rootperiodic daily 15 4 * * 6 rootperiodic weekly 30 5 1 * * rootperiodic monthly Note the additional field, before the command is named. It determines which user the command runs as. See crontab(5) for more details. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpKRxZceWtFk.pgp Description: PGP signature
Re: Who generates the daily, weekly, monthly reports on FreeBSD?
On Sat, Jan 22, 2005 at 10:01:47PM +0100 Anthony Atkielski wrote: > albi writes: > > a> check the /etc/periodic/ dir > > I've seen it. But where does it run from? Supposedly you're not > supposed to modify crontab files directly, but where do these jobs > belong if crontab -l from root won't list them. Is there some sort of > "system" crontab in addition to those for root and other users, or how > does it work? > The files from /etc/periodic run from /etc/crontab. Refer to lines 20-22 Gardner ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IP Block
On Sat, Jan 22, 2005 at 12:11:45PM -0700, Lady Amalara wrote: > > My Question is...how can I block my IP address so others won't see > it??? Disconnect your computer from the internet. -- Danny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10
All, This post is not about BSD VS. Linux and should not be taken that way. I think that "Flame Wars/Engineer Wars" are waste of time and energy. I was surprised by my test results and didn't want to take FBSD out of the loop just yet. There may be flaws in my testing that have led me to inaccurate results. I didn't share the testing details in the original mail because of time constraints, and the notes are fairly lengthy. I will add my notes to this mail so that there is a better understanding of what tests I performed, and their results. It's important to note that I did not tweak any of the default settings of the OS or DB. The notes should be generally self explanatory, but will be more that happy to clarify any questions that you have. As a side note, I chose the email address linicks because by name is Nick, and thought it was a fun play on words. I appreciate all of your feedback, so that I can better understand the differences in these great operating systems and communities. Thanks Again! --Nick Pavlica "OK, The testing notes already" :) --- Hardware Configs: Dell PE 2400 - Dual PIII 500Mhz - 512Mb Ram - Perc 2si controller - (2) 10k ultra160 drives in a raid 1 configuration. Dell SC400 - P4 2.4 Ghz (not hyperthreaded) - 512Mb Ram - Stock 40Gb IDE 7200RPM Postgresql Test Scripts: CREATE TABLE test1 ( thedate TIMESTAMP, astring VARCHAR(200), anumber INTEGER ); CREATE FUNCTION build_data() RETURNS integer AS ' DECLARE i INTEGER DEFAULT 0; curtime TIMESTAMP; BEGIN FOR i IN 1..100 LOOP curtime := ''now''; INSERT INTO test1 VALUES (curtime, ''test string'', i); END LOOP; RETURN 1; END; ' LANGUAGE 'plpgsql'; SELECT build_data(); Then the following script is run under the time program to ascertain how long it takes to run: CREATE TABLE test2 ( thedate TIMESTAMP, astring VARCHAR(200), anumber INTEGER ); CREATE TABLE test3 AS SELECT * FROM test1; INSERT INTO test2 SELECT * FROM test1 WHERE ((anumber % 2) = 0); DELETE FROM test3 WHERE ((anumber % 2) = 0); DELETE FROM test3 WHERE ((anumber % 13) = 0); CREATE TABLE test4 AS SELECT test1.thedate AS t1date, test2.thedate AS t2date, test1.astring AS t1string, test2.astring AS t2string, test1.anumber AS t1number, test2.anumber AS t2number FROM test1 JOIN test2 ON test1.anumber=test2.anumber; UPDATE test3 SET thedate='now' WHERE ((anumber % 5) = 0); DROP TABLE test4; CREATE TABLE test4 AS SELECT * FROM test1; DELETE FROM test4 WHERE ((anumber % 27) = 0); VACUUM ANALYZE; VACUUM FULL; DROP TABLE test4; DROP TABLE test3; DROP TABLE test2; VACUUM FULL; - sc400 freeBSD5: $ time dd bs=1024 if=/dev/zero of=tstfile count=1M 1048576+0 records in 1048576+0 records out 1073741824 bytes transferred in 71.807645 secs (14953029 bytes/sec) 71.82real 0.68 user 8.83 sys 71.82 / 60 = 1.197 -- 517 nick.pavlica -160 1212K 588K wdrain 0:02 12.35% 5.91% dd 517 nick.pavlica -160 1212K 588K wdrain 0:13 12.48% 12.35% dd $ time dd bs=1024 if=/dev/zero of=tstfile count=2M 2097152+0 records in 2097152+0 records out 2147483648 bytes transferred in 136.815925 secs (15696153 bytes/sec) 136.85 real 1.29 user17.49 sys 136.85 / 60 = 2.28083 -- 542 nick.pavlica -160 1212K 588K wdrain 0:19 13.35% 13.33% dd 542 nick.pavlica -160 1212K 588K wdrain 0:24 12.99% 12.99% dd $ time dd bs=1024 if=/dev/zero of=tstfile count=3M 3145728+0 records in 3145728+0 records out 3221225472 bytes transferred in 205.722425 secs (15658115 bytes/sec) 205.72 real 1.82 user27.39 sys 205.72 / 60 = 3.42867 copy test: 558 nick.pavlica -40 1272K 680K getblk 0:01 2.30% 1.32% cp 558 nick.pavlica -40 1272K 680K getblk 0:02 1.80% 1.71% cp 558 nick.pavlica -40 1272K 680K getblk 0:03 1.87% 1.86% cp $ time cp tstfile tstfile2 579.31 real 0.03 user14.61 sys 579.31 / 60 = 9.65517 (FreeBSD 5.3+ on SC400) b test 1: 535 nick.pavlica -40 2380K 1216K getblk 0:17 2.84% 2.83% bonnie++ 568 nick.pavlica 1050 2380K 1196K RUN 0:09 92.99% 36.62% bonnie++ 568 nick.pavlica -160 2380K 1192K wdrain 0:14 12.35% 11.23% bonnie++ $ bonnie++ -s 1024 -r 512 -n 5 Writing a byte at a time...done Writing intelligently...done Rewriting...done Reading a byte at a time...done Reading intelligently...done start 'em...done...done...done...done...done... Create files in sequential order...done. Stat files in sequential order...done. Delete files in sequential order...done. Create files in random order...done. Stat file
Re: Fwd: Re: Re[8]: Connection via proxy
MM> I seems that your network is not properbly configured. MM> Have you verified that the interface you wish to use MM> is up and has a MM> valid IP adress. Is the proxy in "your" subnet or do MM> you need to use a MM> gateway to reach it ? MM> Hexren MM> maybe consider posting your replies under the original MM> message as that MM> will make it so much easier to read the full message MM> ;) MM> ___ MM> I have verfied that the interface is up and running MM> ... but not sre if I connect via a subnet or a MM> gateway. Total noob to this so I am not sure how I can MM> verify. The only thing I got in my dorm is an RJ45 MM> socket outlet for connecting to the net. MM> the subnet mask is 255.255.255.0 and the gateway is MM> 146.226.11.1 MM> Note: forwarded message attached. MM> __ MM> Do You Yahoo!? MM> Tired of spam? Yahoo! Mail has the best spam protection around MM> http://mail.yahoo.com - that is right it is up and running and has no ip address... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Ftpd
Hello I have problems to understand the way ftpd works. My goal is to create a ftp account where the user can download and upload files, and create directories where they could upload the files. But they should not remove nor rename any file or directory. 1) man chmod talks about a sticky flag. Ive try that. but: (ls -la on the server) drwxr-xr-t 4 usuarioftp usuarioftp 512 Jan 22 19:01 usuarioftp lftp [EMAIL PROTECTED]:~> rm test rm ok, `test' removed i dont want users to be able to delete any files... 2) I dont understand permitions... i.e. lftp [EMAIL PROTECTED]:~> ls root-file -rw--- 1 rootwheel 0 Jan 22 19:12 root-file lftp [EMAIL PROTECTED]:~> mv root-file why_can_i_do_this rename successful ps aux | grep ftp shows: usuarioftp 26747 1.0 0.3 1928 1404 ?? Ss7:14PM 0:00.01 ftpd: 127.0.0.1: user/usuarioftp: LIST\r\n (ftpd) why can the ftp user rename the root file? how do i make users be able just to 1.- create directories 2.- upload files 3.- downlaod files thank you, -- _ Phillip Neumann [EMAIL PROTECTED] www.sofsis.cl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ftpd
you might want to give proftpd a try... /usr/ports/ftp/proftpd for more info on proftpd you might wanna look on www.proftpd.org they have quite a good documentation on it. this should cover both of your questions... Greetings Oliver Leitner Technical Staff http://www.shells.at On Friday 21 January 2005 01:36, Phillip Neumann wrote: > Hello > > I have problems to understand the way ftpd works. > > My goal is to create a ftp account where the user can download and > upload files, and create directories where they could upload the files. > But they should not remove nor rename any file or directory. > > 1) > > man chmod talks about a sticky flag. > Ive try that. but: > > (ls -la on the server) > drwxr-xr-t 4 usuarioftp usuarioftp 512 Jan 22 19:01 usuarioftp > > > lftp [EMAIL PROTECTED]:~> rm test > rm ok, `test' removed > > i dont want users to be able to delete any files... > > 2) > > I dont understand permitions... > > i.e. > lftp [EMAIL PROTECTED]:~> ls root-file > -rw--- 1 rootwheel 0 Jan 22 19:12 root-file > lftp [EMAIL PROTECTED]:~> mv root-file why_can_i_do_this > rename successful > > ps aux | grep ftp shows: > > usuarioftp 26747 1.0 0.3 1928 1404 ?? Ss7:14PM 0:00.01 ftpd: > 127.0.0.1: user/usuarioftp: LIST\r\n (ftpd) > > > > > > why can the ftp user rename the root file? > how do i make users be able just to > 1.- create directories > 2.- upload files > 3.- downlaod files > > > > thank you, > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
On Jan 22 at 15:02, Gerard Samuel launched this into the bitstream: > gabriel wrote: > >> I'm not sure what you mean by "try the jetdirect," >> > PORT STATE SERVICE > 9100/tcp open jetdirect <=== This One > > Jetdirect is HP's print server You mean the blackbox ("JetDirect") sold in better stores is essentially existing within FreeBSD/Ports already? Damn, I was on the *verge* of heading out next week to buy one of those given that I could *not* get my "all-in-one" HP psc2105 to function at all. I'd given up after days of struggle since the end didn't seem to justify the means. (Windows XP box is pretty much up 24/7 anyway for anyone who needs to print) Regards, -Colin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
heh, everything BUT printing is working, I've even got it scanning! I cant believe this. I refuse to go to windows for anything, that and the fact that I dont have a place to install windows is what thrives my dispair. On Sat, 22 Jan 2005 23:23:50 +0100, Colin J. Raven <[EMAIL PROTECTED]> wrote: > On Jan 22 at 15:02, Gerard Samuel launched this into the bitstream: > > > gabriel wrote: > > > >> I'm not sure what you mean by "try the jetdirect," > >> > > PORT STATE SERVICE > > 9100/tcp open jetdirect <=== This One > > > > Jetdirect is HP's print server > > You mean the blackbox ("JetDirect") sold in better stores is essentially > existing within FreeBSD/Ports already? > > Damn, I was on the *verge* of heading out next week to buy one of those > given that I could *not* get my "all-in-one" HP psc2105 to function at > all. I'd given up after days of struggle since the end didn't seem to > justify the means. (Windows XP box is pretty much up 24/7 anyway for > anyone who needs to print) > > Regards, > -Colin > > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
which printing queue manager are you using? is your printer pingeable (or in any other way reachable) from your bsd box? does your printing queue manager recognize the printer? what do your printer queue manager and daemon logs on the bsd box say? Greetings Oliver Leitner Technical Staff http://www.shells.at On Saturday 22 January 2005 23:29, you wrote: > heh, everything BUT printing is working, I've even got it scanning! I > cant believe this. I refuse to go to windows for anything, that and > the fact that I dont have a place to install windows is what thrives > my dispair. > > > On Sat, 22 Jan 2005 23:23:50 +0100, Colin J. Raven > > <[EMAIL PROTECTED]> wrote: > > On Jan 22 at 15:02, Gerard Samuel launched this into the bitstream: > > > gabriel wrote: > > >> I'm not sure what you mean by "try the jetdirect," > > > > > > PORT STATE SERVICE > > > 9100/tcp open jetdirect <=== This One > > > > > > Jetdirect is HP's print server > > > > You mean the blackbox ("JetDirect") sold in better stores is essentially > > existing within FreeBSD/Ports already? > > > > Damn, I was on the *verge* of heading out next week to buy one of those > > given that I could *not* get my "all-in-one" HP psc2105 to function at > > all. I'd given up after days of struggle since the end didn't seem to > > justify the means. (Windows XP box is pretty much up 24/7 anyway for > > anyone who needs to print) > > > > Regards, > > -Colin -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ftpd
Ok. But i dont would like to switch ftp deamon. I already have ftpd in production thanks, Oliver Leitner wrote: you might want to give proftpd a try... /usr/ports/ftp/proftpd for more info on proftpd you might wanna look on www.proftpd.org they have quite a good documentation on it. this should cover both of your questions... Greetings Oliver Leitner Technical Staff http://www.shells.at On Friday 21 January 2005 01:36, Phillip Neumann wrote: Hello I have problems to understand the way ftpd works. My goal is to create a ftp account where the user can download and upload files, and create directories where they could upload the files. But they should not remove nor rename any file or directory. 1) man chmod talks about a sticky flag. Ive try that. but: (ls -la on the server) drwxr-xr-t 4 usuarioftp usuarioftp 512 Jan 22 19:01 usuarioftp lftp [EMAIL PROTECTED]:~> rm test rm ok, `test' removed i dont want users to be able to delete any files... 2) I dont understand permitions... i.e. lftp [EMAIL PROTECTED]:~> ls root-file -rw--- 1 rootwheel 0 Jan 22 19:12 root-file lftp [EMAIL PROTECTED]:~> mv root-file why_can_i_do_this rename successful ps aux | grep ftp shows: usuarioftp 26747 1.0 0.3 1928 1404 ?? Ss7:14PM 0:00.01 ftpd: 127.0.0.1: user/usuarioftp: LIST\r\n (ftpd) why can the ftp user rename the root file? how do i make users be able just to 1.- create directories 2.- upload files 3.- downlaod files thank you, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- _ Phillip Neumann [EMAIL PROTECTED] www.sofsis.cl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ftpd
you might want to give proftpd a try... /usr/ports/ftp/proftpd for more info on proftpd you might wanna look on www.proftpd.org they have quite a good documentation on it. this should cover both of your questions... Greetings Oliver Leitner Technical Staff http://www.shells.at On Friday 21 January 2005 02:00, Phillip Neumann wrote: > Ok. > > But i dont would like to switch ftp deamon. I already have ftpd in > production > > > thanks, > > Oliver Leitner wrote: > >you might want to give proftpd a try... > > > >/usr/ports/ftp/proftpd > > > >for more info on proftpd you might wanna look on www.proftpd.org > >they have quite a good documentation on it. > > > >this should cover both of your questions... > > > >Greetings > >Oliver Leitner > >Technical Staff > >http://www.shells.at > > > >On Friday 21 January 2005 01:36, Phillip Neumann wrote: > >>Hello > >> > >>I have problems to understand the way ftpd works. > >> > >>My goal is to create a ftp account where the user can download and > >>upload files, and create directories where they could upload the files. > >>But they should not remove nor rename any file or directory. > >> > >>1) > >> > >>man chmod talks about a sticky flag. > >>Ive try that. but: > >> > >>(ls -la on the server) > >>drwxr-xr-t 4 usuarioftp usuarioftp 512 Jan 22 19:01 usuarioftp > >> > >> > >>lftp [EMAIL PROTECTED]:~> rm test > >>rm ok, `test' removed > >> > >>i dont want users to be able to delete any files... > >> > >>2) > >> > >>I dont understand permitions... > >> > >>i.e. > >>lftp [EMAIL PROTECTED]:~> ls root-file > >>-rw--- 1 rootwheel 0 Jan 22 19:12 root-file > >>lftp [EMAIL PROTECTED]:~> mv root-file why_can_i_do_this > >>rename successful > >> > >>ps aux | grep ftp shows: > >> > >>usuarioftp 26747 1.0 0.3 1928 1404 ?? Ss7:14PM 0:00.01 ftpd: > >>127.0.0.1: user/usuarioftp: LIST\r\n (ftpd) > >> > >> > >> > >> > >> > >>why can the ftp user rename the root file? > >>how do i make users be able just to > >>1.- create directories > >>2.- upload files > >>3.- downlaod files > >> > >> > >> > >>thank you, > >>___ > >>freebsd-questions@freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>To unsubscribe, send any mail to > >>"[EMAIL PROTECTED]" > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ftpd
sorry for the last answer, i copied the wrong one.. I dont remember fully, since i havent used the native ftpd for the past 6 years... but from what i know, the ftpd is pretty limited, so if you dont find a patch or any kind of fix to include, i dont see another way to do it than switching to a somewhat more sophisticated product. shouldnt be that hard to replace in a production environment, just have it setup on an alternate port, and as soon as it does work to your wishes, you kill the ftpd process and start the proftpd one, should cause a downtime of max 10 secs... Greetings Oliver Leitner Technical Staff http://www.shells.at On Friday 21 January 2005 02:00, you wrote: > Ok. > > But i dont would like to switch ftp deamon. I already have ftpd in > production > > > thanks, > > Oliver Leitner wrote: > >you might want to give proftpd a try... > > > >/usr/ports/ftp/proftpd > > > >for more info on proftpd you might wanna look on www.proftpd.org > >they have quite a good documentation on it. > > > >this should cover both of your questions... > > > >Greetings > >Oliver Leitner > >Technical Staff > >http://www.shells.at > > > >On Friday 21 January 2005 01:36, Phillip Neumann wrote: > >>Hello > >> > >>I have problems to understand the way ftpd works. > >> > >>My goal is to create a ftp account where the user can download and > >>upload files, and create directories where they could upload the files. > >>But they should not remove nor rename any file or directory. > >> > >>1) > >> > >>man chmod talks about a sticky flag. > >>Ive try that. but: > >> > >>(ls -la on the server) > >>drwxr-xr-t 4 usuarioftp usuarioftp 512 Jan 22 19:01 usuarioftp > >> > >> > >>lftp [EMAIL PROTECTED]:~> rm test > >>rm ok, `test' removed > >> > >>i dont want users to be able to delete any files... > >> > >>2) > >> > >>I dont understand permitions... > >> > >>i.e. > >>lftp [EMAIL PROTECTED]:~> ls root-file > >>-rw--- 1 rootwheel 0 Jan 22 19:12 root-file > >>lftp [EMAIL PROTECTED]:~> mv root-file why_can_i_do_this > >>rename successful > >> > >>ps aux | grep ftp shows: > >> > >>usuarioftp 26747 1.0 0.3 1928 1404 ?? Ss7:14PM 0:00.01 ftpd: > >>127.0.0.1: user/usuarioftp: LIST\r\n (ftpd) > >> > >> > >> > >> > >> > >>why can the ftp user rename the root file? > >>how do i make users be able just to > >>1.- create directories > >>2.- upload files > >>3.- downlaod files > >> > >> > >> > >>thank you, > >>___ > >>freebsd-questions@freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>To unsubscribe, send any mail to > >>"[EMAIL PROTECTED]" > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IP Block
Lady Amalara wrote: My Question is...how can I block my IP address so others won't see it??? As the other responses suggest, your question is not really clear. I guess what you want is to make your host unreachable from the internet. You set up firewall rules that block all incoming packets, FreeBSD supports a number of different ones, ipfw, ipfilter and packetfilter - se the handbook. Note, once you have a connection - regardless of firewall - you can be discovered with arping provided that the pinging host is on the same physical network as you. Normally this is not a problem, and doesn't really matter if they can't connect anyway. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
On Sat, 22 Jan 2005, Colin J. Raven wrote: Damn, I was on the *verge* of heading out next week to buy one of those given that I could *not* get my "all-in-one" HP psc2105 to function at all. I'd given up after days of struggle since the end didn't seem to justify the means. (Windows XP box is pretty much up 24/7 anyway for anyone who needs to print) Colin, Sorry to throw in late, but I have a (not very similar) HP printer that's been working fine and maybe I can help. I assume your psc2105 has a JetDirect card (with RJ45 ethernet jack) - I can't really tell from the online specs at www.hp.com. If so, have you assigned it an IP address? I apologize if this has been answered earlier in the thread, just had to point out the obvious. I don't use cups - cause it looks like a huge pig :^) - but lpr has served me well over the years. Under 5.3R, all I had to do was 4.5 things: 1) put lpd_enable="YES" in /etc/rc.conf 1a) Run /usr/sbin/lpd as root, or reboot; your choice. 2) make the name 'snowball' resolve to the printer's IP (because I name printers after Devo songs). I used /etc/hosts, but you can run DNS locally if you prefer. 3) create an entry in /etc/printcap like so: lp|snow|snowball|lj|ps|HP ColorLaserJet 4550N:\ :sh:\ :sd=/var/spool/output/lpd:\ :mx#0:\ :lp=:rm=snowball:rp="auto": 4) create the directory /var/spool/output/lpd and chmod it to 755. This works fine for printing from Mozilla and Acrobat, as well as 'lpr somefile' type stuff. Hope this helps. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging <|> ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
On Sat, 22 Jan 2005 23:29:57 +0100, Oliver Leitner <[EMAIL PROTECTED]> wrote: > which printing queue manager are you using? Manger? CUPS, Mind you this is my first time trying to setup a printer. > is your printer pingeable (or in any other way reachable) from your bsd box? It is pingable, I am able to go into its configuration via http. > does your printing queue manager recognize the printer? It appears so, as when a "print test page" is done, the printer activates, but nothing further. > what do your printer queue manager and daemon logs on the bsd box say? These are the last couple of entries: E [22/Jan/2005:11:53:17 -0800] restart_job: job #5 cannot be restarted - no files! E [22/Jan/2005:11:53:27 -0800] PID 65224 stopped with status 3! E [22/Jan/2005:11:58:48 -0800] restart_job: job #5 cannot be restarted - no files! > > Greetings > Oliver Leitner > Technical Staff > http://www.shells.at Thanks! > On Saturday 22 January 2005 23:29, you wrote: > > heh, everything BUT printing is working, I've even got it scanning! I > > cant believe this. I refuse to go to windows for anything, that and > > the fact that I dont have a place to install windows is what thrives > > my dispair. > > > > > > On Sat, 22 Jan 2005 23:23:50 +0100, Colin J. Raven > > > > <[EMAIL PROTECTED]> wrote: > > > On Jan 22 at 15:02, Gerard Samuel launched this into the bitstream: > > > > gabriel wrote: > > > >> I'm not sure what you mean by "try the jetdirect," > > > > > > > > PORT STATE SERVICE > > > > 9100/tcp open jetdirect <=== This One > > > > > > > > Jetdirect is HP's print server > > > > > > You mean the blackbox ("JetDirect") sold in better stores is essentially > > > existing within FreeBSD/Ports already? > > > > > > Damn, I was on the *verge* of heading out next week to buy one of those > > > given that I could *not* get my "all-in-one" HP psc2105 to function at > > > all. I'd given up after days of struggle since the end didn't seem to > > > justify the means. (Windows XP box is pretty much up 24/7 anyway for > > > anyone who needs to print) > > > > > > Regards, > > > -Colin > > -- > By reading this mail you agree to the following: > > using or giving out the email address and any > other info of the author of this email is strictly forbidden. > By acting against this agreement the author of this mail > will take possible legal actions against the abuse. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
On Jan 22 at 18:10, Chris Hill launched this into the bitstream: > On Sat, 22 Jan 2005, Colin J. Raven wrote: > >> Damn, I was on the *verge* of heading out next week to buy one of those >> given that I could *not* get my "all-in-one" HP psc2105 to function at >> all. I'd given up after days of struggle since the end didn't seem to >> justify the means. (Windows XP box is pretty much up 24/7 anyway for >> anyone who needs to print) > > Colin, > > Sorry to throw in late, but I have a (not very similar) HP printer that's > been working fine and maybe I can help. I assume your psc2105 has a JetDirect > card (with RJ45 ethernet jack) - I can't really tell from the online specs at > www.hp.com. If so, have you assigned it an IP address? I apologize if this > has been answered earlier in the thread, just had to point out the obvious. > Chris, the printer has no JetDirect card, I only wish it had. Thanks for the response!! -Colin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
I did a search on google for that error, and i might have found something that you may wanna try: cp /usr/local/bin/foomatic-rip /usr/local/libexec/cups/filter please tell me if it works=) Greetings Oliver Leitner Technical Staff http://www.shells.at On Sunday 23 January 2005 00:12, gabriel wrote: > On Sat, 22 Jan 2005 23:29:57 +0100, Oliver Leitner <[EMAIL PROTECTED]> wrote: > > which printing queue manager are you using? > > Manger? CUPS, Mind you this is my first time trying to setup a printer. > > > is your printer pingeable (or in any other way reachable) from your bsd > > box? > > It is pingable, I am able to go into its configuration via http. > > > does your printing queue manager recognize the printer? > > It appears so, as when a "print test page" is done, the printer > activates, but nothing further. > > > what do your printer queue manager and daemon logs on the bsd box say? > > These are the last couple of entries: > E [22/Jan/2005:11:53:17 -0800] restart_job: job #5 cannot be restarted > - no files! > E [22/Jan/2005:11:53:27 -0800] PID 65224 stopped with status 3! > E [22/Jan/2005:11:58:48 -0800] restart_job: job #5 cannot be restarted > - no files! > > > Greetings > > Oliver Leitner > > Technical Staff > > http://www.shells.at > > Thanks! > > > On Saturday 22 January 2005 23:29, you wrote: > > > heh, everything BUT printing is working, I've even got it scanning! I > > > cant believe this. I refuse to go to windows for anything, that and > > > the fact that I dont have a place to install windows is what thrives > > > my dispair. > > > > > > > > > On Sat, 22 Jan 2005 23:23:50 +0100, Colin J. Raven > > > > > > <[EMAIL PROTECTED]> wrote: > > > > On Jan 22 at 15:02, Gerard Samuel launched this into the bitstream: > > > > > gabriel wrote: > > > > >> I'm not sure what you mean by "try the jetdirect," > > > > > > > > > > PORT STATE SERVICE > > > > > 9100/tcp open jetdirect <=== This One > > > > > > > > > > Jetdirect is HP's print server > > > > > > > > You mean the blackbox ("JetDirect") sold in better stores is > > > > essentially existing within FreeBSD/Ports already? > > > > > > > > Damn, I was on the *verge* of heading out next week to buy one of > > > > those given that I could *not* get my "all-in-one" HP psc2105 to > > > > function at all. I'd given up after days of struggle since the end > > > > didn't seem to justify the means. (Windows XP box is pretty much up > > > > 24/7 anyway for anyone who needs to print) > > > > > > > > Regards, > > > > -Colin > > > > -- > > By reading this mail you agree to the following: > > > > using or giving out the email address and any > > other info of the author of this email is strictly forbidden. > > By acting against this agreement the author of this mail > > will take possible legal actions against the abuse. > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
Nope, nothing. :\ On Sun, 23 Jan 2005 00:16:44 +0100, Oliver Leitner <[EMAIL PROTECTED]> wrote: > I did a search on google for that error, and i might have found something > that you may wanna try: > > cp /usr/local/bin/foomatic-rip /usr/local/libexec/cups/filter > > please tell me if it works=) > > Greetings > Oliver Leitner > Technical Staff > http://www.shells.at > > On Sunday 23 January 2005 00:12, gabriel wrote: > > On Sat, 22 Jan 2005 23:29:57 +0100, Oliver Leitner <[EMAIL PROTECTED]> > > wrote: > > > which printing queue manager are you using? > > > > Manger? CUPS, Mind you this is my first time trying to setup a printer. > > > > > is your printer pingeable (or in any other way reachable) from your bsd > > > box? > > > > It is pingable, I am able to go into its configuration via http. > > > > > does your printing queue manager recognize the printer? > > > > It appears so, as when a "print test page" is done, the printer > > activates, but nothing further. > > > > > what do your printer queue manager and daemon logs on the bsd box say? > > > > These are the last couple of entries: > > E [22/Jan/2005:11:53:17 -0800] restart_job: job #5 cannot be restarted > > - no files! > > E [22/Jan/2005:11:53:27 -0800] PID 65224 stopped with status 3! > > E [22/Jan/2005:11:58:48 -0800] restart_job: job #5 cannot be restarted > > - no files! > > > > > Greetings > > > Oliver Leitner > > > Technical Staff > > > http://www.shells.at > > > > Thanks! > > > > > On Saturday 22 January 2005 23:29, you wrote: > > > > heh, everything BUT printing is working, I've even got it scanning! I > > > > cant believe this. I refuse to go to windows for anything, that and > > > > the fact that I dont have a place to install windows is what thrives > > > > my dispair. > > > > > > > > > > > > On Sat, 22 Jan 2005 23:23:50 +0100, Colin J. Raven > > > > > > > > <[EMAIL PROTECTED]> wrote: > > > > > On Jan 22 at 15:02, Gerard Samuel launched this into the bitstream: > > > > > > gabriel wrote: > > > > > >> I'm not sure what you mean by "try the jetdirect," > > > > > > > > > > > > PORT STATE SERVICE > > > > > > 9100/tcp open jetdirect <=== This One > > > > > > > > > > > > Jetdirect is HP's print server > > > > > > > > > > You mean the blackbox ("JetDirect") sold in better stores is > > > > > essentially existing within FreeBSD/Ports already? > > > > > > > > > > Damn, I was on the *verge* of heading out next week to buy one of > > > > > those given that I could *not* get my "all-in-one" HP psc2105 to > > > > > function at all. I'd given up after days of struggle since the end > > > > > didn't seem to justify the means. (Windows XP box is pretty much up > > > > > 24/7 anyway for anyone who needs to print) > > > > > > > > > > Regards, > > > > > -Colin > > > > > > -- > > > By reading this mail you agree to the following: > > > > > > using or giving out the email address and any > > > other info of the author of this email is strictly forbidden. > > > By acting against this agreement the author of this mail > > > will take possible legal actions against the abuse. > > > ___ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > > "[EMAIL PROTECTED]" > > -- > By reading this mail you agree to the following: > > using or giving out the email address and any > other info of the author of this email is strictly forbidden. > By acting against this agreement the author of this mail > will take possible legal actions against the abuse. > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
You know, mine has an ethernet card, I tried it and checked /var/spool/output/lpd in "status" and it says "waiting for hpprinter to come up" - which is the sad part cause its already up. Thanks for the tip to the list though! On Sat, 22 Jan 2005 18:10:28 -0500 (EST), Chris Hill <[EMAIL PROTECTED]> wrote: > On Sat, 22 Jan 2005, Colin J. Raven wrote: > > > Damn, I was on the *verge* of heading out next week to buy one of those > > given that I could *not* get my "all-in-one" HP psc2105 to function at > > all. I'd given up after days of struggle since the end didn't seem to > > justify the means. (Windows XP box is pretty much up 24/7 anyway for > > anyone who needs to print) > > Colin, > > Sorry to throw in late, but I have a (not very similar) HP printer > that's been working fine and maybe I can help. I assume your psc2105 has > a JetDirect card (with RJ45 ethernet jack) - I can't really tell from > the online specs at www.hp.com. If so, have you assigned it an IP > address? I apologize if this has been answered earlier in the thread, > just had to point out the obvious. > > I don't use cups - cause it looks like a huge pig :^) - but lpr has > served me well over the years. Under 5.3R, all I had to do was 4.5 > things: > > 1) put >lpd_enable="YES" > in /etc/rc.conf > > 1a) Run /usr/sbin/lpd as root, or reboot; your choice. > > 2) make the name 'snowball' resolve to the printer's IP (because I name > printers after Devo songs). I used /etc/hosts, but you can run DNS > locally if you prefer. > > 3) create an entry in /etc/printcap like so: > lp|snow|snowball|lj|ps|HP ColorLaserJet 4550N:\ > :sh:\ > :sd=/var/spool/output/lpd:\ > :mx#0:\ > :lp=:rm=snowball:rp="auto": > > 4) create the directory /var/spool/output/lpd and chmod it to 755. > > This works fine for printing from Mozilla and Acrobat, as well as 'lpr > somefile' type stuff. > > Hope this helps. > > -- > Chris Hill [EMAIL PROTECTED] > ** [ Busy Expunging <|> ] > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Help Interpreting sbp0 Errors (Was Re: One Last Plea For Vinum Assistance)
I've been having problems with vinum volumes since an upgrade from 4.9 to 4.10. However maybe that is the *symptom* instead of the *problem*. I shut down my system from the console and saw this output: --- BEGIN --- boot() called on cpu#0 Waiting (max 60 seconds) for system process `vnlru' to stop...stopped Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped Waiting (max 60 seconds) for system process `syncer' to stop...stopped syncing disks... 4 done Uptime: 28d20h48m39s sbp0:0:0 request timeout(mgm orb:0x0a550b14) ... reset start sbp0:0:0 request timeout(cmd orb:0x0a550c4c) ... agent reset (da2:sbp0:0:0:0): Synchronize cache failed, status == 0xb, scsi status == 0x0 sbp0:0:1 request timeout(cmd orb:0x0a5528a4) ... agent reset (da3:sbp0:0:0:1): Synchronize cache failed, status == 0xb, scsi status == 0x0 The operating system has halted. Please press any key to reboot. --- END --- da2 and da3 are two IDE drives in a firewire enclosure. These are also the drives that come up "referenced" after restarting. What do these errors mean? How can I correct them? Is the following section from the sbp man page applicable to my situation? Some (broken) HDDs don't work well with tagged queuing. If you have prob- lems with such drives, try ``camcontrol [device id] tags -N 1'' to dis- able tagged queuing. Thanks for your help! Drew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
A stupid thing I've done...
Hi ! I've tried to chroot an user, so i create /home/this_user/usr and the other needed directories, but later, I wanted to delete them (as root of course) and i typed rm -r /usr instead of rm -r usr ... It asked me if i wanted to overwrite su, so i saw my mistake, and cancelled, but i don't have adduser, man, ee and ... make anymore ! How can I repair that ? can i do something without reinstalling everything ? (I need at least make... and I'm quite reluctant at compiling /usr/src/usr.bin/make ... So i hope there is another way) Thanks a lot ... -- Grégory Nou ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 5.3 I/O Performance / Linux 2.6.10 | More Info
I apologize if this has been posted twice. All, This post is not about BSD VS. Linux and should not be taken that way. I think that "Flame Wars/Engineer Wars" are waste of time and energy. I was surprised by my test results and didn't want to take FBSD out of the loop just yet. There may be flaws in my testing that have led me to inaccurate results. I didn't share the testing details in the original mail because of time constraints, and the notes are fairly lengthy. I will add my notes to this mail so that there is a better understanding of what tests I performed, and their results. It's important to note that I did not tweak any of the default settings of the OS or DB. The notes should be generally self explanatory, but will be more that happy to clarify any questions that you have. As a side note, I chose the email address linicks because by name is Nick, and thought it was a fun play on words. I appreciate all of your feedback, so that I can better understand the differences in these great operating systems and communities. Thanks Again! --Nick Pavlica "OK, The testing notes already" :) --- Hardware Configs: Dell PE 2400 - Dual PIII 500Mhz - 512Mb Ram - Perc 2si controller - (2) 10k ultra160 drives in a raid 1 configuration. Dell SC400 - P4 2.4 Ghz (not hyperthreaded) - 512Mb Ram - Stock 40Gb IDE 7200RPM Postgresql Test Scripts: CREATE TABLE test1 ( thedate TIMESTAMP, astring VARCHAR(200), anumber INTEGER ); CREATE FUNCTION build_data() RETURNS integer AS ' DECLARE i INTEGER DEFAULT 0; curtime TIMESTAMP; BEGIN FOR i IN 1..100 LOOP curtime := ''now''; INSERT INTO test1 VALUES (curtime, ''test string'', i); END LOOP; RETURN 1; END; ' LANGUAGE 'plpgsql'; SELECT build_data(); Then the following script is run under the time program to ascertain how long it takes to run: CREATE TABLE test2 ( thedate TIMESTAMP, astring VARCHAR(200), anumber INTEGER ); CREATE TABLE test3 AS SELECT * FROM test1; INSERT INTO test2 SELECT * FROM test1 WHERE ((anumber % 2) = 0); DELETE FROM test3 WHERE ((anumber % 2) = 0); DELETE FROM test3 WHERE ((anumber % 13) = 0); CREATE TABLE test4 AS SELECT test1.thedate AS t1date, test2.thedate AS t2date, test1.astring AS t1string, test2.astring AS t2string, test1.anumber AS t1number, test2.anumber AS t2number FROM test1 JOIN test2 ON test1.anumber=test2.anumber; UPDATE test3 SET thedate='now' WHERE ((anumber % 5) = 0); DROP TABLE test4; CREATE TABLE test4 AS SELECT * FROM test1; DELETE FROM test4 WHERE ((anumber % 27) = 0); VACUUM ANALYZE; VACUUM FULL; DROP TABLE test4; DROP TABLE test3; DROP TABLE test2; VACUUM FULL; - sc400 freeBSD5: $ time dd bs=1024 if=/dev/zero of=tstfile count=1M 1048576+0 records in 1048576+0 records out 1073741824 bytes transferred in 71.807645 secs (14953029 bytes/sec) 71.82real 0.68 user 8.83 sys 71.82 / 60 = 1.197 -- 517 nick.pavlica -160 1212K 588K wdrain 0:02 12.35% 5.91% dd 517 nick.pavlica -160 1212K 588K wdrain 0:13 12.48% 12.35% dd $ time dd bs=1024 if=/dev/zero of=tstfile count=2M 2097152+0 records in 2097152+0 records out 2147483648 bytes transferred in 136.815925 secs (15696153 bytes/sec) 136.85 real 1.29 user17.49 sys 136.85 / 60 = 2.28083 -- 542 nick.pavlica -160 1212K 588K wdrain 0:19 13.35% 13.33% dd 542 nick.pavlica -160 1212K 588K wdrain 0:24 12.99% 12.99% dd $ time dd bs=1024 if=/dev/zero of=tstfile count=3M 3145728+0 records in 3145728+0 records out 3221225472 bytes transferred in 205.722425 secs (15658115 bytes/sec) 205.72 real 1.82 user27.39 sys 205.72 / 60 = 3.42867 copy test: 558 nick.pavlica -40 1272K 680K getblk 0:01 2.30% 1.32% cp 558 nick.pavlica -40 1272K 680K getblk 0:02 1.80% 1.71% cp 558 nick.pavlica -40 1272K 680K getblk 0:03 1.87% 1.86% cp $ time cp tstfile tstfile2 579.31 real 0.03 user14.61 sys 579.31 / 60 = 9.65517 (FreeBSD 5.3+ on SC400) b test 1: 535 nick.pavlica -40 2380K 1216K getblk 0:17 2.84% 2.83% bonnie++ 568 nick.pavlica 1050 2380K 1196K RUN 0:09 92.99% 36.62% bonnie++ 568 nick.pavlica -160 2380K 1192K wdrain 0:14 12.35% 11.23% bonnie++ $ bonnie++ -s 1024 -r 512 -n 5 Writing a byte at a time...done Writing intelligently...done Rewriting...done Reading a byte at a time...done Reading intelligently...done start 'em...done...done...done...done...done... Create files in sequential order...done. Stat files in sequential order...done. Delete files in sequential order...done. Create files in random order.
Re: A stupid thing I've done...
Gregory Nou wrote: I've tried to chroot an user, so i create /home/this_user/usr and the other needed directories, but later, I wanted to delete them (as root of course) and i typed rm -r /usr instead of rm -r usr ... It asked me if i wanted to overwrite su, so i saw my mistake, and cancelled, but i don't have adduser, man, ee and ... make anymore ! How can I repair that ? can i do something without reinstalling everything ? (I need at least make... and I'm quite reluctant at compiling /usr/src/usr.bin/make ... So i hope there is another way) Not only do you need make, but also gcc and other utilities. I would consider /usr wiped, even if you still have "su". You might find relief in /rescue or /stand/sysinstall. You won't reinstall the whole system creating slices and labes and all that, but you will most likely need to reinstall a lot though. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Samba - microsoft-ds connection?
Hi, Sorry if the subject's a bit cryptic. It's because of my ignorance, here's what I do know. Have just installed FBSD 4.8 release from the mini-iso, my old install got messed up and got Samba 3.0.10 running. My win xp workstation is also my current gateway. Run a tcp monitor on that box called tcpview which displays active connections. Here's what I see for windows networking System:4TCP delliver:4885 swamisalami:microsoft-ds ESTABLISHED System:4TCP delliver:3031 penguin:netbios-ssn ESTABLISHED System:4TCP delliver:4852 eileen:netbios-ssn ESTABLISHED Swamisalami is my fbsd, penguin's my rh9 box running samba 2.x, eileen is a win me workstation. Delliver is my gateway box. What is microsoft-ds? Couldn't find anything about it in MS' knowledgebase. Marty p.s. yes I plan on moving my gateway to fbsd, but it's going to take some time for me to get there Marty Landman, Face 2 Interface Inc. 845-679-9387 Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml Web Installed Formmail: http://face2interface.com/formINSTal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba - microsoft-ds connection?
A good short description of the ms-ds protocol is given here: http://www.eventid.net/displayprot.asp?lic=19fdcf8&protocol=*&keyword=2000 Greetings Oliver Leitner Technical Staff http://www.shells.at On Sunday 23 January 2005 01:30, Marty Landman wrote: > Hi, > > Sorry if the subject's a bit cryptic. It's because of my ignorance, here's > what I do know. Have just installed FBSD 4.8 release from the mini-iso, my > old install got messed up and got Samba 3.0.10 running. > > My win xp workstation is also my current gateway. Run a tcp monitor on that > box called tcpview which displays active connections. Here's what I see for > windows networking > > System:4TCP delliver:4885 swamisalami:microsoft-ds > ESTABLISHED > System:4TCP delliver:3031 penguin:netbios-ssn ESTABLISHED > > System:4TCP delliver:4852 eileen:netbios-ssn ESTABLISHED > > > Swamisalami is my fbsd, penguin's my rh9 box running samba 2.x, eileen is a > win me workstation. Delliver is my gateway box. > > What is microsoft-ds? Couldn't find anything about it in MS' knowledgebase. > > Marty > > p.s. yes I plan on moving my gateway to fbsd, but it's going to take some > time for me to get there > > > Marty Landman, Face 2 Interface Inc. 845-679-9387 > Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml > Web Installed Formmail: http://face2interface.com/formINSTal > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Network Printing - Please put me out of my misery
To inform the list as well... The bug got fixed after setting the Loglevel to debug in the cups.conf we found out that the tmp dir wasnt existant, so he created the tmp dir, and set the right permissions, and it worked. Greetings Oliver Leitner Technical Staff http://www.shells.at -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba - microsoft-ds connection?
it was said: >What is microsoft-ds? Couldn't find anything about it in MS' >knowledgebase. > >Marty Hello, It MS's Directory Service, what is usually called SMB. As long as it's between systems on your network, it's nothing to worry about. HTH, stheg __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
A Test Message Please Disreguard
All, Sorry for this post, but I have submitted a couple of posts and they haven't appeared on the list. I just want to make sure that things are working. --Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
KDE issues after recent portupgrade
>From the /usr/ports/UPDATING entry: 20040313: AFFECTS: users of textproc/expat2 AUTHOR: [EMAIL PROTECTED] Users of expat2 (and its many dependencies) should do the following to properly update expat2 and all of its dependencies: portupgrade -rf textproc/expat2 I did the mentioned portupgrade above and a *lot* of packages were reinstalled, among those KDE. I'm not sure in retrospect that I needed to do this as I only installed FreeBSD on this box a couple of months ago. Anyway, since the upgrade Konqueror crashes when started in a directory (core dumps) as a file browser, KDE notifications no longer work (although sound from Gnome apps *do* work -> I have gnome-session-daemon start when I log into KDE) and k3b won't start any longer for starters. What would be the best way to try an rectify this? Reinstall kde from scratch with a 'portupgrade -rf /usr/ports/X11/kde3' or something else entirely? All the aforementioned apps were working prior to the portupgrade command mentioned in UPDATING. -- Cheers, Trey --- Thieves respect property; they merely wish the property to become their property that they may more perfectly respect it. -- G.K. Chesterton, "The Man Who Was Thursday" 8:22PM up 13 mins, 0 users, load averages: 0.12, 0.11, 0.08 FreeBSD salamander.thesizemores.net 5.3-STABLE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: KDE issues after recent portupgrade
Well, you could either try to debug the applications that dont work, or take a look in the UPDATING file again, maybe they have descriptions concerning your applications... you could also try to do a cvsup and then a portupgrade -af and look if it goes through and things work afterwards again... hope that helps you any further... Greetings Oliver Leitner Technical Staff http://www.shells.at On Sunday 23 January 2005 02:29, you wrote: > From the /usr/ports/UPDATING entry: > > 20040313: > AFFECTS: users of textproc/expat2 > AUTHOR: [EMAIL PROTECTED] > > Users of expat2 (and its many dependencies) should do the following to > properly update expat2 and all of its dependencies: > > portupgrade -rf textproc/expat2 > > I did the mentioned portupgrade above and a *lot* of packages were > reinstalled, among those KDE. I'm not sure in retrospect that I needed > to do this as I only installed FreeBSD on this box a couple of months > ago. Anyway, since the upgrade Konqueror crashes when started in a > directory (core dumps) as a file browser, KDE notifications no longer > work (although sound from Gnome apps *do* work -> I have > gnome-session-daemon start when I log into KDE) and k3b won't start any > longer for starters. > > What would be the best way to try an rectify this? Reinstall kde from > scratch with a 'portupgrade -rf /usr/ports/X11/kde3' or something else > entirely? > > All the aforementioned apps were working prior to the portupgrade > command mentioned in UPDATING. -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba - microsoft-ds connection?
At 08:08 PM 1/22/2005, stheg olloydson wrote: It MS's Directory Service, what is usually called SMB. As long as it's between systems on your network, it's nothing to worry about. Ahah, then maybe there is something to worry about. I'm quite sure my system's been hijacked in the recent past. And I've seen the ms-ds port being opened on a steady basis for outside connections. Guess if I used fbsd as my gateway then could close it up with ipfw, but for now I just unplug my dialup at night and close nasty looking connections by hand when I notice them. Marty Marty Landman, Face 2 Interface Inc. 845-679-9387 Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml Web Installed Formmail: http://face2interface.com/formINSTal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A Test Message Please Disreguard
NP> All, NP> Sorry for this post, but I have submitted a couple of posts and they NP> haven't appeared on the list. I just want to make sure that things NP> are working. NP> --Nick NP> ___ NP> freebsd-questions@freebsd.org mailing list NP> http://lists.freebsd.org/mailman/listinfo/freebsd-questions NP> To unsubscribe, send any mail to "[EMAIL PROTECTED]" - obviously not otherwise you would have seen them ;) maybe you should pay the mailman god a visit, his temple can be found here http://lists.freebsd.org/mailman/listinfo/freebsd-questions I seem to remember that the mailmans priests have a prayer that, if uttered correctly under the holy moon of the web will please the god, so that he repeats the questions you send to him to yourself. Hail be to him. Hexren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: KDE issues after recent portupgrade
On Sun, 2005-01-23 at 02:30 +0100, Oliver Leitner wrote: > Well, you could either try to debug the applications that dont work, > or take > a look in the UPDATING file again, maybe they have descriptions > concerning > your applications... Didn't see anything in the UPDATING file when I looked... > > you could also try to do a cvsup and then a portupgrade -af and look > if it > goes through and things work afterwards again... Well, portupgrade -af would force an upgrade of everything, right? I thought I'd try just KDE first, but that's something to fall back on. > > hope that helps you any further... > -- Cheers, Trey --- "This wasn't just plain terrible, this was fancy terrible. This was terrible with raisins in it." -- Dorothy Parker 9:01PM up 53 mins, 0 users, load averages: 0.03, 0.01, 0.00 FreeBSD salamander.thesizemores.net 5.3-STABLE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: KDE issues after recent portupgrade
On Saturday 22 January 2005 05:29 pm, Trey Sizemore <[EMAIL PROTECTED]> wrote: > >From the /usr/ports/UPDATING entry: > > 20040313: > AFFECTS: users of textproc/expat2 > AUTHOR: [EMAIL PROTECTED] > > Users of expat2 (and its many dependencies) should do the following > to properly update expat2 and all of its dependencies: > > portupgrade -rf textproc/expat2 > > I did the mentioned portupgrade above and a *lot* of packages were > reinstalled, among those KDE. I'm not sure in retrospect that I > needed to do this as I only installed FreeBSD on this box a couple of > months ago. Anyway, since the upgrade Konqueror crashes when started > in a directory (core dumps) as a file browser, KDE notifications no > longer work (although sound from Gnome apps *do* work -> I have > gnome-session-daemon start when I log into KDE) and k3b won't start > any longer for starters. > > What would be the best way to try an rectify this? Reinstall kde > from scratch with a 'portupgrade -rf /usr/ports/X11/kde3' or > something else entirely? > > All the aforementioned apps were working prior to the portupgrade > command mentioned in UPDATING. I would uninstall all the KDE ports and then reinstall them, starting with kdelibs3, then kdebase3, then the rest. If KDE's installed in the right order it does alright, but even installing the kde3 metaport misses some dependencies, and when doing an upgrade like this it's often not done in the right order. This could cause some breakage. After installing kdelibs3, kdebase3 and QT, you might be able to install the metaport from there to get the rest, but I personally avoid it until after installing everything, as it's always given me problems. - jt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10 | More Info
it was said: >All, > This post is not about BSD VS. Linux and should not be taken that >way. I think that "Flame Wars/Engineer Wars" are waste of time and >energy. I was surprised by my test results and didn't want to take >FBSD out of the loop just yet. There may be flaws in my testing that >have led me to inaccurate results. I didn't share the testing details >in the original mail because of time constraints, and the notes are >fairly lengthy. I will add my notes to this mail so that there is a >better understanding of what tests I performed, and their results. >It's important to note that I did not tweak any of the default >settings of the OS or DB. The notes should be generally self >explanatory, but will be more that happy to clarify any questions that >you have. As a side note, I chose the email address linicks because >by name is Nick, and thought it was a fun play on words. I appreciate >all of your feedback, so that I can better understand the differences >in these great operating systems and communities. > >Thanks Again! >--Nick Pavlica Hello, I'm glad you weren't trolling. I, too, think the OS wars are a load of cark. Each OS has it strengths and weaknesses. Time is better spent increasing the strengths and fixing the weaknesses than arguing about whose are _better_. I can say right off that FBSD's out-of-the-box state is intended for stability rather than performance. The real question is what they do after tuning. Here I would expect FBSD to do somewhat better, especially on the uni-processor machine. Running the tests on the SC400 hardware won't be a problem for me, but I have no spare SMP or SCSI equipment to do the PE2400 tests - which I think would be the more interesting. Perhaps someone else on the list can do this? Not to provide a head-to-head showdown but to see if something is actually wrong that isn't already being looked at. (Everyone knows threading has problems that are being dealt with. That's why I'm not so sure FBSD will out-perform Fedora at this time on an SMP box.) To be on the safe side, I'll cc this to the performance list, as well. Maybe someone has already done something similar and has quick answers. Thus, I'm including unquoted the rest of your email below. Finally, the addy thing was just me getting in a shot at you if you had turned out to be trolling. Regards, stheg The tests and results below here. I don't know how the formatting is going to turn out. If its too mangled, see the original post on questions@ "OK, The testing notes already" :) --- Hardware Configs: Dell PE 2400 - Dual PIII 500Mhz - 512Mb Ram - Perc 2si controller - (2) 10k ultra160 drives in a raid 1 configuration. Dell SC400 - P4 2.4 Ghz (not hyperthreaded) - 512Mb Ram - Stock 40Gb IDE 7200RPM Postgresql Test Scripts: CREATE TABLE test1 ( thedate TIMESTAMP, astring VARCHAR(200), anumber INTEGER ); CREATE FUNCTION build_data() RETURNS integer AS ' DECLARE i INTEGER DEFAULT 0; curtime TIMESTAMP; BEGIN FOR i IN 1..100 LOOP curtime := ''now''; INSERT INTO test1 VALUES (curtime, ''test string'', i); END LOOP; RETURN 1; END; ' LANGUAGE 'plpgsql'; SELECT build_data(); Then the following script is run under the time program to ascertain how long it takes to run: CREATE TABLE test2 ( thedate TIMESTAMP, astring VARCHAR(200), anumber INTEGER ); CREATE TABLE test3 AS SELECT * FROM test1; INSERT INTO test2 SELECT * FROM test1 WHERE ((anumber % 2) = 0); DELETE FROM test3 WHERE ((anumber % 2) = 0); DELETE FROM test3 WHERE ((anumber % 13) = 0); CREATE TABLE test4 AS SELECT test1.thedate AS t1date, test2.thedate AS t2date, test1.astring AS t1string, test2.astring AS t2string, test1.anumber AS t1number, test2.anumber AS t2number FROM test1 JOIN test2 ON test1.anumber=test2.anumber; UPDATE test3 SET thedate='now' WHERE ((anumber % 5) = 0); DROP TABLE test4; CREATE TABLE test4 AS SELECT * FROM test1; DELETE FROM test4 WHERE ((anumber % 27) = 0); VACUUM ANALYZE; VACUUM FULL; DROP TABLE test4; DROP TABLE test3; DROP TABLE test2; VACUUM FULL; - sc400 freeBSD5: $ time dd bs=1024 if=/dev/zero of=tstfile count=1M 1048576+0 records in 1048576+0 records out 1073741824 bytes transferred in 71.807645 secs (14953029 bytes/sec) 71.82real 0.68 user 8.83 sys 71.82 / 60 = 1.197 -- 517 nick.pavlica -160 1212K 588K wdrain 0:02 12.35% 5.91% dd 517 nick.pavlica -160 1212K 588K wdrain 0:13 12.48% 12.35% dd $ time dd bs=1024 if=/dev/zero of=tstfile count=2M 2097152+0 records in 2097152+0 records out 2147483648 bytes transferred in 136.815925 secs (15696153 bytes/sec) 136.85
Re: Samba - microsoft-ds connection?
it was said: > Ahah, then maybe there is something to worry about. > >Marty Hello, Yes, this is a well-known attack vector in the Windows world. Regardless of a gateway's OS, one should be running as good as possible firewall checking all incoming and outgoing packets. Windows machines in particular are targets and should be running anti-virus, spyware, and firewall software locally, as well, to add another layer of protection. Regards, stheg __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fwd: Re: Re[8]: Connection via proxy
--- Hexren <[EMAIL PROTECTED]> wrote: > MM> I seems that your network is not properbly > configured. > MM> Have you verified that the interface you wish to > use > MM> is up and has a > MM> valid IP adress. Is the proxy in "your" subnet > or do > MM> you need to use a > MM> gateway to reach it ? > > MM> Hexren > > MM> maybe consider posting your replies under the > original > MM> message as that > MM> will make it so much easier to read the full > message > MM> ;) > MM> > ___ > > MM> I have verfied that the interface is up and > running > MM> ... but not sre if I connect via a subnet or a > MM> gateway. Total noob to this so I am not sure how > I can > MM> verify. The only thing I got in my dorm is an > RJ45 > MM> socket outlet for connecting to the net. > > MM> the subnet mask is 255.255.255.0 and the gateway > is > MM> 146.226.11.1 > > > > MM> Note: forwarded message attached. > > > MM> > __ > MM> Do You Yahoo!? > MM> Tired of spam? Yahoo! Mail has the best spam > protection around > MM> http://mail.yahoo.com > > - > > that is right it is up and running and has no ip > address... > > Ummm what do you suggest that I do to get it connected to the proxy server? __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Who generates the daily, weekly, monthly reports on FreeBSD?
Daniel Bye wrote: On Sat, Jan 22, 2005 at 10:01:47PM +0100, Anthony Atkielski wrote: albi writes: a> check the /etc/periodic/ dir I've seen it. But where does it run from? Supposedly you're not supposed to modify crontab files directly, but where do these jobs belong if crontab -l from root won't list them. Is there some sort of "system" crontab in addition to those for root and other users, or how does it work? /etc/crontab is indeed the "system" crontab. You can safely edit this one by hand. The following three lines are the ones you're interested in: # Perform daily/weekly/monthly maintenance. 1 3 * * * rootperiodic daily 15 4 * * 6 rootperiodic weekly 30 5 1 * * rootperiodic monthly Note the additional field, before the command is named. It determines which user the command runs as. See crontab(5) for more details. Dan As well as periodic(8), which is an excellent exposition on the subject (if you read manpages at all ... it's real nice compared to some :-) Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Connection via proxy
Mervin McDougall wrote: Ummm what do you suggest that I do to get it connected to the proxy server? Well obviously you'll need an IP address first. Remember the ifconfig you pasted? The netstat -rn? You have no IP address assigned to an interface. Try reading http://www.onlamp.com/pub/a/bsd/2004/05/13/FreeBSD_Basics.html and then the handbook. -Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Glib/libgthread?
Heya; I'm trying to run the XSP (mono's ASP .NET server) Linux binary under FreeBSD 5.3, but it's complaining about not being able to find libgthread-2.0.so.0, which I understand is part of the glib package. Could anybody give me some pointers on getting this set up right? Or is there a port for XSP? I know there's been work on Mono in generall... but whatabout XSP or mod_mono? Thanx, SigmaX -- Registered Linux Freak #: 366,862 "My ISP won't talk to me after lodging a support call for helping gettting ADSL hooked up to a WinXP install running under VMWare under Linux on my XBox." 'Anonymous Coward,' in a post on slashdot.org "For the eyes of the Lord range throughout the earth to strengthen those whose hearts are fully commited to him." 2 Chronicles 16:9a ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"