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 interface
device  usb # USB Bus (required)
device  umass   # Disks/Mass storage - Requires scbus and da
device  uscanner# Scanners
Recompiled everything etc. etc.
Now I'm trying to get through the information on this scanner  FreeBSD.
I'm quite familiar with managing FreeBSD, but here I'm totally lost.
I get this:
# sane-find-scanner
[...]
found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0
# xscanimage /dev/uscanner0
pops up a dialog that says
 Failed to open device '/dev/uscanner0'. Invalid argument.
# xscanimage
[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).

In various manuals (too many talk about linux only) I learn that
I should configure/tell the kernel about the vendor and product.
I know how to (re)compile the kernel etc. but how do I tell the
kernel that I have an HP 5200C scanner?
Help is very much appreciated.
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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!

# rm -rf /var/tmp/temproot
rm: /var/tmp/temproot/var/empty: Operation not permitted
rm: /var/tmp/temproot/var: Directory not empty
rm: /var/tmp/temproot/: Directory not empty
Took me a long while to figure out the /var/tmp/temproot/var/empty direcoty
has the schg flag set. Very, very confusing.
Is there any reason why it is like that?
If not, then do not create the empty directory with schg !!
Regards,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 /etc directory. Ok, understand that.
It then also takes me file by file to make a decision as:

  Use 'd' to delete the temporary ./etc/hosts
  Use 'i' to install the temporary ./etc/hosts
  Use 'm' to merge the temporary and installed versions
  Use 'v' to view the diff results again
Using 'd' or 'i' works alright, but 'm' is totally uncomprehensive.
E.g. I want to merge with my original /etc/hosts file, which has
my own list of ips/hosts When typing 'm', I enter sdiff, which talks
about a left and a right version, totally out-of-the-blue:
%h
l:  use the left version
r:  use the right version
e l:edit then use the left version
e r:edit then use the right version
e b:edit then use the left and right versions concatenated
e:  edit a new version
s:  silently include common lines
v:  verbosely include common lines
q:  quit
What is left and right in the mergemaster context???
'man sdiff' doesn't seem to help out here.
I've tried a bit (I typed 'v' and 'q'), but then found /etc/hosts
totally empty!!
Any idea where I went wrong?

Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 killed xscreensaver.
So for some reason xscreensaver kept /dev/dsp busy.
Is there a command to find out directly which app. keeps /dev/dsp busy?

Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
!DisplayManager.requestPort:0
and /usr/X11R6/lib/X11/xdm/Xaccess:
* #any host can get a login window
* CHOOSER BROADCAST #any indirect host can get a chooser
At startup, I get an xdm/Xlogin on screen on display :0.
With the above settings I expect the following should work
for creating another Xlogin screen
	X :1 -query localhost

Indeed it switches screen, but it is blank only; even no error
messages from X.
Any ideas?
Thanks,
Rob.
PS: Unrelated: have you noticed the error message in /var/log/xdm.log
xdm error (pid 157): extra arguments on command line:
xdm error (pid 157):  ttyv8
xdm error (pid 157):
Is this some miscommunication between init, /etc/ttys and xdm ?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 is left and right in the mergemaster context???
'man sdiff' doesn't seem to help out here.
I've tried a bit (I typed 'v' and 'q'), but then found /etc/hosts
totally empty!!

Any idea where I went wrong?
 
 
 'sdiff' does a side-by-side comparison of two files, and lets you
 generate a file where some or all of those differences have been
 merged together.  'left' and 'right' in this context refer to the two
 columns that sdiff divides the screen into, where it shows you the
 blocks of lines that differ between the two files you're comparing.
 
 Perhaps an example is in order.  Run these commands to get two
 different versions of the GENERIC kernel configuration from cvs:
[...]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 0x0090701f
 
 Also the command to restart sshd gives me an error:
 
 arthur# (. /etc/rc.conf  ${sshd_program:-/usr/sbin/sshd} ${sshd_flags})
 Bad : modifier in $ (-).

I have same error. You and I are probably using another shell (tcsh)
than what they assume here (bash ?).
I ignored all the rc.conf, sshd_program and sshd_flags stuff, because
I don't need them. Check your rc.conf file and do it manually:

# kill `cat /var/run/sshd.pid`

# /usr/sbin/sshd
or
# /usr/sbin/sshd [your sshd_flags here]

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 sleeping, 1 stopped

Mem: 57M Active, 32M Inact, 23M Wired, 6564K Cache, 22M Buf, 4560K Free
Swap: 256M Total, 256M Free


  PID USERNAME PRI NICE  SIZERES STATETIME   WCPUCPU COMMAND
-943970496 root 170 -52  3068M24K ?  121???  0.00% 806.54% ?
-857718912 /0*/,))/ -22 -52 0K  2512M ?   64???  0.15%  0.15% 
  201 root -22 1484 0K 0K ?  -70???  0.05%  0.05%
0 root -22 -52 0K 0K ?  -88???  0.00%  0.00% 
-853673688 root -22 -52 0K   835G ?   64???  0.00%  0.00% 
0 root -22 -52  2048M 0K ?   -1???  0.00%  0.00% 
10630 /0+)*00.  29   0 0K 0K RUN  0:00  0.00%  0.00% top
1611504 root -22 49218 0K 0K ?   48   0:00  0.00%  0.00%
-1059416064 root -22  21 0K   384K ?  -48   0:00  0.00%  0.00% 
0 root 134  36 0K 0K SLEEP0:00  0.00%  0.00% ???
1634230636 /0)0'')/ -22 -52  3279M 0K START   57:18 1203985911.20%
167893707.81% 
  101 18861510 -22  21 0K 65536M ?  112   0:00 167890575.39% 167890575.39% ?
