Scanner HP 5200C: can someone please help me? I'm lost!

2004-06-09 Thread Rob Lahaye
Hi, I have an HP 5200C scanner, attached over USB. OS is FreeBSD 4-Stable. In the kernel configuration file, I have this for usb support: device scbus # SCSI bus (required) device da # Direct Access (disks) device uhci# UHCI PCI-USB

mergemaster: schg flag for temproot/var/emtpy ??

2003-09-14 Thread Rob Lahaye
Hi, I am trying to learn the buildworld and mergemaster process from the Handbook. The handbook says: [...] To begin simply type mergemaster at your prompt, and watch it start going. [..] SO I did type mergemaster and all went well. Decided then to remove the temproot directory, but failed!

Q: mergemaster 'm'-merge option results in empty file

2003-09-14 Thread Rob Lahaye
Hi, I'm trying to get grip of mergemaster. Either my logic is up-side-down or mergemaster is not so intuitive, but learning mergemaster seems a tough process for me. My problem now: # mergemaster -v This does some things, and then presents me a list of files that are only in my installed

Can't open audio device /dev/dsp: Device busy ?

2003-09-14 Thread Rob Lahaye
Hi, How can I find out which app. keeps /dev/dsp busy? Without any other sound application running, I got this message when starting mplayer or realaudio. Somehow the system got muddled up. After some random trial and error, I finally discovered that everything came back to normal when I

X -query localhost results in blank screen !?!

2003-09-16 Thread Rob Lahaye
Hello, I thought I more or less understand how to handle these things in X, but I am totally puzzled here. For me, there are three crucial files /etc/ttys: ttyv8 /usr/X11R6/bin/xdm -nodaemon xterm on secure and /usr/X11R6/lib/X11/xdm/xdm-config: ! SECURITY: do not listen

Re: Q: mergemaster 'm'-merge option results in empty file

2003-09-16 Thread Rob Lahaye
Thank you so much for the long and detailed description. I'm waiting for the first release candidate of 4.9 to test it out. (BTW: RC1 should have been there already; is there a delay?). Regards, Rob. Matthew Seaman wrote: On Sun, Sep 14, 2003 at 08:46:52PM +0900, Rob Lahaye wrote: What

Re: Updating SSH, patch failed?

2003-09-17 Thread Rob Lahaye
Scott Schappell wrote: Greetings: I ran the patch process exactly as listed in the advisory. I'm currently running 4.8p3 built from source. After running the instructions verbatim, sshd shows the following version string: OpenSSH_3.5p1 FreeBSD-20030201, SSH protocols 1.5/2.0, OpenSSL

PRERELEASE kernel: top command gives rubbish output !?!

2003-09-17 Thread Rob Lahaye
I have compiled and installed the STABLE cvsup'ed kernel sources, rebooted and discovered that the 'top' command (still from 4.8-RELEASE) now outputs rubbish: $ top -b last pid: 10630; load averages: 1.91, 1.31, 0.59 up 0+00:33:0310:04:48 21 processes: 1 starting, 1 running, 1

Re: PRERELEASE kernel: top command gives rubbish output !?!

2003-09-17 Thread Rob Lahaye
Francis A. Vidal wrote: Did you do a 'make installworld' after you installed the new kernel (4.9-PRERELEASE)? Just double checking: 'make installworld' involves being very careful with my /etc files and the use of mergemaster etc. Right? It's my first time ever to sync my system with STABLE.

Re: Recompiled kernel PRERELEASE: top command gives rubbish output !?!

2003-09-17 Thread Rob Lahaye
Daniel wrote: On 18 Sep 2003 at 10:07, Rob Lahaye wrote: I have compiled and installed the STABLE cvsup'ed kernel sources, rebooted and discovered that the 'top' command now outputs rubbish: [Snip] Is there a quicker fix than recompiling the whole base system (base system now is 4.8

Re: randomize execution the a script?

