Where can I get a nVidia driver for FBSD amd64

2007-03-02 Thread Stephen Liu
Hi folks,

FreeBSD 6.2-amd64

I have been searching around for nVidia drvier without result.  X
window can't work properly on this box.  However I'm not alone.  Please
visit following sites

http://www.nvnews.net/vbulletin/showthread.php?t=41545page=15

and

http://www.nvnews.net/vbulletin/showthread.php?t=82203

The problem existed since 11-28-04, needing a nVidia driver for amd64
FreeBSD.

If you want to run amd64 FreeBSD please stay away with components
running nVidia chipsets.  Otherwise you will run into my situation as
well as other folks on above sites.


B.R.
Stephen Liu 

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linux equivalent to freebsd

2007-03-01 Thread Stephen Liu

--- DAve [EMAIL PROTECTED] wrote:

 Patrick Bowen wrote:
  [EMAIL PROTECTED] wrote:
  Hi,
 
  Sorry this question is a little off-topic...
 
  We've been using Freebsd for many years and all of our servers are
 
  running
  freebsd.
 
  The only thing that is a pain with freebsd, is poor commercial
 support :(
 
  We are running in a situation where a customer needs Zend platform
 3
  (http://www.zend.com/products/zend_platform) which won't be
 available for
  freebsd until the end of the year...
 
  So I will need to setup a machine with linux.
 
  I don't know much about linux distributions, could someone
 recommend 
  one to
  me please.
 
  We are looking for a platform that will support amd64 extensions,
 will 
  act
  as a console only server and that has a good way to install ports
 and
  upgrade. We want something secure and stable. We don't wanna go
 with 
  Redhat
  or any commercial distribution.
 
  I really like the cvsup/make install/portupgrade way of dealing
 with
  software installation and updates and I am looking for something 
  equivalent
  on a linux distribution.
 
  Could you recommend a distribution you are using in production,
 we've 
  check
  ubuntu, fedora and Debian, but I wonder what freebsd users
 recommend...
 
  Thanks
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 

  
  Take a look at Slackware.
  
  http://www.slackware.com
  
  Patrick
 
 Seconded, if I got to run Linux, I run Slackware (and I have in 
 production). If you need it there is a port of Slack to AMD64 called 
 slamd64, http://www.slamd64.com/.
 
 FreeBSD users will appreciate it's simplicity and it's stability.


slamd64-11.0 has issue on nVidia driver, same as FreeBSD 6.2-amd64. 
Besides you need to recompile kernel to enable smp technology.  Each
time after recompiling/upgrading kernel you need to reinstall the
driver download on nVidia.com.  The situation is better than FBSD.  I
can't locate driver for FBSD x86_64 on their website, only x_86
available.  The onboard NIC fails to work and X can't work properly 
However smp technology is already enabled on FBSD.

I have slamd64-11.0 and FreeBSD 6.2-amd64 running here.

I have no knowledge on CentOS.  I'm prepared to try it.  According to
folks on their forum CentOS supports nVidia chipset without problem.   


B.R.
Stephen Liu

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linux equivalent to freebsd

2007-03-01 Thread Stephen Liu

--- Simon Gao [EMAIL PROTECTED] wrote:

 Stephen Liu wrote:
 
  Take a look at Slackware.
 
  http://www.slackware.com
 
  Patrick

  Seconded, if I got to run Linux, I run Slackware (and I have in 
  production). If you need it there is a port of Slack to AMD64
 called 
  slamd64, http://www.slamd64.com/.
 
  FreeBSD users will appreciate it's simplicity and it's stability.
  
 
 
  slamd64-11.0 has issue on nVidia driver, same as FreeBSD 6.2-amd64.
 
  Besides you need to recompile kernel to enable smp technology. 
 Each
  time after recompiling/upgrading kernel you need to reinstall the
  driver download on nVidia.com.  The situation is better than FBSD. 
 I
  can't locate driver for FBSD x86_64 on their website, only x_86
  available.  The onboard NIC fails to work and X can't work properly
 
  However smp technology is already enabled on FBSD.
 
  I have slamd64-11.0 and FreeBSD 6.2-amd64 running here.
 
  I have no knowledge on CentOS.  I'm prepared to try it.  According
 to
  folks on their forum CentOS supports nVidia chipset without
 problem.   
 
 
  B.R.
  Stephen Liu
   
 Why not give Gentoo Linux (www.gentoo.org) a try. By using Gentoo
 Linux, 
 you not only get the similar port system, portage, as with FreeBSD,
 but 
 also enjoy all the benefits Linux can provide. Gentoo Linux is very 
 flexible and has a very good support community.


I have 64 bit Gentoo box here.  It also has nVidia driver problem.  My
20 Philips LCD display can't display resolution  1024x768.  I have
to download a driver from nVidia.com.  Now it displays correct
resolution 1680x1050.  I don't know whether I need to reinstall the
said driver if after upgrading/recompiling the kernel.  Because it is
running on a single core AMD Athlon64 PC.  I don't need to recompile
kernel to enable smp.

I'm now searching a rigid OS, either Unix or Linux, to be run as
server.  For time saving I don't expect building the same myself, HLFS.
 I need X for running web browser to communicate outside World.  Text
browser such as elinks etc. won't serve my need.  I won't have X
started at boot.  I only start it at need.  That is my purpose to test
CentOS.

B.R.
Stephen
 


Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fail to start KDE and Gnome

2007-02-28 Thread Stephen Liu
Hi Armin,

Tks for your advice.


--- Armin Pirkovitsch [EMAIL PROTECTED] wrote:

 Stephen Liu wrote:
  Hi Jonathan Chen,
  
  Tks for your advice.
  
   
  If you're going to use startx you will need a ${HOME}/.xinitrc
 with
  the following contents:
 
 #/bin/sh
 startkde
 
  Make sure the file is 755 permissions. This will start up X with
 KDE.
  I would suggest you configure /etc/ttys to start up KDM instead of
  using startx
  
  Your advice worked here starting KDE.
  
  What I'm trying to do is running;
  
  $ startkde
  will start K desktop
  
  $ gnome-session
  will start Gnome desktop
 
 This won't work since those are just the windowmanagers - you need an
 X
 server to start them.
 However you could solve it with some small scripts:
 
 
 start-gnome.sh:
 
 #!/bin/sh
 rm -f ~/.xinitrc
 ln -s ~/.xinitrc_gnome ~/.xinitrc
 startx
 
 
 
 .xinitrc_gnome:
 
 #!/bin/sh
 exec /usr/local/bin/gnome-session
 
 
 
 start-kde.sh:
 
 #!/bin/sh
 rm -f ~/.xinitrc
 ln -s ~/.xinitrc_kde ~/.xinitrc
 startx
 
 
 
 .xinitrc_gnome:
 
 #!/bin/sh
 exec /usr/local/bin/startkde
 
 
 
 make sure all of these files are executable (chmod 755 file)
 the .xinitrc* files have to be in your home directory -
 start-gnome.sh
 and start-kde.sh in any directory in your PATH (eg. ~/bin if it's
 only
 for one user)


Something strange happened here.  If copying xorg.conf.new on
/etc/X11/ and renaming it as xorg.conf. I can't start X, the HD only
turning.  Now I don't have /etc/X11/xorg.conf.  I can start KDE (not
Gnome).  I don't know which xorg.conf I am now running.

I can toggle resolution to increase font size on browser witn
[Ctrl]+[Alt]+[+]


B.R.
satimis



Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fail to start KDE and Gnome

2007-02-28 Thread Stephen Liu

--- Armin Pirkovitsch [EMAIL PROTECTED] wrote:

 Stephen Liu wrote:
 [...]
  
  Something strange happened here.  If copying xorg.conf.new on
  /etc/X11/ and renaming it as xorg.conf. I can't start X, the HD
 only
  turning.  Now I don't have /etc/X11/xorg.conf.  I can start KDE
 (not
  Gnome).  I don't know which xorg.conf I am now running.
 
 just have a look at /var/log/Xorg.0.log - it will tell you which
 config
 file is used

Hi Armin,


# cat /var/log/Xorg.0.log | grep xorg
(**) Option XkbRules xorg
(**) default keyboard: XkbRules: xorg


# cat /var/log/Xorg.0.log | grep conf
Markers: (--) probed, (**) from config file, (==) default setting,
(EE) Unable to locate/open config file
Running /usr/X11R6/bin/getconfig -X 6090 -I
/etc/X11,/usr/X11R6/etc/X11,/usr/X11R6/lib/modules,/usr/X  
 11R6/lib/X11/getconfig -v 0x10de -d 0x01df -r 0xa1 -s 0x1043
-b 0x81f3 -c 0x0300
(==) Using default built-in configuration (53 lines)
(==) --- Start of built-in configuration ---
(==) --- End of built-in configuration ---
Using the default mouse configuration.
Using the default keyboard configuration.

Would it be getconfig?  Why I'm not allowed to copy
/root/xorg.conf.ne /etc/X11/xorg and run xorg.conf there?

Unfortunataely xorg.0.log is a big file.  I have no idea where to look
at the error message on running xorg.conf.  Any suggestion?  TIA


B.R.
satimis

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fail to start KDE and Gnome - further test

2007-02-28 Thread Stephen Liu

--- Stephen Liu [EMAIL PROTECTED] wrote:

 
 --- Armin Pirkovitsch [EMAIL PROTECTED] wrote:
 
  Stephen Liu wrote:
  [...]
   
   Something strange happened here.  If copying xorg.conf.new on
   /etc/X11/ and renaming it as xorg.conf. I can't start X, the HD
  only
   turning.  Now I don't have /etc/X11/xorg.conf.  I can start KDE
  (not
   Gnome).  I don't know which xorg.conf I am now running.
  
  just have a look at /var/log/Xorg.0.log - it will tell you which
  config
  file is used
 
 Hi Armin,
 
 
 # cat /var/log/Xorg.0.log | grep xorg
 (**) Option XkbRules xorg
 (**) default keyboard: XkbRules: xorg
 
 
 # cat /var/log/Xorg.0.log | grep conf
 Markers: (--) probed, (**) from config file, (==) default setting,
 (EE) Unable to locate/open config file
 Running /usr/X11R6/bin/getconfig -X 6090 -I
 /etc/X11,/usr/X11R6/etc/X11,/usr/X11R6/lib/modules,/usr/X
  
  11R6/lib/X11/getconfig -v 0x10de -d 0x01df -r 0xa1 -s 0x1043
 -b 0x81f3 -c 0x0300
 (==) Using default built-in configuration (53 lines)
 (==) --- Start of built-in configuration ---
 (==) --- End of built-in configuration ---
 Using the default mouse configuration.
 Using the default keyboard configuration.
 
 Would it be getconfig?  Why I'm not allowed to copy
 /root/xorg.conf.ne /etc/X11/xorg and run xorg.conf there?
 
 Unfortunataely xorg.0.log is a big file.  I have no idea where to
 look
 at the error message on running xorg.conf.  Any suggestion?  TIA
 
 
 B.R.
 satimis


Hi Armin and folks,

I made further test as follow;

# cp /root/xorg.conf.new /etc/X11/xorg.conf

Hard reboot X = [Ctrl]+[Alt]+[Back Space]

exited to runlevel 3

Login : satimis
Password: xxx

$ startx

KDE started with color looking strangely and finally PC hung.

Hard reboot and removed xorg.conf

# cat /var/log/Xorg.0.log
.
FreeFontPath:FPE /usr/XR11R6/lib/X11/Fonts/misc/ refcount is 2.
should be 1: fixing
* end *

Any advice how to fix this problem.  TIA


B.R.
Stephen Liu

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fail to start KDE and Gnome

2007-02-27 Thread Stephen Liu
Hi Armin,

Tks for your advice.

 There are two files that control which windowsmanager shall be used
 (depending on whether you use a login manager or just startx)
 One is called .xinitrc the other one .xsession - they are both in
 your
 home directory - create them (you can create one of them and symlink
 the
 other one) and add the start command to the file (full path) - and
 make
 sure they are set executable (chmod 755 filename)
 eg. for kde:
 exec /usr/local/bin/startkde
 eg for gnome:
 exec /usr/local/bin/gnome-session

Done as per your advice.

$ cat ~/.xsession
exec /usr/local/bin/startkde
exec /usr/local/bin/gnome-session

$ ls -al ~/.xsession
-rwxr-xr-x  1 satimis  wheel  62 Feb 27 07:59 /home/satimis/.xsession

$ startkde

ksplash: cannot connect to X server
kdeinit: Aborting, $DISPLAY is not set
Warning: Connect() failed: No such file or directory
ksmserver: Cannot connect to Xserver !
startkde: shutting down ...
Warning: Connect() failed: No such file or directory
Error: Can't contact kdeinit !
startkde running shutdown script
startkde : Done

Still failed.


B.R.
satimis

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fail to start KDE and Gnome

2007-02-27 Thread Stephen Liu
Hi Jonathan Chen,

Tks for your advice.

 
 If you're going to use startx you will need a ${HOME}/.xinitrc with
 the following contents:
 
   #/bin/sh
   startkde
 
 Make sure the file is 755 permissions. This will start up X with KDE.
 I would suggest you configure /etc/ttys to start up KDM instead of
 using startx

Your advice worked here starting KDE.

What I'm trying to do is running;

$ startkde
will start K desktop

$ gnome-session
will start Gnome desktop

Tks.


B.R.
Stephen Liu


Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fail to start KDE and Gnome

2007-02-27 Thread Stephen Liu
Hi Jonathan,

 I would suggest you configure /etc/ttys to start up KDM instead of
 using startx

I'm prepared running this box building servers for test.  I don't
expect the box booting straight to login page.  X is only for
communicating outside World.  I'm not used to running elinks, the text
broswer.

Tks.


B.R.
satimis

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fail to start KDE and Gnome

2007-02-26 Thread Stephen Liu
Hi folks,

FreeBSD-6.2-amd64

This is a test, I insalled aprox 80% of the packages on Disc 2
After installation completed PC rebooted to runlevel 3.  Login as user
and run;

$ startkde
warning:
Kpersonalizer : Cannot connect to Xserer
- repeated-

$ gnome-session
(gnome-session 1968) gtk-Warning  ** cannot open displayed

$ startx
3 xterm windows started.  On xterm I can start KDE with a lot of
warning displayed on xterm windonw.  But I can't start Gnome on xterm.

I can start firefox on xterm.  Now I'm posting on firefox browser.

Please advise where I have to check fixing the problems.  TIA


B.R.
Stephen Liu

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dualcore performance-smp technology

2007-02-23 Thread Stephen Liu
Hi folks,

FreeBSD-6.2-amd64

Pls advice how to make FreeBSD fully utinize the benefit of dualcore. 
In Linux I recompiled a smp-kernel then it used dualcore performance. 
TIA


B.R.
Stephen Liu

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Command to combine several files as a single file, etc.

2004-06-10 Thread Stephen Liu
Hi Parv,

FreeBSD 5.2

Tks for your advice.

- snip -
 
 Do you want to collect a number of files in various
 formats in one
 file to be able to extract any file from the
 resulting collection?
 
 Or, do you want to collect information contained in
 different files
 in one single file in only one format?

Sorry for not having explained clear in my first
posting. I repeat it with following examples;

1) Saving webpages from website as following files

Page-1.pdf
Page-2.pdf
Page-3.pdf
Page-4.pdf
and so on

- how to combine all of them in a SINGLE file in the
order of page number still in .pdf format.
- how to rearrange them in the SINGLE file changing
postition of Page-4 to Page-1 etc. afterwards

2) Printing webpages from website as following files

Page-1.ps
Page-2.ps
Page-3.ps
Page-4.ps
and so on

- how to combine all of them in a SINGLE file in the
order of page number still in .ps format.
- how to rearrange them in the SINGLE changing
postition of Page-4 to Page-1 etc. afterwards

3) Saving webpages from website as following files

Page-1.html
Page-2.html
Page-3.html
Page-4.html
and so on

- how to combine all of them in a SINGLE file in the
order of page number still in .html format.
- how to rearrange them in the SINGLE changing
postition of Page-4 to Page-1 etc. afterwards