-856577888 root -22 -52 0K   832G ?   64   0:00 167890537.30%
167890537.30% 
-856572064 root -22 -52 0K   834G ?   16   0:00 167890392.19%
167890392.19% 
-1057673792 root -22 -52 0K 26783M ?  -24???  0.00% 167890213.28% 
-1059956992 (+*+)-). -22 29461 16384K 26113M ?   32  70.1H  0.00% 167890107.81% 
  168 root -22 52482   392M 0K STOP   1623.4  0.00% 167834393.75% 
-1059255232 root -22 -52  3075M 19420M ?   48   0:00  0.00% 163623396.88% 




Is there a quicker fix than recompiling the whole base system (base system
now is 4.8-RELEASE)?

Thanks,
Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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.
I got into it due to the security advisories and the
delay of 4.9-RELEASE.

Yes, I'm also reading the handbook on this!

Bare with me, I'm a lonely FreeBSD sole in an MS Windows
dominated evironment.

Thanks,
Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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-RELEASE)?

 
 
 Not that I know of... you made a pretty big jump in kernel structures and whatnot, 
 and your 
 system should follow the kernel... it would be quite unwise to run a 4.8-RELEASE 
 system 

Thanks all for your very useful advise, comments and
encouraging me to go for a new world!

I've just built a new world here...for the first time in my life.
Quite scary, but eventually flawless without any problems.
Bless that wonderful FreeBSD handbook!!!

So I learned that I also should rebuild my world, when I go for
the new kernel.
How about my already installed software from the ports' collection?
So far that seems to run fine with the new world and kernel. But can
I expect to run into trouble here at some point?
If so, any idea where and when ?

Thanks,
Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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
   random -e 60
   randomNumber=$?
   sleep $randomNumber
   do shell script here
done

Where '60' means, maximum 60 seconds between two script calls.

There might be better or nices ways of doing this :).

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 says:

 random [-er] [-f filename] [denominator]

 -e  If the -e option is specified, random does not read or write any-
 thing, and simply exits with a random exit value of 0 to
 denominator - 1, inclusive.

So you must capture its exit value for the random number :).

R.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 and 10.0, 1.0 being the default. I
 tried to start X with startx -gamma 2.0, but right after displaying the
 nVidia logo, X drops back to the command line. The error message says,
 /usr/X11R6/bin/xterm: bad command line option '-gamma'. The XFree86 version
 is 4.3.0 (compiled from ports).

Use xgamma instead. It allows you to change gamma on a running X.
man xgamma will tell you more.

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 make install 
 part of the process I'm not sure what can be done for this short of 
 waiting on the maintainer to update the port with a corrected make file 
 or make script.  Aside from that, you're stuck for now.

Bad philosophy!
In that case, revert the Qt port back to the previous working Qt 3.1 port
ASAP and fix it in the meantime.

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 up trying to configure from Ports.

 This is a MESS.

I did not have this Arts problem (though Arts was initially not
installed on the machine).
I deinstalled Qt and did a portinstall of kde3.

That is going well so far; still compiling, but I have
passed the Arts install already, flawlessly!

R.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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?
Thanks,
Rob.
# portinstall /usr/ports/x11/gnome2
---  Installing 'gnome2-2.4.0' from a port (x11/gnome2)
---  Building '/usr/ports/x11/gnome2'
[...]
===   Registering installation for libglade2-2.0.1_1
===   Returning to build of gnomeapplets2-2.4.0
===   gnomeapplets2-2.4.0 depends on shared library: xml2.5 - found
===   gnomeapplets2-2.4.0 depends on shared library: xslt.1 - found
===   gnomeapplets2-2.4.0 depends on shared library: bonobo-2.0 - not found
===Verifying reinstall for bonobo-2.0 in /usr/ports/devel/libbonobo
===  Extracting for libbonobo-2.4.0
 Checksum OK for gnome2/libbonobo-2.4.0.tar.bz2.
===  Patching for libbonobo-2.4.0
===  Applying FreeBSD patches for libbonobo-2.4.0
===   libbonobo-2.4.0 depends on executable: gmake - found
===   libbonobo-2.4.0 depends on executable: bison - found
===   libbonobo-2.4.0 depends on executable: pkg-config - found
===   libbonobo-2.4.0 depends on shared library: glib-2.0.200 - found
===   libbonobo-2.4.0 depends on shared library: IDL-2.0 - found
===   libbonobo-2.4.0 depends on shared library: ORBit-2.0 - found
===   libbonobo-2.4.0 depends on shared library: xml2.5 - found
===  Configuring for libbonobo-2.4.0
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
/usr/ports/devel/libbonobo/work/libbonobo-2.4.0/missing: Unknown `--run' option
Try `/usr/ports/devel/libbonobo/work/libbonobo-2.4.0/missing --help' for more 
information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
[...]
checking for nanosleep... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking forORBit-2.0 = 2.7.5  ORBit-CosNaming-2.0 = 2.7.5glib-2.0 = 2.0.1
   gobject-2.0 = 2.0.1 gthread-2.0 = 2.0.1... gnome-config: not found