2003-09-18 Thread Rob Lahaye
Gil Agno Virtucio wrote: Hi. I want to randomize the execution of a shell script. Can i use cron to do this? or are there other available tools that i can use to do this? See 'man 6 random' and 'man sleep'. Then try doing something like this in the background: #!/bin/sh while true do

Re: randomize execution the a script?

2003-09-18 Thread Rob Lahaye
Charles Howse wrote: I don't happen to have random installed on my system, however jot is It's in /usr/games/random of FreeBSD 4.8. Won't randomNumber=$? Just return 0 if the previous command completes successfully? Shouldn't it be: randomNumber=`random -e 60` No. In 'man 6 random', it

Re: XFree86 -- Gamma Correction

2003-09-18 Thread Rob Lahaye
Michael Vondung wrote: Hello, all, I successfully managed to install the FreeBSD nVidia video drivers, but ran into a problem that is apparently X related: How does one tune the gamma correction? man XFree86 suggests the command line option -gamma value, where value is a number between 0.1

Re: Problem installing/upgrading QT3.2

2003-09-20 Thread Rob Lahaye
Dragoncrest wrote: gmake[2]: *** No rule to make target `/usr/X11R6/include/qwindowsxpstyle.h', needed by `.obj/release-shared-mt/qstylefactory.o'. Stop. My guess would be that there's an error in the make file or build scripts for this. Since this is happening on the

Re: Problem installing/upgrading QT3.2

2003-09-21 Thread Rob Lahaye
Dragoncrest wrote: I agree. I'm waiting till someone totally sorts this out. Cause it seems like the Band-Aid to get one thing fixed breaks something else. So for the time being I'm not touching anything. At 08:19 PM 9/20/03 -0500, Larry Rosenman wrote: and then Arts blows

Port: while installing gnome2: gnome-config: not found ??

2003-09-21 Thread Rob Lahaye
Hi, I'm installing from scratch gnome2 (not upgrading!), which I do by installing the meta-port (see below). This goes on for some time and then ends with an error, that it cannot find gnome-config. Whaah, I'm installing gnome Is there a circular dependence in the gome2 port? What to do?

How to patch and fix a broken port?

2003-09-21 Thread Rob Lahaye
Hi, I have never done this. So I apologize for my ignorant questions... Last week I discovered that the molden port is broken in many ways (md5 sum wrong, Mesa depence absent install broken). I reported it to the freebsd-ports mailing list and to the maintainer. I even attached a sort of

Re: A question about host...

2003-09-24 Thread Rob Lahaye
Thomas Spreng wrote: Hello, On Wed, Sep 24, 2003 at 09:51:38AM -0400, Payne wrote: Hi, I am wanting to use host.allow and host.deny to make my box more secure. Is there a site that can explain how to use them. hosts.deny is depricated just use hosts.allow. Hmmm, man hosts_access

Re: Default route dissapears constantly

2003-09-24 Thread Rob Lahaye
Scott Schappell wrote: John Straiton wrote: Hello, I'm having a doozy of a problem keeping a default route set up This has been discussed heavily in the -stable list. It seems the arp patch (incorporated into the world of 4.9, 4.8, et al) caused a loss of default routes on some

Re: What means 'architecture'?

2003-09-29 Thread Rob Lahaye
Piet Slaghekke wrote: Hello, When downloading freebsd I am asked what architecture. What does this mean and how do I determine this? Choose a proper subject when asking question. I think only two architectures are supported for the stable 4.x releases: i386 (the 'regular' PC type) and

Re: CUPS and HP LaserJet 4V printer: variable width font becomesfixed width

2003-07-29 Thread Rob Lahaye
Johnson wrote: On Sat, Jun 21, 2003 at 11:54:23AM +0900, Rob Lahaye wrote: Glenn Johnson wrote: On Fri, Jun 20, 2003 at 05:59:10PM +0900, Rob Lahaye wrote: Since I have upgraded to FreeBSD 4.8 (with cups-1.1.18), printing has a problem with variable width fonts. Variable width fonts are printed