TIA

B.R.
satimis


 
 I cannot say anything about the second case.
 
 For the first case, there are archive creaters like
 tar, pax, 
 cpio.  See manual pages for respective commands, and
 some of the
 articles from a larger collection ...
 
   Archivers: http://www.onlamp.com/lpt/a/1710
 Tar: http://www.onlamp.com/lpt/a/2416
 Pax: http://www.onlamp.com/lpt/a/2660
Cpio: http://www.onlamp.com/lpt/a/2445
 
 
   - Parv

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Command to combine several files as a single file, etc.

2004-06-10 Thread Stephen Liu
Hi Bill,

Tks for your advice.

Stephen Liu [EMAIL PROTECTED] wrote:

  1) Saving webpages from website as following files
  
  Page-1.pdf
  Page-2.pdf
  Page-3.pdf
  Page-4.pdf
  and so on
 
 There are a couple of different programs out that
 can
 do this.  I found a perl script not so long ago that
 did a great job of merging PDF files, but I can't
 seem
 to locate it again.  A google search provides a lot
 of
 links to track down, and a lot of reading to do on
 the
 subject.

There are lot of solutions on google seach but I
expect to find a simple and straightforward way.

ghostscipt
ps2pdf

working on pdf files, converting them to ps files,
then  combining them and afterwards converting the
resultant file to pdf file again.

htmldoc
iText
etc.

for html files.  htmldoc is alreading running on my OS
but I could not get it to work.  I suppose it came
together on installing FreeBSD 5.2  I will start
another thread seeking for advice from folks on the
mailing list in this respect.

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem in running htmldoc

2004-06-10 Thread Stephen Liu
Hi folks,

FreeBSD 5.2

I have 'htmldoc' running which I suppose was installed
at the time of installing the OS.  But I could not
start it (GUI)

# which htmldoc
/usr/local/bin/htmldoc

# /usr/local/bin/htmldoc [ENTER]
ERROR: No HTML files!
HTMLDOC Version 1.8.23 Copyright 1997-2002 Easy
Software Products, All Rights Reserved.
This software is governed by the GNU General Public
License, Version 2, and
is based in part on the work of the Independent JPEG
Group.
..

I am not aware whether htmldoc was compiled against 
libraries of Fast Light Tookit

http://www.fltk.org/

# pkg_info | grep -i fast\*
no printout

# pkg_info | grep -i FLTK
no printout

I tried using command line to combine html files
without result