gnome-config: not found
Package ORBit-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `ORBit-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ORBit-2.0' found
configure: error: Library requirements (ORBit-2.0 = 2.7.5  ORBit-CosNaming-2.0 = 
2.7.5 glib-2.0 = 2.0.1   gobject-2.0 = 2.0.1gthread-2.0 = 2.0.1) not met; 
consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard 
prefix so pkg-config can find them.
===  Script configure failed unexpectedly.
  Please report the problem to [EMAIL PROTECTED] [maintainer] and attach
  the /usr/ports/devel/libbonobo/work/libbonobo-2.4.0/config.log
  including the output of the failure of your make command. Also, it might
  be a good idea to provide an overview of all packages installed on your
  system (e.g. an `ls /var/db/pkg`).
*** Error code 1
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 patch that fixed the build in a followup email,
but never got any response, nor has the port been fixed.

So what to do with broken ports like that?

I can imagine that ports are broken and remain broken if nobody
ever uses them or installs them. But as soon as a port is noticed
as broken, it is necessary to get it fixed.

How is the general procedure to get this done?

Please bare with me: I'm mainly a port user. I know how to install
ports etc. I have no idea about generating and maintaining ports.

So here we go again: the molden port is broken, but easy to fix
(see my earlier emails about the molden port on the freebsd-ports
mailing list).

Regards,
Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 still talks happily about hosts.deny.
Nowhere mentioning that it's depricated!
Are the man pages here 'depricated' as well? Needs an update?
Should the author of the man page be notified?

R.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 systems. It was just mentioned that there seems 
 to be an update addressing this issue.  To fix it, you may want to 
 roll back to 4.8 and wait for the fix for the arp advisory to be placed 
 into a patch and the source tree.

It looks like a fix got committed into the tree.

bms 2003/09/24 14:48:00 PDT

  FreeBSD src repository

  Modified files:(Branch: RELENG_4)
sys/netinet  if_ether.c
  Log:
  Fix a logic error in the check to see if arplookup() should free the route.

  Noticed by: Mike Hogsett
  Reviewed by:ru

  Revision   ChangesPath
  1.64.2.26  +1 -1  src/sys/netinet/if_ether.c

R.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 Alpha workstations.

See, f.ex. the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-start.html

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2003-07-29 Thread Rob Lahaye

Glenn,

According to your comments (see below),  the problem I addressed some weeks
ago, was caused by the FreeBSD port at some stage during the upgrade to
version 7.07 of ghostscript-gnu.

Presently 7.07 has port upgrade _3. I wonder if the problem has been addressed
and solved by now. I am asking, since I am afraid it may be difficult/impossible
to downgrade again, after upgrading the 7.07_3.

My current version check says:

cups-pstoraster-7.05.6needs updating (port has 7.07)
ghostscript-gnu-7.05_4needs updating (port has 7.07_3)


Thanks for your help,
Rob.

Glenn 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 out as fixed width fonts; so text looks ugly and runs over
the lines.


Are you using an up-to-date version of ghostscript?  If so, that  
is the problem.  The last version of ghostscript that does not  
exhibit this problem is ghostscript-gnu-7.05_5.  I am not sure  
about the version number of ghostscript-afpl but recent versions
exhibit this problem.   

Yes I was up-to-date with ghostscript and that indeed was the problem.
I forced the deinstall of my ghostscript-gnu-7.07, and installed
instead from the packages, version 7.05_4.

My printing problem has gone now!
Thanks.

Is the origin of the problem located? Will it be fixed in the next
release of ghostscript-gnu? Has this problem been reported to the
ghostscript-gnu developer community?
 
 
 I am not sure but I believe the problem is specific to the FreeBSD  
 ports.  I hope to have some time this weekend to dig into it a bit. 
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 at some stage during the
upgrade to version 7.07 of ghostscript-gnu.

Presently 7.07 has port upgrade _3. I wonder if the problem has been
addressed and solved by now. I am asking, since I am afraid it may be
difficult/impossible to downgrade again, after upgrading the 7.07_3.

My current version check says:

cups-pstoraster-7.05.6needs updating (port has 7.07)
ghostscript-gnu-7.05_4needs updating (port has 7.07_3)
 
 The problem has been resolved and the PR I had filed has been closed.
 You should be okay with doing the upgrades.  You did not mention your
 cups version above but that has also been updated.  Do not forget to
 restart the cups scheduler after all of the upgrades have completed.
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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  

This obviously doesn't work because of too many quotes involved; but what does work
to achieve this? There are two problems here:
  1) flag should contain the two internal quotes of t  
  2) the t   contains two spaces.
When I use
  set flag='-f t  '
the two spaces are automagically (?) reduced to only one space!!

The latter seems to be a general problem:

  set flag=f 

wil result in flag containing only f .

Any solutions for this problem with quotes and spaces in tcsh script?
Or is tcsh not suitable for this kind of things?
Thanks,
Rob.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 unix knowledge tells me the following should work:

   set foo=-f\ \a\ \ \

but tcsh does not allow these escape sequences; the backslashes
become real backslashes and an error occurs on too many
quotes.

Another odd behaviour occurs when I say:

  set foo=abc

which tcsh reduces to a b c, despite the quotes.


I'd say very un-unix like behaviours

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/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 anything else.
Using /etc/daily.local makes things indeed very easy and straight forward.
But since this is mainly for backwards compatibility, I wonder what is the
new way of doing what I want to do.
Appending my script to /etc/periodic/daily/999.local ?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 if you are running the
troublesome version, try upgrading your ports collection and
your ghostscript-gnu.

Rob

Lewis Thompson wrote:
 Hi,
 
   I'm not sure if this isn't a bit off-topic but I hope somebody might
 know the answer anyway.  I'm running 5.1-R and I've cups-lpr (and all
 the other necessary stuff installed).  When I print from
 mozilla-firebird (mozilla-gtk2 it uses, afaik) it does actually work but
 it's printing is in what appears to be Courier New or some other
 fixed-width font, instead of the font displayed on the page.  I know I
 can print TT-fonts because I've printed stuff from AbiWord2 without
 issues.  Furthermore the text is all ``squished''.  Any hints for
 sorting this behaviour would be greatly appreciated.
 
   Thanks very much,
 
 -lewiz.
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 compilation with threading is so much
different on FreeBSD than this is, for example, on Linux)
However, life would be much easier if either
   Qt ports build creates both, threaded and unthreaded libs
or
   The Qt ports build allows creating only the unthreaded libs.
Is there any good reason why the threaded libs are choosen to
be the default, without offering easy MAKE options to change
this behaviour?
Regards,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 -pthread -I/usr/X11R6/include -L/usr/X11R6/lib 
-I/usr/local/include -L/usr/local/lib \
  -lSM -lICE -lc -lm -lX11 -lqt-mt
Where CC is either /usr/bin/g++ or /usr/local/bin/g++33
With g++ this compiles fine.
But with g++33, I get an error, that says:
/var/tmp//ccI2rls3.o: In function `main':
/home/lahaye/MyQtCode.C:6: undefined reference to `QString::QString[in-charge](char 
const*)'
/var/tmp//ccI2rls3.o: In function `main':
/usr/X11R6/include/qstring.h:770: undefined reference to `QString::shared_null'
/usr/X11R6/include/qstring.h:771: undefined reference to `QStringData::deleteSelf()'
collect2: ld returned 1 exit status
Any idea how I can fix this?

Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 4.8 and Qt 3.1.2 installed as is from the portscollection.