Re: CUPS and HP LaserJet 4V printer: variable width font becomesfixed width

2003-07-31 Thread Rob Lahaye
Thank you Glenn, Confirmed that indeed now this problem has been solved. Great! Rob. Glenn Johnson wrote: On Wed, Jul 30, 2003 at 02:01:05PM +0900, Rob Lahaye wrote: Glenn, According to your comments (see below), the problem I addressed some weeks ago, was caused by the FreeBSD port

tcsh script: quote and spaces problems

2003-07-31 Thread Rob Lahaye
Hello, I've been trying to include the quote () characters and spaces into a tcsh script variable; for already two days I've been trying various ways doing this to no avail! I'm about to think that it is impossible. For example: #!/bin/tcsh set flag=-f t

Re: tcsh script: quote and spaces problems

2003-07-31 Thread Rob Lahaye
Dan Nelson wrote: Actually it doesn't. You get this result because sh splits variables on $IFS before passing the result to a command, so what echo gets is argv[1]=-f \t argv[2]=\ I come to the conclusion that there's no intuitive solution in a tcsh script for set foo='-f a ' My

/etc/daily.local : old and for backwards compatibility ? What isnew way ?

2003-08-16 Thread Rob Lahaye
Hi, I want to run my own script in the periodic/daily procedure (e.g. synchronize time with ntpdate and update ports with cvsup). I had a look at /etc/periodic/daily/999.local, which says: # Run the old /etc/daily.local script. This is really for backwards # compatibility more than

Re: Cups / Mozilla printing issues.

2003-08-18 Thread Rob Lahaye
Lewis, A few weeks ago, there was a troublesome version of ghostscript-gnu in the ports, which corrupted my output as you describe (I have an HP laser printer). I think it was version 7.07_1; I had to downgrade to 7.05 for getting rid of the problem. The latest port has solved the problem. So

Qt compiled from ports: inconvenient default to threaded libs?