# htmldoc -f /path/to/output.ps --webpage
/path/to/*.html
ERR014: Image on page 1 too large - truncation or
overlapping may occur!
ERR014: Table on page 3 too wide - truncation or
overlapping may occur!
ERR014: Image on page 3 too large - truncation or
overlapping may occur!
PAGES: 3
ERR012: Unable to open output file - No such file or
directory

It failed.

There is no mailing list/discussion forum on
http://www.easysw.com/htmldoc/

Any advice?  TIA

B.R.
Stephen Liu



___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Command to combine several files as a single file, etc.

2004-06-09 Thread Stephen Liu
Hi folks,

Frequently I save/print doucument from Website as

.html
.pdf
.ps
etc.

files.  If the document consists of several pages then
there will be serveral files.  What command line/lines
shall I use to combine file of several pages as a
single file (not with 'echo' command).  Or which
application on KDE desktop shall I use to achieve this
goal.  After a single file created, how can I move
pages around inside the file (not with copy/paste 
command).

Additional how to add 'note' to the file/page or
bookmark a paragraph inside the file.

On the old day when I ran Windows, I used 'PaperPort',
'PageKeeper','Omnipage, etc. to do the abovementioned
job.  Are there similar applications on Open Source
for FreeBSD/Unix/Linux worlds.

TIA.

B.R.
Stephen Liu



___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wisdom of automating upgrades

2004-06-08 Thread Stephen Liu
Hi folks,

This is an interesting topic.

 On Tue, 8 Jun 2004, Peter Risdon wrote:
 
  The main cost of having computers for most
 companies lies not in
  software or hardware, but in support. I have been
 pondering the wisdom
  of automating the upgrade process, so that sources
 are cvsup'ed nightly
  and make buildworld buildkernel etc and
 portupgrade happen overnight
  maybe once a week or month - and perhaps every day
 a security fix is
  announced.
 
  Windows and Mac users are accustomed to automatic
 software updates on
  server products as well as desktops, so there is a
 competitive issue
  here. I've persuaded a number of companies to
 switch to FreeBSD and want
  to ensure the commercial logic of doing so is as
 complete as possible.
 
  cvsup'ing overnight is routine and fine.
 
  The make build/install stuff seems a bit more
 delicate. I'm happy that I
  have figured out how to automate this, but not
 _whether_ I should do so.
  I am of course only considering tracking RELENG_4
 at this stage.
 
  Ports are perhaps more likely to be problematic
 (though less likely to
  be a blocker to remote fixing than a failure to
 boot). Having said that,
  deprecation of versions and ports is fairly rare
 and keeping track of a
  small group in common use is feasible.
 
  I'd be grateful for any input on this. I can
 picture waking up to find
  that every machine I administrate is
 simultaneously *#!$%ed one morning.
  On the other hand, I like to provide the best
 value I can for clients
  and at the moment I have to charge for my time
 whenever an upgrade is
  necessary.
 
 You may want to have a look at freebsd-update. Its a
 binary updater,
 Client/Server config, the server code and info on
 what it is, is available
 from http://www.daemonology.net/freebsd-update/
 and the client is in ports.

Is there a way updating all installed ports
automatically wheneven the server/workstation is
booted and connected to Internet, similar to ntp
synchronizing the clock.

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wisdom of automating upgrades

2004-06-08 Thread Stephen Liu
HI Luke,

Thanks for your advice.

  Is there a way updating all installed ports
  automatically wheneven the server/workstation is
  booted and connected to Internet, similar to ntp
  synchronizing the clock.
  
 in theory it should be possible to write a script
 that runs portupgrade
 and then run it once at boot time from cron but I
 have never done it
 personally. I can see some potential for disaster if
 it is not done with
 extreme care. 

Where can I find some reference in this respect.

TIA

B.R.
Stephen


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup vs portupgrade

2004-06-07 Thread Stephen Liu
Hi Remko,

Tks for your advice.

- snip -

  2) If having run
  
  # cvsup -g /usr/local/etc/cvsup/ports-supfile
  # cvsup -g /usr/local/etc/cvsup/stable-supfile
  
  Whether I still need to run
  
  # portupgrade -aRr
 
 Yes you can do this, since cvsup retrieve's the
 latest sources for the 
 ports and basesystem, while portupgrade actually
 uses those sources and 
 installs them on your system..

After running

# cvsup -g /usr/local/etc/cvsup/ports-supfile
# cvsup -g /usr/local/etc/cvsup/stable-supfile
before running
# portupgrade -aRr

whether I need to run

# pkgdb -F 
# portsdb -Uu

B.R.
Stephen


 Thus: You should first update your sources through
 cvsup, and then 
 install them , or upgrade them via the ports system,
 or using 
 portupgrade (For the upgrade).
 
 Hope this helps,

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup vs portupgrade

2004-06-07 Thread Stephen Liu
Hi Viktor,

Tks for your advice.

- snip -
  # cvsup -g /usr/local/etc/cvsup/ports-supfile
  # cvsup -g /usr/local/etc/cvsup/stable-supfile
 
  Whether I still need to run
 
  # portupgrade -aRr
 
  3) If NO to 2) above
  When shall I need to run
  # portupgrade -aRr
 
  4) Whether following procedure is correct
 
  # cvsup -g /usr/local/etc/cvsup/ports-supfile
  then
  # cvsup -g /usr/local/etc/cvsup/stable-supfile
 
 cvsup synchronizes your source tree.  This ensures
 that whatever you build
 will be using the updated code for the branch you
 are tracking..(- snip -)...as far as your
running
 system is concerned,
 no actual update occurs until you do a make
 buildworld/make installworld,
 make buildkernel/make installkernel, or install a
 particular port using
 the updated source code.
- snip -

Under which directory shall I run
- make buildkernel/make installkernel
or
- make buildworld/make installworld

 cvsup -g /usr/local/etc/cvsup/ports-supfile and
 cvsup -g
 /usr/local/etc/cvsup/stable-supfile separately
 update the sources for the
 FreeBSD version you are tracking and the ports
 collection--if you are
 running both every time you can combine them in a
 single cvsupfile that
 updates everything in a single pass.

Hereinunder are the content of my
/usr/local/etc/cvsup/ports-supfile

*default host=cvsup10.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
#*default compress
ports-all


and
/usr/local/etc/cvsup/stable-supfile

*default host=cvsup10.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_2
*default delete use-rel-suffix
#*default compress
src-all
doc-all
www
..

Whether you suggest to combine them as
/usr/local/etc/cvsup/ports+stable-supfile

*default host=cvsup10.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=. tag=RELENG_5_2
*default delete use-rel-suffix
#*default compress
ports-all
src-all
doc-all
www
..

Or any other filename to be suggested

and only run
# cvsup -g /usr/local/etc/cvsup/ports+stable-supfile
each time

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cvsup vs portupgrade

2004-06-06 Thread Stephen Liu
Hi folks,

I am still not very clear on the function between

# cvsup -g /usr/local/etc/cvsup/stable-supfile

and 

# portupgrade -aRr

I have following questions;

1) What will be their diffenece in function

2) If having run

# cvsup -g /usr/local/etc/cvsup/ports-supfile
# cvsup -g /usr/local/etc/cvsup/stable-supfile

Whether I still need to run

# portupgrade -aRr

3) If NO to 2) above
When shall I need to run
# portupgrade -aRr

4) Whether following procedure is correct

# cvsup -g /usr/local/etc/cvsup/ports-supfile
then
# cvsup -g /usr/local/etc/cvsup/stable-supfile

NOT the other way round

Kindly advise.  TIA

B.R.
Stephen Liu




=
Best Regards
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to make a screenshot?

2004-06-05 Thread Stephen Liu
Hi Randy,

FreeBSD 5.2

vidcontrol -p  /dev/ttyv0  shot.scr

with the above command a file 'shot.scr' was created. 
 But I have no program to view it.

# pkg_info | grep scr2txt
# pkg_info | grep scr2png
# pkg_info | grep -w xv
all no printout

# cd /usr/ports
# make search name=scr2txt
Port:   scr2txt-1.1
Path:   /usr/ports/textproc/scr2txt
Info:   Converts the output of vidcontrol -p to text

# make search name=scr2png
Port:   scr2png-1.1_4
Path:   /usr/ports/graphics/scr2png
Info:   Converts the output of vidcontrol -p to PNG

# make search name=xv | grep -w xv
Port:   xv-3.10a_3
Path:   /usr/ports/graphics/xv

Kindly advise Whether I have to install either of the
above program to read shot.scr?

  The following command will dump contents of the
 fourth virtual
  terminal to the standard output in the human
 readable format:
 
vidcontrol -P  /dev/ttyv3

On KDE desktop Konsole window

# vidcontrol -P  /dev/ttyv3
no graphic image displayed
(tried both -P and -p)

Besides I have to 'su' to use 'vidcontrol'

B.R.
Stephen Liu


 The .scr images can be manipulated with
 textproc/scr2txt and
 graphics/scr2png.  The man pages for both describe
 their usage.
 
 These are the tools that are used to produce the
 screenshots of
 the console and Sysinstall in the Handbook.
 
 For screenshots in XFree86, I find that graphics/xv
 does the job
 quite nicely without a lot of fuss.
 
 Best regards,
 
 Randy

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem about ports command

2004-06-04 Thread Stephen Liu
Hi folks,

After running

# cvsup -g /usr/local/etc/cvsup/ports-supfile
# cvsup -g /usr/local/etc/cvsup/stable-supfile

then

# portupgrade -aRrv0
I encountered problem in executing ports commands such
as

# portsclean -C
portsclean: Command not found.

# whereis portsclean
portsclean: /usr/local/sbin/portsclean
/usr/local/man/man1/portsclean.1.gz
It is there.

# /usr/local/sbin/portsclean -C
/usr/local/sbin/portsclean: Command not found.

# portsdb -Uu
portsdb: Command not found.
# whereis portsdb
portsdb: /usr/local/sbin/portsdb
/usr/local/man/man1/portsdb.1.gz
It is also there.

# /usr/local/sbin/portsdb -Uu
/usr/local/sbin/portsdb: Command not found.

Now I'm trying to run following commands to remove and
re-install 'portupgrade'
# pkg_delete -f portupgrade*
# pkg_delete -f ruby*
# cd /usr/ports/sysutils/portupgrade
# make install clean

On running
# pkg_delete -f portupgrade*
pkg_delete: No match.

# pkg_info | grep portupgrade
portupgrade-20030723 FreeBSD ports/packages
administration and management tool s
It is also there.

Is there a device locking all ports commands.  Kindly
advise how to proceed.  TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to exclude upgrading kde in running 'portupgrade'

2004-06-03 Thread Stephen Liu
Hi folks

I am prepared upgrading kde-3.1.4 to kde-3.2.2. 
Because I am running FreeBSD 5.2 on a slow PC,
AMD-k6-350, I will take following route

# cd /
# pkg_delete kde\* arts\* qt\* quanta\* kdevelop\*
# env
PACKAGESITE=http://people.fruitsalad.org/lofi/packages/5.2.1-RELEASE/Latest/
pkg_add -r kde

However to avoid running into conflict of dependencies
which are unknown to me I will run following steps
first to upgrade all other packages including
dependencies;

# cd /
# cvsup -g /usr/local/etc/cvsup/ports-supfile
# cvsup -g /usr/local/etc/cvsup/stable-supfile

and then
# portupgrade -aRrv -x kde

I don't know whether the '-x' tag will excluding
upgrading kde otherwise the PC will run for several
days.

Any suggestion?  TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to exclude upgrading kde in running 'portupgrade'

2004-06-03 Thread Stephen Liu
Hi Lowell,

Tks for your advice.

  # portupgrade -aRrv -x kde
  
  I don't know whether the '-x' tag will excluding
  upgrading kde otherwise the PC will run for
  several days.
 
 That should work.  If you want to see for sure
 before starting, use
 the -n option -- that's exactly why it exists.
 
 It sounds like this will be a common situation for
 you, so you might
 want to use pkgtools.conf to exclude it from future
 runs too.

I read  /usr/local/etc/pkgtools.conf

Whether I add
disabled_kde.sh

will take effect.

TIA

B.R.
Stephen 



___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Seeking advice on 'ports-supfile'

2004-06-01 Thread Stephen Liu
Hi Adam,

Tks for your advice.

  FreeBSD-5.2
  
  I'm seeking for advice on 'ports-supfile' to run
  
  # cvsup -g /usr/local/etc/cvsup/
  ports-supfile
  
  the second time as at the first time there were
 some
  problems
 
 I don't quite use it this way.
 
 I use the three files located at
 http://www.bugman.cx/cvsup/ and I always
 put them in my /etc directory (just for easy
 access).

Noted

 make.conf is empty during a standard FreeBSD
 installation, but by putting
 (some) of these options in it, you'll be able to
 update the ports by cd-ing
 to /usr/ports and typing in 'make update'.
 
 It's way better this way.

cat /etc/make.conf
MASTER_SITE_BACKUP?=\
   
ftp://ftp2.au.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=  ${MASTER_SITE_BACKUP}
MASTER_SORT_REGEX?= ^file:
^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/
://[^/]*\.au/ ://[^/]*\.au\.
SUP_UPDATE=yes
SUP=/usr/local/bin/cvsup
SUPFLAGS=-g -L 2 -r 0
SUPHOST=mirror.internode.on.net
SUPFILE=/etc/release-supfile
PORTSSUPFILE=/etc/ports-supfile
WITHOUT_GUI=true
WITHOUT_X11=true
WITHOUT_CUPS=true

1)
Shall I make change to following lines according to
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

MASTER_SITE_BACKUP?=\
   
ftp://ftp2.au.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=  ${MASTER_SITE_BACKUP}
MASTER_SORT_REGEX?= ^file:
^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/
://[^/]*\.au/ ://[^/]*\.au\.

and

SUPHOST=mirror.internode.on.net

2)
Shall I make any change to;
/etc/ports-supfile
/etc/release-supfile

Kindly advice.  TIA

B.R.
Stephen



___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem after running portupgrade (continue)

2004-05-26 Thread Stephen Liu
Hi folks,

I found following files on

# ls -lh /tmp/
srwxrwxrwx  1 wnn  wheel   0B Mar 28 23:22
cd_sockV4
srwxr-xr-x  1 satimis  wheel   0B May 25 19:33
file1XG2EX
srwxr-xr-x  1 satimis  wheel   0B May 25 22:37
file38j0wR
srwxr-xr-x  1 satimis  wheel   0B May 23 23:41
file4Umjgt
srwxr-xr-x  1 satimis  wheel   0B May 24 23:03
fileBSC8C0
srwxr-xr-x  1 satimis  wheel   0B May 24 23:41
fileQJVrqc
srwxr-xr-x  1 satimis  wheel   0B May 23 20:04
fileZZ7EKb
srwxr-xr-x  1 satimis  wheel   0B May 23 00:27
fileZzv73Y
srwxr-xr-x  1 satimis  wheel   0B May 27 09:01
filedInBFW
srwxr-xr-x  1 satimis  wheel   0B May 25 15:40
filehXKshb
srwxr-xr-x  1 satimis  wheel   0B May 26 23:47
filel6qaBo
srwxr-xr-x  1 satimis  wheel   0B May 23 00:29
filelVIjRu
srwxr-xr-x  1 satimis  wheel   0B May 25 23:37
fileq1kqeJ
srwxr-xr-x  1 satimis  wheel   0B May 23 19:57
fileqqmG1v
srwxr-xr-x  1 satimis  wheel   0B May 25 13:08
filercSbq1
srwxr-xr-x  1 satimis  wheel   0B May 23 08:15
fileshMHVV
srwxr-xr-x  1 satimis  wheel   0B May 26 00:09
filewt72dp

But they can't be moved to /urs/tmp

Any advise?  What are they for and how they were
created.  Can I delete them all

TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem after running portupgrade

2004-05-25 Thread Stephen Liu
Hi Chris,

Tks for your advice.
 
 Look into /var/log for a list of files like this
 example:
 
 cron.0.bz2  maillog.1.bz2  
 sendmail.st.0
 cron.1.bz2  maillog.2.bz2  
 sendmail.st.1
 
 Note the bz2 extensions and the files that have
 digits  at the end.
 Chances are you may have many. You can delete these
 if you wish.

ls /var/log/
XFree86.0-1.log messages.0.bz2
XFree86.0-2.log messages.1.bz2
XFree86.0-2.log~messages.2.bz2
XFree86.0-3.log messages.3.bz2
XFree86.0.log   messages.4.bz2
XFree86.0.log.old   messages.5.bz2
XFree86.0.log~  mount.today
XFree86.8-1.log ppp.log
XFree86.8.log   ppp.log.0.bz2
XFree86.8.log.old   ppp.log.1.bz2
XFree86.8.log~  ppp.log.2.bz2
auth.logppp.log.3.bz2
auth.log.0.bz2  ppp.log~
cronppp.yd_040225
cron.0.bz2  scrollkeeper.log
cron.1.bz2  security
cron.2.bz2  sendmail.st
cron.3.bz2  sendmail.st.0
cupssendmail.st.1
debug.log   sendmail.st.10
dmesg.today sendmail.st.2
dmesg.yesterday sendmail.st.3
kdm.log sendmail.st.4
lastlog sendmail.st.5
lpd-errssendmail.st.6
maillog sendmail.st.7
maillog.0.bz2   sendmail.st.8
maillog.1.bz2   sendmail.st.9
maillog.2.bz2   setuid.today
maillog.3.bz2   setuid.yesterday
maillog.4.bz2   slip.log
maillog.5.bz2   userlog
maillog.6.bz2   wtmp
maillog.7.bz2   xdm.log
messagesxferlog

I am going to delete following files;

/var/log/
messages.0.bz2
messages.1.bz2
messages.2.bz2
messages.3.bz2
messages.4.bz2
messages.5.bz2
ppp.log.0.bz2
ppp.log.1.bz2
ppp.log.2.bz2
ppp.log.3.bz2
auth.log.0.bz2
cron.0.bz2
cron.1.bz2
cron.2.bz2
cron.3.bz2
sendmail.st.1
sendmail.st.10
sendmail.st.2
sendmail.st.3
sendmail.st.4
sendmail.st.5
sendmail.st.6
sendmail.st.7
sendmail.st.8
sendmail.st.9
maillog.0.bz2
maillog.1.bz2
maillog.2.bz2
maillog.3.bz2
maillog.4.bz2
maillog.5.bz2
maillog.6.bz2
maillog.7.bz2

Any comment ???

 Also, look around the dirs within /var  You may have
 something logging such as 
 a core dump.

$ ls /var
account db  log rwho
at  empty   mailspool
backups games   msgstmp
crash   heimdal preserveyp
cronlib run

$ ls /var/backups
aliases.bak master.passwd.bak
group.bak   master.passwd.bak2
group.bak2

Can I delete all above files ???

$ ls /var/tmp
gconfd-root svh3k.tmp
gconfd-satimis  svh3m.tmp
linux_base-7.1_5.tbzsvmhc.tmp
mapping-rootsvmhe.tmp
mapping-satimis svmhg.tmp
orbit-root  teTeX-2.0.2_2.tbz
orbit-satimis   tmp.0.QQlif7
pkgdb.fixme tmp.0.dr0vBP
sv603.tmp   tmp.0.kDy79T
sv605.tmp   tmp.0.lu8h4X
sv607.tmp   tmp.1.Egne6s
svd5k.tmp   tmp.1.JW15qD
svd5m.tmp   tmp.1.nNXAdw
svd5o.tmp   tmp.1.xygGQv
svh3i.tmp   vi.recover

Can I delete above files with .tmp extension and all
tmp files ???

# ls /var/cron
tabs

# ls /var/run
cron.pid
.

core dump
could not be found

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem after running portupgrade

2004-05-25 Thread Stephen Liu
Hi Remko,

Tks for your advice.

 It says to you that the var drive is full, the var
 drive keeps logs etc 
 so pretty crucial that it has some space. Go to
 /var/log and check which 
 files are a bit big and rotate them. You can do
 that by entering 
 single user mode, mount the /var, go to /var/log,
 type `ls -lh' it gives
 you the filesizes
 
 Some file has to be what bigger then the rest, so we
 need to clean it a bit.
 Mount the /usr drive and create the directory
 /usr/tmp (since that drive 
 has a lot of space left), now mv
 /var/log/$bigfilename /usr/tmp/ and
 touch /var/log/$bigfilename (So that it does exist).

It is not the files on /var/log/ taking up space but
following files on /var/tmp/

# ls -lh
total 192544
-rw-r--r--  1 satimis  wheel  2.3M May 14 22:26
tmp.0.QQlif7
-rw-r--r--  1 satimis  wheel  2.3M May 14 22:24
tmp.0.dr0vBP
-rw-r--r--  1 satimis  wheel  2.3M May 15 15:58
tmp.0.kDy79T
-rw-r--r--  1 satimis  wheel  2.3M May 14 22:29
tmp.0.lu8h4X
-rw-r--r--  1 satimis  wheel   26M May 14 22:26
tmp.1.Egne6s
-rw-r--r--  1 satimis  wheel   72M May 14 22:25
tmp.1.JW15qD
-rw-r--r--  1 satimis  wheel   32M May 14 22:29
tmp.1.nNXAdw
-rw-r--r--  1 satimis  wheel   48M May 15 15:59
tmp.1.xygGQv
.

I have no idea what they are and when they were
created.

# df
Filesystem  1K-blocksUsedAvail Capacity 
Mounted on
/dev/ad4s1a253678   45872   18751220%/
devfs   1   10   100%/dev
/dev/ad4s1e2536784672   228712 2%/tmp
/dev/ad4s1f  36354884 4807654 2863884014%/usr
/dev/ad4s1d253678   57664   17572025%/var

 If you reboot now the system will come up and i
 guess that the things 
 are starting to work again.
 
 The Failure of gnome is too less space on /var i
 think,

After rebooting the PC, Gnome revived.  Still have
some minor problems, such as on KDE desktop Konsole
window, selected fonts unable to save (saving settings
having no function)

 The portsclean package? What's that? Search the
 internet

'portsclean' is an utility of 'portupgrade'.  Very
powerful taking about 5 minute to complete on my slow
system.  Now it got lost.  I think I have to reinstall
'portupgrade'

 Try changing your settings in Konsole now, perhaps
 there is enough space 
 now.

Still having problem.  Please see above.

Tks again for your advice.

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem after running portupgrade

2004-05-24 Thread Stephen Liu
Hi folks,

I encountered problems after running

# portupgrade -aRrvO

At completion following warning popup;
.
..
Backing up the old version

/var: write failed, filesystem is full

bzip2: I/O or other error, bailing out.  Possible
reason follows.
bzip2: No space left on device
Input file = (stdin), output file = (stdout)
** Backup failed.
---  Uninstallation of linux_base-7.1_5 ended at:
Mon, 24 May 2004 22:20:19 +0800 (consumed 00:00:09)
---  Upgrade of emulators/linux_base ended at: Mon,
24 May 2004 22:20:19 +0800 (consumed 00:18:22)
[Updating the pkgdb format:dbm_hash in /var/db/pkg
... - 260 packages found (-0 +2) ..
/var: write failed, filesystem is full
---  Session ended at: Mon, 24 May 2004 22:20:22
+0800 (consumed 20:46:59)
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:241:in
`origin': dbm_store failed: Cannot update the pkgdb!]
(PkgDB:BError)
from
/usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:178:in
`origin'
from /usr/local/sbin/portupgrade:709:in
`do_upgrade'
from /usr/local/sbin/portupgrade:686:in `main'
from /usr/local/sbin/portupgrade:685:in `each'
from /usr/local/sbin/portupgrade:685:in `main'
from /usr/local/sbin/portupgrade:207:in
`initialize'
from /usr/local/sbin/portupgrade:207:in `new'
from /usr/local/sbin/portupgrade:207:in `main'
from /usr/local/sbin/portupgrade:1846
#

Reboot PC. Gnome could not be started with a warning
something like server configure error.

I have no chance to write down the complete warning
because it jumped to another empty window after a
while. Nor I have an editor to copy the warning down.

KDE started properly. Following problems were found.

1)
# /usr/src/etc/periodic/weekly/310.locate updatedb

Rebuilding locate database:
/var: write failed, filesystem is full
cat: stdout: No space left on device

2)
# df

Filesystem  1K-blocksUsedAvail Capacity 
Mounted on
/dev/ad4s1a253678   45872   18751220%/
devfs   1   10   100%/dev
/dev/ad4s1e2536784672   228712 2%/tmp
/dev/ad4s1f  36354884 4619692 2882680214%/usr
/dev/ad4s1d253678  249478   -16094   107%/var

3)
# portsclean -C
portsclean: Command not found

# cd /usr/ports
# make search name=portsclean
No printout

4) On KDE desktop
Konsole window - Font characters being huge
Settings - Font - Custom
started 'request font' window. It was possible to
select font.

But
Settings - Save Settings
seemed having no function. On starting a new Konsole
window fonts were still huge.

That were the mistakes having been discovered. Others
unknown yet.

Kindly advise.
1) How to free space. The HD is of 40 G in size solely
for FreeBSD 5.2
2) Where can I find 'portsclean' package
3) How to discover the cause of failure in starting
Gnome
4) How to set fonts on Konsole window

TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creating ISO image question

2004-05-23 Thread Stephen Liu
Hi Eddysan, 

Tks for your advice.  

I already solve my problem with following command
line;

$ mkisofs -R -o cdimage.raw -J -graft-points
-hide-rr-moved
/usr/home/user-A/Document-AAA/=/usr/home/user-A/Document-AAA/

But I like to learn an alternative.

 Try
 
 mkisofs -J -r -l -allow-lowercase -o outputfile.iso
 -V CD Lavel /dir

$ mkisofs -J -r -l -allow-lowercase -o cdimage.iso -V
CD Lavel /usr/home/user-A/Document-AAA/

.
mkisofs: Joliet tree sort failed.

cdimage could not be created.  Previously it did
happen occasionally on enabling -J flag.  Another time
it worked without problem with -J flag on.  I still
could not find out its cause.

Removing -J flag then it worked

$ mkisofs -r -l -allow-lowercase -o cdimage.iso -V CD
Lavel /usr/home/user-A/Document-AAA/

creating a cdimage.

However full path of directories still could not be
created.

B.R.
Stephen




 On Mon, 2004-05-17 at 15:19, arden wrote:
  im guessing this is what you mean ?
  
  mkisofs -r -J -o cd_image.iso dir/
  
  arden
  
  
  On Mon, 2004-05-17 at 12:28, Stephen Liu wrote:
   HI folks,
   
   I tried to solve following questions on creating
 ISO
   image with reference to 'man mkisofs' but could
 not
   resolve;
   
   Tree of diectories e.g.
   
   /usr/home/user-A/document-AAA/subdirectories
   
   1) To include the complete tree starting from
   /user-A/document-AAA/subdirectories
   
   2) To include the complete tree starting from
   /document-AAA/subdirectories
   
   Kindly advise.
   
   TIA
   
   B.R.
   Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Install IPFILTER question

2004-05-21 Thread Stephen Liu
Hi folks,

FreeBSD 5.2
===

I tried to install and run IPFILTER but met with
following problems;

# which ipfilter
ipfilter: Command not found.

# whereis ipfilter
ipfilter: /usr/src/contrib/ipfilter
# ls /usr/share/examples/ | grep ipfilter
ipfilter

# pkg_info | grep -i ipfilter
No printout

# cd /usr/ports/
# make search -i name=ipfilter
# make search name=ipfilter
Both with no printout

# ee /usr/src/sys/conf/NOTES, searchig for 'IPFILTER'
and found follows;

options MROUTING# Multicast
routing
options PIM # Protocol
Independent Multicast
options IPFIREWALL  #firewall
options IPFIREWALL_VERBOSE  #enable
logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=100#limit
verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT#allow
everything by default
options IPV6FIREWALL#firewall for
IPv6
options IPV6FIREWALL_VERBOSE
options IPV6FIREWALL_VERBOSE_LIMIT=100
options IPV6FIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT#divert
sockets
options IPFILTER#ipfilter
support
options IPFILTER_LOG#ipfilter
logging
options IPFILTER_DEFAULT_BLOCK  #block all
packets by default
options IPSTEALTH   #support for
stealth forwarding
options PFIL_HOOKS  #required by
IPFILTER
options TCPDEBUG

Kindly advise how to install IPFILTER and/or edit
kernel option to enable it.

TIA

B.R.
Stephen Liu


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Long filename question on burning CD

2004-05-21 Thread Stephen Liu
Hi folks,

FreeBSD 5.2

Most filenames saved exceed 8 characters. After
burning on CD they can be read comfortable on the same
OS as well as other Lunux/Unix boxes. The problem
comes while reading the same CD on Window Explorer,
XP, ME, etc. The filename can't read clearly because
all of them changed to 8 character max, such as ~01,
~02, etc. Is there any solution on burning CD allowing
the long filename (exceeding 8 characters) can be read
clearly on Windows identical to their name read on
Linux/Unix

Kindly advise.

TIA

B.R.
Stephen Liu



___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Correct steps to recompile kernel

2004-05-20 Thread Stephen Liu
Hi all folks,

FreeBSD 5.2
===

I am trying to learn recompiling kernel. I visited
following link;
http://www.freebsd.org/doc/en_US.IS...g-building.html

But I am still not very clear of the correct steps to
be taken. I suppose taking following steps

# cd /usr/src/sys/i386/conf
# cp GENERIC GENERIC.bak
# cp GENERIC MYKERNEL
# ee MYKERNEL
(modifying the kernel)

# config MYKERNEL
# cd /usr/src/sys/i386/compile/MYKERNEL
(Are the above directories correct???)

# make depend
# make
# make install

check /etc/rc.conf to have the line:
linux_enable=YES
reboot PC

Any further steps needed to be taken thereafter?

If I am wrong please correct me. TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Correct steps to recompile kernel

2004-05-20 Thread Stephen Liu
Hi Bill,

Tks for your advice.

- snip -
  # cd /usr/src/sys/i386/conf
  # cp GENERIC GENERIC.bak
  # cp GENERIC MYKERNEL
  # ee MYKERNEL
  (modifying the kernel)
 
 This is good ... although making a backup of GENERIC
 is
 somewhat redundant.

Noted with thanks.  But in case of trouble where can I
get the old kernel back.

  # config MYKERNEL
  # cd /usr/src/sys/i386/compile/MYKERNEL
  (Are the above directories correct???)
  
  # make depend
  # make
  # make install
 
 This is the _old_ way.  I believe it still works,
 but I
 don't know if it's supported any longer, and
 besides, it's
 just more work than needed.  The docs describe the
 newer
 method, which is
 
 cd /usr/src
 make buildkernel KERNCONF=MYKERNEL
 reboot to single-user mode
 make installkernel KERNCONF=MYKERNEL
 reboot

Noted with thanks.

  check /etc/rc.conf to have the line:
  linux_enable=YES
  reboot PC
 
 This is a completely different thing than compiling
 a kernel.
 If you want the linuxulator installed, definately do
 this,
 but it's not really related to building a kernel.

Noted.
 
 You don't mention if you've updated your source code
 or not.
 Just a warning, if you _did_ update your source
 code, you need
 to remake world as well as the kernel or you'll have
 trouble.
 If you didn't update your source, the steps outlined
 above
 should cover everything.

No, I am not going to upgrade the kernel, only to
activate SCSI support.  Sorry for not mentioning it on
my first posting.

Tks

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creating ISO image question (PROBLEM SOLVED)

2004-05-19 Thread Stephen Liu
Hi Malcolm,

Tks for your advice.  

You understand my need completely.  Problem is now
solved as stated at the bottom of this posting.

 I believe that in case 1) you want to see the 
 directory usr on the final CD containing
 subdirectory home etc.
 
 And in instance 2) you want to see the 
 directory user-A on the final CD containing
 document-AAA etc.
 
 In the command 
   mkisofs -r -J -o cd_image.iso dir/
 the directory 'dir' does not actually appear on the 
 CD. At the top level the CD would contain the files 
 and subdirectories appearing in 'dir/'.
 
 To get the full sequence 
 'user-A/document-AAA/subdirectories/..'
 to appear on the CD you would need 
  mkisofs -r -J -o cd_image.iso /usr/home/
 But unfortaunately this will include all under home;
 not
 just user-A/document-AAA. The simplest way to
 achieve what I 
 believe you want in instance 2) is to create a
 temporary tree of 
 what you want to see on the CD:
   mkdir tree
   mkdir tree/user-A
   cp -Rp /usr/home/user-A/document-AAA tree/user-A
   mkisofs -r -J -o cd_image.iso tree
 (The mkisofs options are just an example -- probably
 not what you
 want)
 Now you can remove the temporary tree:
   rm -R tree

I don't expect it would be so complicate on FreeBSD. 
It is rather simple on Linux.

 You might be able to avoid this copying using the
 mkisofs
 option -graft-points ; but I have no experience with
 this.

SOLUTION;

$ mkisofs -U -R -o cdimage.raw -graft-points \
usr/home/user-A/document-AAA/=/usr/home/user-A/document-AAA

2 (two) folders then created;

1) user.  Under this folder
usr/home/user-A/document-AAA/subdirectories+files
(full path)
2) rr_remove  This is an empty folder

I don't know how to get rid of the empty folder
'rr_remove'.  If no solution I will burn a CD to test

Lot of thanks for your HINT

B.R.
Stephen


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to mount and read cdimage before burning

2004-05-18 Thread Stephen Liu
Hi folks,

Freebsd 5.2
===

Following command works on Linux but not on Freebsd
# mount cd_image.iso -r -t iso9660 -o loop /mnt
(remark: iso9660 changed to cd9660)

Google search brought following link
http://www.freebsddiary.org/iso-mount.php

$ vnconfig /dev/vn0c cd_image.iso
ERROR: vnconfig(8) has been discontinued
Please use mdconfig(8).
$ mdconfig /dev/vn0c cd_image.iso
mdconfig: open(/dev/mdctl): Permission denied
$ su
Password:
# mdconfig /dev/md0c cd_image.iso
usage:
mdconfig -a -t type [-n] [-o [no]option]... [
-f file] [-s size] [-S sectorsize] [-u unit]
mdconfig -d -u unit
mdconfig -l [-n] [-u unit]
type = {malloc, preload, vnode, swap}
option = {cluster, compress, reserve}
size = %d (512 byte blocks), %dk (kB),
%dm (MB) or %dg (GB)

Have no idea how to proceed further.  Kindly advise.

TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to mount and read cdimage before burning

2004-05-18 Thread Stephen Liu
Hi Christian, Ion-Mihai and others

Tks for your advice which works for me.  Problem is
solved now.

B.R.
Stephen

  Hi folks,
 
  Freebsd 5.2
  ===
 
  Following command works on Linux but not on
 Freebsd
  # mount cd_image.iso -r -t iso9660 -o loop /mnt
  (remark: iso9660 changed to cd9660)
 
  Google search brought following link
  http://www.freebsddiary.org/iso-mount.php
 
  $ vnconfig /dev/vn0c cd_image.iso
  ERROR: vnconfig(8) has been discontinued
  Please use mdconfig(8).
  $ mdconfig /dev/vn0c cd_image.iso
  mdconfig: open(/dev/mdctl): Permission denied
  $ su
  Password:
  # mdconfig /dev/md0c cd_image.iso
  usage:
  mdconfig -a -t type [-n] [-o
 [no]option]... [
  -f file] [-s size] [-S sectorsize] [-u unit]
  mdconfig -d -u unit
  mdconfig -l [-n] [-u unit]
  type = {malloc, preload, vnode,
 swap}
  option = {cluster, compress,
 reserve}
  size = %d (512 byte blocks), %dk
 (kB),
  %dm (MB) or %dg (GB)
 
  Have no idea how to proceed further.  Kindly
 advise.
 
  TIA
 
  B.R.
  Stephen Liu

 
 attach md:
 # mdconfig -a -t vnode -f /yourpath/your.iso 
 # mount -t cd9660 /dev/md0 /yourmountpoint
 
 list configured mds:
 # mdconfig -l
 
 unmount and detach:
 # umount /yourmountpoint
 # mdconfig -d -u 0
 
 There are some examples listed in 'man 8 mdconfig'. 


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to mount and read cdimage before burning

2004-05-18 Thread Stephen Liu
Hi Warren,

Tks for your advice.  Although my problem has been
solved with the assistance from folks on this list, I
am interested to learn an alternative way, if any.

- snip -

/usr/share/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
 
 Isn't loop the compressed filesystem?  In that
 case, the
 /usr/ports/sysutils/cloop-utils port may be helpful.

# cd /usr/ports/
# make search name=cloop-utils
No printout

# ls /usr/ports/sysutils/ | grep cloop-utils
No printout

B.R.
Stephen


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creating ISO image question

2004-05-18 Thread Stephen Liu
Hi Joe,

Tks for your advice.

- snip-
 mkisofs -o cd_image.iso flags from mkisofs man
 page dir/ ?

Applying following command lines
1)
# mkisofs -o cdimage.raw -R
/usr/home/user-A/document-AAA

2)
# mkisofs -R -o cdimage.raw
/usr/home/user-A/document-AAA

3)
# mkisofs -o cdimage.raw -R -pathspec
/usr/home/user-A/document-AAA

all having same result. The path has not been copied
to the cdimage, only the subdirectories under
'document-AAA' copied.

If adding -J to the command line, cdimage can't be
created with warning 'mkisofs: Joliet tree sort
failed'

- snip -
 
 Generally I use:
 
 mkisofs -o filename.iso -J -R -P Joe -sysid
 BACKUP -V meaningful string -l backup/
 
 Almost always, I use the same name for the
 filename and for the
 meaningful string.

$ mkisofs -o cdimage.raw -J -R -P Stephen -sysid
BACKUP -V /Storage-040517/ -l
/usr/home/satimis/Storage-040517/


Plug and Process-Has the Era of Utility Computing
Finally Arrived.html have the same Joliet name

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Creating ISO image question

2004-05-17 Thread Stephen Liu
HI folks,

I tried to solve following questions on creating ISO
image with reference to 'man mkisofs' but could not
resolve;

Tree of diectories e.g.

/usr/home/user-A/document-AAA/subdirectories

1) To include the complete tree starting from
/user-A/document-AAA/subdirectories

2) To include the complete tree starting from
/document-AAA/subdirectories

Kindly advise.

TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to allow 'User-A' to burn CD

2004-05-17 Thread Stephen Liu
Hi Matthew,

Tks for your advice.

  Which file shall I re-configure to authorize
 'User-A'
  using 'burncd' to burn CD and how to edit it.
 
 /usr/local/etc/sudoers would be a good file to use
 to set up that sort
 of thing.

Noted with thanks

I only expect to allow 'User-A', not all users, to
burn CD. I can

# chmod 660 /dev/acd1

then all users can burn CD.

User-A is alrady allowed to burn CD with

$ su
password: (root password)

What I expect to change is to allow User-A
$ su
password : using his own password instead of 'root
password'

 You will have to install the
 security/sudo port and read up
 on the sudoers(5) manual page and the visudo(8)
 application used to
 edit that file.

Noted with thanks.

What do these numbers (5) and (8) referring to.  Page
number?

TIA

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creating ISO image question

2004-05-17 Thread Stephen Liu
Hi arden,

Tks for your advice.
 
 im guessing this is what you mean ?
 
 mkisofs -r -J -o cd_image.iso dir/

I made following test without result;

$ mkisofs -r -J -o cd_image.iso
/usr/home/user-A/Storage-040517
...
...
mkisofs: Joliet tree sort failed.

The result I expect to have is after burning a folder
named 'Storage-040517' found on the CD under which are
directories and subdirectories.

B.R.
Stephen
 
 
 On Mon, 2004-05-17 at 12:28, Stephen Liu wrote:
  HI folks,
  
  I tried to solve following questions on creating
 ISO
  image with reference to 'man mkisofs' but could
 not
  resolve;
  
  Tree of diectories e.g.
  
  /usr/home/user-A/document-AAA/subdirectories
  
  1) To include the complete tree starting from
  /user-A/document-AAA/subdirectories
  
  2) To include the complete tree starting from
  /document-AAA/subdirectories
  
  Kindly advise.
  
  TIA
  
  B.R.
  Stephen Liu
  
 

___
  Do You Yahoo!?
  Get your free @yahoo.com.hk address at
 http://mail.english.yahoo.com.hk
  ___
  [EMAIL PROTECTED] mailing list
 

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

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

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creating ISO image question

2004-05-17 Thread Stephen Liu
Hi Fernando,

Tks for your advice.

  I tried to solve following questions on creating
 ISO
  image with reference to 'man mkisofs' but could
 not
  resolve;
 
 Take a look at /usr/share/examples/worm/makecdfs.sh
 
 It's a shell script the FreeBSD team uses for making
 the FreeBSD ISOs

I read the file 'makecdfs.sh' and
/usr/share/examples/worm/Readme.  The latter explains
the use of 

burncd.sh mybigtestimage dummy

But I could not discover the 'Readme' for
'makecdfs.sh' explaining how to use it and where will
this file be copied to.

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creating ISO image question

2004-05-17 Thread Stephen Liu
Hi Fernando,

- snip -

  But I could not discover the 'Readme' for
  'makecdfs.sh' explaining how to use it and where
 will
  this file be copied to.
 
 There isn't a readme for makecdfs.sh
 Just run makecdfs.sh without arguments and it'll
 show a help message.

# makecdfs.sh
makecdfs.sh: Command not found.

$ makecdfs.sh
makecdfs.sh: Command not found.

where shall I copy 'makecdfs.sh' to

/bin/
/usr/sbin/
etc.

B.R.
Stephen



___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to allow 'User-A' to burn CD

2004-05-16 Thread Stephen Liu
Hi folks,

Which file shall I re-configure to authorize 'User-A'
using 'burncd' to burn CD and how to edit it.

TIA

B.R.
Stephen Liu 

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Command to display the complete picture of hard drive

2004-05-15 Thread Stephen Liu
Hi folks,

FreeBSD 5.2

What command will be used to display the complete
history of the hard drvice (other than fdisk) listing
all partitions, their allocated space, used space,
available space, date of creation, etc.

TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Command to display the complete picture of hard drive

2004-05-15 Thread Stephen Liu
Hi Alex,

 Try using df - it may be what you need.
 
 #df
 
 And, #man df will give you a list of flags.

Tks for your advice.  'df' is the command I'm
searching for.

$ df -ahi
FilesystemSize   Used  Avail Capacity iused  
ifree %iused  Mounted on
/dev/ad4s1a   248M43M   185M19%1791  
312315%   /
devfs 1.0K   1.0K 0B   100%   0  
0  100%   /dev
...

Why the denotation of hard drive = /dev/ad4sla, not
/dev/hda, etc.

B.R.
Stephen


 On Saturday 15 May 2004 03:26 am, Stephen Liu wrote:
  Hi folks,
 
  FreeBSD 5.2
 
  What command will be used to display the complete
  history of the hard drvice (other than fdisk)
 listing
  all partitions, their allocated space, used space,
  available space, date of creation, etc.
 
  TIA
 
  B.R.
  Stephen Liu
  

=
Best Regards
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Command to display the complete picture of hard drive

2004-05-15 Thread Stephen Liu
Hi, 

Tks for your advice.

- snip -

  Why the denotation of hard drive = /dev/ad4sla,
 not
  /dev/hda, etc.
 
 Because afaik, /dev/hda is a Linuxism. The
 /dev/ad2s1a convention has
 been there long before Linux was even conceived of.

I suppose '/dev/ad2sla' with the HD connected to the
IDE slot of motherboard.

For '/dev/ad4sla' the HD is connected to a controller
card as in my case.

If I am wrong please correct me.

TIA

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Files burned on CDRW could not be copied on Liunx box

2004-05-15 Thread Stephen Liu
Hi all folks,

FreeBSD 5.2

I used burncd burning data files on a CDRW as root. 
The files can be copied on the same box.  But they
can't be copied on Debian box, saying that I have no
permission to copy files.  However in fact the files
are copied to Debian box.  On the Debian box I tried
to mount the CDRW as root as well as user with the
same result.  Kindly advise is there any solution?

Beside how to authorized 'user-A' to burn CD

TIA

B.R.
Stephen Liu



___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ICQ question

2004-05-13 Thread Stephen Liu
Hi folks,

FreeBSD 5.2

Has any folk run 'Kxicq' on FreeBSD before.  Can I
talk to my friend if he runs MSN on Windows?  If NO
kindly advise what will be the solution.

Google search brought me following links;

1)
http://www.kxicq.org/

Ths links there seem died.

2)
http://linux.maruhn.com/sec/kxicq.html

can the tarballs there works for FreeBSD

TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ICQ question

2004-05-13 Thread Stephen Liu
Hi Nelis,

  Has any folk run 'Kxicq' on FreeBSD before.  Can I
  talk to my friend if he runs MSN on Windows?  If
 NO
  kindly advise what will be the solution.
 
 you may want to try Gaim
 http://gaim.sourceforge.net/ for MSN support
 and others.
 
 /usr/ports/net/gaim

Hi Nelis,

FreeBSD 5.2
===

Tks for your advice.

# cd /usr/ports/
# make search name=gaim
Port:   gaim-0.73
Path:   /usr/ports/net/gaim
..

But the lastest version is
gaim-0.77.tar.gz
which has been downloaded to
/usr/home/download/

I expect to install gaim-0.77.tar.gz
Can I perform as follow;
# cd /usr/home/download/
# pkg_add gaim-0.77.tar.gz

Or
installing the package starting from its tarball
# cd /usr/home/download/
# tar zxvf gaim-0.77.tar.gz
# cd /usr/home/download/gaim-0.77
# ./configure
# make
# make install

Kindly advise.  TIA

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ICQ question

2004-05-13 Thread Stephen Liu
Hi Phil,

FreeBSD 5.2
===

Tks for your advice.

  you may want to try Gaim
 http://gaim.sourceforge.net/ for MSN support
  and others.
 
 Either install gabber (from ports/net) and find an
 MSN transport on it,
 or install ayttm (also from ports/net).

# pkg_info | grep gabber
# pkg_info | grep ayttm
Both without printout

# cd /usr/ports/
# make search name=gabber
Port:   gabber-0.8.8
Path:   /usr/ports/net/gabber
Info:   GNOME Jabber Client


# make search name=ayttm
No printout
# make search name=*ayttm
No printout

B.R.
satimis




___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: First time running cvsup

2004-05-11 Thread Stephen Liu
Hi Ion,

Tks for your advice.

Freebsd5.2


- snip -

 I use 3 cvsup files: one fot the ports, one for the
 docs and one for the
 system (src). This way I can update ports and docs
 more often and be
 sure the system had known-to-be-working sources (I'm
 on -CURRENT).

Noted with tks

 My /etc/ports-supfile is:
 *default host=cvsup3.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 ports-all

What will be the difference between
*default host=cvsup3.FreeBSD.org
and
*default host=cvsup10.FreeBSD.org

 (Don't refuse categories in ports, when you'll try
 to `make index` I
 will fail from time to time ).

Could you please explain above in more detail.  Tks

 In the /etc/current-supfile the line ports-all is
 replaced by src-all
 and in /etc/doc-all by doc-all
 
 If you don't follow -current you will want to change
 the dot from
 tag=. in your branch.

Noted with thanks

- snip -

  I could not locate
  /usr/ports/UPDATING 
  where it is kept???
 
 Well, in /usr/ports :) It is a new thing so it will
 appear after you
 cvsup. 

Noted.

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


First time running cvsup

2004-05-10 Thread Stephen Liu
Hi folks

Freebsd5.2
=

This is my first time running 'cvsup' to upgrade
port-tree after installing the OS which runs on a slow
PC, AMD-K6-350 and under X11.  

# cvsup cvs-supfile

I went through 'A.5.3 CVSup Configuration' on
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

But I haven't had much confidence on myself, not
running the PC to an unstable state after upgrade. 
Please provide me some advice on this respect

$ pkg_info | grep cvsup
cvsup-16.1h General network file distribution
system optimized for CVS

# cp /usr/share/examples/cvsup/cvs-supfile 
/etc/cvs-supfile
# ee /etc/cvs-supfile  (as follows)

cvs-all (shall I add 'release=cvs' ???)
...

Can I create one 'supfile' to /etc/supfile and run
followings collectively (instead of to run each
'supfile' separately);
# cat /etc/supfile

src-all
doc-all ('release=cvs' ???)
cvs-all ('release=cvs' ???)
cvsroot-all ('release=cvs' ???)
ports-all ('release=cvs' ???)
.

then
# cvsup supfile

Is it necessary to run following trial test ???
# mkdir /var/tmp/dest
# cvsup supfile /var/tmp/dest

I could not locate
/usr/ports/UPDATING 
where it is kept???

TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Installing linuxpluginwrapper

2004-05-10 Thread Stephen Liu
Hi folks,

I encountered following problem in installing
'linuxpluginwrapper'

# cd /usr/ports
# make search name=linuxpluginwrapper
Port:   linuxpluginwrapper-20031122
Path:   /usr/ports/www/linuxpluginwrapper
..

# cd /usr/ports/www/linuxpluginwrapper/
# make install clean
 linuxpluginwrapper-20031122.tar.gz doesn't seem to
exist in /usr/ports/distfi
les/.
 Attempting to fetch from
[url]ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfi[/url]
les/nork/.
fetch:
[url]ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/nork/linuxpluginw[/url]
rapper-20031122.tar.gz: File unavailable (e.g., file
not found, no access)
 Attempting to fetch from
[url]ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-dis[/url]
tfiles/nork/.
fetch:
[url]ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/nork/linuxplug[/url]
inwrapper-20031122.tar.gz: File unavailable (e.g.,
file not found, no access)
 Attempting to fetch from
[url]ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-dis[/url]
tfiles/nork/.
fetch:
[url]ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/nork/linuxplug[/url]
inwrapper-20031122.tar.gz: File unavailable (e.g.,
file not found, no access)
 Attempting to fetch from
[url]ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-dis[/url]
tfiles/nork/.
fetch:
[url]ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/nork/linuxplug[/url]
inwrapper-20031122.tar.gz: Not logged in
 Attempting to fetch from
[url]ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-dis[/url]
tfiles/nork/.
fetch:
[url]ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/nork/linuxplug[/url]
inwrapper-20031122.tar.gz: File unavailable (e.g.,
file not found, no access)
 Attempting to fetch from
[url]ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-dis[/url]
tfiles/nork/.
fetch:
[url]ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/nork/linuxplug[/url]
inwrapper-20031122.tar.gz: File unavailable (e.g.,
file not found, no access)
 Attempting to fetch from
[url]http://people.FreeBSD.org/~nork/distfiles/.[/url]
fetch:
[url]http://people.FreeBSD.org/~nork/distfiles/linuxpluginwrapper-20031122.tar[/url]
.gz: Not Found
 Attempting to fetch from
[url]ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.[/url]
fetch:
[url]ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/linuxpluginwrapper-2003[/url]
1122.tar.gz: File unavailable (e.g., file not found,
no access)
 Couldn't fetch it - please try to retrieve this
 port manually into /usr/ports/distfiles/ and try
again.
*** Error code 1
Stop in /usr/ports/www/linuxpluginwrapper.


# cd /usr/ports/distfiles/
# ls -al | grep linuxpluginwrapper
No printout.

Kindly advise how to proceed.

TIA

B.R.
satimis

=
Best Regards
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Which package generating libesd.so.2

2004-05-04 Thread Stephen Liu
Hi folks,

Starting GNOME on Konsole window, following warning
popup

$ gnome-session
/libexec/ld-elf.so.1: Shared object libesd.so.2 not
found

$ find / libesd.so.2
find: libesd.so.2: No such file or directory

Kindly advise which package generates 'libesd.so.2'

TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which package generating libesd.so.2

2004-05-04 Thread Stephen Liu
Hi Christian,

  Starting GNOME on Konsole window, following
 warning
  popup
 
  $ gnome-session
  /libexec/ld-elf.so.1: Shared object libesd.so.2
 not
  found
 
  $ find / libesd.so.2
  find: libesd.so.2: No such file or directory
 
  Kindly advise which package generates
 'libesd.so.2'
 
 
 it's esound

Tks for your advice.  Problem solved with;

# cd /usr/ports/audio/esound
# make install clean

Gnome is now working

B.R.
Stephen




___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting Gnome problem

2004-05-03 Thread Stephen Liu
Hi Uli,

  $ gnome-session
  /libexec/ld-elf.so.1: Share object
  libORBit-2.so.0 not found
 My liORBit-2.so.0 is in /usr/local/lib .
 You can try to search your directory tree for yours
 and create a
 symbolic link to this place:
 # ln -s /whereIt/reallyIs/libORBit-2.so.0
 /usr/local/lib/libORBit-2.so.0
 (in one line)

It is very strange.  The file is already there, plus
one symbolic link

# locate libORBit-2.so.0
/usr/local/lib/libORBit-2.so.0

# ls -al /usr/local/lib/ | grep -i libORBit-2.so.0
lrwxr-xr-x   1 root  wheel   15 May  3 10:23
libORBit-2.so - libORBit-2.so.0
-rwxr-xr-x   1 root  wheel   402279 May  3 10:23
libORBit-2.so.0

Shall I remove the symbolic link

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting Gnome problem

2004-05-03 Thread Stephen Liu
Hi Joe,

- snip -
  It is very strange.  The file is already there,
 plus
  one symbolic link
  
  # locate libORBit-2.so.0
  /usr/local/lib/libORBit-2.so.0
  
  # ls -al /usr/local/lib/ | grep -i libORBit-2.so.0
  lrwxr-xr-x   1 root  wheel   15 May  3 10:23
  libORBit-2.so - libORBit-2.so.0
  -rwxr-xr-x   1 root  wheel   402279 May  3 10:23
  libORBit-2.so.0
  
  Shall I remove the symbolic link
 
 What does:
 
 ldconfig -r | head
 ldconfig -r | grep ORBit
 
 report?

# ldconfig -r | head
/var/run/ld-elf.so.hints:
search directories:
/lib:/usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/kde3
0:-lcrypt.2 = /lib/libcrypt.so.2
1:-lkvm.2 = /lib/libkvm.so.2
2:-lm.2 = /lib/libm.so.2
3:-lmd.2 = /lib/libmd.so.2
4:-lncurses.5 = /lib/libncurses.so.5
5:-lsbuf.2 = /lib/libsbuf.so.2
6:-lutil.4 = /lib/libutil.so.4
7:-lalias.4 = /lib/libalias.so.4

# ldconfig -r | grep ORBit
206:-lORBit-imodule-2.0 =
/usr/local/lib/libORBit-imodule-2.so.0
269:-lORBit-2.0 =
/usr/local/lib/libORBit-2.so.0
270:-lORBitCosNaming-2.0 =
/usr/local/lib/libORBitCosNaming-2.so.0
271:-lORBit.2 = /usr/local/lib/libORBit.so.2
354:-lORBitutil.2 =
/usr/local/lib/libORBitutil.so.2
392:-lORBitCosNaming.2 =
/usr/local/lib/libORBitCosNaming.so.2

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting Gnome problem

2004-05-03 Thread Stephen Liu
Hi Joe,

- snip -
  # ldconfig -r | head
  /var/run/ld-elf.so.hints:
  search directories:

/lib:/usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/kde3
  0:-lcrypt.2 = /lib/libcrypt.so.2
  1:-lkvm.2 = /lib/libkvm.so.2
  2:-lm.2 = /lib/libm.so.2
  3:-lmd.2 = /lib/libmd.so.2
  4:-lncurses.5 = /lib/libncurses.so.5
  5:-lsbuf.2 = /lib/libsbuf.so.2
  6:-lutil.4 = /lib/libutil.so.4
  7:-lalias.4 = /lib/libalias.so.4
  
  # ldconfig -r | grep ORBit
  206:-lORBit-imodule-2.0 =
  /usr/local/lib/libORBit-imodule-2.so.0
  269:-lORBit-2.0 =
  /usr/local/lib/libORBit-2.so.0
  270:-lORBitCosNaming-2.0 =
  /usr/local/lib/libORBitCosNaming-2.so.0
  271:-lORBit.2 =
 /usr/local/lib/libORBit.so.2
  354:-lORBitutil.2 =
  /usr/local/lib/libORBitutil.so.2
  392:-lORBitCosNaming.2 =
  /usr/local/lib/libORBitCosNaming.so.2
 
 The library exists, and the permissions are good. 
 ldconfig has it in
 its cache.  Perhaps you have a problem with your
 runtime loader or
 permissions on your cache files.  What happens when
 you run the above
 commands as a non-root user?  

This is a workstation, only root and one user. 
Whether you meant

# useradd

 What are the
 permissions on /var/run/ld*?

# ls -al /var/run/ld*
-r--r--r--  1 root  wheel   208 May  4 07:39
/var/run/ld-elf.so.hints
-r--r--r--  1 root  wheel  5865 May  4 07:39
/var/run/ld.so.hints

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting Gnome problem

2004-05-02 Thread Stephen Liu
Hi Uli,

Tks for your response.

  Following warning popup;
 
  /libexec/ld-elf.so.1: Share object
 libORBit-2.so.0
  not found
 This one should be present in /usr/local/lib .
 
 But, as I have to admit, I am no gnome expert. Try
 their mailing
 list. I am quite sure your upgrade didn't work
 properly.
 By the way: there also might be error messages on
 the console
 from which you started X.

1)
There was no other advice.  I booted to multi-user
mode and started 'gnome-session there.

2)
I received a response from 'freebse-gnome' advising;


This shared library comes from the devel/ORBit2
port.  Install it.


# cd /usr/ports/devel/ORBit2
make install clean

Rebooted PC

$ pkg_info | grep -i orbit2
ORBit2-2.8.2High-performance CORBA ORB with
support for the C language

$ gnome-session
/libexec/ld-elf.so.1: Share object
libORBit-2.so.0 not found

But problem still there.

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Open Office - installation problem

2004-04-25 Thread Stephen Liu
- snip -

   see what's
   happening, and install the darned thing.
  
  # pkg_add OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz
  pkg_add: could not find package ORBit-0.5.17_2 !
  
  Now another problem comes on installing
 RRBit-0.5.17_2
  as follow;
  
  # cd /usr/ports/
  # make clean  (first)
  
  The PC is now running for more than 8 hrs. coming
 to
  
  biology/platon
  Cleaning .
  
  Shall I close the Kconsole window OR let it to
 run.
 
 You probably wanted
 
 # cd /usr/ports/devel/ORBit
 # make clean
 
 What you've done above is to make the entire ports
 tree clean.  The
 'make clean' before building the port seems a bit
 unnecessary, but
 you're obviously doing it for a reason.


Hi Joshua,

Yes, you are right.

About several days ago I tried to upgrade
'automake-1.4.5_9' to its latest version using
following commands which I knew being incorrect later;

# cd /usr/ports/automake-1.4.5_9
# make deinstall

After starting I saw it removed files which I needed. 
I closed the Konsole window promptly to stop running
it.

Today I tried to force remove 'automake-1.4.5_9' with
following command

# ca /usr/ports/
# pkg_delete automake
pkg_delete: no such package 'automake' installed

# ls /var/db/pkg

automake-1.4.5_9

showing it war there.

# pkg_delete -r automake-1.4.5_9
kg_delete: file '/usr/local/share/automake14/COPYING'
doesn't really exist
pkg_delete: file '/usr/local/share/automake14/INSTALL'
doesn't really exist
pkg_delete: file
'/usr/local/share/automake14/acinstall' doesn't really
exist
pkg_delete: file
'/usr/local/share/automake14/ansi2knr.1' doesn't
really exist
pkg_delete: file
'/usr/local/share/automake14/ansi2knr.c' doesn't
really exist
pkg_delete: file
'/usr/local/share/automake14/clean-hdr.am' doesn't
really exist
.
pkg_delete: file '/usr/local/share/automake14/ylwrap'
doesn't really exist
pkg_delete: couldn't entirely delete package (perhaps
the packing list is incorrectly specified?)

I tried again
# pkg_delete -r automake-1.4.5_9
pkg_delete: no such package 'automake-1.4.5_9'
installed.

It was very strange.  So I prepared to force-install
the latest version of automake.  Before doing so I
tried to 'make clean' the port trees first to see
whether it will help

Now can I stop running 'make clean' by closing the
Konsole window.  In doing so would it cause damage to
the OS

Kindly advise.

TIA

Furthermore connection to Internet died. I could not
re-connect it.  I think I need to reboot the PC.  

B.R.
Stephen




___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Open Office - installation problem

2004-04-25 Thread Stephen Liu
- snip -
 
  No. It's a package, and it's *not* a tgz file.
 
 Errr... folks -- packages *are* .tgz files.  Except
 under 5.x where
 they are .tbz files.  They could just as well be
 .zip files, or some
 sort of compressed cpio format like .rpms or Solaris
 packages.  It's
 just a mechanism for gathering a bunch of files and
 directories
 together into a single container for easy download. 
 And the
 compression is just so that the maximum number of
 packages can be
 fitted into the space available.

Hi Matthew,

Can I use 'zxvf' to untar the packages and do 'setup'
to install OOo, the normal way not FreeBSD way?  

Is it necessary to remove OOo-1.1 first which I
re-setup temperarily to work.

TIA

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Open Office - installation problem

2004-04-25 Thread Stephen Liu
Hi Matthew,

Tks for your advice.
 
  Can I use 'zxvf' to untar the packages and do
 'setup'
  to install OOo, the normal way not FreeBSD way?  
 
 No -- in this case the files being referred to are
 in fact FreeBSD
 pkg's.  You can certainly extract the contents using
 'tar -zxvf', but
 it won't do you a great deal of good.  This isn't
 like the OO packages
 for other OSes, where you unpack a tar-ball and run
 an included shell
 script to copy everything into the appropriate
 locations.  The FreeBSD
 pkg_add(1) program handles all that uncompressing,
 untarring and
 copying things completely automatically, as well as
 doing some
 additional stuff like registering the package in
 /var/db/pkgs

Noted with thanks.  I also want to install OOo 1.1.1
following FreeBSD way.

I'm expecting a reply from Joshua or other folks to my
posting whether I can stop running 'make clean' the
ports trees in the mid-way.  In doing so it won't
damage the OS.  After clarification I shall install
'automake' first. then install/upgrade to
'ORBit-0.5.17_2' and then install OOo 1.1.1
 
  Is it necessary to remove OOo-1.1 first which I
  re-setup temperarily to work.
 
 You might be able to get away with having both
 OpenOffice-1.1 and
 OpenOffice-1.1.1 installed simultaneously, as they
 both install to
 separate subdirs of /usr/local.  However, apart from
 using up huge
 amounts of disk space, I don't see that's going to
 do a great deal for you.

The reason for my question is 'I want to have OOo1.1.1
running smoothly first before erasing OOo 1.1.0

 OpenOffice-1.1.1 release is available via ports --
 but apparently not
 yet as a precompiled package from
 http://projects.imp.ch/openoffice/
 or the usual FreeBSD FTP sites.
 
 You can compile it yourself, but be warned: it's
 huge, has quite a
 long dependency list and takes geological ages to
 compile.  Not for
 the faint hearted or those without a powerful
 machine.

It is really my problem.  I am running FreeBSD on a
slow machine.  I try to avoid installing packages from
source code

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Open Office - installation problem

2004-04-24 Thread Stephen Liu
Hi folks,

FreeBSD 5.2

I encountered following problem on installing OOo

OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz
was download to /usr/home/user/Download

$ cd /usr/home/user/Download/
checked md5 OK

$ ls -al
...
-rw-r--r--   1 user  wheel  73105915 Apr 17 18:11
OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz


$ su -
password

# pkg_add OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz
pkg_add: can't stat package file
'OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz'

Kindly advise what mistake I have committed.

TIA

B.R.
satimis



___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Open Office - installation problem

2004-04-24 Thread Stephen Liu
  FreeBSD 5.2
  
  I encountered following problem on installing OOo
  
  OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz
  was download to /usr/home/user/Download
  
  $ cd /usr/home/user/Download/
  checked md5 OK
  
  $ ls -al
  ...
  -rw-r--r--   1 user  wheel  73105915 Apr 17 18:11
  OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz
  
  
  $ su -
  password
  
  # pkg_add OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz
  pkg_add: can't stat package file
  'OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz'
 
 It's not a package, it's a tgz file. Use tar xzvf
 file.tgz. Go to the
 OO site and read the install instructions, there are
 other things you
 need to do beside untar the file.

Hi Terry,

Tks for your advice.

I have done installing OOo from tarball on Linux many
times.  I just tried FreeBSD way following the
instruction (see attached file) and came to problem.

B.R.
Stephen

=
Best Regards
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hkOpenOffice.org 1.1.1 RC3 for FreeBSD 5.2.1-RELEASE
Written by NAKATA, Maho [EMAIL PROTECTED]

1) Introduction
This document describes how to check the file you've downloaded,
and installation procedure. RC3 is exactly same as 1.1.1. so please do not
worry about `RC3' no bugs are fixed between 1.1.1RC3 and 1.1.1

2) Environment
Please use FreeBSD 5.2.1-RELEASE. I don't check later/earlier version of
FreeBSD. Please do it at your own risk.
Note, these packages never work for 4.x series.

3) Download
Please download your favorite language version.

Languagesize md5  filename 
English(US) 73105915 5d3da3cc1d6ac8629966d9585adf6223 
OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz  
Arabic  65963691 6684a040020f380c1491c99676c47dc8 
OOo_1.1.1.RC3_FreeBSD52Intel_install_ar.tbz   
Catalan 53575179 1e0a496a2159c94c8accf211c7c3f2a0 
OOo_1.1.1.RC3_FreeBSD52Intel_install_ca.tbz   
Czech   66102472 1a62687c443560b74463966f58551f1b 
OOo_1.1.1.RC3_FreeBSD52Intel_install_cs.tbz   
German  67465057 8177bae9037ab3455f336050d5a8ff9d 
OOo_1.1.1.RC3_FreeBSD52Intel_install_de.tbz   
Danish  66024650 50fb7e8b808181beaab003ac17f33cbc 
OOo_1.1.1.RC3_FreeBSD52Intel_install_dk.tbz   
Greek   65948007 4a80e4c31139f41fa04845096e8d9ef8 
OOo_1.1.1.RC3_FreeBSD52Intel_install_el.tbz   
Spanish 66492793 d0cf2f1b371be590ebfa80cc624f6337 
OOo_1.1.1.RC3_FreeBSD52Intel_install_es.tbz   
Estonian66055002 26ee802289dd3c738393082e066f402b 
OOo_1.1.1.RC3_FreeBSD52Intel_install_et.tbz   
Finnish 65976221 156b39fd1dd96959528de29b2fef809d 
OOo_1.1.1.RC3_FreeBSD52Intel_install_fi.tbz   
French  66386131 de68d8fd8f8777040672bba3f1f61116 
OOo_1.1.1.RC3_FreeBSD52Intel_install_fr.tbz   
Hungarian   65949786 64066b0cbf92cf97b1d130e669ee08d3 
OOo_1.1.1.RC3_FreeBSD52Intel_install_hu.tbz   
Italian 66418914 233548012d3f7705907a85218b1d47e5 
OOo_1.1.1.RC3_FreeBSD52Intel_install_it.tbz   
Japanese66899835 72cc1334821f4fe864b9dff2ecf2f8f9 
OOo_1.1.1.RC3_FreeBSD52Intel_install_ja.tbz   
Korean  66196627 16cadfbb74456e2f145782afffb2def0 
OOo_1.1.1.RC3_FreeBSD52Intel_install_ko.tbz   
Dutch   65948149 e637d4b04ac46a5c33dc0f77cd5bcfb3 
OOo_1.1.1.RC3_FreeBSD52Intel_install_nl.tbz
Polish  65648520 ba6c826b2eb271cddce49183e1fa7ef2 
OOo_1.1.1.RC3_FreeBSD52Intel_install_pl.tbz   
Brazil(Portuguese)  65923379 ecec3dfd6e5a06eb3ccbb4e0b7f33039 
OOo_1.1.1.RC3_FreeBSD52Intel_install_pt_BR.tbz
Portuguese  65621276 96c90d909fb80284d64f21de85c6ebb2 
OOo_1.1.1.RC3_FreeBSD52Intel_install_pt.tbz
Russian 65621133 031fe6af898b4dd16ab51844b74b2719 
OOo_1.1.1.RC3_FreeBSD52Intel_install_ru.tbz   
Swedish 65994861 15f9c633c736133db2386ba495ead20a 
OOo_1.1.1.RC3_FreeBSD52Intel_install_se.tbz   
Slovak  65957159 a0eb8bd22df18789334b5cdcb6b38e46 
OOo_1.1.1.RC3_FreeBSD52Intel_install_sk.tbz   
Slovenian   66013671 1e7c55cd76f71d6309b6bbd15bbddc93 
OOo_1.1.1.RC3_FreeBSD52Intel_install_sl-SI.tbz
Turkish 65837798 8f008158720045fb804567daf4436f54 
OOo_1.1.1.RC3_FreeBSD52Intel_install_tr.tbz   
Chinese(Simplified) 66192301 670be25db96caeaa8eb38f61f297d29e 
OOo_1.1.1.RC3_FreeBSD52Intel_install_zh-CN.tbz
Chinese(traditional)66346780 4902c3c6a0c0d4af2796c0c316076322 
OOo_1.1.1.RC3_FreeBSD52Intel_install_zh-TW.tbz
**
SDK 29701568 d9f871dbeca3eee27e5b7db9a88ee32d 
OOo_1.1.1.RC3_FreeBSD52Intel_sdk.tar.gz

4) Check your package
please check your downloaded package with the command `md5', and `ls -la'
if you've downloaded OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz (English version)
then please type:
% md5 OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz 
MD5 (OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz) = 5d3da3cc1d6ac8629966d9585adf6223
% ls -la OOo_1.1.1

Re: Open Office - installation problem

2004-04-24 Thread Stephen Liu
 --- Nico Meijer [EMAIL PROTECTED] wrote:  Hi 

  $ su -
  password
 
 You are in /root now. If you use su instead of
 su -, you will stay 
 in the current directory.
 
  
  # pkg_add OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz
  pkg_add: can't stat package file
  'OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz'
  
  Kindly advise what mistake I have committed.
 
 # pkg_add

/usr/home/user/Download/OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz
 
 ...should do the trick.

Hi Nico,

Tks for your advice.

I have also tried your advice before posting.  It hung
there for sometimes without proceeding therefore I
closed the Konsole window.

B.R.
Stephen



___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Open Office - installation problem

2004-04-24 Thread Stephen Liu
 [2004-04-24 08:32]:
  On Sat, Apr 24, 2004 at 08:27:28PM +0800, Stephen
 Liu wrote:
   Hi folks,
   
   FreeBSD 5.2
   
   I encountered following problem on installing
 OOo
   
   OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz
   was download to /usr/home/user/Download
  
  It's not a package, it's a tgz file. Use tar xzvf
 file.tgz. Go to the
  OO site and read the install instructions, there
 are other things you
 
 No. It's a package, and it's *not* a tgz file.  But
 yes, you do need to
 go do some reading, and there very likely are other
 things you will need
 to do.  As a previous responder noted, when you 'su
 -' it simulates a
 full root login, which puts you in root's home dir. 
 I note that you
 said when you attempted to correctly add the pkg, it
 hung.  It's big.
 Use the pkg_add command, perhaps with -v so you can
 see what's
 happening, and install the darned thing.

Hi Joshua and others,

You are correct.  I should 'su' without '-/ing' then
it worked.  But I am running on a slow machine (AMD
K-6/350).  It took a while with following pop-up

# pkg_add OOo_1.1.1.RC3_FreeBSD52Intel_install.tbz
pkg_add: could not find package ORBit-0.5.17_2 !

Now another problem comes on installing RRBit-0.5.17_2
as follow;

# cd /usr/ports/
# make clean  (first)

The PC is now running for more than 8 hrs. coming to

biology/platon
Cleaning .

Shall I close the Kconsole window OR let it to run.

B.R.
Stephen


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to config CDRom to read udf files

2004-04-23 Thread Stephen Liu
Hi folks,

FreeBSD 5.2

My CDRom could not read udf files burned with DirectCD
on Windows.  I made following tests;

cat /etc/fstab
# DeviceMountpoint  FStype
 Options
...
/dev/acd0   /usr/home/user/cdrom
cd9660,udf  ro,noauto


$ mount_udf /dev/acd0 /usr/home/user/cdrom
mount_udf: /dev/acd0: Invalid argument
$ mount -t udf /dev/acd0 /usr/home/user/cdrom
udf: /dev/acd0: Invalid argument

cat /etc/fstab
# DeviceMountpoint  FStype
 Options
...
/dev/acd0   /usr/home/user/cdrom cd9660   
  ro,noauto


$ mount -t udf /dev/acd0 /usr/home/user/cdrom
udf: /dev/acd0: Operation not permitted
$ mount_udf /dev/acd0 /usr/home/user/cdrom
mount_udf: /dev/acd0: Operation not permitted
$ mount /dev/acd0 /usr/home/user/cdrom
$ ls /usr/home/user/cdrom
autorun.inf udfrchk.exe udfrinst.zl

cat /etc/fstab
# DeviceMountpoint  FStype
 Options
...
/dev/acd0   /cdrom  udf   
 ro,noauto
/dev/acd0   /usr/home/satimis/cdrom udf   
 ro,noauto


# mount -t udf /dev/acd0 /cdrom
udf: /dev/acd0: Invalid argument
# mount_udf /dev/acd0 /cdrom
mount_udf: /dev/acd0: Invalid argument
# mount /dev/acd0 /cdrom
mount: /dev/acd0: Input/output error

$ mount_udf /dev/acd0 /usr/home/user/cdrom
mount_udf: /dev/acd0: Invalid argument
$ mount -t udf /dev/acd0 /usr/home/user/cdrom
udf: /dev/acd0: Invalid argument
$ mount /dev/acd0 /usr/home/user/cdrom
mount: /dev/acd0: Permission denied

All failed.

$ kldstat -v | grep udf
10 1 0xc43e7000 6000 udf.ko
333 udf

$ ls /boot/kernel/ | grep udf
udf.ko
udf_iconv.ko

the module seems there.

Kindly advise how to fix it.

TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help - where to report posting problem

2004-04-20 Thread Stephen Liu
Hi LAFFER1 and folks,

Tks for your response and advice.

I am in complete perpexity.  I am using Kmail to send
and to receive mails.  It has been working without
problem inclduing sending/receiving emails to/from
[EMAIL PROTECTED]  I signed off about 10
days ago and re-subscribed 3 days later.  Then problem
happened.  I can't send mails to
[EMAIL PROTECTED], all of them rejected.
  I have not made any adjustment to the setup/config
of Kmail.

I recalled that at the first time I subscribed to this
list about one and half months ago.  This problme did
happen, sending mail to this list being impossible. 
Finally I contacted the owner of this list.  He made
adjustment manually then solving my problem. 
Unfortunately I losed his address and can't contact
him.  Any advice on contacting the owner.

TIA

B.R.
Stephen


 --- User LAFFER1
[EMAIL PROTECTED]
wrote:  The problem is caused because the freebsd
mail
 server rejects email from
 servers that have incorrect or missing reverse
 lookup (DNS).  I had
 the same problem at one point.  Have your sys admin
 name the
 mail server the same as the reverse lookup record.
 If you don't have a
 reverse lookup record (PTR) then have your ISP
 create one for you.
 
 On Tue, 20 Apr 2004, [iso-8859-1] Stephen Liu wrote:
 
  Hi folks,
 
  I make this second subscription to this list
 solely
  seeking advice where to report problem.
 
  I am currently subscribing to
 
  [EMAIL PROTECTED]
 
  with email address :- [EMAIL PROTECTED]
 
  But I am only allowed to receive mails, posting
 being
  not allowed.  All emails posted were rejected.
 
  I made report on posting problem to
 
  -  [EMAIL PROTECTED]
  -  [EMAIL PROTECTED]
  -  [EMAIL PROTECTED] (postmaster)
  -  [EMAIL PROTECTED] (postmaster)
 
  all emails were either rejected or received no
 reply.
 
  Kindly advise where can I seek assistance.  TIA
 
  B.R.
  Stephen Liu
 
  Remarks:
  This problem has happened twice.  Previously I
 also
  encounterd the same problem.  Finally it has to be
  fixed manually by the owner of this list.
 

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backing up my system

2004-04-20 Thread Stephen Liu
Hi Bill,

- snip -

 You can use dump/tar to back up the actual data.

I also apply 'tar' command to backup actual data
keeping the directory tree simultaneously.  Kindly
advise what is 'dump/tar'

B.R.
Stephen

- snip -

 Then, if you needed to restore/rebuild from scratch,
you could boot a
 CD (such as FreeSBIE) partition the new disk based
on the disklabel/
 fdisk dumps you made prior, then use restore/tar to
restore the
 actual data.


___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backing up my system

2004-04-20 Thread Stephen Liu
- snip -
 You can use dump/tar to back up the actual data.
 
 I also apply 'tar' command to backup actual data
 keeping the directory tree simultaneously.  Kindly
 advise what is 'dump/tar'

 I'm pretty sure he meant OR, as in you can use
 dump or tar for backup, and restore or tar for
 rebuilding 

Hi Kevin,

Tks for your advice.

I seldomly use 'dump' command, mostly 'tar'

What will be 'dump vs tar' ?.  Their pros and cons.

TIA

B.R.
Stephen



=
Best Regards
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help - where to report posting problem

2004-04-19 Thread Stephen Liu
Hi folks,

I make this second subscription to this list solely
seeking advice where to report problem.

I am currently subscribing to 

[EMAIL PROTECTED]

with email address :- [EMAIL PROTECTED]

But I am only allowed to receive mails, posting being
not allowed.  All emails posted were rejected.

I made report on posting problem to

-  [EMAIL PROTECTED]
-  [EMAIL PROTECTED]
-  [EMAIL PROTECTED] (postmaster)
-  [EMAIL PROTECTED] (postmaster)

all emails were either rejected or received no reply.

Kindly advise where can I seek assistance.  TIA

B.R.
Stephen Liu

Remarks:
This problem has happened twice.  Previously I also
encounterd the same problem.  Finally it has to be
fixed manually by the owner of this list.

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help - where to report posting problem

2004-04-19 Thread Stephen Liu
Hi Bill,

Tks for your response.

A sample of the rejected emails is as follow;


Your message

  To:  [EMAIL PROTECTED]
  Subject: Question on Anti-Virus Firewal
  Sent:Sat, 17 Apr 2004 20:59:15 +0800

did not reach the following recipient(s):

[EMAIL PROTECTED] on Sun, 18 Apr 2004
01:08:28 +0800
The e-mail system was unable to deliver the
message, but did not
report a specific reason.  Check the address and try
again.  If it still
fails, contact your system administrator.
popimap02.icare.priv #4.0.0 smtp;450 Client host
rejected: cannot
find your hostname, [203.78.64.158]


B.R.
Stephen


 --- Bill Moran [EMAIL PROTECTED] wrote: 
Stephen Liu wrote:
  Hi folks,
  
  I make this second subscription to this list
 solely
  seeking advice where to report problem.
  
  I am currently subscribing to 
  
  [EMAIL PROTECTED]
  
  with email address :- [EMAIL PROTECTED]
  
  But I am only allowed to receive mails, posting
 being
  not allowed.  All emails posted were rejected.
  
  I made report on posting problem to
 
 I hope you included a copy of the bounce message,
 unlike this
 request.
 
  -  [EMAIL PROTECTED]
  -  [EMAIL PROTECTED]
  -  [EMAIL PROTECTED] (postmaster)
  -  [EMAIL PROTECTED] (postmaster)
  
  all emails were either rejected or received no
 reply.
  
  Kindly advise where can I seek assistance.  TIA
 
 Here, but include the bounce message or we don't
 know what's wrong.
 
  
  B.R.
  Stephen Liu
  
  Remarks:
  This problem has happened twice.  Previously I
 also
  encounterd the same problem.  Finally it has to be
  fixed manually by the owner of this list.
 
 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com
  

=
Best Regards
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help - where to report posting problem

2004-04-19 Thread Stephen Liu
Hi Billy,

Hereunder is another sample of rejected emails;


Your message

  To:  Daniela
  Cc:  [EMAIL PROTECTED]
  Subject: Re: Beginning C++ in FreeBSD
  Sent:Sat, 17 Apr 2004 20:38:45 +0800

did not reach the following recipient(s):

[EMAIL PROTECTED] on Sun, 18 Apr 2004
00:48:44 +0800
The e-mail system was unable to deliver the
message, but did not
report a specific reason.  Check the address and try
again.  If it still
fails, contact your system administrator.
smtpo01.icare.priv #4.0.0 smtp;450 Client host
rejected: cannot
find your hostname, [203.78.64.148]



B.R.
Stephen

--- Bill Moran [EMAIL PROTECTED] wrote: 
Stephen Liu wrote:
  Hi folks,
  
  I make this second subscription to this list
 solely
  seeking advice where to report problem.
  
  I am currently subscribing to 
  
  [EMAIL PROTECTED]
  
  with email address :- [EMAIL PROTECTED]
  
  But I am only allowed to receive mails, posting
 being
  not allowed.  All emails posted were rejected.
  
  I made report on posting problem to
 
 I hope you included a copy of the bounce message,
 unlike this
 request.
 
  -  [EMAIL PROTECTED]
  -  [EMAIL PROTECTED]
  -  [EMAIL PROTECTED] (postmaster)
  -  [EMAIL PROTECTED] (postmaster)
  
  all emails were either rejected or received no
 reply.
  
  Kindly advise where can I seek assistance.  TIA
 
 Here, but include the bounce message or we don't
 know what's wrong.
 
  
  B.R.
  Stephen Liu
  
  Remarks:
  This problem has happened twice.  Previously I
 also
  encounterd the same problem.  Finally it has to be
  fixed manually by the owner of this list.
 
 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com
  

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The clock is running too fast

2004-03-19 Thread Stephen Liu
Hi Dan,

Thanks for your advice.

 I had a similar problem on one of the machines at work.  Here is a memo I
 made to myself to remind me of how to fix the problem in the future:

 The ACPI-safe Timecounter does not work (it is way, WAY too fast).  To
 get around this, add the following line to /etc/sysctl.conf:

 kern.timecounter.hardware=i8254

Added above line to /etc/sysctl.conf

$ cat /etc/sysctl.conf
vfs.usermount=1
kern.timecounter.hardware=i8254

Now only 2 lines in this file.

I have adjusted the clock thereafter and will check it again later

 There are multiple pieces of hardware capable of supplying timing
 information to the OS.  dmesg | grep Timecounter should give you a list
 of all such devices.

 I think this is an ACPI-related problem, since that is the technology I
 understand the least at the moment.

$ dmesg | grep Timecounter
Timecounter i8254 frequency 1193182 Hz quality 0
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
Timecounter TSC frequency 350797051 Hz quality 800
Timecounters tick every 10.000 msec

Shall I run 'ntc' to synchronize the clock.

B.R.
Stephen



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Stephen Liu
 Sent: March 18, 2004 21:47
 To: [EMAIL PROTECTED]
 Subject: The clock is running too fast


 Hi folks,

 AMD CUP
 FreeBSD 5.2

 The clock on KDE desktop is running on double speed compelling me to adjust
 it
 periodically.  Kindly advise how to fix this problem.

 TIA

 B.R.
 Stephen Liu

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


Re: The clock is running too fast

2004-03-19 Thread Stephen Liu
Hi Dan,

The system clock has been running correctly more than 16 hours.

 I'm sorry, I don't know what 'ntc' is.  Do you mean 'ntp'?  You can use ntp
 or not ... if your timing hardware is off, ntp will constantly try to slew
 the time back to where it should be, which will a) mean your systems
 concept of time is very non-linear and b) fill the log with warning
 messages.  It's actually a good check to see if the timer's good (although
 an slmost equally good check is to sit there and look at the clock).

Oh sorry for my typing mistake.  Yes I meant 'ntp'.  It synchronyses the 
system clock.  Even if the PC is not running round the clock.  Whenvever you 
turn on the PC, it checkes the time and corrects it.  I have it setup on a 
Debian PC.;

 I forgot to mention that besides changing /etc/sysctl.conf, you have to
 reboot.  If you don't want to reboot, you will have to do sysctl
 kern.timecounter.hardware=i8254 at a prompt.  But I'm not sure if that's a
 value that can be set after the system boots.

I have to reboot the PC otherwise the system clock will not be adjusted, still 
running on double speed.

 I suggested i8254 because it's the only device that was supplying good
 time values on my system.  If you have trouble with that device, you might
 also want to try TSC.

$ dmesg.Thetimeclock
dmesg.Thetimeclock: not found
$ dmesg | grep Timecounter
Timecounter i8254 frequency 1193182 Hz quality 0
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
Timecounter TSC frequency 350796390 Hz quality 800
Timecounters tick every 10.000 msec

What are their difference in function between i8254/ACPI-safe/TSC

B.R.
Stephen


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Stephen Liu
 Sent: March 19, 2004 01:12
 To: [EMAIL PROTECTED]
 Subject: Re: The clock is running too fast


 Hi Dan,

 Thanks for your advice.

  I had a similar problem on one of the machines at work.  Here is a memo I
  made to myself to remind me of how to fix the problem in the future:
 
  The ACPI-safe Timecounter does not work (it is way, WAY too fast).  To
  get around this, add the following line to /etc/sysctl.conf:
 
  kern.timecounter.hardware=i8254

 Added above line to /etc/sysctl.conf

 $ cat /etc/sysctl.conf
 vfs.usermount=1
 kern.timecounter.hardware=i8254

 Now only 2 lines in this file.

 I have adjusted the clock thereafter and will check it again later

  There are multiple pieces of hardware capable of supplying timing
  information to the OS.  dmesg | grep Timecounter should give you a list
  of all such devices.
 
  I think this is an ACPI-related problem, since that is the technology I
  understand the least at the moment.

 $ dmesg | grep Timecounter
 Timecounter i8254 frequency 1193182 Hz quality 0
 Timecounter ACPI-safe frequency 3579545 Hz quality 1000
 Timecounter TSC frequency 350797051 Hz quality 800
 Timecounters tick every 10.000 msec

 Shall I run 'ntc' to synchronize the clock.

 B.R.
 Stephen

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Stephen Liu
  Sent: March 18, 2004 21:47
  To: [EMAIL PROTECTED]
  Subject: The clock is running too fast
 
 
  Hi folks,
 
  AMD CUP
  FreeBSD 5.2
 
  The clock on KDE desktop is running on double speed compelling me to

 adjust

  it
  periodically.  Kindly advise how to fix this problem.
 
  TIA
 
  B.R.
  Stephen Liu

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


The clock is running too fast

2004-03-18 Thread Stephen Liu
Hi folks,

AMD CUP
FreeBSD 5.2

The clock on KDE desktop is running on double speed compelling me to adjust it 
periodically.  Kindly advise how to fix this problem.

TIA

B.R.
Stephen Liu

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


Re: The clock is running too fast

2004-03-18 Thread Stephen Liu
On Friday 19 March 2004 13:04, Chuck McManis wrote:
 If you're running it on a dual processor then you're taking the clock
 interrupt on both CPUs and causing time to pass at double time.

Hi Chuck,

Tks for your response.

The PC is running only one CPU but overclock.  I don't know what will be the 
compensation.

B.R.
Stephen


 At 08:46 PM 3/18/2004, Stephen Liu wrote:
 Hi folks,
 
 AMD CUP
 FreeBSD 5.2
 
 The clock on KDE desktop is running on double speed compelling me to
 adjust it
 periodically.  Kindly advise how to fix this problem.
 
 TIA
 
 B.R.
 Stephen Liu

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


How to avoid booting PC to reconnect broadband

2004-03-17 Thread Stephen Liu
Hi folks,

FreeBSD 5.2
ADSL, pppoe
Connection: via ADSL modem

If broadband connection dies accidentally due to unsecured plug how to 
re-activate it avoiding rebooting PC.  Occasionally re-securing the plug and 
waiting for a while the broadband connection will reactivate automatically.

kindly advise.  TIA

B.R.
Stephen Liu

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


How to avoid booting PC to reconnect broadband

2004-03-17 Thread Stephen Liu
Hi folks,

FreeBSD 5.2
ADSL, pppoe
Connection: via ADSL modem

If broadband connection dies accidentally due to unsecured plug how to 
re-activate it avoiding rebooting PC.  Occasionally re-securing the plug and 
waiting for a while the broadband connection will reactivate automatically.

kindly advise.  TIA

B.R.
Stephen Liu

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


Re: Permission problem

2004-03-16 Thread Stephen Liu
On Tuesday 16 March 2004 17:04, Frank Mueller wrote:
 The Prob is that your devices are rebuild by devfs at boot time.
 So set the following in file /etc/devfs.conf (create if necessary):

 perm fd0 0660

 and your permissions will be kept after reboot.

Hi Frank,

Tks for your advice.  Problem solved now.

B.R.
Stephen

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


Format floppy problem

2004-03-16 Thread Stephen Liu
Hi folks,

FreeBSD 5.2
==

Floppies formatted on M$Win can be mounted, copied files to and read, etc.

But floppies formatted on FreeBSD with

$ fdformat /dev/fd0
Format 1440K floppy `/dev/fd0'? (y/n): y
Processing  done.

they could not be mounted

$ mount -t msdos /dev/fd0 /usr/home/user/floppy
msdosfs: /dev/fd0: Invalid argument

I tested 3 floppies with the same result.  Kindly advise how to fix this 
problem.  Is there a special format floppy command for FreeBSD.

TIA

Stephen Liu

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


Re: Format floppy problem

2004-03-16 Thread Stephen Liu
On Wednesday 17 March 2004 00:40, Terry L. Tyson Jr. wrote:
 On Wed, Mar 17, 2004 at 09:21:34AM +0800, Stephen Liu wrote:
 
  FreeBSD 5.2
  ==
 
  Floppies formatted on M$Win can be mounted, copied files to and read,
  etc.
 
  But floppies formatted on FreeBSD with
 
  $ fdformat /dev/fd0
  Format 1440K floppy `/dev/fd0'? (y/n): y
  Processing  done.
 
  they could not be mounted
 
  $ mount -t msdos /dev/fd0 /usr/home/user/floppy
  msdosfs: /dev/fd0: Invalid argument
 
  I tested 3 floppies with the same result.  Kindly advise how to fix this
  problem.  Is there a special format floppy command for FreeBSD.
 

 Try your mount command again without the -t msdos since it isn't a
 dos formatted disk.

Hi Terry,

$ mount /dev/fd0 /usr/home/user/floppy
mount: /dev/fd0 on /usr/home/user/floppy: incorrect super block
$ mount -t vfat /dev/fd0 /usr/home/user/floppy
mount: exec mount_vfat not found in /sbin:/usr/sbin: No such file or directory
$ mount -t msdos /dev/fd0 /usr/home/user/floppy
msdosfs: /dev/fd0: Invalid argument

Stephen

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


Re: Format floppy problem

2004-03-16 Thread Stephen Liu
- snip -
   $ fdformat /dev/fd0
   Format 1440K floppy `/dev/fd0'? (y/n): y
   Processing  done.
  
   they could not be mounted
  
   $ mount -t msdos /dev/fd0 /usr/home/user/floppy
   msdosfs: /dev/fd0: Invalid argument
  
   I tested 3 floppies with the same result.  Kindly advise how to fix
   this problem.  Is there a special format floppy command for FreeBSD.
  
- snip -

 If you want to format a floppy with the FAT format for use in a Windows
 system, try:

 #!/bin/sh
 # Format a DOS floppy  TMJ 1999-05-15
 fdformat -f 1440 fd0
 newfs_msdos -f 1440 fd0

 You can then mount it as
 mount -t msdos /dev/fd0 /mnt

 The other method is to format it with the UFS filesystem, by:

 #!/bin/sh
 # Floppy formats:
 #
 # To make a filesystem on a floppy:
 #   fdformat [-f size] fddrive[.size]
 #   disklabel -B -r -w fddrive[.size] fdsize
 #   newfs opts fddrive[.size]
 fdformat -q fd0.1440
 disklabel -B -r -w fd0.1440 fd1440
 newfs -c 1 fd0.1440

 These can be mounted by
 mount /dev/fd0 /mnt
 but cannot be used on a Windows system.

Hi Mike, Prodigy and other folks

Thanks for your advice.  Problem is now solved.

B.R.
Stephen

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


Problme on installing /usr/ports/sysutils

2004-03-15 Thread Stephen Liu
Hi folks,
 
 I encountered problem as follow on installing /usr/ports/sysutils
 
# cd /usr/ports/sysutils
make install clean
.
.
 [code}
 checking for IceConnectionNumber in -lICE... yes
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking for glib-config... /usr/local/bin/glib12-config
 checking for GLIB - version = 1.2.0... yes
 checking for gtk-config... /usr/X11R6/bin/gtk12-config
 checking for GTK - version = 1.2.0... yes
 checking whether make is GNU Make... no
 checking for gnome-config... no
 Not building GnomeCanvasPixbuf library
 checking whether to build gmodulized gdk-pixbuf... yes
 checking whether dynamic modules work... yes
 checking for location of rgb.txt database... /usr/X11R6/lib/X11/rgb.txt
 ./configure: line 10292: syntax error near unexpected token `newline'
 ./configure: line 10292: ` yes:no'
 gmake: *** [config.status] Error 2
 *** Error code 2
 
 Stop in /usr/ports/graphics/gdk-pixbuf.
 *** Error code 1
 
 Stop in /usr/ports/sysutils/acidlaunch.
 *** Error code 1
 
 Stop in /usr/ports/sysutils.[/code]
 
 Kindly advise how to fix the problems.
 
 TIA
 
 B.R.
Stephen Liu

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


Permission problem

2004-03-15 Thread Stephen Liu
Hi folks,

FreeBSD 5.2

# chmod 660 /dev/fd0

then user can use floppy drive. 

But rebooting PC will cancel user's permission.  Kindly advise how to create a 
permanent permission

TIA

B.R.
Stephen Liu

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


Re: Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Stephen Liu
On Monday 15 March 2004 04:10, Bill Campbell wrote:

 I would do this with two rsync runs from one machine

 cd $directory
 rsync -e ssh -vaurP ./ $remote:$directory
 rsync -e ssh -vaurP $remote:$directory/ .

Hi Bill,

Is the option
-P  --partial  -- progress
means 'incremental'???

What will be difference between
'./ $remote:$directory'  and  '$remote:$directory/'

TIA

B.R.
Stephen Liu





 Better yet, set up the directories in the rsyncd.conf files on
 each machine:

 cd $directory
 rsync -vaurP ./ ${remote}::dir_module/
 rsync -vaurP ${remote}::dir_module/ .

 Bill

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


Re: Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Stephen Liu
- snip -
  Is the option
  -P  --partial  -- progress
  means 'incremental'???

 -P is the same as specifying both --partial and --progress.
 --progress means to show a progress meter.  Normally, if you
 interrupt rsync while it is transferring a file, rsync will delete the
 partially transferred file.  If you give the --partial option, it
 will not do that.

 The advantage of specifying --partial is that you can interrupt it
 in the midst of transferring a 1G file, and then you can resume the
 transfer later.

  What will be difference between
  './ $remote:$directory'  and  '$remote:$directory/'

 This question does not make sense.  You should ask for the difference
 between './ $remote:$directory' and '$remote:$directory/ .'; note the
 trailing period.

 If you say rsync a b then this means copy from a to b, if you say
 rsync b a, then this means copy from b to a.  In the above case, a
 was . and b was $remote:$directory ...

 Explaining the trailing slash is more difficult.  I just remember a
 rule of thumb: if you want to copy directories with rsync, always
 specify a trailing slash.  On both the source and the destination.  Of
 course, man rsync has the full story...

Hi Kai and folks,

Thanks for your advice.

B.R.
Stephen

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


Re: MAKEDEV question

2004-03-09 Thread Stephen Liu
- snip -
 
  After reboot
  # dmesg
  Probing for PnP devices on ppbus0:
  ppbus0: HEWLETT-PACKARD DESKJET 690C MLC,PCL,PML
  plip0: PLIP network interface on ppbus0
  lpt0: Printer on ppbus0
  lpt0: Interrupt-driven port
  ppi0: Parallel I/O on ppbus0
 
  # ls -l /dev/lpt0
  crw--- 1 root wheel 16, 0 Mar 9 01:17 /dev/lpt0
 
  Repeated step-2 and step-3 above
  (also no printout)
 
  # lptest  /dev/lpt0
 
  One line printed on 1st paper as follow;
  !#$%'()*
  +,-./0123456789:;=[EMAIL PROTECTED]
 
  It seemed OK but feed-in paper continued with 'no_paper' light on (I put
  only 1 paper in the tray)


Hi Malcolm,

 If you just run the utility lptest without redirecting the output you will
 see on the screen what you should expect to print.

Yes.  There are many lines there similar to printer self-testing

 Do you get one printed line or a full page?

Only one line then the page eject.

 One line implies that 2nd and subsequent lines have disappeared of to the
 right as BSD does not supply a CR, only LF, at end of line. You may find a
 you can set up your printer to interpret LF as CR-LF.

Where can I config/add 'CR-LF'

 As for running out of paper -- lptest produces 200 lines -- and even if
 these have disappeared off the right then they need about 3 pages of A4.

No it continued to run until I removed all papers from the printer tray.

 I gather you have not yet got as far as setting up /etc/printcap or
 starting the print daemon lpd.

/etc/printcap
HPDJ690C|cdj670;r=300x300;q=medium;c=full;p=a4;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/HPDJ690C:\
:lf=/var/spool/lpd/HPDJ690C/log:\
:af=/var/spool/lpd/HPDJ690C/acct:\
:mx#0:\
:sh:

Following line added to /etc/rc.conf
lpd_enable=YES

 Once you do this you can insert setup codes via an input filter ahead of
 the data to be printed and most printers including many HP models have a
 code which switches the interpretation of the LF character.

Kindly advise how to make it.   TIA

B.R.
satimis

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


Re: A question on installing printer

2004-03-09 Thread Stephen Liu
On Wednesday 10 March 2004 01:21, Lowell Gilbert wrote:
- snip -

  # lptest  /dev/lpt0
   
  One line printed on 1st page as follow;
 
  !#$%'()*
  +,-./0123456789:;=[EMAIL PROTECTED]
   
  It seemed OK but paper feed-in continued with 'no_paper' light on (I put
  only 1 paper in the tray)

 Sounds fine.  

 You have more configuration you'll want to do; see the Handbook
 chapter for an extensive explanation.  Personally, I use apsfilter
 (from the ports) to configure and run my Deskjet.

Hi Lowell,

Tks for your response.

Later I also used 'apsfilter' to config my printer.  The printtest looked 
perfect, a complete page filled with nice tiger heads, text and grid border.  
But still I could not print documents.  Hereinunder was my tests;

/etc/printcap
HPDJ690C|cdj670;r=300x300;q=medium;c=full;p=a4;m=auto:\
    :lp=/dev/lpt0:\
    :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/HPDJ690C:\
    :lf=/var/spool/lpd/HPDJ690C/log:\
    :af=/var/spool/lpd/HPDJ690C/acct:\
    :mx#0:\
    :sh:

Following line added to /etc/rc.conf
lpd_enable=YES

# lpr -P HPDJ690C clean.txt
Only strange symbols printed. 'No paper' light was flashing.
 
# lprm -P HPDJ690C
dfA006localhost dequeued
cfA006localhost dequeued
 
# lpq -P HPDJ690C
no entries
 
But 'No paper' light was still flashing. Turned off the printer and turned on 
again the light gone. (I put only one paper on the tray otherwise the printer 
will contiue to eject papers)
 
On KDE desktop started a text document
Started printing
File - Print
Print system currently used Generic UNIX LPD Print System (default)
Printer Name - HPDJ690C
Clicked Print
 
Only strange symbols printed out and 'no paper' light flashing. 
 
Remark: also tried
Print system currently used LPR/LPRng Print System
same result:- strange symbols and light flashing

A folk on this list mentioning
 Once you do this you can insert setup codes via an input filter ahead of
 the data to be printed and most printers including many HP models have a
 code which switches the interpretation of the LF character.

I have no idea how to make it and am still waiting his advice.

I am searching around for solutions but still could not find it.
 
B.R.
Stephen

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


Howto for

2004-03-09 Thread Stephen Liu
Hi folks,

Where can I find a Howto for mgetty+sendfax other than follow;

http://www.leo.org/~doering/mgetty/mgetty_toc.html

TIA

B.R.
Stephen Liu

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


Re: MAKEDEV question

2004-03-08 Thread Stephen Liu
- snip -

  I skipped following steps
 
  1)
  # ./MAKEDEV port
 
  and
  2)
  # lptcontrol -i -d /dev/lpt0
  (to set interrupt-driven mode for lpt0)
 
  and
  3)
  # lptcontrol -p -d /dev/lpt0
  (to set polled-mode for lptN)
 
 
  Jumped to;
  # lptest  /dev/lpt0
  only strange symbols printed and printing continued without stop until I
  removed the paper tray.  Communication between printer and port seemed
  working

 It could be that your printer does not understand plain ascii text. What is
 the make and model.

 The other possibility is that there is something wrong in the
 communications path -- a dud or incorrectly wired cable.

Hi Malcolm,

FreeBSD 5.2
Printer HP Desktop 690c
===

Thanks for your response.

I missed steps 2) and 3) mentioned above.  I performed further test as 
follows;

step-2
# lptcontrol -i -d /dev/lpt0
 
step-3
# lptcontrol -p -d /dev/lpt0
 
both without printout
 
rebooted PC because having got printer turned on. The later could not be 
detected with 'dmesg'
 
** how can I detect the printer to avoid 'reboot' ??
 
After reboot
# dmesg
Probing for PnP devices on ppbus0:
ppbus0: HEWLETT-PACKARD DESKJET 690C MLC,PCL,PML
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
 
# ls -l /dev/lpt0
crw--- 1 root wheel 16, 0 Mar 9 01:17 /dev/lpt0
 
Repeated step-2 and step-3 above
(also no printout)
 
# lptest  /dev/lpt0
 
One line printed on 1st paper as follow;
!#$%'()*
+,-./0123456789:;=[EMAIL PROTECTED]
 
It seemed OK but feed-in paper continued with 'no_paper' light on (I put only 
1 paper in the tray)
 
B.R.
satimis

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


Re: A question on installing printer

2004-03-08 Thread Stephen Liu
- snip -
  According to handbook I should run
 
  # ./MAKEDEV lpt0 (para port)
 
  whether to be replaced with
 
  # ./devfs -m lpt0

 No, devfs should recognize the device on its own, without your having
 to do anything.  Is there a /dev/lpt0 already?

 Also, see man devfs.

Hi Lowell,

Tks for your response.

FreeBSD 5.2
HP Deskjet 690C
=

I performed following test;

# dmesg
...
Probing for PnP devices on ppbus0:
ppbus0: HEWLETT-PACKARD DESKJET 690C MLC,PCL,PML
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
...
 
# ls -l /dev/lpt0
crw--- 1 root wheel 16, 0 Mar 9 01:17 /dev/lpt0
 
# lptcontrol -i -d /dev/lpt0
# lptcontrol -p -d /dev/lpt0
both without printout
 
# lptest  /dev/lpt0
 
One line printed on 1st page as follow;

!#$%'()*
+,-./0123456789:;=[EMAIL PROTECTED]
 
It seemed OK but paper feed-in continued with 'no_paper' light on (I put only 
1 paper in the tray)
 
B.R.
Stephen

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


Re: picture?

2004-03-07 Thread Stephen Liu
On Sunday 07 March 2004 12:22, Kris Kennaway wrote:
 On Sat, Mar 06, 2004 at 07:54:32PM -0800, Brian Henning wrote:
  where can i find a 1024x768 background jpeg of the bsd daemon?

 A nice one comes with the wdm port.

 Kris

Hi Kris,

$ locate wdm | grep port
/usr/ports/net/cflowd/files/patch-apps::cflowdmux::CflowdRawFlowClientList.hh
/usr/ports/x11/wdm
/usr/ports/x11/wdm/Makefile
/usr/ports/x11/wdm/README.html
/usr/ports/x11/wdm/distinfo
/usr/ports/x11/wdm/files
/usr/ports/x11/wdm/files/patch-configs::wdm-config.in
/usr/ports/x11/wdm/files/patch-src::wdm::loghelpers.c
/usr/ports/x11/wdm/files/patch-src::wdm::session.c
/usr/ports/x11/wdm/files/wdm.pam
/usr/ports/x11/wdm/pkg-descr
/usr/ports/x11/wdm/pkg-plist

Kindly advise where the picture can be located.

TIA

B.R.
Stephen Liu

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


Re: picture?

2004-03-07 Thread Stephen Liu
- snip -
  $ locate wdm | grep port
  /usr/ports/net/cflowd/files/patch-apps::cflowdmux::CflowdRawFlowClientLis
 t.hh /usr/ports/x11/wdm
  /usr/ports/x11/wdm/Makefile
  /usr/ports/x11/wdm/README.html
  /usr/ports/x11/wdm/distinfo
  /usr/ports/x11/wdm/files
  /usr/ports/x11/wdm/files/patch-configs::wdm-config.in
  /usr/ports/x11/wdm/files/patch-src::wdm::loghelpers.c
  /usr/ports/x11/wdm/files/patch-src::wdm::session.c
  /usr/ports/x11/wdm/files/wdm.pam
  /usr/ports/x11/wdm/pkg-descr
  /usr/ports/x11/wdm/pkg-plist
 
  Kindly advise where the picture can be located.

 Well, it's not in the port directory any more than the wdm source is
 there.  It's fetched as part of the port build; do a 'make fetch'.

Hi Kris and others,

Thanks for your advice.

I did 'make fetch' but finally I surrended because;

1) I am testing FreeBSD 5.2 on a slow PC
2) When it came to 'OpenOffice' following advice popup
To build Openoffice, you should have a lot
of free diskspace (~ 4GB)

B.R.
Stephen

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


Re: Fax software question

2004-03-07 Thread Stephen Liu
- snip -
  # which acfax
  # which acfax
  # which efax
  # which gfax
  # which ghfaxview
  # which hylafx
  # which tkhylafax
  # which tkscanfax
  t# which viewfax
  all : Command not found.
 
  I suppose they have not been installed.  Kindly advise which of them is
  easy to config and suitable to fax text document.

 I use mgetty+sendfax (that's the port name). It accepts postscript or g3
 format. For text input, it looks like pbmtext (from the netpbm
 port/package) will convert text files to a suitable format (and then you
 run pbm2g3, which is inclduded in the mgetty+sendfax pacakge).

Hi Dan,

Tks for your response.  I used efax on RH before.  I think it is the front-end 
(GUI) of mgetty+sendfax.

# cd /usr/ports
# make search name=mgetty
Port:   mgetty-1.1.30.12.16_3
Path:   /usr/ports/comms/mgetty+sendfax
Index:  comms
.

# make search name=netpbm
Port:   netpbm-10.17_1
Path:   /usr/ports/graphics/netpbm
Index:  graphics


# make search name=pbm2g3
no printout

I think I need to install 'mgetty-1.1.30.12.16_3'.  Shall I install 
'netpbm-10.17_1' as well.

Kindly advise.  TIA

B.R.
Stephen


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


A question on installing printer

2004-03-07 Thread Stephen Liu
Hi all folks,

FreeBSD 5.2

I am now configuring printer and aware that 'MAKEDEV' has been replaced with 
'devfs'

According to handbook I should run

# ./MAKEDEV lpt0 (para port)

whether to be replaced with

# ./devfs -m lpt0

Kindly advise.  TIA

B.R.
Stephen Liu

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


Re: Fax software question

2004-03-07 Thread Stephen Liu
On Sunday 07 March 2004 22:08, Dan Pelleg wrote:

- snip -
  I think I need to install 'mgetty-1.1.30.12.16_3'.  Shall I install
  'netpbm-10.17_1' as well.
 

 Yes. Do it in one of the following ways:

 1.
 cd /usr/ports/comms/mgetty+sendfax
 make install clean

 cd /usr/ports/graphics/netpbm
 make install clean

 2.
 portinstall mgetty+sendfax netpbm

 (assuming you have portupgrade installed).

Hi Dan,

I have not installed portupgrade yet.  I will run /stand/sysinstall later.

Tks

B.R.
Stephen

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


MAKEDEV question

2004-03-07 Thread Stephen Liu
Hi folks,
 
 FreeBSD 5.2
 
 I am now configuring printer and aware that 'MAKEDEV' has been replaced with 
 'devfs'
 
 According to handbook I should run
 
 # ./MAKEDEV lpt0 (para port)
 
 whether to be replaced with
 
 # ./devfs -m lpt0
 
 Kindly advise. TIA
 
 B.R.
 satimis

 

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


  1   2   >