I built the document processor LyX against Qt, which comes by default as threaded
library on FreeBSD. So what I needed was:

  $ setenv LDFLAGS -pthread
  $ configure
  $ make
 
 
 Why didn't you use the port? ( /usr/ports/print/lyx ). It usually takes care
 of these problems.

No it doesn't; the lyx port has the same problem!
I compiled LyX 1.3.2 from ports as make WITH_QT=yes, to build LyX/Qt.
I get exactly the same error as described earlier:

 When I start LyX, all works well, but when I exit LyX, the whole exit
 goes fine, but at the very end I get in a console:message:

  Mutex destroy failure: Device busy

and a coredump on SIGSEGV.

See below for the actual gdb  backtrace and ldd output.

Is this a conflict between /usr/lib/libc.so.4 and /usr/lib/libc_r.so.4;
at least these two libs are the #0 and #1 backtraces in gdb.
Or what else is it?
1. Have I misconfigured anything? Someone else seeing this?
2. Is it a FreeBSD bug/problem?
3. Is it a Qt bug/problem?
4. Is it a LyX bug/problem?

I'm at a total loss here.
Any ideas?

Regards,
Rob.


$ gdb /usr/local/bin/lyx
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-freebsd...
(no debugging symbols found)...
(gdb) run
Starting program: /usr/local/bin/lyx
(no debugging symbols found)...(no debugging symbols found)...
[...]
Mutex destroy failure: Device busy
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x28fa0aac in .cerror () from /usr/lib/libc.so.4
(gdb) bt
#0  0x28fa0aac in .cerror () from /usr/lib/libc.so.4
#1  0x2901892b in _exit () from /usr/lib/libc_r.so.4
#2  0x28fa09ab in exit () from /usr/lib/libc.so.4
#3  0x84e529e in lyx_gui::exit ()
#4  0x825bd38 in QuitLyX ()
#5  0x82819ad in LyXFunc::dispatch ()
#6  0x827f62f in LyXFunc::dispatch ()
#7  0x84de2ec in QtView::activated ()
#8  0x855c96c in QtView::qt_invoke ()
#9  0x2890c395 in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3
#10 0x2890c53e in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3
#11 0x28ba5bbb in QPopupMenu::activated () from /usr/X11R6/lib/libqt-mt.so.3
#12 0x289d4e9b in QPopupMenu::actSig () from /usr/X11R6/lib/libqt-mt.so.3
#13 0x289d8c3f in QPopupMenu::mouseReleaseEvent ()
   from /usr/X11R6/lib/libqt-mt.so.3
#14 0x289378b9 in QWidget::event () from /usr/X11R6/lib/libqt-mt.so.3
#15 0x288b8bd6 in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#16 0x288b8508 in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#17 0x2886cedb in QETWidget::translateMouseEvent ()
   from /usr/X11R6/lib/libqt-mt.so.3
#18 0x2886b405 in QApplication::x11ProcessEvent ()
   from /usr/X11R6/lib/libqt-mt.so.3
#19 0x2887ccdf in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#20 0x288ca712 in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3
#21 0x288ca667 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3
#22 0x288b8d46 in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3
#23 0x84e51a1 in lyx_gui::start ()
#24 0x8261e93 in LyX::LyX ()
#25 0x82c1afe in main ()
#26 0x816cfea in _start ()


$ ldd /usr/local/bin/lyx
/usr/local/bin/lyx:
libqt-mt.so.3 = /usr/X11R6/lib/libqt-mt.so.3 (0x286f9000)
libintl.so.4 = /usr/local/lib/libintl.so.4 (0x28cd8000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28ce)
libSM.so.6 = /usr/X11R6/lib/libSM.so.6 (0x28dce000)
libICE.so.6 = /usr/X11R6/lib/libICE.so.6 (0x28dd7000)
libjpeg.so.9 = /usr/local/lib/libjpeg.so.9 (0x28ded000)
libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x28e0b000)
libstdc++.so.3 = /usr/lib/libstdc++.so.3 (0x28ec7000)
libm.so.2 = /usr/lib/libm.so.2 (0x28f0c000)
libc.so.4 = /usr/lib/libc.so.4 (0x28f27000)
libc_r.so.4 = /usr/lib/libc_r.so.4 (0x28fc)
libmng.so.1 = /usr/local/lib/libmng.so.1 (0x29075000)
libpng.so.5 = /usr/local/lib/libpng.so.5 (0x290c8000)
libz.so.2 = /usr/lib/libz.so.2 (0x290eb000)
libGL.so.1 = /usr/X11R6/lib/libGL.so.1 (0x290f8000)
libXmu.so.6 = /usr/X11R6/lib/libXmu.so.6 (0x29156000)
libXrender.so.1 = /usr/X11R6/lib/libXrender.so.1 (0x2916b000)
libXft.so.2 = /usr/X11R6/lib/libXft.so.2 (0x29173000)

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 window-manager's
decoration around the window).
My present solution does that, but is far too bulky for this
purpose, since it needs full Netscape communicator running:
Netscape communicator (netscape -mail) is running on my own PC
and iconized. It pops the remote mail server every 10 minutes.
Note that Netscape communicator is the only application, as far
as I, that changes its appearance on new email, when iconized!
Is there another, much smaller, application that does this too?