2003-08-19 Thread Rob Lahaye
Hi, I have compiled qt-3.1.2_1 from ports as is. It appears that FreeBSD defaults to creating the threaded libraries, which confuses certain configure scripts. Problem is that configure scripts of some software needs tweeking: add -DTHEAD_SAFE, replace -lc by -lc_r, etc. (main reason is that

g++ vs. g++33: conflicts with qt 3.1.2 on FreeBSD 4.8

2003-08-20 Thread Rob Lahaye
Hi, FreeBSD 4.8 and Qt 3.1.2 compiled as is from the portscollection. I have a brief Qt code: #include qglobal.h #include qstring.h int main () { QString s(mangle_failure); return 0; } I compile this as follows: ${CC} MyQtCode.C -g -O

Re: [kde-freebsd]

2003-08-20 Thread Rob Lahaye
Tilman Linneweh wrote: Well there is a seperate list for qt, see http://freebsd.kde.org/resources.php#mail for details. What news-server is this on? I use news.gmane.org and news.easysw.com, but qt-freebsd is on neither. Freebsd-questions and kde-freebsd are both on gmane! I have FreeBSD

Mail notificator (iconized) for checking remote pop server ?

2003-08-31 Thread Rob Lahaye
Hi, All my email arrives at a remote machine (RH 7.2 Linux box), from which I pop this email to my own FreeBSD PC. I'm searching a small application that notifies me by checking every few minutes the remote pop server for new mail. And it should do that while iconized (to get rid of all the

removing swap space...only by reboot? A bug?

2003-09-08 Thread Rob Lahaye
Hi, man swapon says: BUGS There is no way to stop paging and swapping on a device. It is therefore not possible to dismount swap devices which are mounted during system operation. Is that still a bug? -- The Handbook explains how additional swap space can be added to a

Re: removing swap space...only by reboot? A bug?

2003-09-08 Thread Rob Lahaye
Ceri Davies wrote: On Mon, Sep 08, 2003 at 05:28:54PM +0900, Rob Lahaye wrote: man swapon says: BUGS There is no way to stop paging and swapping on a device. It is therefore not possible to dismount swap devices which are mounted during system operation. Is that still

Re: Howto install ports collection?

2003-09-10 Thread Rob Lahaye
Nagy L?szl? Zsolt wrote: Hi gurus! I have a remote FreeBSD computer (RELEASE 4.7 stable). It is on the other side of Earth. I can access it only with ssh. It is really a base system. The ports collection (/usr/ports) is entirely missing. I'm familiar with installing ports. But I have

Long wait for harddisk detection during kernel boot

2003-04-03 Thread Rob Lahaye
Hi, I'm using 4.7 Release. When the kernel boots, I get a relatively long wait (a minute or more) at the harddisk detection. The HD is a IBM-DTLA/30.7Gb; CPU is Intel 1.7 GHz. For the whole 'dmesg' output, see below in the PS; the place where the wait occurs is here: [...] atapci0: Intel

Re: 4.8-Installation floppies fail

2003-04-05 Thread Rob Lahaye
Matthew Seaman wrote: On Sat, Apr 05, 2003 at 04:18:17PM +0900, Rob Lahaye wrote: Does the official release come with broken floppy files? Anything I can do to avoid this? No, but floppy disks are notoriously unreliable. Sounds to me as if your mfsroot floppy has got some bad sectors

PPPoE as installation medium possible?

2003-04-05 Thread Rob Lahaye
Hi, I usually install FreeBSD via FTP on my PCs at work. These PCs have a fixed tcp/ip address. At home, however, I use PPPoE for my internet connection, without having a permanent tcp/ip address. Can I install directly via PPPoE medium too? Thanks, Rob.

Re: OpenOffice

2003-06-05 Thread Rob Lahaye
Larry Rosenman wrote: visit: http://projects.imp.ch/openoffice and you can download a pre-built package. Why has this not yet become part of the precompiled package selection of FreeBSD, so that everyone can find it where one expect it to be found? Regards, Rob.

How to add full Korean language support to FreeBSD?

2003-06-11 Thread Rob Lahaye
Hi, First of all, I am not a (native) Korean speaker/reader! But I'm working in Korea. My problem is as follows: I want to change the OS on one of our very fast lab computers from Windows 98 to FreeBSD. My collegues (who know nothing about Unix/FreeBSD) allow me doing that, only if that PC

CUPS and HP LaserJet 4V printer: variable width font becomes fixedwidth

2003-06-20 Thread Rob Lahaye
Hello, Since I have upgraded to FreeBSD 4.8 (with cups-1.1.18), printing has a problem with variable width fonts. Variable width fonts are printed out as fixed width fonts; so text looks ugly and runs over the lines. I use http://localhost:631/admin; to configure CUPS. The LaserJet 4V printer

Re: CUPS and HP LaserJet 4V printer: variable width font becomesfixed width

2003-06-20 Thread Rob Lahaye
: Standard (001.007S) Standard ROM *Font ZapfDingbats: Special (001.004S) Standard ROM The line *DefaultFont: Courier is problably the reason for the fixed width font, isn't it? So am I using a font that is not defined in this ppd file? I never had this problem before! Thanks for help! Rob. Rob

Re: creating ftp users!

2003-06-23 Thread Rob Lahaye
I have not inetd running, but instead only allow secure connections with ssh and sftp. However, the hints given here seem to only apply to ftpd server and not the sftp connection. /sbin/nologin disables both, ssh and sftp. Is there a way to disable ssh, but allow sftp access only? Can I do the

Re: creating ftp users!

2003-06-23 Thread Rob Lahaye
Raymond Sundland wrote: Rob, You can try setting the user's shell to /usr/libexec/sftp-server (or wherever the sftp-server binary exists under FreeBSD). This will give the user ability to SFTP into the box, but without a normal shell. /usr/lib/exec/sftp-server should be added to

Re: DPMS not working

2003-06-25 Thread Rob Lahaye
Guy, I won't help much solve the problem. All I want to say, is that I see the same thing on my system (FreeBSD 4.8 with up-to-date-from-ports Xfree and other software). I have a regular monitor, SamSung SyncMaster 20GLsi. Indeed it only blanks. When I do xset dpms force off in my X-display,

FBSD 4.8 ftp install with 3c509B: ep0 device is not configure ??

2003-06-30 Thread Rob Lahaye
Hi, I'm installing FreeBSD 4.8 from floppies and want to proceed with ftp installation. This is on a fixed network at the university. The ethernet card is 3Com 509B (the BIOS says it's on interrupt 5). During the installation, after I have entered the network info, I get a message that says ep0

