XFree86 configure question
Thanx to some great people out there I have FreeBSD runningYea! Having some difficulty setting up the XFree86 Server. I did like it said in the handbook, but when I ee XF86Config.new, I get a blank file. If I use the configure tool in the sysinstall, it fails to save the file. I am logged on as 'root' Part 2 This computer is 3rd handme down... I found the screen resolution, Horizontal and vertical KHZ but nothing on the video adapter chipset or memory. Where do I go from here. Thanx in advance. Later, Leon A fanatic is one who can't change his mind and won't change the subject. Sir Winston Churchill ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem in running htmldoc
Hi folks, FreeBSD 5.2 I have 'htmldoc' running which I suppose was installed at the time of installing the OS. But I could not start it (GUI) # which htmldoc /usr/local/bin/htmldoc # /usr/local/bin/htmldoc [ENTER] ERROR: No HTML files! HTMLDOC Version 1.8.23 Copyright 1997-2002 Easy Software Products, All Rights Reserved. This software is governed by the GNU General Public License, Version 2, and is based in part on the work of the Independent JPEG Group. .. I am not aware whether htmldoc was compiled against libraries of Fast Light Tookit http://www.fltk.org/ # pkg_info | grep -i fast\* no printout # pkg_info | grep -i FLTK no printout I tried using command line to combine html files without result # htmldoc -f /path/to/output.ps --webpage /path/to/*.html ERR014: Image on page 1 too large - truncation or overlapping may occur! ERR014: Table on page 3 too wide - truncation or overlapping may occur! ERR014: Image on page 3 too large - truncation or overlapping may occur! PAGES: 3 ERR012: Unable to open output file - No such file or directory It failed. There is no mailing list/discussion forum on http://www.easysw.com/htmldoc/ Any advice? TIA B.R. Stephen Liu ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Command to combine several files as a single file, etc.
Hi Bill, Tks for your advice. Stephen Liu <[EMAIL PROTECTED]> wrote: > > 1) Saving webpages from website as following files > > > > Page-1.pdf > > Page-2.pdf > > Page-3.pdf > > Page-4.pdf > > and so on > > There are a couple of different programs out that > can > do this. I found a perl script not so long ago that > did a great job of merging PDF files, but I can't > seem > to locate it again. A google search provides a lot > of > links to track down, and a lot of reading to do on > the > subject. There are lot of solutions on google seach but I expect to find a simple and straightforward way. ghostscipt ps2pdf working on pdf files, converting them to ps files, then combining them and afterwards converting the resultant file to pdf file again. htmldoc iText etc. for html files. htmldoc is alreading running on my OS but I could not get it to work. I suppose it came together on installing FreeBSD 5.2 I will start another thread seeking for advice from folks on the mailing list in this respect. B.R. Stephen ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Command to combine several files as a single file, etc.
Stephen Liu <[EMAIL PROTECTED]> wrote: > Sorry for not having explained clear in my first > posting. I repeat it with following examples; > > 1) Saving webpages from website as following files > > Page-1.pdf > Page-2.pdf > Page-3.pdf > Page-4.pdf > and so on There are a couple of different programs out that can do this. I found a perl script not so long ago that did a great job of merging PDF files, but I can't seem to locate it again. A google search provides a lot of links to track down, and a lot of reading to do on the subject. Sorry I can't remember the name/links to the perl script I'd used in the past. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using scanner with FreeBSD. A nightmare!
Christian Hiris wrote: Scenario I. 1. Scanner attached to /dev/usb1. 2. Run xsane, xscanimage and friends under an unprivileged user. 3. Don't want to pass the [driver:/device] parameter to your scanner app. What happens? The initialization code steps thru the usb devices until it finds a device that matches a driver:device in /usr/local/etc/sane.d/. If a permission for a /dev/usbx device is missing and no matching device could be found, the initialization code calls sane_exit and the program terminates. [simply spoken] So, if our scanner is attached to /dev/usb1 one need to set "proper" permissions on /dev/usb0, /dev/usb1 and /dev/uscanner0. crw-rw 1 root operator 243, 255 Jun 6 14:10 usb crw-rw-rw- 1 root operator 243, 0 Jun 6 14:10 usb0 crw-rw-rw- 1 root operator 243, 1 Jun 6 14:10 usb1 crw-rw 1 root operator 243, 2 Jun 6 14:10 usb2 crw-rw 1 root operator 243, 3 Jun 6 14:10 usb3 crw-rw-rw- 1 root operator 242, 0 Jun 10 19:31 uscanner0 What role does /dev/usb play in this story? In my mind scanner initialization runs faster and more stable, if the device stays open (as in scenario I.). You can make startup initialization a little faster by removing unneeded drivers from /usr/local/etc/sane.d/dll.conf. The line 'hp' should suffice. OK, thanks! 1) I plugged my scanner into /dev/usb0; avoiding the necessity to probe other /dev/usb*. 2) I commented out all entries in /usr/local/etc/sane.d/dll.conf, EXCEPT the hp one. After this, devices are detected automatically and immediately. Even gimp can use the plugin to the scanner now. Woow, thanks so much for all your advice. Step by step I'm getting closer to a working scanner. Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using scanner with FreeBSD. A nightmare! = (VIA USB problem?)
Nicholas Jackson wrote: Rob, Does your motherboard use a VIA chip for its USB? Thanks for the suggestion. I'm sort of aware of these VIA vs. USB trouble. A friend of mine has a mass-storage stick for USB, but his FreeBSD hangs when unmounting this device. He has a VIA chip. I don't so the mass-storage stick works with my FreeBSD! Here is what I have; grep "USB controller" /var/run/dmesg.boot: uhci0: port 0xbc00-0xbc1f irq 2 at device 29.0 on pci0 usb0: on uhci0 uhci1: port 0xb000-0xb01f irq 5 at device 29.1 on pci0 usb1: on uhci1 uhci2: port 0xb400-0xb41f irq 6 at device 29.2 on pci0 usb2: on uhci2 uhci3: port 0xb800-0xb81f irq 2 at device 29.3 on pci0 usb3: on uhci3 pci0: at 29.7 irq 9 You might also want to try a BIOS upgrade. Would you still recommend this with above chip? (What is my BIOS? Can I find out without having to reboot?) Don't blame it on FreeBSD unless you are sure that the hardware is not at fault. And this particular fault might be one that doesnt show up frequently with other applications. Scanners are pretty demanding on the USB bus... I try not to blame anyone; I was confused and frustrated by the fact that my collegues use the same scanner on a Windows box and have it setup in matter of minutes, without a hitch. I'm struggling for days, and still it hardly works properly. Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Scheme for securing LAN
On Wed, Jun 09, 2004 at 02:32:31PM +0300, B.Bonev wrote: > Hi FreeBSDers, I have a simple question. > > What scheme for securing LAN is better? > > > > Internet > > | > > Apache _ FreeBSD LAN > > Web ServerFirewall > > > > or > >Internet > > | > >FreeBSD > >Firewall > > | > >Apache > > Web Server > > | > >FreeBSD > >Firewall > > | > > LAN > > > > What are advantages and disadvantages of two? > > I know that is much more important how tuned Firewalls, Web Server and workstations > behind are. > > Is there any difficulty for workstations that should works in Internet, because of > two Firewalls? Not really. You'll have the advantage of a secured DMZ but, the real question is, do you really need the added complexity? You need to say more about *why* you want to do this? How many users are you supporting? What's coming off the web server? etc. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ pgptgxnJI5CCR.pgp Description: PGP signature
Re: Command to combine several files as a single file, etc.
Hi Parv, FreeBSD 5.2 Tks for your advice. - snip - > Do you want to collect a number of files in various > formats in one > file to be able to extract any file from the > resulting collection? > > Or, do you want to collect information contained in > different files > in one single file in only one format? Sorry for not having explained clear in my first posting. I repeat it with following examples; 1) Saving webpages from website as following files Page-1.pdf Page-2.pdf Page-3.pdf Page-4.pdf and so on - how to combine all of them in a SINGLE file in the order of page number still in .pdf format. - how to rearrange them in the SINGLE file changing postition of Page-4 to Page-1 etc. afterwards 2) Printing webpages from website as following files Page-1.ps Page-2.ps Page-3.ps Page-4.ps and so on - how to combine all of them in a SINGLE file in the order of page number still in .ps format. - how to rearrange them in the SINGLE changing postition of Page-4 to Page-1 etc. afterwards 3) Saving webpages from website as following files Page-1.html Page-2.html Page-3.html Page-4.html and so on - how to combine all of them in a SINGLE file in the order of page number still in .html format. - how to rearrange them in the SINGLE changing postition of Page-4 to Page-1 etc. afterwards TIA B.R. satimis > I cannot say anything about the second case. > > For the first case, there are archive creaters like > tar, pax, & > cpio. See manual pages for respective commands, and > some of the > articles from a larger collection ... > > Archivers: http://www.onlamp.com/lpt/a/1710 > Tar: http://www.onlamp.com/lpt/a/2416 > Pax: http://www.onlamp.com/lpt/a/2660 >Cpio: http://www.onlamp.com/lpt/a/2445 > > > - Parv ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
hotsmtpd dumping core on authentication
I was reading through some archives ( http://lists.freebsd.org/pipermail/freebsd-questions/2004-April/044456.html ) And I have the same problem. Did you ever find a solution? Mike Valentine [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sound card (WAS: FreeBSD 4.10 RELEASE questions)
On 06/10/04 06:29 PM, Bob Johnson sat at the `puter and typed: > > Message: 8 > > Date: Wed, 9 Jun 2004 21:55:14 -0400 > > From: Louis LeBlanc <[EMAIL PROTECTED]> > > Subject: FreeBSD 4.10 RELEASE questions > > To: FreeBSD Questions <[EMAIL PROTECTED]> > > Message-ID: <[EMAIL PROTECTED]> > > > > Hey everyone. I have a confusing situation here with the new kernel. > > > > I just upgraded to 4.10, and in the process, decided to get a > > moderately updated kernel config. Particularly, I wanted to try to > > get my sound working again. > > > > Here's the thing. I have the following lines in my kernel config: > > device pcm > > > [deleted details] > > Problem is that I'm not sure if I should have the following: > > > > device pcm0 at isa? irq 10 drq 1 flags 0x0 > > Everything after "pcm0" is there for the benefit of ISA cards that are > not PNP-aware. Your "device pcm" should be entirely adequate for a PCI > card that does correct PNP configuration. It certainly works for me. > > Also, if your system doesn't physically have SIO2 or SIO3, you can > remove those statements (which were in the details I deleted above). Hmm. I'm not seeing any change. I removed the sio2 and sio3 entries and eliminated the other "unknowns", but pci0 is still not getting found. > > Note that my fxp0 is using irq 10. Should I just change the irq? > > Should I leave it and/or the PNPBIOS line out? > > > > My system shows several unknown devices which are presumably various > features of the motherboard that I'm not using, so don't be too > concerned about the unknown device. PCI devices are assigned IRQs > dynamically, and you should not need to worry about which device ended > up on which IRQ as long as it doesn't conflict with an ISA device in > your system. > > If dmesg.boot shows a "pcm0" device somewhere then your sound card > should be working. E.g.: > > # grep pcm0 /var/run/dmesg.boot > pcm0: port 0xe000-0xe0ff irq 5 at device 17.5 on pci0 > pcm0: > # > > I believe that in 4.10 you still have to do > > # cd /dev > # sh MAKEDEV snd0 > > to populate /dev with the appropriate devices after you get the driver > loading properly (snd0 is not actually one of them, so don't look for > it). I guess you're familiar with that, since you had your sound > working in the past, but maybe you forgot. After you've done that, > something like > > # cat /dev/sndstat > > should tell you what you ended up with, in its own cryptic way. Did it, no pcm0 (or even pcm*) in dmesg or /dev. sndstat tells me the following: # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: And nothing else. > To get the PCI card correctly recognized, you may need to play with the > "PNP BIOS" setting in your BIOS configuration, although I don't think > that's your problem in this case. The bios setting doesn't really give any options with PNP stuff. I though there would be a way to turn off the sound card, but I'm not finding it. > If your sound card actually is an ISA device, you need to set the IRQ > and possibly DRQ settings in the config line to what the card is > expecting. You may also have to go into your device and reserve that > IRQ for your ISA device to keep it from being assigned to a PnP device. I'm pretty sure it's PCI - it's onboard, so there's not much hope of pulling it out to read it. > > I'm sure there's some pertinent details I'm leaving out, so don't > > hesitate to let me know what it is. > > > > Thanks for the feedback. > > I hope that helps. Well, not really, but that's probably more a reflection on me than you :) I sincerely appreciate your input, but I think this has just gone past my pain threshold, which gets lower with each passing day - I ordered a new Dell Shortly after posting the request, and it should be coming in about 10 days now . This system will probably be retired for awhile until I can get the space to make use of it some other way. Thanks again Bob. Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Friends, n.: People who know you well, but like you anyway. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage and jails and possible alternatives
This is for the archives ... I have good news and bad news. The bad news is that I can't repeat the bizaar IP binding behaviour on a test box. On this test box, it works as expected. Figures ... the only time it won't work right is on a production box! The good news is that jails rock! Apache_fp runs happily inside a jail and is incapable of binding to other IPs on the machine (aside from the one IP assigned to the jail). Of course, this is also chroot in nature, so any exploits that may show up are limited to the directory tree I set aside for the jail. So, I'm kind of frustrated that I have this mysterious behaviour that I can't explain, but I'm pretty happy that I have a solution/workaround to move forward in spite of the issue. In a few days, the troublesome installation won't even exist anymore, it'll have been replaced with a jail! Bill Moran <[EMAIL PROTECTED]> wrote: > Tim Traver <[EMAIL PROTECTED]> wrote: > > Bill, > > > > ok, I tested this out for ya, and I couldn't duplicate the issue. FreeBSD > > 4.8... > > Thanks for taking time to research this, Tim. > > > I put an additional IP on the main interface, and started apache with > > Listen IP:80 for each IP. The server has mod_frontpage using apache 1.3.29. > > I even tried have the BindAddress in the conf file as well. > > The only (potential) problem here is that I'm not running mod_frontpage, I'm > running the apache13-fp port. I've got a feeling that mod_frontpage is > better behaved. > > > Sorry, I don't have the extra time to install 1.3.31 and recompile for ya, > > but I think there is something else going on there... > > > > Where in the conf file is your Listen directive ? > > I just uncommented the one from the default config file and put the correct > IP in it. > > > What OS ? > > 4.9-RELEASE-p7 > > > Is there > > anything listening on port 80 when you have apache off ? > > No. > > > Is your IP an > > alias to the primary interface ? > > No. I only have one NIC with one IP at this time ... this is going to change > soon, though ... that's why I'm trying to sort this out. > > > I really don't think that the frontpage module even has the ability to > > change what apache binds to... > > Like I said, you wouldn't think so. I have a feeling the apache13_fp port > somehow compiles Frontpage int Apache, or something ... > > > Anyways, thought I would let you know that I couldn't reproduce it... > > Like I said. I really appreciate you taking time to look into this. I'm going > to find time to try out the mod_frontpage port to see if it's better behaved. > > > > > Tim. > > > > > > At 10:38 AM 6/10/2004, Bill Moran wrote: > > >Tim Traver <[EMAIL PROTECTED]> wrote: > > > > > > > Bill, > > > > > > > > I use the latest mod_frontpage module with Apache 1.3.31... > > > > > > > > I haven't tested whether or not it binds to *:80 or not when I specify > > > an IP. > > > > > > > > How are you specifying the IP in the conf file ? Are you just using Listen > > > > xxx.xxx.xxx.xxx:80 ? > > > > > >Both of the following: > > > > > >Listen xx.xx.xx.xx:80 > > >BindAddress xx.xx.xx.xx > > > > > >I have another server here (used for development) with a fairly vanilla Apache > > >install, and changing those same two settings causes it to do what I'd expect. > > > > > >I can't find any directives in the Frontpage Apache config that might > > >cause this > > >... but I suppose it's possible that I'm missing something. > > > > > > > At 09:42 AM 6/10/2004, Bill Moran wrote: > > > > >Tim Traver <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > Bill, > > > > > > > > > > > > Not sure what you mean that frontpage caused apache to bind to all > > > > > > IP's...it shouldn't... > > > > > > > > > >I agree. > > > > > > > > > > > The frontpage apache module should respect any of the virtual hosts or > > > > > > virtual IP's that you have set up in apache. > > > > > > > > > >It definately should. > > > > > > > > > > > The module is just a way for > > > > > > apache to run the fp.exe wrapper script around the frontpage binary. I > > > > > > don't know how it would even be able to force apache to bind to > > > anything... > > > > > > > > > >Nor do I. > > > > > > > > > > > Are you sure about that ??? > > > > > > > > > >Yes. When I configured Apache to only listen on 1 IP address, > > > sockstat then > > > > >showed it listening on that address in addition to *:80. The exact same > > > > >config changes on a machine without fp installed resulted in the expected > > > > >behaviour. > > > > > > > > > >Now, I haven't been idle since I made that first post ... It seems > > > there are > > > > >two frontpage ports, apache_fp and mod_frontpage. I've got apache_fp > > > > >installed. > > > > > > > > > >Anyone using mod_frontpage that can say whether it's better or worse? > > > > > > > > > > > At 07:38 AM 6/10/2004, Bill Moran wrote: > > > > > > > > > > > > >I just learned that if you run Apache+Frontpage, you can't teach > > > Apache
Re: Paging multiple columns in the console
On Thu, 10 Jun 2004, Reed Loefgren wrote: I'm moving to FreeBSD from Slackware and have one thing that bugs me a bit. If I do an ls on a big directory, say /usr/bin, I get output in a couple columns (I'm using bash.) In FreeBSD (4.9) If I ls a big directory it will output a couple columns, but I can't page it unless I pipe the output to more or less, and then I get a single column. It's intentional behavior, so that you can use the output of ls as input to something else. Is there a way I can keep the multi-column output but still use a pager? Hmm.. 'apropos column' and aha! The column command can be used to, err, re-columnize: ls /usr/bin | column -x | less This isn't a problem if I'm in X, just console. I know I can hit the (I think) scroll lock and do this, but I'm looking for something that flows a bit better for me. Truthfully, I use Scroll Lock, and set the kernel option for history lines to 500. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage and jails and possible alternatives
Lucas Holt <[EMAIL PROTECTED]> wrote: > > I would second this. > > > > At least I know the core OS is secure and stable. The only thing I > > need to > > worry about is the Frontpage extension itself. Customers are > > customers ... > > they want what they want, and if I don't give it to them, they'll take > > their > > money elsewhere. > > I just remember working at a hosting company a few years back. I > didn't administer the linux servers, but I recall the linux admin had a > great deal of trouble with unix frontpage extensions and getting them > upgraded periodically. He often sat on stale software because it was a > pain. I don't believe any operating system is more secure than > another. It all depends who is setting them up. My former boss was > very lax about security and his linux systems were often rooted. My NT > servers were never rooted as i took proper security precautions and > patched regularly. People can get in through services more often than > exploiting OS vulnerabilities. of course anyone can get rooted, I was > just rather lucky. >From the way you're talking, it doesn't sound like luck, it sounds like you were smart. I agree with the general statement ... that any OS can be secure if properly adminned. I just find that it's much, much more work to properly admin a MS system than FreeBSD! Find me anything similar to portaudit in the Windows world. The tools in FreeBSD a just plain better. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage and jails and possible alternatives
I would second this. At least I know the core OS is secure and stable. The only thing I need to worry about is the Frontpage extension itself. Customers are customers ... they want what they want, and if I don't give it to them, they'll take their money elsewhere. I just remember working at a hosting company a few years back. I didn't administer the linux servers, but I recall the linux admin had a great deal of trouble with unix frontpage extensions and getting them upgraded periodically. He often sat on stale software because it was a pain. I don't believe any operating system is more secure than another. It all depends who is setting them up. My former boss was very lax about security and his linux systems were often rooted. My NT servers were never rooted as i took proper security precautions and patched regularly. People can get in through services more often than exploiting OS vulnerabilities. of course anyone can get rooted, I was just rather lucky. Don't misinterpret this as a plug for microsoft. I like FreeBSD quite a bit. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: resizeing partion
> > i have fbsd 4.10 and i need to find out if theres a way to resize a > partion and shrink a different one to gain some room .. see what it is > is im fairley new to fbsd and i whent with the default err the auto > setting for partion sizeing durring sysinstall and now after a few > months i found out that one of the partions is to small nameley /var > so now i need to find out if theres some way to resize that partion > and shrink my main / partion to gain the needed room all with out > destroying > my files and such that i currentley have install .. IE: > nondestructiveley .. Your best bet is to abck up everything and remake the whole disk layout and then restore things. You will either need an additional disk or to do a new install on the one you have. Especially since you want to shrink something at the beginning of the disk, it isn't dooable on the fly. > thx inadvance for any help on this quistion/issue > > FreeBSD vampextream.com 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu Jun > 3 15:24:56 PDT 2004 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/VAMPEXTREAM i386 > > > PS: one of the maintainers that incharge of programming the default > disk size should make it bigger IE: 500 - 1gig in size for ppl thats > new to fbsd or at least meation some where durring install that /var > should be larger insize if you plan on haveing a lot of log files and > installing quite a few of the ports collation and useing mysql I question the default values too. They seem oriented too much toward minimum needs rather than typical needs in this day of large cheap disk. jerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Terminal VNC server
I have setup a terminal VNC server, and half-documented the way I did it at http://oxo.rucus.net/docs/Terminal-Vnc-HOWTO I am the sysadmin of a multi-user box and I am doing this for the plebs who are members of the computer society (RUCUS http://rucus.ru.ac.za/). What I want is an easy way of making vnc connections secure. The machine is firewalled from outside the LAN, but obviously not from inside it. I still don't like unencrypted data flowing over the network. For my own use, I use ssh tunnels to do the encryption, but that is far beyond your Random Joe Fuc^WUser. How can I make the connections over vnc secure? I would prefer not to delve into the source code, but will if I have to. TIA, -Ox -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo rucus.ru.ac.za "Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT." -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: -current boot bring to db> prompt
On Thursday, 10 June 2004 at 21:49:01 +0700, pirat wrote: > Date: Thu, 10 Jun 2004 21:49:01 +0700 > From: pirat <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: -current boot bring to db> prompt > > hi sirs, > > i boot my inspiron 1100 box but it stop at > > db> > > and i can not get out of there. what i did were that i copied > ltmdm.ko from other machine to inspiron at /boot/kernel/ and add > > ltmdm_load="YES" > > at /boot/load.conf > > i just wanted to remove either ltmdm.ko from /boot/kernel/ > or ltmdm_load="YES" from /boot/load.conf > > well, am a newbies for admin. tasks. thanks for any helps and hints. > hi sirs, sorry for the noises. i boot once again and go to loader prompt and then unload load /boot/kernel/kernel boot now that i can get rid of that harm ltmdm.ko once again apologize me for disturbing the lists -- with best regards, psr http://www.thai-aec.org http://www.thai.net/makham ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage and jails and possible alternatives
Chuck Swiger <[EMAIL PROTECTED]> wrote: > Lucas Holt wrote: > [ ... ] > > Personally, I find it odd to run frontpage extensions on a unix host. If > > people want microsoft technology, they should pay for NT hosting. > > I would very much rather administer a Unix box running software which plays > nice with Windows protocols (if that is what the client has & is paying for), > than admin a Windows box. I would second this. At least I know the core OS is secure and stable. The only thing I need to worry about is the Frontpage extension itself. Customers are customers ... they want what they want, and if I don't give it to them, they'll take their money elsewhere. That's one more reason to get it running in a jail. I will report back my success or failure ... -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage and jails and possible alternatives
Tim Traver <[EMAIL PROTECTED]> wrote: > Bill, > > ok, I tested this out for ya, and I couldn't duplicate the issue. FreeBSD > 4.8... Thanks for taking time to research this, Tim. > I put an additional IP on the main interface, and started apache with > Listen IP:80 for each IP. The server has mod_frontpage using apache 1.3.29. > I even tried have the BindAddress in the conf file as well. The only (potential) problem here is that I'm not running mod_frontpage, I'm running the apache13-fp port. I've got a feeling that mod_frontpage is better behaved. > Sorry, I don't have the extra time to install 1.3.31 and recompile for ya, > but I think there is something else going on there... > > Where in the conf file is your Listen directive ? I just uncommented the one from the default config file and put the correct IP in it. > What OS ? 4.9-RELEASE-p7 > Is there > anything listening on port 80 when you have apache off ? No. > Is your IP an > alias to the primary interface ? No. I only have one NIC with one IP at this time ... this is going to change soon, though ... that's why I'm trying to sort this out. > I really don't think that the frontpage module even has the ability to > change what apache binds to... Like I said, you wouldn't think so. I have a feeling the apache13_fp port somehow compiles Frontpage int Apache, or something ... > Anyways, thought I would let you know that I couldn't reproduce it... Like I said. I really appreciate you taking time to look into this. I'm going to find time to try out the mod_frontpage port to see if it's better behaved. > > Tim. > > > At 10:38 AM 6/10/2004, Bill Moran wrote: > >Tim Traver <[EMAIL PROTECTED]> wrote: > > > > > Bill, > > > > > > I use the latest mod_frontpage module with Apache 1.3.31... > > > > > > I haven't tested whether or not it binds to *:80 or not when I specify > > an IP. > > > > > > How are you specifying the IP in the conf file ? Are you just using Listen > > > xxx.xxx.xxx.xxx:80 ? > > > >Both of the following: > > > >Listen xx.xx.xx.xx:80 > >BindAddress xx.xx.xx.xx > > > >I have another server here (used for development) with a fairly vanilla Apache > >install, and changing those same two settings causes it to do what I'd expect. > > > >I can't find any directives in the Frontpage Apache config that might > >cause this > >... but I suppose it's possible that I'm missing something. > > > > > At 09:42 AM 6/10/2004, Bill Moran wrote: > > > >Tim Traver <[EMAIL PROTECTED]> wrote: > > > > > > > > > Bill, > > > > > > > > > > Not sure what you mean that frontpage caused apache to bind to all > > > > > IP's...it shouldn't... > > > > > > > >I agree. > > > > > > > > > The frontpage apache module should respect any of the virtual hosts or > > > > > virtual IP's that you have set up in apache. > > > > > > > >It definately should. > > > > > > > > > The module is just a way for > > > > > apache to run the fp.exe wrapper script around the frontpage binary. I > > > > > don't know how it would even be able to force apache to bind to > > anything... > > > > > > > >Nor do I. > > > > > > > > > Are you sure about that ??? > > > > > > > >Yes. When I configured Apache to only listen on 1 IP address, > > sockstat then > > > >showed it listening on that address in addition to *:80. The exact same > > > >config changes on a machine without fp installed resulted in the expected > > > >behaviour. > > > > > > > >Now, I haven't been idle since I made that first post ... It seems > > there are > > > >two frontpage ports, apache_fp and mod_frontpage. I've got apache_fp > > > >installed. > > > > > > > >Anyone using mod_frontpage that can say whether it's better or worse? > > > > > > > > > At 07:38 AM 6/10/2004, Bill Moran wrote: > > > > > > > > > > >I just learned that if you run Apache+Frontpage, you can't teach > > Apache to > > > > > >only listen on a single IP address. For some reason, Frontpage causes > > > > > >Apache to always bind to all IP addresses. Somehow, this stupidity > > > > doesn't > > > > > >really surprise me too much. > > > > > > > > > > > >The reason I wanted to do this is because I have a machine I want to > > > > > >set jails up on, so I can run multiple instances of Apache. But I > > didn't > > > > > >want to mess with the existing Apache installation right now. > > > > > > > > > > > >Anyway ... in the long run I've got two choices: > > > > > >1) Get Apache+Frontpage running in a jail so it will quit fscking up > > > > the other > > > > > >stuff I'm trying to do on this machine > > > > > >2) Find some alternative to frontpage to provide frontpage > > services that > > > > > >behaves like a proper server. > > > > > > > > > > > >My questions are (respectively): > > > > > >1) Does anyone have Apache+Frontpage successfully running in a > > > > jail? I just > > > > > >thought I'd ask before I spent (wasted?) a lot of time trying to > > > > make it > > > > > >work. > > > > > >2) Can anyone suggest an al
Paging multiple columns in the console
All, I'm moving to FreeBSD from Slackware and have one thing that bugs me a bit. If I do an ls on a big directory, say /usr/bin, I get output in a couple columns (I'm using bash.) In FreeBSD (4.9) If I ls a big directory it will output a couple columns, but I can't page it unless I pipe the output to more or less, and then I get a single column. Is there a way I can keep the multi-column output but still use a pager? This isn't a problem if I'm in X, just console. I know I can hit the (I think) scroll lock and do this, but I'm looking for something that flows a bit better for me. Thanks, r ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SO_LINGER on socket with non-blocking I/O
On Thu, 10 Jun 2004, Chuck Swiger wrote: > Julian Cowley wrote: > > I've been developing an application that attempts to send data from > > one host to another via TCP. The intent is for the data transfer > > to be as reliable as possible, and to log whenever it detects > > that it has lost data (this is for a reliable syslog protocol, > > if you're wondering). Because my application doesn't (yet) have > > application-level acknowledgments, it has to depend on TCP to make > > sure the data gets through reliably. > > OK. TCP is really good at doing what you've asked. :-) Yes, we decided to switch to using TCP just for this reason. I suppose what I'm trying to get at here is that while using TCP for its reliability is easy, getting the kernel to report its progress at the lower levels is turning out to be more difficult than I first thought. This has gone past my original question about blocking, since what I really want to do is detect when the underlying TCP session is encountering difficulty when closing the connection (if I know for certain that the TCP session closed successful, then I can be sure all of the data was sent). That's where I was hoping SO_LINGER would help. I've started to do some testing to find out how SO_LINGER works (when I complete the results I'll post them here). So far, I've found it to be fairly disappointing -- on my testing of an OpenBSD system (haven't been able to do this on an actual FreeBSD system yet), setting SO_LINGER only causes the close() to pause. If the timer expires and the TCP session still hasn't completed, the close() returns success and the TCP shutdown continues in the background (what they call a "graceful shutdown"). In my mind, this makes SO_LINGER completely useless! If the close() always returns success, I can't find out if the TCP session closed successfully. Setting SO_LINGER causes the close() to just, well, linger, but what's the point in that? I'm hoping that FreeBSD will work differently, but I'm not betting on it since most BSD-derived kernels work the same in this respect. > > When closing the socket, I want to make sure that the remaining data > > got through to the other end (or otherwise log something if it didn't). > > I've set SO_LINGER on the socket for this purpose, but one caveat is > > that I also have the socket in non-blocking mode. > > When your local TCP issues a close(), the TCP stack will iterate through a > series of steps (the FIN-WAIT stages) to ensure that any remaining data will > be sent and acknowledged before your local machine actually releases the > socket. See RFC-793, "3.5. Closing a Connection" > >CLOSE is an operation meaning "I have no more data to send." The >notion of closing a full-duplex connection is subject to ambiguous >interpretation, of course, since it may not be obvious how to treat >the receiving side of the connection. We have chosen to treat CLOSE >in a simplex fashion. The user who CLOSEs may continue to RECEIVE >until he is told that the other side has CLOSED also. Thus, a program >could initiate several SENDs followed by a CLOSE, and then continue to >RECEIVE until signaled that a RECEIVE failed because the other side >has CLOSED. We assume that the TCP will signal a user, even if no >RECEIVEs are outstanding, that the other side has closed, so the user >can terminate his side gracefully. A TCP will reliably deliver all >buffers SENT before the connection was CLOSED so a user who expects no >data in return need only wait to hear the connection was CLOSED >successfully to know that all his data was received at the destination >TCP. Users must keep reading connections they close for sending until >the TCP says no more data. It's interesting that the actual RFC differs from the Berkeley socket implementation in subtle ways. In the Berkeley model, close() doesn't implement the CLOSE described above. What they describe seems more like what "shutdown(s, SHUT_WR)" does, which is different. > > My question is, what is the behavior of close() on a socket in > > non-blocking mode when SO_LINGER is set (to a non-zero time)? > > > > There seems to be two, possibly three, possibilities according to > > some web searches I've done: > > > > 1) the close() call immediately returns with an EWOULDBLOCK (EAGAIN) > >error. > > 2) the call blocks anyway regardless of the non-blocking mode setting. > > 3) the call returns immediately after the connection is forcibly reset, > >possibly losing any queued data that was to be sent. > > > > I'm pretty sure the third possibility only happens when SO_LINGER is > > set with a linger time of 0 seconds. > > Remember that the in-process reference to a socket's descriptor is not the > same thing as the kernel's reference to the underlying TCB (or whatever > FreeBSD calls the TCP control block). Even if you close() the descriptor, the > system ought to continue to process any unsent data
ERserver for Postgres from ports
Greetings, I'm curious if anyone had success installing/running the erserver port (databases/erserver) for Postgresql. It doesn't seem to install all files properly after ers_setup (had to copy from examples/erserver and edit them by hand). The next issue was that the Java stuff didn't run. After looking around in the work directory of the port, I was able to build (first using ant, then running build.sh) seemingly all required components. After copying the jar, classes, and lib files/dirs into the home directory for erserver, I finally got the java stuff to run (without throwing errors into the log/stderr file). However, log/replication.log shows these errors: 2004-06-10 17:54:59,807 [main] DEBUG replic - LOGGER STARTED 2004-06-10 17:54:59,832 [main] ERROR replic - ReplicationServer::run: com.postgres.replic.server.ReplicationException: ReplicationServer::initializeProps: java.lang.Exception: ReplicationConfig::loadConfig: java.lang.NullPointerException at com.postgres.replic.server.ReplicationServer.initializeProps(ReplicationServer.java:508) at com.postgres.replic.server.ReplicationServer.run(ReplicationServer.java:139) at com.postgres.replic.server.ReplicationServer.main(ReplicationServer.java:68) Which looks to me like the Java app needs debugging too now... Where did I mess up? Most other ports are cleanly installed with make install, but this one seems to be a nightmare. I'd really appreciate any clues as to how to get the erserver port running. Thanks in advance, Frank signature.asc Description: This is a digitally signed message part
Re: help setting up natd and ipfw on freebsd5.2.1
Thanks for all the help with setting up the natd and ipfw.. I will spend some time trying to learn how to setup the proper firewall for my network. I was woundering what would be the proper cource of action on setting up dns services for the entire network. Should I just setup dns on that gateway? Antoine W. Solomon Jr. ana wrote: hi i dont know if this will help. but you can try using firewall_type="OPEN" oh an you might want to set your: network_interfaces="dc0" ifconfig_dc0="DHCP" if you havent done that already. enjoy. --AMS Hello all, I tried to setup natd on my fbsd 5.2.1 box and fbsd 4.10 box with no luck. What I wanted to do was to setup a gateway for my internal network to my cable provider. On my server box I have two ethernet card dc0 pointing to cable modem and dc1 pointing to hub so that the other computers may connect with my bsd gateway. I managed recompile the kernel with options IPFIREWALL and IPDIVERT and kernel compiled successfully. Then I add natd, gateway and firewall to my rc.conf file gateway_enable="YES" natd_enable="YES' natd_interface="dc0" firewall_enable="YES" firewall_type="/etc/rc.firewall" I wanted to ping an external and internal hosts to see if this configuration worked so I really didn't want to have the firewall up so I added these 3 lines to my rc.firewall file /sbin/ipfw -f flush /sbin/ipfw add divert natd all from any to any via dc0 /sbin/ipfw add pass from any to any I wasn't able to ping any host inside or outside of my computer. When I disabled the ipfw I was able to ping them. Also I wanted to make sure if I needed to configure a dns server on my firewall to allow such services like http and ftp for internal hosts. I know that there are more sophisticated ipfw setups but I wanted to just get the natd setup so I could concentrate on the firewall later on. Thanks if you can help Antoine W. Solomon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
resizeing partion
i have fbsd 4.10 and i need to find out if theres a way to resize a partion and shrink a different one to gain some room .. see what it is is im fairley new to fbsd and i whent with the default err the auto setting for partion sizeing durring sysinstall and now after a few months i found out that one of the partions is to small nameley /var so now i need to find out if theres some way to resize that partion and shrink my main / partion to gain the needed room all with out destroying my files and such that i currentley have install .. IE: nondestructiveley .. thx inadvance for any help on this quistion/issue FreeBSD vampextream.com 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu Jun 3 15:24:56 PDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/VAMPEXTREAM i386 PS: one of the maintainers that incharge of programming the default disk size should make it bigger IE: 500 - 1gig in size for ppl thats new to fbsd or at least meation some where durring install that /var should be larger insize if you plan on haveing a lot of log files and installing quite a few of the ports collation and useing mysql -- Web mail brought to you by vampextream.com.. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using scanner with FreeBSD. A nightmare!
Same problem I had last month. What I did? I comment out the line: device uscanner on my kernel and installed libUSB. My Scanner worked for 2 or 3 times and now it doesn't work anymore. I have FreeBSD 4.10-STABLE Scanner: USB Generic Flatbed Scanner On Fri, 11 Jun 2004 00:38:41 +0200, Christian Hiris <[EMAIL PROTECTED]> wrote: > > On Thursday 10 June 2004 13:15, Rob wrote: > > Olaf Hoyer wrote: > > > > > > I think the warm-up of the device is a bit slow, before it actually will > > > do something. > > > > I find it so terribly slow in comparison to its operation on Windows, > > that I think it's not the HP scanner, but the software, or the way > > I use the software. > > > > Also the quality is miserable. Although that is probably my mistake, > > I use the software with its default settings. It should be strange > > that the defaults result in miserably low quality pictures > > > > I have changed the scan from "Lineart" to "Color"; this allows me to > > have a long, long coffee break until the scan is finished! > > > > > > > > One more thing I do not understand: I always have to give > > "hp:/dev/uscanner0" as the device parameter to the scanner command. > > > > When I do "xscanimage", I get > > [xscanimage] No scanners were identified. If you were expecting something > >different, check that the scanner is plugged in, turned on and > >detected by sane-find-scanner (if appropriate). Please read > >the documentation which came with this software (README, FAQ, > >manpages). > > > > But "xscanimage hp:/dev/uscanner0" works fine. > > > > However, "sane-find-scanner", returns the scanner, vendor, product etc: > > found USB scanner (vendor=0x03f0, product=0x0401) at /dev/uscanner0 > > > > And "scanimage -L" returns: > >No scanners were identified. If you were expecting something different, > >check that the scanner is plugged in, turned on and detected by the > >sane-find-scanner tool (if appropriate). Please read the documentation > >which came with this software (README, FAQ, manpages). > > I did some debugging on that on 5.2-current with sane-backends 1.0.14. > I only have a HP-6270C, but it shows symptoms similar to your HP-5200C. > The USB Controller is a VIA 83C572 chipset. I used xsane when debugging the hp > driver. > > Scenario I. > > 1. Scanner attached to /dev/usb1. > 2. Run xsane, xscanimage and friends under an unprivileged user. > 3. Don't want to pass the [driver:/device] parameter to your scanner app. > > What happens? > > The initialization code steps thru the usb devices until it finds a device > that matches a driver:device in /usr/local/etc/sane.d/. > If a permission for a /dev/usbx device is missing and no matching device could > be found, the initialization code calls sane_exit and the program terminates. > [simply spoken] > > So, if our scanner is attached to /dev/usb1 one need to set "proper" > permissions on /dev/usb0, /dev/usb1 and /dev/uscanner0. > > crw-rw 1 root operator 243, 255 Jun 6 14:10 usb > crw-rw-rw- 1 root operator 243, 0 Jun 6 14:10 usb0 > crw-rw-rw- 1 root operator 243, 1 Jun 6 14:10 usb1 > crw-rw 1 root operator 243, 2 Jun 6 14:10 usb2 > crw-rw 1 root operator 243, 3 Jun 6 14:10 usb3 > crw-rw-rw- 1 root operator 242, 0 Jun 10 19:31 uscanner0 > > Scenario II. > > 1. Scanner is attached to /dev/usb1. > 2. Run xsane, xscanimage and friends under an unprivileged user. > 3. Pass the [driver:/device] opt to your scanner app. (ie. hp:/dev/uscanner) > 4. Modes of /dev/usb* /dev/uscanner0: > > crw-rw 1 root operator 243, 255 Jun 6 14:10 usb > crw-rw 1 root operator 243, 0 Jun 6 14:10 usb0 > crw-rw-rw- 1 root operator 243, 1 Jun 6 14:10 usb1 > crw-rw 1 root operator 243, 2 Jun 6 14:10 usb2 > crw-rw 1 root operator 243, 3 Jun 6 14:10 usb3 > crw-rw-rw- 1 root operator 242, 0 Jun 10 19:31 uscanner0 > > What happens here? > > The great difference here is that /dev/usb0 is left at default mode 660. > In general, modes 666 for /dev/usb1 and /dev/uscanner0 are sufficient, but > device handling by the driver is different. It looks like the driver doesn't > keep the device open (which it does in scenario I.): > > [hp] hp_GetOpenDevice: device /dev/uscanner0 not open > [hp] hp_nonscsi_open: device /dev/uscanner0 opened, fd=24 > [hp] hp_AddOpenDevice: /dev/uscanner0 should not be kept open > > Sometimes when the driver issues a scsi_flush to the scanner the scanner/app > hangs for several minutes. Normally such large delay only occurs as a result > of i/o errors, but not during normal operation (as under scenario I.). > > [hp] scsi_flush: writing 2 bytes: > [hp] 0x 1B 45.E > [waits several minutes here] > > Furthermore setting environment SA
Headaches from auto* and libtool...
Greetings, list! I've been given headaches lately, and I believe the auto* brothers and their buddy, libtool, to be the culprits. It all started when I installed Anjuta, the C/C++ IDE for GNOME. What it basically does for project management is use autoconf, automake and libtool to generate the familiar ./configure script and its like. Now, this all works well and good up until the configure script is run. It will fail with the following message: ... checking whether ln -s works... yes loading cache /dev/null within ltconfig ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information configure: error: libtool configure failed Now, the pickle is that I've got 4 versions of libtool installed, 3 of which are registered in the package database. I've got libtool-1.3.4 (not in the package database), libtool-1.3.5_2 (from origin devel/libtool13), libtool-1.4.3_3 (from origin devel/libtool14) and libtool-1.5.6 (from origin devel/libtool15). And with two versions each of both autoconf and automake installed, I'm suspecting that an unfortunate mix of versions of the various programs is what's causing this failure. I've googled around all day, and the error seems to be fairly common, but I've yet to find a clear answer. I'll tell you what I've tried: I've tried playing with symlinking libtool and libtoolize to different versions of libtool (as the binaries are named libtool13, libtool14, etc), to no avail. I've tried editing ./configure, removing the --no-verify flag, but this seems to always be replaced somehow. I've tried different macros in configure.in for autoconf, like AC_PROG_LIBTOOL and AC_CANONICAL_HOST, but still nothing. I've even tried different values for HOST as an environment variable. I know it's not Anjuta, because the IDE doesn't even need to be running for the error to occur. Basically, I'm stumped. Can anyone here help me? What's so special about these three programs that require numerous versions of each installed on the same system? Or can I uninstall all the older versions, keeping only the newest? Will this even do me any good? Thanks in advance! -Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Bug report 64462
On 2004-06-10 13:41, Bill Moran <[EMAIL PROTECTED]> wrote: >"Chris" <[EMAIL PROTECTED]> wrote: >> I submitted a bug report: >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=64462 >> >> back in March,and didn't notice any followup on it yet. Is there any way to >> know if/when the bug will be addressed, or if someone found a fix for it? > > Considering that it's for 5.X, you might want to subsribe to FreeBSD-current@ > and ask there. If possible, you should also try a newer version of 5.X. If, for any reason, you cannot install -CURRENT just give me a couple of days. It's been a while since I burned my last CD-ROM image, but I can give it a try this weekend on my 5.2-CURRENT workstation at home (I'm running a fairly recent 5.2-CURRENT build earlier this morning) and see if I can reproduce the problem you reported. - Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using scanner with FreeBSD. A nightmare!
On Thursday 10 June 2004 13:15, Rob wrote: > Olaf Hoyer wrote: > > > I think the warm-up of the device is a bit slow, before it actually will > > do something. > > I find it so terribly slow in comparison to its operation on Windows, > that I think it's not the HP scanner, but the software, or the way > I use the software. > > Also the quality is miserable. Although that is probably my mistake, > I use the software with its default settings. It should be strange > that the defaults result in miserably low quality pictures > > I have changed the scan from "Lineart" to "Color"; this allows me to > have a long, long coffee break until the scan is finished! > > > > One more thing I do not understand: I always have to give > "hp:/dev/uscanner0" as the device parameter to the scanner command. > > When I do "xscanimage", I get > [xscanimage] No scanners were identified. If you were expecting something >different, check that the scanner is plugged in, turned on and >detected by sane-find-scanner (if appropriate). Please read >the documentation which came with this software (README, FAQ, >manpages). > > But "xscanimage hp:/dev/uscanner0" works fine. > > However, "sane-find-scanner", returns the scanner, vendor, product etc: > found USB scanner (vendor=0x03f0, product=0x0401) at /dev/uscanner0 > > And "scanimage -L" returns: >No scanners were identified. If you were expecting something different, >check that the scanner is plugged in, turned on and detected by the >sane-find-scanner tool (if appropriate). Please read the documentation >which came with this software (README, FAQ, manpages). I did some debugging on that on 5.2-current with sane-backends 1.0.14. I only have a HP-6270C, but it shows symptoms similar to your HP-5200C. The USB Controller is a VIA 83C572 chipset. I used xsane when debugging the hp driver. Scenario I. 1. Scanner attached to /dev/usb1. 2. Run xsane, xscanimage and friends under an unprivileged user. 3. Don't want to pass the [driver:/device] parameter to your scanner app. What happens? The initialization code steps thru the usb devices until it finds a device that matches a driver:device in /usr/local/etc/sane.d/. If a permission for a /dev/usbx device is missing and no matching device could be found, the initialization code calls sane_exit and the program terminates. [simply spoken] So, if our scanner is attached to /dev/usb1 one need to set "proper" permissions on /dev/usb0, /dev/usb1 and /dev/uscanner0. crw-rw 1 root operator 243, 255 Jun 6 14:10 usb crw-rw-rw- 1 root operator 243, 0 Jun 6 14:10 usb0 crw-rw-rw- 1 root operator 243, 1 Jun 6 14:10 usb1 crw-rw 1 root operator 243, 2 Jun 6 14:10 usb2 crw-rw 1 root operator 243, 3 Jun 6 14:10 usb3 crw-rw-rw- 1 root operator 242, 0 Jun 10 19:31 uscanner0 Scenario II. 1. Scanner is attached to /dev/usb1. 2. Run xsane, xscanimage and friends under an unprivileged user. 3. Pass the [driver:/device] opt to your scanner app. (ie. hp:/dev/uscanner) 4. Modes of /dev/usb* /dev/uscanner0: crw-rw 1 root operator 243, 255 Jun 6 14:10 usb crw-rw 1 root operator 243, 0 Jun 6 14:10 usb0 crw-rw-rw- 1 root operator 243, 1 Jun 6 14:10 usb1 crw-rw 1 root operator 243, 2 Jun 6 14:10 usb2 crw-rw 1 root operator 243, 3 Jun 6 14:10 usb3 crw-rw-rw- 1 root operator 242, 0 Jun 10 19:31 uscanner0 What happens here? The great difference here is that /dev/usb0 is left at default mode 660. In general, modes 666 for /dev/usb1 and /dev/uscanner0 are sufficient, but device handling by the driver is different. It looks like the driver doesn't keep the device open (which it does in scenario I.): [hp] hp_GetOpenDevice: device /dev/uscanner0 not open [hp] hp_nonscsi_open: device /dev/uscanner0 opened, fd=24 [hp] hp_AddOpenDevice: /dev/uscanner0 should not be kept open Sometimes when the driver issues a scsi_flush to the scanner the scanner/app hangs for several minutes. Normally such large delay only occurs as a result of i/o errors, but not during normal operation (as under scenario I.). [hp] scsi_flush: writing 2 bytes: [hp] 0x 1B 45.E [waits several minutes here] Furthermore setting environment SANE_DEFAULT_DEVICE to "hp:/dev/uscanner0" does not work for xsane and xscanimage. According to the manpages it should work. What can you do? A simple way to make your scanner work without the devicename, is to plug the scanners usb cable into usb port 0 and do a 'chmod 666 /dev/usb0'. This should make your gimp-plugin happy. In my mind scanner initialization runs faster and more stable, if the device stays open (as in scenario I.). You can make startup initialization a little faster by removing unneeded
Re: sound card (WAS: FreeBSD 4.10 RELEASE questions)
Message: 8 Date: Wed, 9 Jun 2004 21:55:14 -0400 From: Louis LeBlanc <[EMAIL PROTECTED]> Subject: FreeBSD 4.10 RELEASE questions To: FreeBSD Questions <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Hey everyone. I have a confusing situation here with the new kernel. I just upgraded to 4.10, and in the process, decided to get a moderately updated kernel config. Particularly, I wanted to try to get my sound working again. Here's the thing. I have the following lines in my kernel config: device pcm [deleted details] Problem is that I'm not sure if I should have the following: device pcm0 at isa? irq 10 drq 1 flags 0x0 Everything after "pcm0" is there for the benefit of ISA cards that are not PNP-aware. Your "device pcm" should be entirely adequate for a PCI card that does correct PNP configuration. It certainly works for me. Also, if your system doesn't physically have SIO2 or SIO3, you can remove those statements (which were in the details I deleted above). Note that my fxp0 is using irq 10. Should I just change the irq? Should I leave it and/or the PNPBIOS line out? My system shows several unknown devices which are presumably various features of the motherboard that I'm not using, so don't be too concerned about the unknown device. PCI devices are assigned IRQs dynamically, and you should not need to worry about which device ended up on which IRQ as long as it doesn't conflict with an ISA device in your system. If dmesg.boot shows a "pcm0" device somewhere then your sound card should be working. E.g.: # grep pcm0 /var/run/dmesg.boot pcm0: port 0xe000-0xe0ff irq 5 at device 17.5 on pci0 pcm0: # I believe that in 4.10 you still have to do # cd /dev # sh MAKEDEV snd0 to populate /dev with the appropriate devices after you get the driver loading properly (snd0 is not actually one of them, so don't look for it). I guess you're familiar with that, since you had your sound working in the past, but maybe you forgot. After you've done that, something like # cat /dev/sndstat should tell you what you ended up with, in its own cryptic way. To get the PCI card correctly recognized, you may need to play with the "PNP BIOS" setting in your BIOS configuration, although I don't think that's your problem in this case. If your sound card actually is an ISA device, you need to set the IRQ and possibly DRQ settings in the config line to what the card is expecting. You may also have to go into your device and reserve that IRQ for your ISA device to keep it from being assigned to a PnP device. I'm sure there's some pertinent details I'm leaving out, so don't hesitate to let me know what it is. Thanks for the feedback. I hope that helps. Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Where are the calculations that go with a calculated risk? - Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problems to install FreeBSD 5.0 with USB keyboard
Hi, I'm trying to install FreeBSD 5 using a bootable CD-ROM, but I can get my USB keyboard working. Is there any way to solve this problem? Thanks Rafael Ribeiro ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A project that requires a 'heartbeat' type application
In the last episode (Jun 10), Derrick MacPherson said: > I've been asked to go ahead with a project that will require me to build > several machines, 2 of which are to be used for mysql, one being 'live' > and writeable, the other being a read only backup server. The developers > are Linux people that are used to using an application called hearbeat > that does failover, and I am wondering what I can do in freebsd that is > similiar, if my mysql live server dies, the backup server takes over. I > browsed ports but there's so much there I may be missing something. heartbeat-1.2.1 builds cleanly on FreeBSD boxes and works fine. 1.2.2 looks like it builds but doesn't fail the IP over correctly. I am currently using it to flip between two mysql servers doing master-master replication. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
A project that requires a 'heartbeat' type application
I've been asked to go ahead with a project that will require me to build several machines, 2 of which are to be used for mysql, one being 'live' and writeable, the other being a read only backup server. The developers are Linux people that are used to using an application called hearbeat that does failover, and I am wondering what I can do in freebsd that is similiar, if my mysql live server dies, the backup server takes over. I browsed ports but there's so much there I may be missing something. thanks for any input. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage and jails and possible alternatives
Bill, ok, I tested this out for ya, and I couldn't duplicate the issue. FreeBSD 4.8... I put an additional IP on the main interface, and started apache with Listen IP:80 for each IP. The server has mod_frontpage using apache 1.3.29. I even tried have the BindAddress in the conf file as well. Sorry, I don't have the extra time to install 1.3.31 and recompile for ya, but I think there is something else going on there... Where in the conf file is your Listen directive ? What OS ? Is there anything listening on port 80 when you have apache off ? Is your IP an alias to the primary interface ? I really don't think that the frontpage module even has the ability to change what apache binds to... Anyways, thought I would let you know that I couldn't reproduce it... Tim. At 10:38 AM 6/10/2004, Bill Moran wrote: Tim Traver <[EMAIL PROTECTED]> wrote: > Bill, > > I use the latest mod_frontpage module with Apache 1.3.31... > > I haven't tested whether or not it binds to *:80 or not when I specify an IP. > > How are you specifying the IP in the conf file ? Are you just using Listen > xxx.xxx.xxx.xxx:80 ? Both of the following: Listen xx.xx.xx.xx:80 BindAddress xx.xx.xx.xx I have another server here (used for development) with a fairly vanilla Apache install, and changing those same two settings causes it to do what I'd expect. I can't find any directives in the Frontpage Apache config that might cause this ... but I suppose it's possible that I'm missing something. > At 09:42 AM 6/10/2004, Bill Moran wrote: > >Tim Traver <[EMAIL PROTECTED]> wrote: > > > > > Bill, > > > > > > Not sure what you mean that frontpage caused apache to bind to all > > > IP's...it shouldn't... > > > >I agree. > > > > > The frontpage apache module should respect any of the virtual hosts or > > > virtual IP's that you have set up in apache. > > > >It definately should. > > > > > The module is just a way for > > > apache to run the fp.exe wrapper script around the frontpage binary. I > > > don't know how it would even be able to force apache to bind to anything... > > > >Nor do I. > > > > > Are you sure about that ??? > > > >Yes. When I configured Apache to only listen on 1 IP address, sockstat then > >showed it listening on that address in addition to *:80. The exact same > >config changes on a machine without fp installed resulted in the expected > >behaviour. > > > >Now, I haven't been idle since I made that first post ... It seems there are > >two frontpage ports, apache_fp and mod_frontpage. I've got apache_fp > >installed. > > > >Anyone using mod_frontpage that can say whether it's better or worse? > > > > > At 07:38 AM 6/10/2004, Bill Moran wrote: > > > > > > >I just learned that if you run Apache+Frontpage, you can't teach Apache to > > > >only listen on a single IP address. For some reason, Frontpage causes > > > >Apache to always bind to all IP addresses. Somehow, this stupidity > > doesn't > > > >really surprise me too much. > > > > > > > >The reason I wanted to do this is because I have a machine I want to > > > >set jails up on, so I can run multiple instances of Apache. But I didn't > > > >want to mess with the existing Apache installation right now. > > > > > > > >Anyway ... in the long run I've got two choices: > > > >1) Get Apache+Frontpage running in a jail so it will quit fscking up > > the other > > > >stuff I'm trying to do on this machine > > > >2) Find some alternative to frontpage to provide frontpage services that > > > >behaves like a proper server. > > > > > > > >My questions are (respectively): > > > >1) Does anyone have Apache+Frontpage successfully running in a > > jail? I just > > > >thought I'd ask before I spent (wasted?) a lot of time trying to > > make it > > > >work. > > > >2) Can anyone suggest an alternative to Apache+Frontpage? I prefer > > scp myself > > > >(and there are even spiffy GUI scp clients for Windows) but many > > of these > > > >clients _insist_ on using Frontpage, so I _must_ continue to cater to > > > > them. > > > > > > > >TIA for any answers. > > > > > > > >-- > > > >Bill Moran > > > >Potential Technologies > > > >http://www.potentialtech.com > > > >___ > > > >[EMAIL PROTECTED] mailing list > > > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > >To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > > > > > > > > SimpleNet's Back ! > > > http://www.simplenet.com > > > ___ > > > [EMAIL PROTECTED] mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > > > > >-- > >Bill Moran > >Potential Technologies > >http://www.potentialtech.com > >___ > >[EMAIL PROTECTED] mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > _
Re: SO_LINGER on socket with non-blocking I/O
Julian Cowley wrote: I've been developing an application that attempts to send data from one host to another via TCP. The intent is for the data transfer to be as reliable as possible, and to log whenever it detects that it has lost data (this is for a reliable syslog protocol, if you're wondering). Because my application doesn't (yet) have application-level acknowledgments, it has to depend on TCP to make sure the data gets through reliably. OK. TCP is really good at doing what you've asked. :-) When closing the socket, I want to make sure that the remaining data got through to the other end (or otherwise log something if it didn't). I've set SO_LINGER on the socket for this purpose, but one caveat is that I also have the socket in non-blocking mode. When your local TCP issues a close(), the TCP stack will iterate through a series of steps (the FIN-WAIT stages) to ensure that any remaining data will be sent and acknowledged before your local machine actually releases the socket. See RFC-793, "3.5. Closing a Connection" CLOSE is an operation meaning "I have no more data to send." The notion of closing a full-duplex connection is subject to ambiguous interpretation, of course, since it may not be obvious how to treat the receiving side of the connection. We have chosen to treat CLOSE in a simplex fashion. The user who CLOSEs may continue to RECEIVE until he is told that the other side has CLOSED also. Thus, a program could initiate several SENDs followed by a CLOSE, and then continue to RECEIVE until signaled that a RECEIVE failed because the other side has CLOSED. We assume that the TCP will signal a user, even if no RECEIVEs are outstanding, that the other side has closed, so the user can terminate his side gracefully. A TCP will reliably deliver all buffers SENT before the connection was CLOSED so a user who expects no data in return need only wait to hear the connection was CLOSED successfully to know that all his data was received at the destination TCP. Users must keep reading connections they close for sending until the TCP says no more data. My question is, what is the behavior of close() on a socket in non-blocking mode when SO_LINGER is set (to a non-zero time)? There seems to be two, possibly three, possibilities according to some web searches I've done: 1) the close() call immediately returns with an EWOULDBLOCK (EAGAIN) error. 2) the call blocks anyway regardless of the non-blocking mode setting. 3) the call returns immediately after the connection is forcibly reset, possibly losing any queued data that was to be sent. I'm pretty sure the third possibility only happens when SO_LINGER is set with a linger time of 0 seconds. Remember that the in-process reference to a socket's descriptor is not the same thing as the kernel's reference to the underlying TCB (or whatever FreeBSD calls the TCP control block). Even if you close() the descriptor, the system ought to continue to process any unsent data until the TCP stack succeeds or times out the TCP connection. It may be the case that what you want to use is shutdown(2), instead. In other words, possibility #1 is probably what should happen. #2 may happen if the local platform doesn't handle non-blocking I/O very well. #3 should only happen if you are using a TCP stack which is broken, but some people seem to prefer that, so who can say? -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: flash konqueror
try here: http://freebsd.kde.org/howtos/konqueror-flash.php Radu On Thu, 10 Jun 2004, Osmany Guirola Cruz wrote: hi people i have installed all necesary thing to see flash plugins in the mozillafirefoz browser but i want to see flash plugins in konqueror? what should i do ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage and jails and possible alternatives
Lucas Holt wrote: [ ... ] Personally, I find it odd to run frontpage extensions on a unix host. If people want microsoft technology, they should pay for NT hosting. I would very much rather administer a Unix box running software which plays nice with Windows protocols (if that is what the client has & is paying for), than admin a Windows box. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Frontpage and jails and possible alternatives
One possibility is to run an ftp service instead of frontpage extensions. FrontPage clients can directly connect to ftp servers, although some of the functionality is lost including generating email forms, etc. Of course ftp is not as secure as scp, but users running FrontPage don't care about security anyway. Personally, I find it odd to run frontpage extensions on a unix host. If people want microsoft technology, they should pay for NT hosting. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPv6 and PPP problem
Hello, Mozilla is apparantly broken when it comes to IPv6 and attempting to do DNS lookups. I found numerous google results that report this problem and suggested recompiling the kernel with IPv6 disabled. I did this, and Mozilla is again rip-roaring fast. But now PPP does not work! Does anybody know why PPP does not work when IPv6 is disabled in the kernel and what can I do about it? I am running: FreeBSD 5.2.1-RELEASE-p8 mozilla-1.6_4,2 To disable IPv6, I simply edited my custom kernel config and commented out: #options INET6 and recompiled. Thanks for any info, Duane Winner [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Command to combine several files as a single file, etc.
in message <[EMAIL PROTECTED]>, wrote Stephen Liu thusly... > > Frequently I save/print doucument from Website as > > .html > .pdf > .ps > etc. > > files. If the document consists of several pages then there will > be serveral files. What command line/lines shall I use to combine > file of several pages as a single file (not with 'echo' command). > Or which application on KDE desktop shall I use to achieve this > goal. After a single file created, how can I move pages around > inside the file (not with copy/paste command). Do you want to collect a number of files in various formats in one file to be able to extract any file from the resulting collection? Or, do you want to collect information contained in different files in one single file in only one format? I cannot say anything about the second case. For the first case, there are archive creaters like tar, pax, & cpio. See manual pages for respective commands, and some of the articles from a larger collection ... Archivers: http://www.onlamp.com/lpt/a/1710 Tar: http://www.onlamp.com/lpt/a/2416 Pax: http://www.onlamp.com/lpt/a/2660 Cpio: http://www.onlamp.com/lpt/a/2445 - Parv -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using scanner with FreeBSD. A nightmare! = (VIA USB problem?)
Rob, Does your motherboard use a VIA chip for its USB? From what I have heard, many VIA USB implementations from a few years ago were very buggy, particularly with scanners. I have an old Asus A7V motherboard that works fine with a USB keyboard and mouse through a KVM (I'm using it now) but on Windows at least, a few years ago, I was unable to get any of several scanners to work. It would crap out exactly as you are describing. After much hand-wrangling I finally figured out that the motherboard's USB implementation was funky, and an el-cheapo add-in USB card quickly solved the problem. Evidently this problem was *quite* common on older hardware that used these VIA all-in-one IO chips... You might also want to try a BIOS upgrade. Don't blame it on FreeBSD unless you are sure that the hardware is not at fault. And this particular fault might be one that doesnt show up frequently with other applications. Scanners are pretty demanding on the USB bus... Nicholas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PDF plugin for Mozilla?
--- Lowell Gilbert <[EMAIL PROTECTED]> wrote: > Your Name <[EMAIL PROTECTED]> writes: > > > I'm using Mozilla on FreeBSD 4.9. When I click on > a > > PDF, it prompts me to use gpdf to view it, and > then > > will open it up in a separate window. Is there a > > plugin I can use so that it opens right in the > browser > > window? The only Mozilla plugins I found in the > Ports > > collection were for Flash. > > The port www/plugger will do this. Thanks! That's actually kind of nice, though it took a little fiddling to get right (using gpdf instead of xpdf, for example). Still easier than running Acroread under Linux compat. But it does seem to conflict with other plugins. I had been using mplayerplug-in, but now that no longer works, and the plugger line for mpeg video is not working (I guess I could fix it, but I like mplayerplug-in). Can these work together, or does plugger have to handle everything? Jen __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Quick File Access (QFA) for tape devices in FreeBSD?
Hi, I've got another question regarding tape access in FreeBSD. I am running 5.1Release on the box in question, but didn't see anything else on 4.8Release either. I find that, when using tar or dump, finding and restoring some file from a large archive on tape takes often a long time: - tar just appears to access the tape sequentially, reading it until it has encountered and restored the desired file. Which, when it is near the end of a 12 GB DDS-3 tape takes from minutes to hours. - restore is pretty fast to _find_ the tape index, but -- even though it says it would be quick to skip over parts of a volume to the file to be restored, it does take quite a bit of time to complete as well. 'A long time' here means, significantly longer than the 40 seconds or so that modern DAT hardware needs to access locations on tape using quick file access (QFA): The tape device forwards/rewinds with increased speed to position the head (well, actually: the tape) right above the block of interest, rather than working its way through the whole 400+ feet. For this to work, there needs to be some sort of index file that holds for each file on tape the physical and/or logical position. The OS/2 port of GNU tar (GNU tar version 1.10 - AK 2.58), does offer such a feature, and it is activated with a -D option and works pretty fast: -D --tape-directory [M,]F use/maintain tape directory in file F mode M=abs : use both absolute and relative addressing when available (def) M=rel : use relative addressing only M=rel requires volume labels I have not found anything like that in the versions of tar and dump on FreeBSD 5.1, don't know about bsdtar though. Is it me or is it not implemented? If not, are there any other tools available to us which do allow QFA? And, if not, should I submit this as a suggestion/PR via send-pr for tar and dump, or to the gnu-tar folks for the tar part of it? Cheers, Stefan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
flash konqueror
hi people i have installed all necesary thing to see flash plugins in the mozillafirefoz browser but i want to see flash plugins in konqueror? what should i do ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PDF plugin for Mozilla?
On Thu, 10 Jun 2004 10:14:29 -0700 (PDT) Your Name <[EMAIL PROTECTED]> wrote: > I'm using Mozilla on FreeBSD 4.9. When I click on a > PDF, it prompts me to use gpdf to view it, and then > will open it up in a separate window. Is there a > plugin I can use so that it opens right in the browser > window? The only Mozilla plugins I found in the Ports > collection were for Flash. > > Thanks! > > Jen > installing acrobat reader 5.08 (linux-version) will install nppdf.so. maybe you will have to setup your libmap.conf, so that it uses the right threading-libray. with linux-pluginwrapper flash and pdf-plugins work quite easily. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Bash Startup Files
Hi, I have been trying to clarify what bash startup files are sourced and when. I am using bash-2.05b.007. I have been hunting around on the web and I have found the following summary: For Login shells: On logging in: If `|/etc/profile|' exists, then source it. If `|~/.bash_profile|' exists, then source it, else if `|~/.bash_login|' exists, then source it, else if `|~/.profile|' exists, then source it. On logging out: If `|~/.bash_logout|' exists, source it. For non-login interactive shells: On starting up: If `|~/.bashrc|' exists, then source it. For non-interactive shells: On starting up: If the environment variable |ENV| is non-null, expand the variable and source the file named by the value. If Bash is not started in Posix mode, it looks for |BASH_ENV| before |ENV|. (From http://www.cse.unsw.edu.au/help/doc/info/bash/Bash_Startup_Files.html) Other discussions on this topic essentially state the same thing. After some testing it is not clear to me if bash under FreeBSD 4.9 is working the same way. I have a case where both ~/.profile and ~/.bash_profile exist and both are sourced. This is in contradition to the above statements. Can anybody point me to information to clarify what bash startup files are sourced and when ? Thanks in advance, Arend van der Veen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd 4.5 partitioning
"Brad McGuigan" <[EMAIL PROTECTED]> wrote: > Hi, > > Hope someone out there can help me. I have been charged with looking > after a freebsd 4.5 server and have come across a problem I am not sure > how to resolve. > > Basically, the /var filesystem is 108% full. I have free space on > another filesystem (/usr) and would like to transfer some of this > across. Is this possible? If so, can someone point me in the direction > of instructions to do this? > > I am fairly new to this but keen on learning! I have a few things to add to the advice others gave: Compare the output of "du -hd1 /var" to "df -h". If the amounts are very different, then you probably have programs deleting files but keeping them open, this causes the space to never be freed. In this case, the easy answer is a reboot, but the _correct_ answer is to track down which program is doing this and fix it. If you do the copy/symlink thing, make sure you reboot in single user mode first, otherwise you'll have problems with programs that are trying to use /var while you're doing this. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd 4.5 partitioning
> > Hi, > > Hope someone out there can help me. I have been charged with looking > after a freebsd 4.5 server and have come across a problem I am not sure > how to resolve. > > Basically, the /var filesystem is 108% full. I have free space on > another filesystem (/usr) and would like to transfer some of this > across. Is this possible? If so, can someone point me in the direction > of instructions to do this? > > I am fairly new to this but keen on learning! The first thing I would do is find out what is taking up all the space. Very often it is either one of the logs (in /var/log) that are not rotating off or Email (in /var/mail and /var/spool/mqueue). But it could be other things, especially if you are running a database server. Log in, make yourself root, cd to /var and run du du -sk * Then cd in to the biggest directories and do it again. Keep going down[up?] the tree until you find some things that seem way out of line. Then you have to decide what to do with it. If it is a log file that got too big, maybe all you have to do is clean it out - if some process just ran away for a while. Then, just nuke it and replace it with an empty one - some loggers won't create a new log file if one is not there already. Maybe you have to set up log rotation. See syslog, syslogd, syslog.conf,etc If it is /var/mail then maybe some people have to clean out Email boxes. If it is /var/spool/mqueue, then you will have to figure out why Email is not getting delivered. etc. If it turns out that you can't just clean some left over stuff up, but that you really need more space, then you can move some stuff in to another file system and make a soft link to it quite easily. I would be reluctant to do this with /var/log because it might mean that if two file systems need to be available to do logging, there is just a larger chance of something not being able to log and maybe not running because of it. But, lets say you have MySQL going and /var/db is just growing too much for where it is living. The nicest thing would be if you had more disk to throw at it, but the process is the same if you just move it to a current file system with extra space (/usr you indicated above). So, I will make an example imagining that you had another disk and created a very large file system which you mount as '/work'. Presuming you have done everything to add the disk and filesystem (fdisk, disklabel, newfs, edit /etc/fstab, mount /work) Also, I have a sort of naming convention that helps me keep track of stuff. You can name things as you please. Tar up everything in /var/db| Note that you can do this by cd /var/db| piping a tar -cp - tar -cpf /work/db.tar | to a tar -xp - Then go in to /work and untar it. | but somehow I always feel safer cd /work | to use the intermediate file if mkdir var.db | I have enough room - it requires cd var.db | twice as much space in the new file tar -xpf ../db.tar| system temporarily Now go make the link cd /var | Again, just being overly cautious mv db db.old | preserving the old db while checking ln -s /work/var.db db Check things out by cd-ing to it and making sure things are all there - maybe use your datebase stuff a bit to make sure it is happy. cd /var/db pwd should put you in /work/var.db Then, if everything is all good, clean up after yourself cd /var rm -rf db.old cd /work rm db.tar That should be all it needs. If you put the copy in /usr instead of /work, just substitute that part in the above. jerry > > Cheers > > Brad > > mailto: [EMAIL PROTECTED] > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PDF plugin for Mozilla?
On Thu, Jun 10, 2004 at 10:14:29AM -0700, Your Name wrote: > I'm using Mozilla on FreeBSD 4.9. When I click on a > PDF, it prompts me to use gpdf to view it, and then > will open it up in a separate window. Is there a > plugin I can use so that it opens right in the browser > window? The only Mozilla plugins I found in the Ports > collection were for Flash. > > Thanks! > > Jen Take a look at http://plugindoc.mozdev.org/en-AU/linux.html#Acrobat Perhaps, the acroread 5.08 port will install the nppdf.so file? Nathan pgpBVxP0x1P2P.pgp Description: PGP signature
Re: Bug report 64462
"Chris" <[EMAIL PROTECTED]> wrote: > I submitted a bug report: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=64462 > > back in March,and didn't notice any followup on it yet. Is there any way to > know if/when the bug will be addressed, or if someone found a fix for it? Considering that it's for 5.X, you might want to subsribe to FreeBSD-current@ and ask there. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd 4.5 partitioning
On Thu, Jun 10, 2004 at 06:00:15PM +0100, Brad McGuigan wrote: > Hi, > > Hope someone out there can help me. I have been charged with looking > after a freebsd 4.5 server and have come across a problem I am not sure > how to resolve. > > Basically, the /var filesystem is 108% full. I have free space on > another filesystem (/usr) and would like to transfer some of this > across. Is this possible? If so, can someone point me in the direction > of instructions to do this? > > I am fairly new to this but keen on learning! > > Cheers > > Brad > > mailto: [EMAIL PROTECTED] Perhaps the first thing you should do it to find out what is filling up /var. You can get a general sense by changing to the /var directory and issuing the following command: # du -sh * This should give you the a tally of how big each file and directory is that reside directly in /var. Once you find out where the general problem lies you can futher use 'du' to isolate the problem or start probing around manually. If it turns out that every file is needed then a quick fix would be to create a new directory on /usr, perhaps /usr/var and then copy all the files from /var to /usr/var. The delete the /var directory and all it's contents. Then create a symbolic link at / named var that points to /usr/var: # cd / && ln -s /usr/var Nathan pgpzQPCiDRNX2.pgp Description: PGP signature
Re: Frontpage and jails and possible alternatives
Tim Traver <[EMAIL PROTECTED]> wrote: > Bill, > > I use the latest mod_frontpage module with Apache 1.3.31... > > I haven't tested whether or not it binds to *:80 or not when I specify an IP. > > How are you specifying the IP in the conf file ? Are you just using Listen > xxx.xxx.xxx.xxx:80 ? Both of the following: Listen xx.xx.xx.xx:80 BindAddress xx.xx.xx.xx I have another server here (used for development) with a fairly vanilla Apache install, and changing those same two settings causes it to do what I'd expect. I can't find any directives in the Frontpage Apache config that might cause this ... but I suppose it's possible that I'm missing something. > At 09:42 AM 6/10/2004, Bill Moran wrote: > >Tim Traver <[EMAIL PROTECTED]> wrote: > > > > > Bill, > > > > > > Not sure what you mean that frontpage caused apache to bind to all > > > IP's...it shouldn't... > > > >I agree. > > > > > The frontpage apache module should respect any of the virtual hosts or > > > virtual IP's that you have set up in apache. > > > >It definately should. > > > > > The module is just a way for > > > apache to run the fp.exe wrapper script around the frontpage binary. I > > > don't know how it would even be able to force apache to bind to anything... > > > >Nor do I. > > > > > Are you sure about that ??? > > > >Yes. When I configured Apache to only listen on 1 IP address, sockstat then > >showed it listening on that address in addition to *:80. The exact same > >config changes on a machine without fp installed resulted in the expected > >behaviour. > > > >Now, I haven't been idle since I made that first post ... It seems there are > >two frontpage ports, apache_fp and mod_frontpage. I've got apache_fp > >installed. > > > >Anyone using mod_frontpage that can say whether it's better or worse? > > > > > At 07:38 AM 6/10/2004, Bill Moran wrote: > > > > > > >I just learned that if you run Apache+Frontpage, you can't teach Apache to > > > >only listen on a single IP address. For some reason, Frontpage causes > > > >Apache to always bind to all IP addresses. Somehow, this stupidity > > doesn't > > > >really surprise me too much. > > > > > > > >The reason I wanted to do this is because I have a machine I want to > > > >set jails up on, so I can run multiple instances of Apache. But I didn't > > > >want to mess with the existing Apache installation right now. > > > > > > > >Anyway ... in the long run I've got two choices: > > > >1) Get Apache+Frontpage running in a jail so it will quit fscking up > > the other > > > >stuff I'm trying to do on this machine > > > >2) Find some alternative to frontpage to provide frontpage services that > > > >behaves like a proper server. > > > > > > > >My questions are (respectively): > > > >1) Does anyone have Apache+Frontpage successfully running in a > > jail? I just > > > >thought I'd ask before I spent (wasted?) a lot of time trying to > > make it > > > >work. > > > >2) Can anyone suggest an alternative to Apache+Frontpage? I prefer > > scp myself > > > >(and there are even spiffy GUI scp clients for Windows) but many > > of these > > > >clients _insist_ on using Frontpage, so I _must_ continue to cater to > > > > them. > > > > > > > >TIA for any answers. > > > > > > > >-- > > > >Bill Moran > > > >Potential Technologies > > > >http://www.potentialtech.com > > > >___ > > > >[EMAIL PROTECTED] mailing list > > > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > >To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > > > > > > > > SimpleNet's Back ! > > > http://www.simplenet.com > > > ___ > > > [EMAIL PROTECTED] mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > > > > >-- > >Bill Moran > >Potential Technologies > >http://www.potentialtech.com > >___ > >[EMAIL PROTECTED] mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PDF plugin for Mozilla?
Your Name <[EMAIL PROTECTED]> writes: > I'm using Mozilla on FreeBSD 4.9. When I click on a > PDF, it prompts me to use gpdf to view it, and then > will open it up in a separate window. Is there a > plugin I can use so that it opens right in the browser > window? The only Mozilla plugins I found in the Ports > collection were for Flash. The port www/plugger will do this. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Bug report 64462
I submitted a bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=64462 back in March,and didn't notice any followup on it yet. Is there any way to know if/when the bug will be addressed, or if someone found a fix for it? Thanks, Chris _ Email harvesters eat this: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PDF plugin for Mozilla?
I'm using Mozilla on FreeBSD 4.9. When I click on a PDF, it prompts me to use gpdf to view it, and then will open it up in a separate window. Is there a plugin I can use so that it opens right in the browser window? The only Mozilla plugins I found in the Ports collection were for Flash. Thanks! Jen __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage and jails and possible alternatives
Bill, I use the latest mod_frontpage module with Apache 1.3.31... I haven't tested whether or not it binds to *:80 or not when I specify an IP. How are you specifying the IP in the conf file ? Are you just using Listen xxx.xxx.xxx.xxx:80 ? t At 09:42 AM 6/10/2004, Bill Moran wrote: Tim Traver <[EMAIL PROTECTED]> wrote: > Bill, > > Not sure what you mean that frontpage caused apache to bind to all > IP's...it shouldn't... I agree. > The frontpage apache module should respect any of the virtual hosts or > virtual IP's that you have set up in apache. It definately should. > The module is just a way for > apache to run the fp.exe wrapper script around the frontpage binary. I > don't know how it would even be able to force apache to bind to anything... Nor do I. > Are you sure about that ??? Yes. When I configured Apache to only listen on 1 IP address, sockstat then showed it listening on that address in addition to *:80. The exact same config changes on a machine without fp installed resulted in the expected behaviour. Now, I haven't been idle since I made that first post ... It seems there are two frontpage ports, apache_fp and mod_frontpage. I've got apache_fp installed. Anyone using mod_frontpage that can say whether it's better or worse? > At 07:38 AM 6/10/2004, Bill Moran wrote: > > >I just learned that if you run Apache+Frontpage, you can't teach Apache to > >only listen on a single IP address. For some reason, Frontpage causes > >Apache to always bind to all IP addresses. Somehow, this stupidity doesn't > >really surprise me too much. > > > >The reason I wanted to do this is because I have a machine I want to > >set jails up on, so I can run multiple instances of Apache. But I didn't > >want to mess with the existing Apache installation right now. > > > >Anyway ... in the long run I've got two choices: > >1) Get Apache+Frontpage running in a jail so it will quit fscking up the other > >stuff I'm trying to do on this machine > >2) Find some alternative to frontpage to provide frontpage services that > >behaves like a proper server. > > > >My questions are (respectively): > >1) Does anyone have Apache+Frontpage successfully running in a jail? I just > >thought I'd ask before I spent (wasted?) a lot of time trying to make it > >work. > >2) Can anyone suggest an alternative to Apache+Frontpage? I prefer scp myself > >(and there are even spiffy GUI scp clients for Windows) but many of these > >clients _insist_ on using Frontpage, so I _must_ continue to cater to > > them. > > > >TIA for any answers. > > > >-- > >Bill Moran > >Potential Technologies > >http://www.potentialtech.com > >___ > >[EMAIL PROTECTED] mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > SimpleNet's Back ! > http://www.simplenet.com > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freebsd 4.5 partitioning
Hi, Hope someone out there can help me. I have been charged with looking after a freebsd 4.5 server and have come across a problem I am not sure how to resolve. Basically, the /var filesystem is 108% full. I have free space on another filesystem (/usr) and would like to transfer some of this across. Is this possible? If so, can someone point me in the direction of instructions to do this? I am fairly new to this but keen on learning! Cheers Brad mailto: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage and jails and possible alternatives
Tim Traver <[EMAIL PROTECTED]> wrote: > Bill, > > Not sure what you mean that frontpage caused apache to bind to all > IP's...it shouldn't... I agree. > The frontpage apache module should respect any of the virtual hosts or > virtual IP's that you have set up in apache. It definately should. > The module is just a way for > apache to run the fp.exe wrapper script around the frontpage binary. I > don't know how it would even be able to force apache to bind to anything... Nor do I. > Are you sure about that ??? Yes. When I configured Apache to only listen on 1 IP address, sockstat then showed it listening on that address in addition to *:80. The exact same config changes on a machine without fp installed resulted in the expected behaviour. Now, I haven't been idle since I made that first post ... It seems there are two frontpage ports, apache_fp and mod_frontpage. I've got apache_fp installed. Anyone using mod_frontpage that can say whether it's better or worse? > At 07:38 AM 6/10/2004, Bill Moran wrote: > > >I just learned that if you run Apache+Frontpage, you can't teach Apache to > >only listen on a single IP address. For some reason, Frontpage causes > >Apache to always bind to all IP addresses. Somehow, this stupidity doesn't > >really surprise me too much. > > > >The reason I wanted to do this is because I have a machine I want to > >set jails up on, so I can run multiple instances of Apache. But I didn't > >want to mess with the existing Apache installation right now. > > > >Anyway ... in the long run I've got two choices: > >1) Get Apache+Frontpage running in a jail so it will quit fscking up the other > >stuff I'm trying to do on this machine > >2) Find some alternative to frontpage to provide frontpage services that > >behaves like a proper server. > > > >My questions are (respectively): > >1) Does anyone have Apache+Frontpage successfully running in a jail? I just > >thought I'd ask before I spent (wasted?) a lot of time trying to make it > >work. > >2) Can anyone suggest an alternative to Apache+Frontpage? I prefer scp myself > >(and there are even spiffy GUI scp clients for Windows) but many of these > >clients _insist_ on using Frontpage, so I _must_ continue to cater to > > them. > > > >TIA for any answers. > > > >-- > >Bill Moran > >Potential Technologies > >http://www.potentialtech.com > >___ > >[EMAIL PROTECTED] mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > SimpleNet's Back ! > http://www.simplenet.com > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage and jails and possible alternatives
On Thu, Jun 10, 2004 at 10:38:18AM -0400, Bill Moran wrote: > 2) Can anyone suggest an alternative to Apache+Frontpage? I prefer scp myself >(and there are even spiffy GUI scp clients for Windows) but many of these >clients _insist_ on using Frontpage, so I _must_ continue to cater to them. How about: http://www.webdav.org/projects/ On the server side, mod_dav comes standard with Apache2 and there's a port of mod_dav for Apache 1.3.x There are several WebDAV enabled client packages available, and it's supported in IE 5.0 and MS Office. See also the www/neon port. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpBYJIIh6D7A.pgp Description: PGP signature
unattended install of FreeBSD 5.2.1 does not umount disk properly
I'm trying to do an unattended install of FreeBSD 5.2.1. If I don't include the 'shutdown' command at the end of the install.cfg file, the install works fine, but I have to manually reboot the machine after the install, which is no good for an unattended install. If I do include 'shutdown', then it appears that the disk does not unmount properly before the reboot. The console displays "interrupt was seen but timeout fired" and then prints a number (e.g. 150) over and over again. Then the system reboots, but the new installation has errors on the filesystem and requires me to manually run fsck. Again, this is no good for an unattended installation. Is there anyway to reboot the system from the install.cfg file and have it unmount cleanly? -- Richard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage and jails and possible alternatives
Bill, Not sure what you mean that frontpage caused apache to bind to all IP's...it shouldn't... The frontpage apache module should respect any of the virtual hosts or virtual IP's that you have set up in apache. The module is just a way for apache to run the fp.exe wrapper script around the frontpage binary. I don't know how it would even be able to force apache to bind to anything... Are you sure about that ??? Tim. At 07:38 AM 6/10/2004, Bill Moran wrote: I just learned that if you run Apache+Frontpage, you can't teach Apache to only listen on a single IP address. For some reason, Frontpage causes Apache to always bind to all IP addresses. Somehow, this stupidity doesn't really surprise me too much. The reason I wanted to do this is because I have a machine I want to set jails up on, so I can run multiple instances of Apache. But I didn't want to mess with the existing Apache installation right now. Anyway ... in the long run I've got two choices: 1) Get Apache+Frontpage running in a jail so it will quit fscking up the other stuff I'm trying to do on this machine 2) Find some alternative to frontpage to provide frontpage services that behaves like a proper server. My questions are (respectively): 1) Does anyone have Apache+Frontpage successfully running in a jail? I just thought I'd ask before I spent (wasted?) a lot of time trying to make it work. 2) Can anyone suggest an alternative to Apache+Frontpage? I prefer scp myself (and there are even spiffy GUI scp clients for Windows) but many of these clients _insist_ on using Frontpage, so I _must_ continue to cater to them. TIA for any answers. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" SimpleNet's Back ! http://www.simplenet.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to unsubscribe
On Thu, 10 Jun 2004 12:07:20 -0400 Benjamin Gonzalez <[EMAIL PROTECTED]> wrote: How to unsubscribe?! To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to unsubscribe
Could you please tell me how to unsubscribe from this list. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problems running gdesklets
I've been trying for three days to get Gdesklets to run on my FreeBSD 5.2 system. It's been the most frustrating experience of my very short FreeBSD career. One dependency after the other crashed during make or wouldn't run or couldn't be found. After consulting the www.freebsd.org/gnome pages and running the necessary gnome update scripts, I finally got the Gdesklets port installed and lo and behold, I get the following error when I try to launch it: # gdesklets Traceback (most recent call last): File "/usr/X11R6/bin/gdesklets", line 10, in ? from main import init File "/usr/X11R6/share/gnome/gdesklets/main/__init__.py", line 37, in ? from utils.i18n import Translator File "/usr/X11R6/share/gnome/gdesklets/utils/__init__.py", line 1, in ? from FileWatcher import FileWatcher File "/usr/X11R6/share/gnome/gdesklets/utils/FileWatcher.py", line 3, in ? import gtk File "/usr/local/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line 43, in ? from _gtk import * ImportError: /usr/local/lib/python2.3/site-packages/gtk-2.0/gtk/_gtk.so: Undefined symbol "PyUnicodeUCS2_FromUnicode" --- I have no idea how to begin to fix this or patch it and I'm verging on giving up on the project all together (it's just that those desklets are so damn cool!). Does anybody know how I can solve this issue and finally start enjoying my fancy desktop displays? Thanks in advance, Saket. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
fdisk/label editor say "unable to write data to disk"?
I'm cloning a hard disk on 5.2.1-RELEASE system. I put the new disk in on the secondary IDE channel and rebooted. Using sysinstall, I sliced and labeled the disk. I ran newfs on the new partitions and the mounted them at /mnt. I then realized that I had made a mistake in my partitioning (labeling), so I unmounted all the partitions and relaunched sysinstall to re-label the disk, but now I get an error saying "Unable to write data to disk adX." Fdisk won't write to the disk either. I reset the channel using atacontrol, but this didn't help. To see what would happen, I tried to detach the channel, which was not the one containing the disk the system was booted to. The atacontrol process went into a disk-wait status and I was forced to reboot the system. I read a post from about a year ago that seemed to indicate GEOM might be disallowing me to write the lable. Does anyone have any insight into this and how to avoid it in the future? Thanks, Nathan pgp73cox3xtj9.pgp Description: PGP signature
Re: Frontpage and jails and possible alternatives
Luke Kearney <[EMAIL PROTECTED]> wrote: > On Thu, 10 Jun 2004 10:38:18 -0400 > Bill Moran <[EMAIL PROTECTED]> granted us these pearls of wisdom: > > > > > I just learned that if you run Apache+Frontpage, you can't teach Apache to > > only listen on a single IP address. For some reason, Frontpage causes > > Apache to always bind to all IP addresses. Somehow, this stupidity doesn't > > really surprise me too much. > > > > The reason I wanted to do this is because I have a machine I want to > > set jails up on, so I can run multiple instances of Apache. But I didn't > > want to mess with the existing Apache installation right now. > > > > Anyway ... in the long run I've got two choices: > > 1) Get Apache+Frontpage running in a jail so it will quit fscking up the other > >stuff I'm trying to do on this machine > > 2) Find some alternative to frontpage to provide frontpage services that > >behaves like a proper server. > > > > My questions are (respectively): > > 1) Does anyone have Apache+Frontpage successfully running in a jail? I just > >thought I'd ask before I spent (wasted?) a lot of time trying to make it > >work. > > 2) Can anyone suggest an alternative to Apache+Frontpage? I prefer scp myself > >(and there are even spiffy GUI scp clients for Windows) but many of these > >clients _insist_ on using Frontpage, so I _must_ continue to cater to them. > > > > TIA for any answers. > > Sorry if this is off track but one wonders if you need to have clients > upload to a production box with FP. Can you set up a staging server so > that clients can upload and view content then give them a simple admin > page where they can push a button that sets off an rsync script to the > production box. Your production machine could have all kinds of jails > and fancy stuff but no FP extentions. Any old piece of junk could be > pressed into service as a staging box. At least that way you could do > away with FP on the production box and apache could be jailed for life. Thanks, Luke. That's definately a good idea. The problem is that the "old pieces of junk, pressed into service" are the very reason I'm doing this project. We already have a number of older machines doing various stuff, and I'm trying to rearrange things to make better use of each of the various machines and it's capabilities. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Certain 4.10 apps failing to run as root
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think that Kris has been swallowed up by other efforts at the moment, so I'm moving this to the freebsd-stable list, where it's probably more relevant anyhow. On Thu, 03 Jun 2004 01:35:33 -0600 Anthony Chavez <[EMAIL PROTECTED]> wrote: > I just upgraded one of my machines to 4.10-STABLE from 4.9-STABLE and > certain binaries (such as vim or vipw) when run as root (either with > sudo or su -) freeze up with "rcmdsh: unknown user:" followed by a bunch > of garbage. > > Any thoughts on what could be causing this? On Thu, 03 Jun 2004 07:22:09 -0600 Anthony Chavez <[EMAIL PROTECTED]> wrote: > On Thu, 3 Jun 2004 01:27:57 -0700 Kris Kennaway <[EMAIL PROTECTED]> wrote: >> I've only seen this when something incorrectly links to both libc and >> libc_r. Neither of those four binaries should be linked to libc_r at >> all though. Can you confirm with ldd(1)? > > [EMAIL PROTECTED]:~> ldd /usr/local/bin/vim | egrep 'libc(_r|\.)' > libc.so.4 => /usr/lib/libc.so.4 (0x284c4000) > libc_r.so.4 => /usr/lib/libc_r.so.4 (0x287aa000) > [EMAIL PROTECTED]:~> ldd /usr/sbin/vipw | egrep 'libc(_r|\.)' > libc.so.4 => /usr/lib/libc.so.4 (0x28068000) - -- Anthony Chavez http://www.anthonychavez.org/ mailto:[EMAIL PROTECTED]jabber:[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFAyHpvbZTbIaRBRXERAiWiAJ9WMh4IS1ev+J8gczXKtT3Cj+rbCQCeIkjd 1zjvmkl6qWMgXNJrY6SF6nA= =/XiC -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage and jails and possible alternatives
On Thu, 10 Jun 2004 10:38:18 -0400 Bill Moran <[EMAIL PROTECTED]> granted us these pearls of wisdom: > > I just learned that if you run Apache+Frontpage, you can't teach Apache to > only listen on a single IP address. For some reason, Frontpage causes > Apache to always bind to all IP addresses. Somehow, this stupidity doesn't > really surprise me too much. > > The reason I wanted to do this is because I have a machine I want to > set jails up on, so I can run multiple instances of Apache. But I didn't > want to mess with the existing Apache installation right now. > > Anyway ... in the long run I've got two choices: > 1) Get Apache+Frontpage running in a jail so it will quit fscking up the other >stuff I'm trying to do on this machine > 2) Find some alternative to frontpage to provide frontpage services that >behaves like a proper server. > > My questions are (respectively): > 1) Does anyone have Apache+Frontpage successfully running in a jail? I just >thought I'd ask before I spent (wasted?) a lot of time trying to make it >work. > 2) Can anyone suggest an alternative to Apache+Frontpage? I prefer scp myself >(and there are even spiffy GUI scp clients for Windows) but many of these >clients _insist_ on using Frontpage, so I _must_ continue to cater to them. > > TIA for any answers. Sorry if this is off track but one wonders if you need to have clients upload to a production box with FP. Can you set up a staging server so that clients can upload and view content then give them a simple admin page where they can push a button that sets off an rsync script to the production box. Your production machine could have all kinds of jails and fancy stuff but no FP extentions. Any old piece of junk could be pressed into service as a staging box. At least that way you could do away with FP on the production box and apache could be jailed for life. HTH LukeK -- Luke Kearney <[EMAIL PROTECTED]> ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD use for SANs ?? Reasonable ?
In the last episode (Jun 09), Joe Schmoe said: > What is the world of SAN on FreeBSD like ? Does it exist at all ? There are working fibre-channel drivers for Qlogic and LSI Logic adapters. For the short time I had a test BSD box on our SAN, it performed very nicely. There are no failover or load-balancing capabilities, though. At some point, I hope geom will grow that ability. > More specifically, are there _any_ iSCSI drivers in existence for > FreeBSD ? That's a slightly different question :) I know of two people that claimed to be working on it, but they never announced anything. > If so, how exactly does it work in terms of reallocating storage ? > If I have a large iSCSI disk array, and I have a fbsd server that > suddenly needs more space, how do I expand the partitions already in > use ? Wouldn't I need to unmount the existing partition and resize > it on the array and then remount it ? Or do people just keep adding > more and more discreet partitions from the array as time goes on, > ending up with a fbsd server with serveral mounted filesystems that > were needed over time ? You can grow filesytems by dismounting the volume, growing the slice with fdisk, then running growfs on the filesytem, and remounting. Or you can add another filesystem, which might be better if your backup system does separate filesystems in parallel. If a 500gb volume takes 4 hours to back up, two 250's will only take 2 if you've got 2 tape drives. Depends on your setup. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-current boot bring to db> prompt
hi sirs, i boot my inspiron 1100 box but it stop at db> and i can not get out of there. what i did were that i copied ltmdm.ko from other machine to inspiron at /boot/kernel/ and add ltmdm_load="YES" at /boot/load.conf i just wanted to remove either ltmdm.ko from /boot/kernel/ or ltmdm_load="YES" from /boot/load.conf well, am a newbies for admin. tasks. thanks for any helps and hints. -- with best regards, psr http://www.thai-aec.org http://www.thai.net/makham ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Frontpage and jails and possible alternatives
I just learned that if you run Apache+Frontpage, you can't teach Apache to only listen on a single IP address. For some reason, Frontpage causes Apache to always bind to all IP addresses. Somehow, this stupidity doesn't really surprise me too much. The reason I wanted to do this is because I have a machine I want to set jails up on, so I can run multiple instances of Apache. But I didn't want to mess with the existing Apache installation right now. Anyway ... in the long run I've got two choices: 1) Get Apache+Frontpage running in a jail so it will quit fscking up the other stuff I'm trying to do on this machine 2) Find some alternative to frontpage to provide frontpage services that behaves like a proper server. My questions are (respectively): 1) Does anyone have Apache+Frontpage successfully running in a jail? I just thought I'd ask before I spent (wasted?) a lot of time trying to make it work. 2) Can anyone suggest an alternative to Apache+Frontpage? I prefer scp myself (and there are even spiffy GUI scp clients for Windows) but many of these clients _insist_ on using Frontpage, so I _must_ continue to cater to them. TIA for any answers. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Arghhh!
On Thu, 10 Jun 2004, LW Ellis wrote: > Apparently I have not been able to install FreeBSD correctly yet. > I run the installation floppies, and everything seems ok. > The kernel Configuration utility never runs.. > Did I miss something in the instructions.. > My understanding is that this should launch automatically. > I get a blue screen asking me to install kernel drivers from a floppy. > Do I need to make a driver floppy with drivers.flp? > > What I get is the main sysinstall menu. > I downloaded the FreeBSD 5.2.1 iso images and they seem fine. > 5.x dont have the same install as <5.x, it just goes pretty much straight to sysinstall. > > Later, > Leon > A fanatic is one who can't change his mind and won't change the subject. > Sir Winston Churchill > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: /usr/sbin/bootpef: Operation not permitted
my thanks i was being a git. and forgot to umm disable securelevel. i remembered that if its set to >0 it fails thanks again and my apologies. --- BSDBoy <[EMAIL PROTECTED]> wrote: > May I have a look at /etc/fstab, /etc/make.conf and > /etc/rc.conf? > > BSDBoy > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of eodyna > Sent: Thursday, June 10, 2004 17:12 > To: [EMAIL PROTECTED] > Subject: /usr/sbin/bootpef: Operation not permitted > > Hi Guys, > > anyone seen this error message before? > > install -s -o root -g wheel -m 555 bootpef /usr/sbin > install: /usr/sbin/bootpef: Operatin not permitted > *** Error code 71 > > Stop in /usr/src/libexec/bootpd/tools/bootpef. > *** Error code 1 > > Stop in /usr/src/libexec/bootpd/tools. > *** Error code 1 > > Stop in /usr/src/libexec/bootpd. > *** Error code 1 > > Stop in /usr/src/libexec. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > I get this error when im in single user mode and > running a make installworld. > > i cvsuped my src and ports tree , ran a make > buildworld then this .. > > any assistance would be of great help > > thanks peeps. > > :P > > Find local movie times and trailers on Yahoo! > Movies. > http://au.movies.yahoo.com > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > > > ATTACHMENT part 2 application/octet-stream name=smime.p7s Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using scanner with FreeBSD. A nightmare!
On Thu, 10 Jun 2004, Rob wrote: > Olaf Hoyer wrote: > > > > Just checked some archives to get the grasp... > > Well, on the german lists we had this discussion about scanner > > compatibility some time ago, and back then I tested our Scanner @work > > (also a 5200c) with my notebook. > > Could you give me a pointer to this discussion? > Since I do understand German, I could learn from this without > reinventing the wheel. http://www.freebsd.de/archive/de-bsd-questions/de-bsd-questions.200312/0542.html > A side effect of this is (I believe), that sane doesn't work as a plugin > with Gimp. I think Gimp first tries to probe the scanner devices, it doesn't > get any, so the plugin doesn't work. Or something like this. > (Yes, I have compiled sane with "WITH_GIMP=yes"). IIRC you have to compile GIMP also with the option to use sane, but I'll check it out... HTH Olaf -- Olaf Hoyer[EMAIL PROTECTED] Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Modem configuration
FreeBSD does not work using an winmodem. Yes the ltmdm port purpose is to provide the software drives for winmodem modems. That being said, here is what that really means. Winmodems is manufactured specially for the ms/windows market. They are cheaper because the DSP and controller chips are replaced with software drivers. There are many different manufactures of PCI winmodems and even some USB modems are based on the winmodem design. Each manufacture may use an different combination of chips on their winmodems. The itmdm port provides the software drivers just for winmodems that are manufactured using the Lucent chips and even then only for certain versions of the Lucent chips. The general rule of thumb is to visual inspect the winmodem card for chips marked with the Lucent name on them as the first step in determining if the ltmdm port may work for you. In your case, you can not do this visual inspection. The best recommendation is to try the ltmdm port, if it works in your case, your lucky, if not get your self an external serial modem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of miguel calvo Sent: Thursday, June 10, 2004 12:35 AM To: [EMAIL PROTECTED] Subject: Modem configuration Hi: I have installed FreeBSD 5.2 in my notebook (Compaq Evo N800v). The modem is a Agere Win Modem. It is possible that it can configure and use the modem to create a dial up Internet connection? The port comms/ltmdm is use for this? Thanks Miguel Calvo San Jose, Costa Rica. _ Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, YupimMSN Compras: [1]Haz clic aquí References 1. http://g.msn.com/8HMAES/2731??PS=47575 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
/usr/sbin/bootpef: Operation not permitted
Hi Guys, anyone seen this error message before? install -s -o root -g wheel -m 555 bootpef /usr/sbin install: /usr/sbin/bootpef: Operatin not permitted *** Error code 71 Stop in /usr/src/libexec/bootpd/tools/bootpef. *** Error code 1 Stop in /usr/src/libexec/bootpd/tools. *** Error code 1 Stop in /usr/src/libexec/bootpd. *** Error code 1 Stop in /usr/src/libexec. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I get this error when im in single user mode and running a make installworld. i cvsuped my src and ports tree , ran a make buildworld then this .. any assistance would be of great help thanks peeps. :P Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using scanner with FreeBSD. A nightmare!
Olaf Hoyer wrote: Just checked some archives to get the grasp... Well, on the german lists we had this discussion about scanner compatibility some time ago, and back then I tested our Scanner @work (also a 5200c) with my notebook. Could you give me a pointer to this discussion? Since I do understand German, I could learn from this without reinventing the wheel. I think the warm-up of the device is a bit slow, before it actually will do something. I find it so terribly slow in comparison to its operation on Windows, that I think it's not the HP scanner, but the software, or the way I use the software. Also the quality is miserable. Although that is probably my mistake, I use the software with its default settings. It should be strange that the defaults result in miserably low quality pictures I have changed the scan from "Lineart" to "Color"; this allows me to have a long, long coffee break until the scan is finished! One more thing I do not understand: I always have to give "hp:/dev/uscanner0" as the device parameter to the scanner command. When I do "xscanimage", I get [xscanimage] No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by sane-find-scanner (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). But "xscanimage hp:/dev/uscanner0" works fine. However, "sane-find-scanner", returns the scanner, vendor, product etc: found USB scanner (vendor=0x03f0, product=0x0401) at /dev/uscanner0 And "scanimage -L" returns: No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). Is there a configuration file where I should define the default scanner, i.e. "hp:/dev/uscanner0" ? A side effect of this is (I believe), that sane doesn't work as a plugin with Gimp. I think Gimp first tries to probe the scanner devices, it doesn't get any, so the plugin doesn't work. Or something like this. (Yes, I have compiled sane with "WITH_GIMP=yes"). Thanks for the help. Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: java not running .jar files without absolute path. (take II)
On Wed, 9 Jun 2004 [EMAIL PROTECTED] wrote: > hello jan, > > > echo $JAVA_HOME > JAVA_HOME: Undefined variable. > > hmmm. i don't recall ever setting that variable. yet, i do recall > this not being an issue with previous installs of java. > > is JAVA_HOME a variable that is required? shouldn't the $PATH entry be > sufficient? Well, the path entry only suffices on my installation; I merely hypothesised that an erroneous setting of that variable might be the cause. If I were you I'd take this to the freebsd-java list, there's more of a concentration of expertise there :-) -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ New Freedom of Information Act: theirs, to yours. Happy now? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using scanner with FreeBSD. A nightmare!
On Thu, 10 Jun 2004, Rob wrote: > even get the image file. But then the problems start. > > A second scan seems to hang (well, how long am I supposed to wait?). > > I killed the app, restarted it; again hanging. > But I was patientafter 5 or 10 minutes suddently the window > popped up. I clicked on "Scan", which hangs the application again. Hi! Just checked some archives to get the grasp... Well, on the german lists we had this discussion about scanner compatibility some time ago, and back then I tested our Scanner @work (also a 5200c) with my notebook. I had 4.9 running, and used xsane together with gimp to aquire the pictures. Due to laziness, and because I only needed a handful of scans, I decided to do everything as root, also running X11 as root (I know, bad idea, but this was just for testing only). I think the warm-up of the device is a bit slow, before it actually will do something. Well, I think I will be there tomorrow @work, so if the issue still persists, I think I can put sane again on my notebook and have a few tests. Olaf -- Olaf Hoyer[EMAIL PROTECTED] Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Still no go with Postfix
On Wed, Jun 09, 2004 at 08:18:47PM -0700, Bryan Cassidy wrote: [...] > Here is the last few lines or so from /var/log/mail > > Jun 9 22:09:27 bsdjunky postfix/smtp[209]: 01BFD56F: > to=<[EMAIL PROTECTED]>, relay=none, > delay=10125, status=deferred (connect to > mx4.mail.yahoo.com[216.155.197.63] > : Operation timed out) This one is saying that outoing smtp isn't working. Is your firewall allowing outgoing TCP to port 25? Your ISP may be also be blocking this. [...] > Jun 9 22:10:00 bsdjunky postfix/smtp[210]: DAA9F598: > to=<[EMAIL PROTECTED]>, relay=none, delay=0, > status=bounced (Host or domain name not found. Name > service error > for name=bsdjunky.homeunix.org type=A: Host not > found) This is another error, indicating that your DNS or /etc/hosts doesn't have the entry for bsdjunky.homeunix.org. Cheers. -- Jonathan Chen | To do is to be -- Nietzsche <[EMAIL PROTECTED]> | To be is to do -- Sartre | Scooby do be do -- Scooby ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Modem configuration
On Thu, 2004-06-10 at 06:34, miguel calvo wrote: >Hi: > >I have installed FreeBSD 5.2 in my notebook (Compaq Evo N800v). > >The modem is a Agere Win Modem. It is possible that it can configure >and use the modem to create a dial up Internet connection? > Hi! No, unfortunately FreeBSD does not support winmodems as their functionality is generally implemented via software drivers only available for Windows. See http://www.freebsd.org/doc/en_US.ISO8859-1/articles/laptop/x52.html Cheers, -- Nelis Lamprecht PGP: http://www.8ball.co.za/pgpkey/nelis.asc "Unix IS user friendly.. It's just selective about who its friends are." signature.asc Description: This is a digitally signed message part
RE: VPN server
> I am looking for some recomendations for a powerful (yet simple if > possible) VPN server. You have two options, there is 'mpd' and 'PoPToP'. I have run them both, but mpd seems to support Microsoft clients with less hassle (at least in my experience). > At present I will need to only have access to one other network in a > different office running Win2K PPTP. Hopefully I will need to expand in > the future to other networks that may or may not be MS based. This can be done using ip routing. You can create a static route between the two networks on the PPTP server and client. The windows client will get its configuation data from the VPN Server (FreeBSD). However, You may want to add a static route to FreeBSD that will send remote LAN specific traffic down the VPN link. Pretend that your remote network in the office is numbered 192.168.20.1/24. myUnix# route add -net 192.168.20 192.168.20.1 255.255.255.0 One other thing to disable (its on by default) is that the Windows implimentation of the VPN client will route all traffic over the VPN. I doubt that this is what you want, and you can disable it in the VPN/PPTP connection properties on the windows machine. In Windows XP Professional, I do the following. Open the VPN Connection Properties. Select the "Networking" Tab. Select "Internet Protocol (TCP/IP)" and click properties. Click on "Advanceed". Uncheck "Use default gateway on remote network". Both products (mpd and poptop) will work, but they both require a little bit of configuration. The current mpd in the ports tree has some examples you may want to look at. > I would like if possible for the connections to be completly transparent > to a user. Best case senario is the user signs on to thier FreeBSD (I am > in a mixed network so there are a few XP systems also) system and opens up > an application (or browse to a share on the other network) that connects > to the other network and it connects without any more user intervention. Well, if you have a FreeBSD box in both places, there are lots of other options as well. My friend Nick runs a FreeBSD machine and we use a 'gif' tunnel (IPv4 over IPv4) with IPSec encrypting the data before it goes over the wire. There other solutions as well such as 'nos-tun'. I think that 'nos-tun' is part of the base installation and uses the 'tun' device (part of the GENERIC kernel) by default. > > LOL I am not asking much am I? Not at all. '-questions' is a good place for this question. In fact if you search through the archives, I have posted similar VPN questions in the past to this same list. > > Thank you, > Joshua Lewis Aaron Burke (private email address because I HATE spam) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What is mcopidl ? - breaking kde upgrade
Murray Taylor wrote: > On Wed, 2004-06-09 at 18:14, Kent Stewart wrote: >> As far as arts is concerned, did you try doing >> portupgrade -f arts >> >> Kent > > Was doing portupgrade -R kdebase when it bit the first time > > Dug into the script log and found that it seemed to be > related to arts so have done (successfully) portupgrade -Rf arts > yet a subsequent portupgrade kdebase still bombs out. > > I do notice that it is finding some previous config file for kde > and I am wondering if that has got bent. > > any other suggestions? [please CC any answers, I'm not subscribed] The same thing happened to me. It's probably a bug in the Makefile somewhere but I didn't have the time to look this up. After the 'make install' command in the /usr/ports/x11/kdebase3/ directory if you try something like this: [EMAIL PROTECTED]: ~] $ ll /usr/local/bin | grep mcopidl -r-xr-xr-x 1 root wheel 274456 May 9 17:20 mcopidl [EMAIL PROTECTED]: ~] $ you'll see that the mcopidl file will have a prefix of 'freebsd-i386-portbld' or something similar which is breaking all the other ports who are depending on this file. Actually, there are a lot of files affected by this so you should manually remove the prefix from all of them with the help of a shell script in order to fix the problem. Then you can continue normally with the ports who depend on kdebase. HTH. > mjt -- "To err is human, to forgive, beyond the scope of the Operating System" Yannis Kotsinos, running FreeBSD 5.2.1-RELEASE-p8, up 37 mins digital roadmap: [http://users.med.auth.gr/~zookie/] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
HTTPtunnel hangs with proxy
Hello, has someone got an idea, what I'm doing wrong? I'm trying to get httptunnel to work via a proxy. I have observed the following behaviour under FBSD-4.5R as well as under 5.2.1R, with apache-2.0.48_1 as well as with apache-1.3.22_7 and with httptunnel-3.3 as well as with httptunnel-3.0.5. Finally, I reduced it to the following setting: (I tried different options for proxy-buffer size und -timeout without any effect): telnet 127.0.0.1 2023 | htc -F 2023 -P 127.0.0.1:80 127.0.0.1:8080 || httpd (as the proxy and at least my Netscape is happy) || hts -F 127.0.0.1:23 8080 | telnetd After the connect to htc I get no further reaction from telnet. I can send a CR to htc, where it simply sits around. All connections are in state ESTABLISHED, only the one to telnetd does not exist at that time. htc waits in a read for reply from the proxy, while hts at the same time also waits for data from the proxy on the first of two connections. The proxy has two connections open to either htc and hts, but in the Log of hts there is only the first of them noted. (htc sent a POST and a GET and waits now for the reply to the GET. The proxy, however, sent the GET to hts on the second connection, whereas hts waits in a read in the first one.) Only after killing htc the proxy sends its data to hts, which then in turn opens the connection to telnetd and (after stopping hts) closes it again. Has someone out there successfully got such a setting (httptunnel via a proxy) working? How do I get httptunnel to get the proxy to forward the data (POST-request) immediately? Does anyone now of an alternative to httptunnel? (I tried htun-0.9.5 but gave up as it's too hard Linux-style.) Unneccessary to note, but without proxy the connection works fine. Regards and thanks, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkgdb -F question
On Wed, Jun 09, 2004 at 10:49:16PM -0400, Bart Silverstrim wrote: > I am working on an installation of Metadot. Running a portversion on > the server yielded an error, and I suspect it's because part of the > instructions had several CPAN modules installed via the CPAN shell > rather than just ports. > > Here's what I was getting: > > # pkgdb -F > ---> Checking the package registry database > Missing origin: bsdpan-MIME-tools-5.411 > -> Ignored. (the package is held; specify -f to force) > Missing origin: bsdpan-MailTools-1.62 > -> Ignored. (the package is held; specify -f to force) > Missing origin: bsdpan-libwww-perl-5.79 > -> Ignored. (the package is held; specify -f to force) > Stale dependency: mod_perl-1.29 -> p5-libwww-5.79 (www/p5-libwww): > p5-XML-Parser-2.34_1 (score:20%) ? ([y]es/[n]o/[a]ll) [no] > New dependency? (? to help): ? > [Enter] to skip, [Ctrl]+[D] to delete, [.][Enter] to abort, [Tab] to > complete > New dependency? (? to help): . > Abort. > *** > > What is the answer I'm supposed to give, so that portupgrade will work > and the system won't get fouled up? Type in 'bsdpan-libwww-perl-5.79' as the new dependency, since that's what's providing the functionality on your system. > Advice? If a CPAN module is available from ports (as p5-Foo-Bar) then it's best to install the ports version. Most of the popular perl modules are available as ports, and they are generally pretty much up to date. Only use BSDPAN when there isn't a port of the module you want, or you absolutely must have the latest version, and the port hasn't been updated yet. BSDPAN is cool, but it isn't quite a seamless drop-in replacement for actual port: you can get the odd hiccough while using it. To replace bsdpan-libwww-perl-5.79 with p5-libwww-5.79 you should be able to do: # portupgrade -o www/p5-libwww -f bsdpan-libwww-perl-5.79 which will automatically update all of the pkgdb dependency links for you. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpmSEHSwpsuN.pgp Description: PGP signature
Re: Arghhh!
On Thu, 10 Jun 2004, LW Ellis wrote: Apparently I have not been able to install FreeBSD correctly yet. I run the installation floppies, and everything seems ok. The kernel Configuration utility never runs.. Did I miss something in the instructions.. My understanding is that this should launch automatically. I get a blue screen asking me to install kernel drivers from a floppy. Do I need to make a driver floppy with drivers.flp? As long as you run some average kind of PC you can safely skip kernel configuration. Regards, Uli. What I get is the main sysinstall menu. I downloaded the FreeBSD 5.2.1 iso images and they seem fine. Later, Leon A fanatic is one who can't change his mind and won't change the subject. Sir Winston Churchill ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Arghhh!
Apparently I have not been able to install FreeBSD correctly yet. I run the installation floppies, and everything seems ok. The kernel Configuration utility never runs.. Did I miss something in the instructions.. My understanding is that this should launch automatically. I get a blue screen asking me to install kernel drivers from a floppy. Do I need to make a driver floppy with drivers.flp? What I get is the main sysinstall menu. I downloaded the FreeBSD 5.2.1 iso images and they seem fine. Later, Leon A fanatic is one who can't change his mind and won't change the subject. Sir Winston Churchill ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"