(The archaic xbiff, for example, does neither change its appearance
when iconized, nor can check a remote pop server).
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 running system,
without need for reboot. I have added a swap file this way.
If I want to stop using that swap file, or use another one, that is bigger, smaller or
on another partition; how should I proceed?
Is a reboot the only way to go? Or is there a run-time command that disconnects the 
kernel
from certain swap space and allows its removal?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 a bug?
 
 
 That depends on which version you are running.
 If you have 4.x or 5.0 then you're out of luck, but a recent -current has
 the swapctl command which does what you want.

Thanks. So I'm out-of-luck with 4.8 :).

I wonder if a brief note on this could go at the end of the adding swap space
section in the handbook. Something like

Removing swap space:
for OSversion = 5.0 only reboot can do
otherwise swapctl command does it on a running system.

Regards,
Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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
 no idea how to install the ports collection using only an ssh shell. 
 Please give me a direction.

See the handbook
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
chapter Using the Ports Collection.

It says:

   1. As root, run /stand/sysinstall
   2. Scroll down and select Configure, press Enter.
   3. Scroll down and select Distributions, press Enter.
   4. Scroll down to ports, press Space.
   5. Scroll up to Exit, press Enter.
   6. Select your desired installation media, such as CDROM, FTP, and so on.
   7. Scroll up to Exit and press Enter.
   8. Press X to exit sysinstall.

After that, use cvsup, to bring them up-to-date.
I suppose you know how to do the cvsup stuff.

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 ICH2 ATA100 controller port 0xb800-0xb80f at device 31.1 on pci0
  ata0: at 0x1f0 irq 14 on atapci0
[ HERE is the long wait!  ]
  ata1: at 0x170 irq 15 on atapci0
  uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0xb400-0xb41f irq 11 at 
device 31.2 on pci0
[...]
Any ideas why the kernel boot is not going smooth at that point?

Thanks!

Rob.

PS: the complete boot log is:

avail memory = 518733824 (506576K bytes)
Preloaded elf kernel kernel at 0xc03f1000.
Preloaded mfs_root /mfsroot at 0xc03f1084.
Pentium Pro MTRR support enabled
md0: Preloaded image /mfsroot 4096 bytes at 0xc03ee354
md1: Malloc disk
Using $PIR table, 12 entries at 0xc00f1600
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82845 Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: Intel 82845 PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pcib2: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0
pci2: PCI bus on pcib2
pci2: S3 ViRGE DX/GX graphics accelerator at 10.0 irq 12
rl0: RealTek 8139 10/100BaseTX port 0xd800-0xd8ff mem 0xef80-0xef8000ff irq 10 
at device 12.0 on pci2
rl0: Ethernet address: 00:a0:b0:0e:3a:95
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: Intel 82801BA/BAM (ICH2) PCI to LPC bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH2 ATA100 controller port 0xb800-0xb80f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0xb400-0xb41f irq 11 at 
device 31.2 on pci0
usb0: Intel 82801BA/BAM (ICH2) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 0xb000-0xb01f irq 5 at 
device 31.4 on pci0
usb1: Intel 82801BA/BAM (ICH2) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
orm0: Option ROM at iomem 0xc-0xc7fff on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x100
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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.  Could you try again,
 making a new mfsroot floppy, preferably on a brand new never used
 before floppy?

Thanks; indeed that was the problem.

I found out that I can check first whether my floppies
are alright by
   fdformat -f 1440 /dev/fd0
on my other FreeBSD box. This program reports
bad blocks on the floppy.

I actually wonder if this should go in the installation
manuals somewhere.

Thanks!
Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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
can handle typing  reading of Korean language, i.e. hangul.
So it's all up to me. I went to the webpages that should explain how to include Korean
language support, but.that's all in Korean.
So I'm having this peculiar problem, where those that can read the instructions do not
understand (and do not WANT to understand!), and I want to have FreeBSD on that fast 
PC,
but I can't read the instructions
Am I missing something here? Is Korean language support simply a matter of installing
a few ports?
Help is very much appreciated!

Thanks / Kamsahamnida !

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 is attached to a Windows 98 PC,
and my FreeBSD PC prints via samba:
  Device URI: smb://surfion2/hp4v
I have tried as Model/Driver:
  HP LaserJet 4V, 4Si, CUPS+Gimp-Print v4.2.5
  HP LaserJet 4 series, CUPS+Gimp-Print v4.2.5
  HP LaserJet 6 series, CUPS+Gimp-Print v4.2.5  
All to no avail.

Has anyone experience with this?

Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2003-06-20 Thread Rob Lahaye


Hi,

This is a reply to my own question.

Could it be related to the hp4v.ppd file in /usr/local/etc/cups/ppd/hp4v.ppd ?
At the end it says:

*DefaultFont: Courier
*Font AvantGarde-Book: Standard (001.006S) Standard ROM
*Font AvantGarde-BookOblique: Standard (001.006S) Standard ROM
*Font AvantGarde-Demi: Standard (001.007S) Standard ROM
*Font AvantGarde-DemiOblique: Standard (001.007S) Standard ROM
*Font Bookman-Demi: Standard (001.004S) Standard ROM
*Font Bookman-DemiItalic: Standard (001.004S) Standard ROM
*Font Bookman-Light: Standard (001.004S) Standard ROM
*Font Bookman-LightItalic: Standard (001.004S) Standard ROM
*Font Courier: Standard (002.004S) Standard ROM
*Font Courier-Bold: Standard (002.004S) Standard ROM
*Font Courier-BoldOblique: Standard (002.004S) Standard ROM
*Font Courier-Oblique: Standard (002.004S) Standard ROM
*Font Helvetica: Standard (001.006S) Standard ROM
*Font Helvetica-Bold: Standard (001.007S) Standard ROM
*Font Helvetica-BoldOblique: Standard (001.007S) Standard ROM
*Font Helvetica-Narrow: Standard (001.006S) Standard ROM
*Font Helvetica-Narrow-Bold: Standard (001.007S) Standard ROM
*Font Helvetica-Narrow-BoldOblique: Standard (001.007S) Standard ROM
*Font Helvetica-Narrow-Oblique: Standard (001.006S) Standard ROM
*Font Helvetica-Oblique: Standard (001.006S) Standard ROM
*Font NewCenturySchlbk-Bold: Standard (001.009S) Standard ROM
*Font NewCenturySchlbk-BoldItalic: Standard (001.007S) Standard ROM
*Font NewCenturySchlbk-Italic: Standard (001.006S) Standard ROM
*Font NewCenturySchlbk-Roman: Standard (001.007S) Standard ROM
*Font Palatino-Bold: Standard (001.005S) Standard ROM
*Font Palatino-BoldItalic: Standard (001.005S) Standard ROM
*Font Palatino-Italic: Standard (001.005S) Standard ROM
*Font Palatino-Roman: Standard (001.005S) Standard ROM
*Font Symbol: Special (001.007S) Special ROM
*Font Times-Bold: Standard (001.007S) Standard ROM
*Font Times-BoldItalic: Standard (001.009S) Standard ROM
*Font Times-Italic: Standard (001.007S) Standard ROM
*Font Times-Roman: Standard (001.007S) Standard ROM
*Font ZapfChancery-MediumItalic: 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 Lahaye wrote:
 
 
 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 is attached to a Windows 98 PC,
 and my FreeBSD PC prints via samba:
   Device URI: smb://surfion2/hp4v
 
 
 I have tried as Model/Driver:
   HP LaserJet 4V, 4Si, CUPS+Gimp-Print v4.2.5
   HP LaserJet 4 series, CUPS+Gimp-Print v4.2.5
   HP LaserJet 6 series, CUPS+Gimp-Print v4.2.5 
 
 
 All to no avail.
 
 Has anyone experience with this?
 
 Thanks,
 Rob.
 
 ___
 [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: 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 /etc/ftpchroot for sftp as well?

Thanks,
Rob.

Jonathan Arnold wrote:
 How to create users for Ftp server(inetd)?

 You just use the 'adduser' command normally, to add a normal
 user. If they are just going to be doing ftp, you can use the
 /sbin/nologin for their shell, so they can't login.

Doron Shmaryahu wrote:

 I would also suggest limiting ftp users to their respective home dir. You
 can do this simply by creating a file /etc/ftpchroot and putting all the
 usernames in there.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 /etc/shells, 
 too.

Almost works ;).
Doing what you suggest, I can sftp to the account, but when I do ssh to
that account, I get the regular login message but no prompt. Something
seems to hang. When I type something and hit return, I get:


bad message
Connection to foo.bar.com closed.
$

It somehow blocks ssh login indeed, but it's not very nice!


BTW will sftp also work with the /etc/chroot file?

Thanks,
Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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,
nothing happens. I vaguely remember it used to work in the past (when my
OS was also Linux, instead of FreeBSD).

However, when I go elsewhere, e.g. ctrl-Alt-F1 text screen, do a
setenv DISPLAY my-X-display and then repeat the xset command above,
xset q says Monitor is Off.
Hmmm, but I'm on the same monitor, which is on !?!?

My wild guess is, that this may be broken with recent Xfree 4.3.0.

Or is only XFree broken in the FreeBSD ports collection? A wrong FreeBSD patch?

You may try to convince the FreeBSD or XFree lists/people to comment on this.

Regards,
Rob.


Guy Middleton wrote:
 On Tue, Jun 24, 2003 at 10:57:01PM -0500, Eric Dedrick wrote:
 
I'm running 4.8 and XF86 Version 4.2.1.

DPMS isn't working right on my new machine (ASUS A7A266 motherboard).

1.  The monitor is capable of doing DPMS
2.  DPMS works fine when the monitor is just displaying a text console
3.  DPMS does not work from X
4.  I have checked my /etc/X11/XF86Config file, Options DPMS is in the
monitor section.
5.  xset q says
DPMS (Energy Star):
  Standby: 1200Suspend: 1800Off: 2400
  DPMS is Enabled
  Monitor is On
6.  Everything seems to just blank the screen, but never powers off the
monitor:
  xset dpms force off
the screen goes blank, but the monitor does not power off.
7.  I have tried many different DPMS settings in my BIOS and I think it
should be okay.

Any guesses?  Thanks.
 
 
 I still haven't figured mine out.  I asked on the xfree86 list also, but
 had no replies yet.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 device is not configured.. It also says I should configure it later
in the Network setup (where is that Network setup??).
I have installed FreeBSD on a PC with a realtek ethernet card, and that installs
like a charm. The realtek ethernet card is recognized without any trouble.
So what's going on here and why do I run into this trouble with the 3Com509B card?
Is ep device not part of the kern.flp/mfsroot.flp kernel?
Help is very much appreciated!

Thanks so much,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 floppy out of the drive, make
it read/write, put it back in the drive and do the umount. Then it's OK.
The following is also fine:

# mount -t ufs -o rdonly /dev/fd0 /mnt
# umount /dev/fd0
Is this normal, or what?
Thanks,
Rob.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 touch a file on the (incorrectly) writeable
 floppy?

Are you also using FreeBSD 4.8?

I have created the installation floppy from the kern.flp file.
I then made this floppy readonly. I put that into my floppy drive
and...

# mount -t ufs /dev/fd0 /mnt
# ls -lo /mnt
total 1301
drwxr-xr-x  2 root  wheel  - 512 Apr  3 20:06 boot
-r-xr-xr-x  1 root  wheel  - 1324900 Apr  3 20:06 kernel.gz
# touch /mnt/kernel.gz
# ls -lo /mnt
total 1301
drwxr-xr-x  2 root  wheel  - 512 Apr  3 20:06 boot
-r-xr-xr-x  1 root  wheel  - 1324900 Jun 30 19:17 kernel.gz
# umount /mnt
umount: unmount of /mnt failed: Input/output error
#