mount umount read-only floppy: unmount failed: Input/output error??

2003-06-30 Thread Rob Lahaye
Hi, I created the installation floppy from kern.flp. Removed it from the drive, to make it read-only. I then put it back into the drive and do, as root: # mount -t ufs /dev/fd0 /mnt # umount /dev/fd0 umount: unmount of /mnt failed: Input/output error # It's still mounted! I have to take the

Re: mount umount read-only floppy: unmount failed: Input/outputerror ??

2003-06-30 Thread Rob Lahaye
Rob wrote: That's strange - I get errors as soon as I try and do this, before the filesystem is even available. Perhaps the updates from mounting the floppy aren't being written out to the actual media until you try to unmount it - some kind of caching issue? What happens if you try to

Windows Mediaplayer equivalent for FreeBSD/Unix ?

2003-06-30 Thread Rob Lahaye
I complaint to the national radio station to only provide their live programs for Windows Mediaplayer. The reply was that there are version(s) of this Mediaplayer available for Unix systems, but I had to approach a unix usergroup myself for finding out the details. Hmmm, I just wonder if this is

Re: mount umount read-only floppy: unmount failed: Input/outputerror ??

2003-06-30 Thread Rob Lahaye
Rob wrote: I think I've figured it out - here's a script(1) of trying to mount a [...] I'm guessing that you're doing this in a non-console shell, and the errors are appearing elsewhere - maybe /var/log/messages? Yep, my console is indeed filled up with the corresponding error messages.

Re: mount umount read-only floppy: unmount failed: Input/outputerror ??

2003-06-30 Thread Rob Lahaye
Rob wrote: I don't know if it's a bug - you've asked the OS to do something that is prohibited by the hardware, and (in the Unix tradition) it tries as hard as it can. What might be improved is an error message from mount(8) at the time of the problem - not everyone looks at their

Re: mount umount read-only floppy: unmount failed: Input/outputerror ??

2003-06-30 Thread Rob Lahaye
Rob wrote: Yep - just tried mount -u -r -f /mnt and also umount -f /tmp Both fail with I/O errors, presumably from the fdc0 device. Also when rebooting, the failed sync interferes with unmounting other filesystems, causing fsck(8)s on the way back up. But mount/umount

Re: boot hangs after install 4.8

2003-07-02 Thread Rob Lahaye
Lowell Gilbert wrote: Rob Lahaye [EMAIL PROTECTED] writes: I have just installed FreeBSD 4.8 on a PC. Only FreeBSD, no other OS. The installation goes all well; I exit at the end and the PC boots. Immediately after the BIOS stuff, I get the first FreeBSD prompt: F1 FreeBSD Default: F1

Re: boot hangs after install 4.8