Notice that the time has changed due to the 'touch' of the file
despite being readonly!!

The very little I know about filesystems, I guess the 'touch' has
been applied to the cache, not to the actual floppy.
The umount forces a sync, which can't be done due to readonly.

Something is fishy here, isn't it?

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 true.
Can someone give me a clue if there is indeed Windows Mediaplayer-like software
for FreeBSD/Unix?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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.

Have you tried to umount that floppy? Well, you can't. Unless you manually
change the floppy to read/write and allow the OS to apply the changes to
the floppy :(. But what if you can't or don't want that...then it is
error-mounted for ever

I would qualify this as a clear bug.
What do you say? Worth a bug report?

Simply mount and the umount a read/only floppy. You're stuck!

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 console

OK, but my point is: even if you immediately notice the messages in the
console, it's already too late. The mount command has been done and the
umount can't reverse the action, because of the Input/Output error.

With or without noticing the console error messages, you are stuck with
this mount. And if, for some reason, you can't make the floppy read/write,
you are stuck with this mount for ever, unless you reboot...

Have you tried yourself? There's no clean way out, is there?

I still think this falls into the category 'bug'.

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 can't just ignore the device status - if it says things
 are broken, what should they do?

I don't know. I may have given wrongly the impression that I am familiar
with this matter. I am not at all. I just noticed a very illogical behaviour
when mounting my readonly floppy; that's all.

With my simple mind, I would say: 'mount' should be able to detect that
you do a read/write-mount, but the medium is readonly; so it should
give an error message and NOT mount.

BUT: if it does mount the medium (floppy), then umount should also do
its job; and not, as it is now, refuse to umount.

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

What ever key I hit next, only produces a beep from the PC.
Nothing happens, so it seems to hang at this point.
Sounds like you've got a single slice.  The bootloader isn't managing
to find the FreeBSD boot blocks.  You may have failed to install them
for some reason, or maybe you've put the root partition too far in to
the disk for the BIOS to boot it.
Before installing FreeBSD, this PC was successfully running Mandrake Linux 9.0,
but this Linux distro is gone now. The BIOS settings are untouched (but how relevant
are the BIOS settings to the no-boot-from-harddisk after FreeBSD installation?).
The floppies kern.flp / mfsroot.flp boot like a charm, and this is how my FreeBSD
installation proceeds:
sysinstall Main Menu:
Standard   Begin a standard installation (recommended)
FDISK Partition Editor (with A = Use Entire Disk):
DISK Geometry:  21858 cyls/34 heads/54 sectors = 40131288 sectors (19595MB)
Offset  Size(ST) End Name  PType   Desc  SubtypeFlags
0  54 53-  6 unused0
54   40131234   40131287ad0s1  3freebsd  165C
Install Boot Manager for drive ad0:
BootMgr   Install the FreeBSD Boot Manager
FreeBSD Disklabel Editor (with A = Auto Defaults):
Disk: ad0   Partition name: ad0s1   Free: 0 blocks (0MB)
Part  Mount  Size Newfs
  -   -
ad0s1a/ 128MB UFS   Y
ad0s1bswap  368MB SWAP
ad0s1e/var  256MB UFS+S Y
ad0s1f/tmp  256MB UFS+S Y
ad0s1g/usr18586MB UFS+S Y
Choose Distributions:
User   Average user - binaries and doc only
(No to ports collection install)
Choose Installation Media:
 FTP   Install from an FTP server (- ftp.kr.freebsd.org)
Network interface information required:
rl0   RealTek 8129/8139 PCI ethernet card
[Network card configured properly  installation proceeds via ftp]

Message:
Congratulations!  You now have FreeBSD installed on your system.
...bla..bla..bla...
[The only relevant things I do hereafter, is set the root password and reboot]

sysinstall Main Menu:
X Exit Install
...
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped
syncing disks...
done
Uptime: 32m27s
Rebooting...
And that's it. It will never boot from harddisk. All I get from FreeBSD is:
F1  FreeBSD
Default: F1
and merely a beep, everytime I hit a key on the keyboard.
Any idea why that happens? What should I change in the installation procedure
above? Or are BIOS settings responsible for this?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Snip...


FDISK Partition Editor (with A = Use Entire Disk):
DISK Geometry:  21858 cyls/34 heads/54 sectors = 40131288 sectors (19595MB)
Offset  Size(ST) End Name  PType   Desc  SubtypeFlags
0  54 53-  6 unused0
54   40131234   40131287ad0s1  3freebsd  165C


I suspect you need to set ad0s1 slice bootable (using S key in fdisk screen).
Flags should be CA, not simply C.
I did following:

1) Installed RedHat 8.0. I created a brand new partition table with ext2 file system 
etc.
   All this went well and no problems with booting from harddisk after installation.
   Then I knew that there was no fundamental problem with booting from my harddisk.
2) Next again installed FreeBSD, following your 'set bootable' advice above.
   So I erased the Linux Partition table, and replace that by A = Use Entire Disk
   for FreeBSD:
DISK Geometry:  2654 cyls/240 heads/63 sectors = 40128480 sectors (19593MB)
Offset   Size(ST)End Name  PType   Desc  SubtypeFlags
   0 63 62-  6 unused0
  63   40128417   40128479ad0s1  3freebsd  165CA
40128480   4023   40132502-  6 unused0
Most remarkable here: the DISK Geometry is now different from my previous FreeBSD
installations! It has now changed
  from  21858 cyls/34 heads/54 sectors = 40131288 sectors (19595MB)
  to2654 cyls/240 heads/63 sectors = 40128480 sectors (19593MB)
And you won't believe it: now everything works!

---