2003-07-03 Thread Rob Lahaye
Toomas Aas wrote: From: Rob Lahaye [EMAIL PROTECTED] I have just installed FreeBSD 4.8 on a PC. Only FreeBSD, no other OS. The installation goes all well; I exit at the end and the PC boots. Immediately after the BIOS stuff, I get the first FreeBSD prompt: F1 FreeBSD Default: F1

Re: sendmail version

2003-07-06 Thread Rob Lahaye
Stacey Roberts wrote: Hello, On Sun, 2003-07-06 at 10:17, DanB wrote: How do you find what sendmail version you have 4.8 stable? Try: telnet localhost 25 The sendmail version is returned in the reply Without having sendmail running, can I check the version without digging into the

How to restart my network without reboot?

2003-07-07 Thread Rob Lahaye
Hi, I had to change the netmask of my ethernet card. So I modified /etc/rc.conf. But for that to take effect, I should reboot. Now, how can I avoid a reboot for such a small change? I had a look at the ifconfig command, to set the interface manually, but I was completely lost by the amount of

How can I verify my ISP internet speed?

2003-07-08 Thread Rob Lahaye
Hi, I have my FreeBSD PC connected to the internet via ADSL with PPPoE. My ISP claims my speed is 2 Mbs. Is there a reliable command on my FreeBSD system to double check the internet speed? I ask this, because when I complain, the answer is always that the reason for slow network is due to the

Re: cvsup tag for 4.8-STABLE?

2003-07-10 Thread Rob Lahaye
Christoph P. Kukulies wrote: I wanted to cvsup src-all from 4.8-STABLE and tried with *default release=cvs tag=RELENG_4 Either that or RELENG_4_8, where the latter only gets absolutely critical fixes. What am I cvsup-ing, when I use: *default release=cvs tag=. The manual says about this

Why does cvsup + supfile delete all my ports ?

2003-07-10 Thread Rob Lahaye
Hello, For my FreeBSD 4.8 PC, my supfile for cvsup contains: *default host=cvsup2.freebsd.org *default prefix=/usr *default base=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix *default compress ports-all When I run cvsup -L2 supfile, it deletes all the ports. Why is

Re: Can't make label for a new HDD

2003-07-12 Thread Rob Lahaye
NiC wrote: Hi all! Have trouble - new computer, must be FreeBSD4.8 2 HDDs - first is 20Gb, second 200Gb When installing - all ok. After rebooting tried to do through /stand/sysinstall - Fdisk - selecting 200Gb HDD -a-w-q Then Label menu-c-selecting maximum volume-selecting mount

Realplayer cannot find libraries, after upgrade from ports

2005-01-16 Thread Rob Lahaye
Hi, I've just upgraded all my software from recent ports. Now realplayer (10.0.2_1) doesn't run anymore, because it cannot find its libraries: $ ldd /usr/local/lib/RealPlayer/realplay.bin | grep not found libX11.so.6 = not found libXrandr.so.2 = not found libXi.so.6 =

Re: Realplayer cannot find libraries, after upgrade from ports

2005-01-16 Thread Rob Lahaye
Rob Lahaye wrote: Hi, I've just upgraded all my software from recent ports. Now realplayer (10.0.2_1) doesn't run anymore, because it cannot find its libraries: $ ldd /usr/local/lib/RealPlayer/realplay.bin | grep not found libX11.so.6 = not found libXrandr.so.2

Mozilla 1.7 more unstable than 1.6?

2004-07-14 Thread Rob Lahaye
Hi, I have just upgraded my mozilla install from ports collection to version 1.7. Since then, mozilla seems to crash frequently (once a day or so) when webbrowsing. When I then revisit the same page it crashed on, there is no problem. This makes the error rather unreproducible. (Much less frequent

Re: serial port programming

2003-12-03 Thread Rob Lahaye
in this context of serial port communication? And eh, is this actually the right way to go for data acquisition? Thanks, Rob Lahaye Seoul National University - Korea Thanks ! Jean-Marc Francois Université de Liège --- I got a strange problem. I want to send a binary string