My explanation:
the previous disk geometry was not correct (although Mandrake Linux was
running more or less OK on this PC). Anyway, FreeBSD could not boot because of the 
wrong
disk geometry. By installing RedHat Linux 8.0, somehow the disk geometry automagically
got adjusted to the correct values. The next FreeBSD installation thus went on without
a hitch.Does all that make sense?
Question:
how do I know a disk geometry won't work, or won't work for booting the system?
Can I tell FreeBSD to also do this 'automagical' resetting of the disk geometry, 
similar
to what RedHat install has done?
Thanks Toomas for guiding me along this path!!

Regards,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 sendmail source directory  code?

Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 settings and options there.
I hoped that an easy command as: /etc/rc.network restart would do the trick, but that didn't work.

Can someone help me out here?

Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 slow response of the sites I access. Is this situation
I find it difficult to verify who is right.
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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
  .  The main branch (the `current' release). This is the default,
  if only the date keyword is given.

But what is 'current'? Is that 5.2 at the moment? Or 4.8-current for me?
(my FreeBSD version is 4.8).

Thanks,
Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 that?
I then have reinstalled the ports (from /stand/sysinstall).
I also changed the supfile to:
*default host=cvsup2.freebsd.org
*default prefix=/usr
*default base=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
ports-all
(Only the tag has changed from RELENG_4 to the dot .).

This works; well, at least the ports are not deleted, but updated.
But updated to what?
Why can I not use the RELENG_4 for my 4.8 ports selection?

Will the dot update my ports to the ports of 5.x series?
If so, will that cause trouble for my 4.8 system?
What should I do to safely update my ports?

Thanks!
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 point 
 /base-w-shows the error Error mounting /dev/ad2s1e on /base : Device not 
 configured 
 
 What I'm doing wrong?

I'm not an HD expert; merely can tell you my experience:

Installing FreeBSD 4.8 went all well (on PC with a single 20 Mb HD),
but when exiting install for reboot from HD, the boot froze.

The problem turned out to be wrong cyls/heads/sectors settings of the HD.

I fixed that, installed FreeBSD again and the system booted like a charm.

So my 2 cents advice to your problem: double check the cyls/heads/sectors
settings of your HD. Are these correct?

Good luck!
Rob.

PS: my cyls/heads/sectors settings were automagically fixed by once
installing RedHat Linux 8.0. For some reason the Linux install fixed the
wrong settings of the HD, but FreeBSD can't or won't do such a thing.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 = not found
libXext.so.6 = not found
libXft.so.2 = not found
libXrender.so.1 = not found
libX11.so.6 = not found
libXft.so.2 = not found
libXrender.so.1 = not found
libX11.so.6 = not found
$ ls /usr/X11R6/lib/libX11.so.6
/usr/X11R6/lib/libX11.so.6


Any idea what's the problem here?

Thanks,
Rob.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 = not found
 libXi.so.6 = not found
 libXext.so.6 = not found
 libXft.so.2 = not found
 libXrender.so.1 = not found
 libX11.so.6 = not found
 libXft.so.2 = not found
 libXrender.so.1 = not found
 libX11.so.6 = not found
 $ ls /usr/X11R6/lib/libX11.so.6
 /usr/X11R6/lib/libX11.so.6

Meanwhile I've solved the problem with a:

 # portupgrade -frRv linux-realplayer-10.0.2_1

Sorry for the noise.

Rob.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 I had hangs with Mozilla 1.6, but that seemed to
be related to difficult webpage designs, which hanged Mozilla each
time I visited the site; with hang I mean, mozilla windows are still
there, but no reponse to key or mouse input anymore).
Apparently there's some bugs in 1.7 that accumulate and then crash
the application; crash means here that all mozilla windows simply
disappear, instantly gone.
Anybody else experiences this?
I wonder if it's a mozilla bug or a more freebsd related issue.
These are my installed ports (related to Mozilla):
 mozilla-1.7,2
 jdk-1.4.2p6_4
 linux-sun-jdk-1.4.2.05
 linux-flashplugin-6.0r79_1
 linuxpluginwrapper-20040310_2
 mplayerplug-in-2.66
 plugger-5.1.2
Regards,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: serial port programming

2003-12-03 Thread Rob Lahaye
Jean-Marc Francois wrote:
Sir,

I've posted this question on a newsgroup, but got no response.
Is there a cuaa-guru out there ? :-)
Sorry, but I cannot answer your questions, since I am stuck in a much
earlier stage of serial programming in FreeBSD/Unix.
I'm in a Windows-environment only. A Windowns machine can communicate
via the serial port with one of our data acquisition equipement (it's
a chemistry lab here). The serial data exchange is well documented in
the equipement manuals; e.g. 9600 baud, 8 bits, no stop bit etc. in
duplex mode receiving and sending data/commands.
The Windows C-program is directly manipulating the registers on the
16550A RS232 port, it's interrupt driven and works like a charm.
I want to this data acquisition using a FreeBSD OS. Strange enough, all
documentation I can find is related to terminal or console serial setups.
Is nobody using FreeBSD/Unix for data acquisition in research environment?
So where do I start? I'd thought a good starting point to learn how things
work, would be at first implementing:
int main()
{
 int fd = ;
 struct termios t;
 speed_t s1, s2;
 tcgetattr(fd, t);
 s1 = cfgetispeed(t);
 s2 = cfgetospeed(t);
}
But what is fd 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 to a small device I made via /dev/cuaa0.
The port settings should be 19200, 8N1 (no RTS/CTS, no XON/XOFF).  Looks 
simple.

I've written a small program using the standard POSIX API : tcgetattr 
and the like.

When I launch my program, it doesn't work (well, it works with Linux but 
not with FreeBSD).
If I first launch minicom (and ask it to setup the serial port), let it 
in the
background and launch my program, it works.

The problem is that the dump of the 'stuct termios' my program is using 
with or without
minicom is the same, so that's not the problem (stty -f /dev/cuaa0 gives 
the same output
also).

I thought all the serial settings were in this structure; where am I 
wrong ?

Thank if you can help (if you can't, thanks for reading anyway :-) ),
JM
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]