Re: kernel version changes release version. (was Re: How to change kernel version tag?)

2006-09-11 Thread Yuan, Jue

/sys/conf/newvers.sh

This file will determine the kernel version tag showed at booting
time. Don't know if it has anything to do with your problem.

HTH :-)

On 9/11/06, Spencer PriceNash <[EMAIL PROTECTED]> wrote:

On Fri, Aug 25, 2006 at 06:22:42PM +0800, Yuan, Jue wrote:

> Hi all.
>
> Could I change the kernel version tag manually? say, I have a kernel which is
> 7.0-CUREENT, but for some reasons I wanna it be something like 6.1-RELEASE,
> while the kernel itself does't change from 7.0-CURRENT to 6.1-RELEASE. All I
> want is the change of tag. For example, if this works, then when I
> type "uname -a" in console, I would get "6.1-RELEASE ..." instead
> of "7.0-CURRENT ...".
>
> I guess some config files in src/sys/ could take care of this. But I cannot
> find it out. Anybody knows how to get this job done?
>
> Any ideas are really appreciated. :-)

That seems an odd thing to do, but as it turns out, I somehow managed
to do it.

On Aug22, my old box had 5.3-RELEASE with a custom kernel.  Here's
something from a script that does backups every night, with the
date as MMDDHHMMSS starting every line (hostname changed to
avoid embarassment):

20060722234517:FreeBSD oldbox 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sat Nov 27 
01:53:23 CST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPENCER1  i386

On Aug23 I upgraded to 5.4 (tried 6.1, but the old box hung repeatedly
after any fsck):

20060723234514:FreeBSD oldbox 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 
10:21:06 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

I installed a custom kernel on Aug 29.  The release version changed.
Here's what the old box says it is now:

20060729234515:FreeBSD oldbox 5.3-RELEASE-p31 FreeBSD 5.3-RELEASE-p31 #0: Sat 
Jul 29 11:33:15 CDT 2006 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/kernel.2006072910  i386

I have no idea what I did to cause the change.

Anyone have any idea what happened?  I'm not so sure this is a great
thing.  It hasn't seemed to bother anything.  cvsup/portupgrade
didn't seem to mind.  Neither did portsnap/portmanager.

Haven't tried booting with the previous kernel to see what happens,
as the box needs to stay up for a while.



--
Best Regards
Yuan, Jue @ http://www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to change kernel version tag?

2006-08-25 Thread Yuan, Jue
Hi all.

Could I change the kernel version tag manually? say, I have a kernel which is 
7.0-CUREENT, but for some reasons I wanna it be something like 6.1-RELEASE, 
while the kernel itself does't change from 7.0-CURRENT to 6.1-RELEASE. All I 
want is the change of tag. For example, if this works, then when I 
type "uname -a" in console, I would get "6.1-RELEASE ..." instead 
of "7.0-CURRENT ...".

I guess some config files in src/sys/ could take care of this. But I cannot 
find it out. Anybody knows how to get this job done?

Any ideas are really appreciated. :-)

-- 
Best Regards
Yuan, Jue @ http://www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Where is mfsroot.flp ?

2006-08-25 Thread Yuan, Jue
On Friday 25 August 2006 01:13, Niclas Zeising wrote:
> Yuan, Jue wrote:
> > Hi all.
> >
> > I just wonder where mfsroot.flp is going now. It seems it has been
> > replaced by boot.flp and kernX.flp. why?
> >
> > What I really want is to get a mfsroot to embed into a FreeBSD kernel,
> > since kernel has option MD_ROOT to support this. I have found mfsroot.gz
> > in boot/, but after uncompressing, it turns out to be as big as 4.2MB,
> > which is too big for me. :-( Does anyone knows how to create a custom
> > mfsroot, say which files do I need to put in to it, to make it not larger
> > than 4MB?
> >
> > Any idea would be greatly appreciated. :-)
>
> The mfsroot.flp has been replaced in favour of kernX.flp. It was
> sometime when the mfsroot grew bigger that the 1.44KiB-limit. What
> someone did was making the kernel splitable over multiple floppies, and
> still bootable, iirc.
>
Thanks for the info. :-)

> Why do you need a mfsroot instead of an ordinary /? Are you planing on
> making a live cd? Just out of curiosity.
>
I need a kernel with mfsroot embedded in it so that I could have the ability 
to install FreeBSD after booting from that kernel.

-- 
Best Regards
Yuan, Jue @ http://www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Where is mfsroot.flp ?

2006-08-24 Thread Yuan, Jue
Hi all.

I just wonder where mfsroot.flp is going now. It seems it has been replaced by 
boot.flp and kernX.flp. why?

What I really want is to get a mfsroot to embed into a FreeBSD kernel, since 
kernel has option MD_ROOT to support this. I have found mfsroot.gz in boot/, 
but after uncompressing, it turns out to be as big as 4.2MB, which is too big 
for me. :-( Does anyone knows how to create a custom mfsroot, say which files 
do I need to put in to it, to make it not larger than 4MB?

Any idea would be greatly appreciated. :-)
 
-- 
Best Regards
Yuan, Jue @ http://www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: switching from linux to freebsd

2006-08-02 Thread Yuan, Jue
On Wednesday 02 August 2006 14:23, Erik Norgaard wrote:

> > On Tuesday 01 August 2006 23:18, Erik Nørgaard wrote:
>
> I thought you wanted to know what the first question was (since I had
> deleted that from my reply), if you had accidentially deleted OP.
>
> Obviously, I didn't answer it because I don't have the answer, so asking
> me for the answer to the first question is pretty much useless. If this
> was what you meant, the reply is: sit back and see if someone else
> responds on that.
>

I got it. It is my misunderstanding. Thanks for your kindly explanation. :-)

-- 
Best Regards
Yuan, Jue @ http://www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: switching from linux to freebsd

2006-08-01 Thread Yuan, Jue
On Tuesday 01 August 2006 23:18, Erik Nørgaard wrote:
> Yuan, Jue wrote:
> > What about the first question? curious too :-)
>
> http://lists.freebsd.org/pipermail/freebsd-questions/
>
> is a good bookmark to have when you accidentially delete a post you
> later want to look at.
>
Hi.

Thanks for your reply first.

To be frank, I just don't get what you mean. I don't see any previous post of 
this thread that talking about the first question. Am I wrong?

If you refered to STFW, then I could get your idea. And after google, gvinum 
is the substitue, right? :-)

-- 
Best Regards
Yuan, Jue @ http://www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: switching from linux to freebsd

2006-08-01 Thread Yuan, Jue
What about the first question? curious too :-)

On Tuesday 01 August 2006 14:51, Erik Norgaard wrote:
> Tyler Spivey wrote:
> > Hello. I'm interested in moving my server from linux to freeBSD, but
> > have several questions:
> > 2. Can Ufs handle crashes very well, or is a very long fsck needed like
> > the old ext2 days?
>
> Usually fsck will run in the background after boot has finished. On very
> hard crashes you may have to boot into single user to fix it. To avoid
> this, make sure that the base system is on a separate partition, you may
> even want to mount it read-only for security. (I think these are good
> advises on any system).
>
> > 3. is the restriction of NFS-servers only mounting on partition
> > boundaries going to be removed in the future, if it even still exists?
>
> You can export an entire partition, with -alldirs option you can mount
> any sub directory with the permissions for that partition, eg:
>
>/home -alldirs -network 192.168.0.0/24
>
> You can also export directories individually, but there are some
> restrictions, exporting two directories on the same filesystem to the
> same host must have the same permissions. Eg:
>
>/var/diskless/FreeBSD -ro -maproot=root:wheel -network 192.168.0.0/24
>/var/diskless/clt-1/var -maproot=root:wheel 192.168.0.1
>/var/diskless/clt-1/tmp -maproot=root:wheel 192.168.0.1
>
> This works fine despite the first being -ro and the others -rw, because
> the first line exports to a network and not the host, and the second two
> have same permissions and mappings. But
>
>/var/diskless/FreeBSD -ro -maproot=root:wheel -network 192.168.0.0/24
>/var/diskless/clt-1/var -maproot=root:wheel 192.168.0.1
>/var/diskless/clt-1/tmp 192.168.0.1
>
> doesn't, because of the missing maproot in the last export line.
>
> Cheers, Erik

-- 
Best Regards
Yuan, Jue @ http://www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vsftpd uploading rate problem

2006-07-27 Thread Yuan, Jue

Thanks for your kind reply and sorry for the delay :-)

This speed issue has gone away after I upgrade my OS to FreeBSD
6.1-RELEASE. Anyway, thanks again. :-)

On 6/6/06, N.J. Thomas <[EMAIL PROTECTED]> wrote:

* Yuan, Jue <[EMAIL PROTECTED]> [2006-06-06 18:31:43 +0800]:
> The situation is: a computer could download stuffs from my laptop via
> vsftpd at a rate of 10M/s. while uploading stuffs to my laptop at a
> rate of only 300K~400K :(

Can you test with some other (non-ftp) protocol, and see if you get the
same results? Try scp'ing a large file to and from your laptop.



--
Best Regards
Yuan, Jue @ http://www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


vsftpd uploading rate problem

2006-06-06 Thread Yuan, Jue
Hi all.

I got a wired problem here. The ftp server I use on my laptop is vsftpd. Till 
now it works quite well, except the low uploading rate.

The situation is: a computer could download stuffs from my laptop via vsftpd 
at a rate of 10M/s. while uploading stuffs to my laptop at a rate of only 
300K~400K :( 

The account used to log in is one of my local accounts, and I have set 
local_max_rate=0 in /usr/local/etc/vsftpd.conf. I am wondering how this 
imbalance happens.

Does anybody have this problem before? Any ideas would be appreciated.

Thanks in advance :-)

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: X11R7 through ports?

2006-05-24 Thread Yuan, Jue
On Wednesday 24 May 2006 10:05, Jim Stapleton wrote:
> Is there any way to get X11R7 through ports? The Xorg and XFree86
> packages all seem to be 6.8/6.9
>
> Thanks,
> -Jim Stapleton

Jim.

Feel free to check this thread at [EMAIL PROTECTED] mailing list.
http://lists.freebsd.org/pipermail/freebsd-ports/2006-May/031671.html

HTH :-)

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help me

2006-05-05 Thread Yuan, Jue
On Friday 05 May 2006 20:09, astalus razvan wrote:
> hy everyone.I am an FreeBSD user ,i use it every day ,but a few days ago a
> problem came up.I have tryed to install Firewalk 5.0.2 ,but told me that I
> must install libnet 1.1.2.1,1.OK i have installed libnet 1.1.2.1,1 ,but
> Firewalk stiil tolds that I do not have installed libnet.What should I do?
>
>
> P.S. for the installation of libnet i used
> ./configure
> make
> make install

Hi.

Why not use port to intall libnet? HTH ;-)

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pkg_add gnuplot

2006-05-05 Thread Yuan, Jue
On Friday 05 May 2006 13:00, Jonathan Herriott wrote:
> Hey,
>
> I'm trying to add the package gnuplot, and when I do, it goes and tries to
> add another necessary package pdflib.  The issue is that it cannot find
> pdflib.  I get the following:
>
> pkg_add -r gnuplot
> Fetching
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/gn
>uplot.tbz... Done.
> Error: FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/pdfli
>b-6.0.1_2.tbz: File unavailable (e.g., file not found, no access)
> pkg_add: can't open dependency file
> '/var/db/pkg/pdflib-6.0.1_2/+REQUIRED_BY '!
> dependency registration is incomplete
>
> For some reason the file does not exist on the server.  Is there another
> method that I can get pdflib that pkg_add will recognize for when I pkg_add
> -r gnuplot again?

google pdflib to find some available .tbz :-)

Good luck

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with Broadcomm NIC - not recognized

2006-05-03 Thread Yuan, Jue
On Wednesday 03 May 2006 22:52, you wrote:
> I'm trying to set up a new laptop, and I have an odd problem.  The
> laptop has a Broadcomm NetXtreme 57xx Gig Nic, and the install didn't
> recognize it.  The GENERIC kernel has support for the NIC (bge and
> miibus), and I've done several installs on other hardware that detected
> the NIC just fine, but this one doesn't.  There's nothing in dmesg, and
> ifconfig only shows lo0.
>
> How do I correct this problem?

Does any other OS on this laptop could recognize the NIC ? Maybe it is
a problem of hardware ;)

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portsnap cannot change its default WORKDIR ?

2006-05-03 Thread Yuan, Jue
On Tuesday 07 March 2006 15:17, [EMAIL PROTECTED] wrote:
> -On 3/6/06, Yuan Jue <[EMAIL PROTECTED]> wrote:
> > Hi, all
> >
> > I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is
> > really much faster than CVSUp. But there is one question that bother me:
> > I cannot change the WORKDIR that portsnap use.
> >
> > I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but
> > when using 'portsnap fetch', the download files still store
> > in /var/db/portsnap.
> >
> > Any suggestions about this? Thanks in advance!
> >
> > My /etc/portsnap.conf is as follows:
> >
> > # $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva
> > Exp $
> >
> > # Default directory where compressed snapshots are stored.
> >  WORKDIR=/usr/local/portsnap
>
> Well, it's doesn't seem broken here and mine is exactly like yours.
> Are you using portsnap from the base distro or from the ports tree?
> I was under the impression that portsnap from ports used
> /usr/local/etc/portsnap.conf so you may try copying your
> /etc/portsnap.conf there and see if that fixes something or any-
> thing.
>

OK. I found the trick finally ;)

There is a needless space before 'WORKDIR', which makes portsnap
cannot read this line correctly. Now it works fine for me :-)

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wifi ath

2006-04-22 Thread Yuan, Jue
On Sunday 16 April 2006 21:25, dick hoogendijk wrote:
> Bought a WiFi D-Link with atheros chipset.
> I use a non-default kernel, so I guess I have to put some options back in
> and recompile. Will upgrade to 6.1-rc at the same time ;-)
>
> Any pitfalls?
> What options exactly do I need to have my ath based wifi card up and
> running?

enable device wlan and an in the kernel would do the whole work :)

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Good subversion GUI?

2006-04-14 Thread Yuan Jue
On Friday 14 April 2006 23:45, [EMAIL PROTECTED] wrote:
> El día Thursday, April 13, 2006 a las 05:32:59PM +0800, Yuan Jue escribió:
> > > I've fetched the port into 6.0-REL...  There is during linking some how
> > > the -lpthread missing:
> > >
> > > $ make
> > >   ...
> > > /bin/sh /usr/local/bin/libtool15 --silent --mode=link --tag=CXX c++
> > > -Wnon-virtu al-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
> > > -Wwrite-strings -O2 -O2 -fno-strict-aliasing -pipe -fno-check-new
> > > -fno-common -fexceptions-o kdesvn -R /usr/local/lib -R
> > > /usr/X11R6/lib -R /usr/X11R6/lib -R /usr/local/lib -L/usr/X 11R6/lib
> > > -L/usr/local/lib -L/usr/local/lib main.o kdesvn.o urldlg.o commandline
> > > .o -lkparts -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib
> > > -ljpeg  -L/usr /X11R6/lib
> > > /usr/X11R6/lib/libqt-mt.so: undefined reference to
> > > `pthread_cleanup_pop' /usr/X11R6/lib/libqt-mt.so: undefined reference
> > > to `pthread_attr_destroy' /usr/X11R6/lib/libqt-mt.so: undefined
> > > reference to `pthread_attr_init' /usr/X11R6/lib/libqt-mt.so: undefined
> > > reference to `pthread_exit' /usr/X11R6/lib/libqt-mt.so: undefined
> > > reference to `pthread_cancel' ...
> > >
> > > I've added it to 'LIBS' in the Makefile (which of course is dirty) but
> > > then it linked.
> > >
> > > # make install gives:
> > >
> > >   ...
> > > ===>   Running ldconfig
> > > /sbin/ldconfig -m /usr/local/lib
> > > ===>   Registering installation for kdesvn-0.8.1
> > > pkg_create: read_plist: unknown command '@dirrmtry
> > > share/icons/hicolor/128x128/actions' (package tools out of date?)
>
>   ...
>
> > > Stop in /usr/ports/devel/kdesvn_port.
> > >
> > > and it does not lauch from KDE's menue :-(
> > > it raises a popup with Error - kdevsvn 'Could not find our part.'
> >
> > Hi, Matthias
> >
> > Thanks for your quick reply. I have change the port files in some place
> > based on the information you provided. You can download it once more.
> > Hope this time you can get it work :-)
> >
> > If it still has something wrong, please let me know. Thanks
>
> Hi Yuan,
>
> The problem of -lpthread is still there and again I've just added
> it to 'LIBS' in the Makefile:
>
> LIBS = -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg 
> -L/usr/X11R 6/lib -lpthread
>
> Now the 'make install' does not complain anymore:
>
> # make install
>   ...
> ===>   Running ldconfig
> /sbin/ldconfig -m /usr/local/lib
> ===>   Registering installation for kdesvn-0.8.1
>
> But the kdesvn itself does not work. I've checked it with 'truss'
> and it is some how missing its shared object libkdesvnpart.la and
> libkdesvnpart.so. The libkdesvnpart.so gets installed in
> /usr/local/lib/kde3/libkdesvnpart.so while the libkdesvnpart.la
> is not installed at all. Launching kdesvn with truss shows where
> it is missing the files:
>
> $ truss -o /tmp/kdesvn.tr kdesvn
> KCrash: Application 'kdesvn' crashing...
> $ fgrep libkdesvnpart /tmp/kdesvn.tr
> access("/home/guru/.kde/lib/kde3/libkdesvnpart.la",4) ERR#2 'No such file
> or directory' access("/usr/local/lib/kde3/libkdesvnpart.la",4) ERR#2 'No
> such file or directory' access("/home/guru/.kde/lib/libkdesvnpart.la",4)
> ERR#2 'No such file or directory'
> access("/usr/local/lib/libkdesvnpart.la",4)  ERR#2 'No such file or
> directory' $
>
> I have copied the libkdesvnpart.la and libkdesvnpart.so to
> /usr/local/lib/ by hand and then kdesvn starts fine:
>
> $ truss -o /tmp/kdesvn.tr kdesvn
> package version in svnqt missmatched release version!
>
> kdesvn: Name: cFactory
> kdesvn: New SvnActionsData()
> kdesvn: New SvnActionsData() finished
> kdesvn: SshAgent::querySshAgent(): ENTER
> kdesvn: SshAgent::querySshAgent(): ssh-agent already exists
> kdesvn: Appname = kdesvn
> kdesvn: Destructor KdesvnFileListPrivate done
> kdesvn: SshAgent::killSshAgent(): ENTER
> $ fgrep libkdesvnpart /tmp/kdesvn.tr
> access("/home/guru/.kde/lib/kde3/libkdesvnpart.la",4) ERR#2 'No such file
> or dir ectory'
> access("/usr/local/lib/kde3/libkdesvnpart.la",4) ERR#2 'No such file or
> director y'
> access("/home/guru/.kde/lib/libkdesvnpart.la",4) ERR#2 'No such file or
> director y'
> access(

Re: Good subversion GUI?

2006-04-13 Thread Yuan Jue
On Thursday 13 April 2006 15:30, [EMAIL PROTECTED] wrote:
> El día Thursday, April 13, 2006 a las 10:43:08AM +0800, Yuan Jue escribió:
> > On Tuesday 14 March 2006 19:43, Ashley Moran wrote:
> > > I use KDE on my desktop and I'm trying to find a good svn GUI but I
> > > can't see one in the ports.  I've tried eSVN but it's a bit flaky.  I
> > > saw a good one on KDE-apps.org called KdeSvn but it's not in ports. 
> > > KDE integration would be nice but any X11 GUI will do.
> >
> > I have made a port for KDESvn. The problem report is here:
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=95676
> >
> > If anyone is interested in it, please feel free to test it :-)
> >
> > port: http://www.yuanjue.net/download/kdesvn_port.tar.gz
> > package: http://www.yuanjue.net/download/kdesvn-0.8.1.tbz
> >
> > Any feedback would be very appreciated ^_^
>
> I've fetched the port into 6.0-REL...  There is during linking some how
> the -lpthread missing:
>
> $ make
>   ...
> /bin/sh /usr/local/bin/libtool15 --silent --mode=link --tag=CXX c++ 
> -Wnon-virtu al-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
> -Wwrite-strings -O2 -O2 -fno-strict-aliasing -pipe -fno-check-new
> -fno-common -fexceptions-o kdesvn -R /usr/local/lib -R /usr/X11R6/lib
> -R /usr/X11R6/lib -R /usr/local/lib -L/usr/X 11R6/lib -L/usr/local/lib 
> -L/usr/local/lib main.o kdesvn.o urldlg.o commandline .o -lkparts
> -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg  -L/usr
> /X11R6/lib
> /usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_cleanup_pop'
> /usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_attr_destroy'
> /usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_attr_init'
> /usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_exit'
> /usr/X11R6/lib/libqt-mt.so: undefined reference to `pthread_cancel'
>   ...
>
> I've added it to 'LIBS' in the Makefile (which of course is dirty) but
> then it linked.
>
> # make install gives:
>
>   ...
> ===>   Running ldconfig
> /sbin/ldconfig -m /usr/local/lib
> ===>   Registering installation for kdesvn-0.8.1
> pkg_create: read_plist: unknown command '@dirrmtry
> share/icons/hicolor/128x128/actions' (package tools out of date?)
> pkg_create: read_plist: unknown command '@dirrmtry
> share/icons/hicolor/128x128/filesystems' (package tools out of date?)
> pkg_create: read_plist: unknown command '@dirrmtry
> share/icons/hicolor/16x16/filesystems' (package tools out of date?)
> pkg_create: read_plist: unknown command '@dirrmtry
> share/icons/hicolor/22x22/filesystems' (package tools out of date?)
> pkg_create: read_plist: unknown command '@dirrmtry
> share/icons/hicolor/32x32/filesystems' (package tools out of date?)
> pkg_create: read_plist: unknown command '@dirrmtry
> share/icons/hicolor/48x48/filesystems' (package tools out of date?)
> pkg_create: read_plist: unknown command '@dirrmtry
> share/icons/hicolor/64x64/actions' (package tools out of date?) pkg_create:
> read_plist: unknown command '@dirrmtry
> share/icons/hicolor/64x64/filesystems' (package tools out of date?)
> pkg_create: read_plist: unknown command '@dirrmtry
> share/icons/hicolor/scalable/actions' (package tools out of date?)
> pkg_create: read_plist: unknown command '@dirrmtry
> share/icons/hicolor/scalable/filesystems' (package tools out of date?)
> pkg_create: write_plist: unknown command type -1
> (share/icons/hicolor/128x128/actions) *** Error code 2
>
> Stop in /usr/ports/devel/kdesvn_port.
>
> and it does not lauch from KDE's menue :-(
> it raises a popup with Error - kdevsvn 'Could not find our part.'

Hi, Matthias

Thanks for your quick reply. I have change the port files in some place
based on the information you provided. You can download it once more.
Hope this time you can get it work :-)

If it still has something wrong, please let me know. Thanks

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Good subversion GUI?

2006-04-12 Thread Yuan Jue
On Tuesday 14 March 2006 19:43, Ashley Moran wrote:
> I use KDE on my desktop and I'm trying to find a good svn GUI but I can't
> see one in the ports.  I've tried eSVN but it's a bit flaky.  I saw a good
> one on KDE-apps.org called KdeSvn but it's not in ports.  KDE integration
> would be nice but any X11 GUI will do.
>
I have made a port for KDESvn. The problem report is here:
http://www.freebsd.org/cgi/query-pr.cgi?pr=95676

If anyone is interested in it, please feel free to test it :-)

port: http://www.yuanjue.net/download/kdesvn_port.tar.gz
package: http://www.yuanjue.net/download/kdesvn-0.8.1.tbz

Any feedback would be very appreciated ^_^

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help for portdowngrade

2006-04-07 Thread Yuan Jue
On Friday 07 April 2006 22:23, you wrote:
> On 07/04/2006 15:49, Yuan Jue wrote:
> > Could anyone please give me a hand ? :)
> >
> > On Thursday 06 April 2006 21:37, Yuan Jue wrote:
> >> Hi all.
> >>
> >> Could anyone please get me an outdated port called 'zh-CJK-4.6.0'
> >> through using "portdowngrade zh-CJK-4.6.0" ?
> >>
> >> I am in a subnet and cannot connect the anonCVS directly. Any help
> >> would be very appreciate. Thanks in advance
>
> Hi Yuan,
>
> I can offer you http download. Which one do you need?
>
>   1  2006/03/19 05:40:51  4.6.0_1  Add links to these sfd files to
> the pkg-plist.  They are generated by
>   2  2006/03/16 06:22:01  4.6.0_1  Several improvements over
> chinese/CJK port, to make it possible to
>   3  2006/01/22 01:27:04  4.6.0_0  Replace ugly "@unexec rmdir
> %D... 2>/dev/null || true" with @dirrmtry
>   4  2006/01/20 10:14:30  4.6.0_0  - As the original cjk master
> sites timeouts often on package building
>   5  2005/12/03 21:04:49  4.6.0_0  [MAINTAINER] chinese/CJK:
> update to 4.6.0

3  2006/01/22 01:27:04  4.6.0_0  Replace ugly "@unexec rmdir
 %D... 2>/dev/null || true" with @dirrmtry would be great

thanks very much for your help !

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help for portdowngrade

2006-04-07 Thread Yuan Jue
Could anyone please give me a hand ? :)

On Thursday 06 April 2006 21:37, Yuan Jue wrote:
> Hi all.
>
> Could anyone please get me an outdated port called 'zh-CJK-4.6.0'
> through using "portdowngrade zh-CJK-4.6.0" ?
>
> I am in a subnet and cannot connect the anonCVS directly. Any help
> would be very appreciate. Thanks in advance

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


help for portdowngrade

2006-04-06 Thread Yuan Jue
Hi all.

Could anyone please get me an outdated port called 'zh-CJK-4.6.0'
through using "portdowngrade zh-CJK-4.6.0" ?

I am in a subnet and cannot connect the anonCVS directly. Any help
would be very appreciate. Thanks in advance

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kdegames cannot be downloaded ?

2006-04-05 Thread Yuan Jue
hi all.

After portupgrade, I noticed that kdegames has updated to 
kdegames-3.5.2. The weird thing is kdegames-3.5.2.tar.bz2 cannot
be downloaded through any server in the Makefie. 

And, when google "kdegames", the response is always "time out", while
google other key words like "kdeedu" or "kdenetworks" would show the
right result quickly.

Does anybody know why? Thanks in advance

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Yuan Jue
On Friday 31 March 2006 14:20, Graham North wrote:
> As said, I am pretty new to unix but is the rehash command not used for
> reorganized the userland directory iindexes after program upgrades?

if what you mean is why firefox cannot start after upgrade, then this is 
maybe a mozilla known problem. what you should do is "su" change to 
root and start firefox there and then everything will be fine

Or, maybe you should make your question more clear ;)

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Yuan Jue
On Friday 31 March 2006 14:02, Graham North wrote:
> Okay - I'm  pretty close to newbie status, but could this be a needed
> rehash?

sorry, but what is your point?

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Yuan Jue
On Friday 31 March 2006 13:52, you wrote:
> http://www.mozilla.com/firefox/releases/1.5.0.1.html#issues
>
> It's a known issue.  Need to run as privileged user on all platforms,
> the first time.
>
got it. thanks again :)

> Yuan Jue wrote the following on 31/03/2006 4:46 PM:
> > On Friday 31 March 2006 09:18, Donald J. O'Neill wrote:
> >> This happened to me also, until I remembered this has happened before
> >> and what to try.
> >>
> >> Login as root, start the GUI (mine is KDE), open a terminal program and
> >> start firefox from there. After that, I had no problems. It's working
> >> fine.
> >
> > works for me too. many thanks :)

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Yuan Jue
On Friday 31 March 2006 09:18, Donald J. O'Neill wrote:
> This happened to me also, until I remembered this has happened before
> and what to try.
>
> Login as root, start the GUI (mine is KDE), open a terminal program and
> start firefox from there. After that, I had no problems. It's working
> fine.
>

works for me too. many thanks :)

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to downgrade a port?

2006-03-25 Thread Yuan Jue
Hi all.

I wanna downgrade a port 'cause I found the newest port seems still have
some problems :-(  the question is: how could I do this?

Usually I use portupgrade to upgrade my ports tree. So to downgrade a 
port, is portdowngrade a choice? I notice that portdowngrade has stopped
developing since 2004. Does it stll work now?

Thanks in advance.

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Google Talk and NAT issue ?

2006-03-22 Thread Yuan Jue
On Wednesday 22 March 2006 20:41, Norberto Meijome wrote:
> On Mon, 13 Mar 2006 20:54:14 +0800
>
> Yuan Jue <[EMAIL PROTECTED]> wrote:
> > What kind of new technology Google use to
> > overcome a NAT issue?
>
> Hi there, no idea if you figured this out yet.
> I dont use (any version of ) google talk (skype works just great :) ),
> so these are only suggestions.
>
> Windows version may be using uPNP to open up your firewall.
>
> If i were you, i'd compare a tcpdump of both the google-talk (windows)
> vs google-talk (kopete) and see the difference.
>
> Or maybe google has locked down their servers so kopete cannot talk to
> them anymore .

still not working now :(

thanks for your suggestions. I will have a look later

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Good subversion GUI?

2006-03-14 Thread Yuan Jue
On Tuesday 14 March 2006 19:43, Ashley Moran wrote:
> I use KDE on my desktop and I'm trying to find a good svn GUI but I can't
> see one in the ports.  I've tried eSVN but it's a bit flaky.  I saw a good
> one on KDE-apps.org called KdeSvn but it's not in ports.  KDE integration
> would be nice but any X11 GUI will do.

That's what I want too. KDESVN seems pretty good. Could anyone please
port it to freebsd ?

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Google Talk and NAT issue ?

2006-03-13 Thread Yuan Jue
Hi, all.

These days I am bothered by a problem. 

Since I am now surfing the Internet through NAT, I cannot use kopete
(an IM client for KDE) to connect google talk server any more.
 While at the same time I still can use Google Talk client under Windows 
to connect to the server, without any additional configuration.

Could anyone please explain this to me? Why can I use Google Talk client
straightly but not kopete? What kind of new technology Google use to
overcome a NAT issue?

Any ideas would be appreciated. Thanks in advance.

-- 
Best Regards
Yuan Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to keep the options with potupgrade

2006-03-08 Thread Yuan Jue
On Thursday 09 March 2006 15:26, Olivier Nicole wrote:
> Hi,
>
> I usually build my Apache server with the option
> WITH_APACHE_SUEXEC=yes defined.
>
> How/where/what to configure to make sure that a portupgrade -R
> apache13-modssl will use the same option when rebuilding?

I don't know the standard way to do it, but you may try to put 
'WITH_APACHE_SUEXEC=yes' in /etc/make.conf

Good luck

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


Re: About zh_CN-acroread7-7.0.1_1,1 port

2006-03-08 Thread Yuan Jue
On Wednesday 08 March 2006 15:04, Hiroki Sato wrote:
> Yuan Jue <[EMAIL PROTECTED]> wrote
>   in <[EMAIL PROTECTED]>:
>
> yu> Hi.
> yu>
> yu> The current zh_CN-acroread7-7.0.1_1,1 port in port trees cannot work
> yu> on my FreeBSD 6.0. I can make it and install it, but when run it in
> yu> '/usr/X11R6/Adobe/Acrobat7.0/CHS/bin/acroread', it shows:
> yu>
> yu> YuanJue@/usr/X11R6/Adobe/Acrobat7.0/CHS/bin$ ./acroread
> yu> 操作系统  FreeBSD 版本 6.0-RELEASE 当前未安装。
> yu> 尝试在已安装的平台上运行并连接到您的显示设备。
> yu> 已安装的平台包括:
> yu>   Intel/Linux
> yu> YuanJue@/usr/X11R6/Adobe/Acrobat7.0/CHS/bin$
> yu>
> yu> I remember the earlier port works very well in my laptop with FreeBSD
> 6.0. yu> So would you please have an eye on it to find what's going on
> here?
>
>  Please run it from /usr/X11R6/bin/acroread instead.

Thanks for your quick reply.

when I run from there, it shows:

YuanJue@/etc$ cd /usr/X11R6/bin/
YuanJue@/usr/X11R6/bin$ ./acroread
!fatal: acroread binary not found.
YuanJue@/usr/X11R6/bin$

what is wrong?

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


Re: About zh_CN-acroread7-7.0.1_1,1 port

2006-03-08 Thread Yuan Jue
On Wednesday 08 March 2006 16:56, Hiroki Sato wrote:
> Yuan Jue <[EMAIL PROTECTED]> wrote

> yu> YuanJue@/etc$ cd /usr/X11R6/bin/
> yu> YuanJue@/usr/X11R6/bin$ ./acroread
> yu> !fatal: acroread binary not found.
> yu> YuanJue@/usr/X11R6/bin$
> yu>
> yu> what is wrong?
>
>  You need ADOBE_LANG=CHS or LANG=zh_CN.* in your environment
>  variable.

Thanks! it works when I add ADOBE_LANG=CHS to my environment
variable :)

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


Re: portsnap cannot change its default WORKDIR ?

2006-03-07 Thread Yuan Jue
On Tuesday 07 March 2006 16:24, Chandan Haldar wrote:
> The two command line options
>
> -d 
> -p 
>
> that portsnap accepts should be adequate for what you
> seem to be looking for.  I use the second frequently.
>

yes, this method works for me. I am just wondering why portsnap.conf
cannot do its job? 

anyway, thanks for your informaiton :)

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


Re: portsnap cannot change its default WORKDIR ?

2006-03-06 Thread Yuan Jue
On Tuesday 07 March 2006 15:17, [EMAIL PROTECTED] wrote:
> -On 3/6/06, Yuan Jue <[EMAIL PROTECTED]> wrote:
> > Hi, all
> >
> > I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is
> > really much faster than CVSUp. But there is one question that bother me:
> > I cannot change the WORKDIR that portsnap use.
> >
> > I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but
> > when using 'portsnap fetch', the download files still store
> > in /var/db/portsnap.
> >
> > Any suggestions about this? Thanks in advance!
> >
> > My /etc/portsnap.conf is as follows:
> >
> > # $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva
> > Exp $
> >
> > # Default directory where compressed snapshots are stored.
> >  WORKDIR=/usr/local/portsnap
>
> Well, it's doesn't seem broken here and mine is exactly like yours.
> Are you using portsnap from the base distro or from the ports tree?

I'm using FreeBSD 6.0 and portsnap is from the base distro.

> I was under the impression that portsnap from ports used
> /usr/local/etc/portsnap.conf so you may try copying your
> /etc/portsnap.conf there and see if that fixes something or any-
> thing.
I have tried this as you told. it doesn't work either :(

BTW: when I deleted /var/db/portsnap, the next time I use portsnap
like:
#portsnap fetch
message will show as follows:
portsnap: Directory does not exist or is not writable: /var/db/portsnap

any more ideas?

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


portsnap cannot change its default WORKDIR ?

2006-03-06 Thread Yuan Jue
Hi, all

I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is really
much faster than CVSUp. But there is one question that bother me: 
I cannot change the WORKDIR that portsnap use.

I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but
when using 'portsnap fetch', the download files still store 
in /var/db/portsnap.

Any suggestions about this? Thanks in advance!

My /etc/portsnap.conf is as follows:

# $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva Exp $

# Default directory where compressed snapshots are stored.
 WORKDIR=/usr/local/portsnap

# Default location of the ports tree (target for "update" and "extract").
# PORTSDIR=/usr/ports

# Server or server pool from which to fetch updates.  You can change
# this to point at a specific server if you want, but in most cases
# using a "nearby" server won't provide a measurable improvement in
# performance.
SERVERNAME=portsnap.FreeBSD.org

# Trusted keyprint.  Changing this is a Bad Idea unless you've received
# a PGP-signed email from <[EMAIL PROTECTED]> telling you to
# change it and explaining why.
KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330

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


Re: C++ unit testing?

2006-03-06 Thread Yuan Jue
On Tuesday 07 March 2006 05:11, Björn König wrote:
> Yuan Jue schrieb:
> > Hi, all.
> >
> > How could I do a C++ unit testing? Is there an open source tool like
> > JUnit for Jaca unit testing?
> >
> > Thanks in advance.
>
> [22:11:03] [EMAIL PROTECTED]:/usr/ports
>
>   > make
>
> search key="^cppunit"
>
> Port:   cppunit-1.10.2
> Path:   /usr/ports/devel/cppunit
> Info:   C++ port of the JUnit framework for unit testing
> Maint:  [EMAIL PROTECTED]
> B-deps:
> R-deps:
> WWW:http://cppunit.sourceforge.net

thanks. it really helps :)

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


Re: anyone notice firefox crashes a lot with BSD+KDE

2006-03-06 Thread Yuan Jue
On Monday 06 March 2006 16:56, Chandan Haldar wrote:
> My firefox (1.0.7) takes a long time to start up.

maybe you should upgrade your firefox to 1.5.0 first :)

>
> I have the sessionsaver extension installed and have
> several tabs open at all times.  Sometimes it seems as
> if firefox loads the pages in all the tabs BEFORE the GUI
> has a chance to display the window.  Did anyone improve
> upon this behavior?  Firefox for MSWin seems to instantly
> display the window with empty tabs and then starts loading
> the pages.  It may be a matter of personal preference,
> but if I had a choice, I'd want the latter behavior.

I've never used sessionsaver extension. Anyone else have ideas?

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


C++ unit testing?

2006-03-06 Thread Yuan Jue
Hi, all.

How could I do a C++ unit testing? Is there an open source tool like
JUnit for Jaca unit testing?

Thanks in advance.

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


Re: anyone notice firefox crashes a lot with BSD+KDE

2006-03-05 Thread Yuan Jue
On Monday 06 March 2006 14:20, Kris Kennaway wrote:
> On Mon, Mar 06, 2006 at 01:13:18AM -0500, Steel City Phantom wrote:
> > i ran it since about 0.9 or so on win and and it rarely crashed.  since
> > i moved to BSD i crashes 1 or 2 times a day.  am i alone or is it par
> > for the course.  CNN.com seems to take it out the most.
>
> Do you have the flash plugin installed?  That never worked reliably
> for me.  Apart from that it's quite stable.

neither for me, when with flash plugin ;)

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


Re: cvsup in LAN?

2006-03-03 Thread Yuan Jue
On Friday 03 March 2006 13:29, Jonathan Chen wrote:
> On Thu, Mar 02, 2006 at 08:18:53PM +0800, Yuan Jue wrote:
> > hey, all.
> >
> > Recently I account a problem about using cvsup. I wanna use cvsup to
> > upgrade my ports tree, but I cannot connect to any cvsup website.
> >
> > The situation is my IP address is 192.168.*.*, which seems to be a NAT
> > IP address. And I guess the LAN administrator may close some ports to
> > prevent some kind of unknown danger...
> >
> > Any suggestions to get around this? thanks in advance
>
> Use portsnap(1).

thanks for the information :)
-- 
Best Regards.
Yuan Jue
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ati fglrx driver for FreeBSD

2006-03-03 Thread Yuan Jue
hey, all.

I have seen this following discussion:
http://www.bsdforums.org/forums/showthread.php?threadid=37837

and I installed this ati driver from port, but it doesn't seem to work 
under xorg 6.9.0

anyone else have tried this port? any successful experience? 

BTW: my video card is ATI Mobility Radeon 9600

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


Re: X.org 7.0 port?

2006-03-02 Thread Yuan Jue
On Thursday 02 March 2006 18:35, Simon Olofsson wrote:
> Hi,
>
> X11R6.9 and X11R7.0 are the same, only the way they are build is different.
> I use 3D acceleration with my ATI Mobility Radeon 9700 and it works great.
> Just install X11R6.9 and make sure all needed drivers are installed
> properly (DRI and DRM).
> TV-Out should also be possible but I haven't tried yet.


thanks for your kind information :)
Do I need to do any more work after I compile X.org, say specify the video
card or something else? Or do I need to change some options before making
X.org?

looking for more help. thanks

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


cvsup in LAN?

2006-03-02 Thread Yuan Jue
hey, all.

Recently I account a problem about using cvsup. I wanna use cvsup to 
upgrade my ports tree, but I cannot connect to any cvsup website.

The situation is my IP address is 192.168.*.*, which seems to be a NAT
IP address. And I guess the LAN administrator may close some ports to
prevent some kind of unknown danger...

Any suggestions to get around this? thanks in advance
 
-- 
Best Regards.
Yuan Jue
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: X.org 7.0 port?

2006-03-02 Thread Yuan Jue
On Thursday 02 March 2006 17:42, Pietro Cerutti wrote:
>
> From x.org:
>
> X11R7.0 is the first release of the complete modularized and
> autotooled source code base for the X Window System. X11R6.9, its
> companion release, contains identical features, and uses the exact
> same source code as X11R7.0, but with the traditional imake build
> system.
>
> So as you can see, 7.0 and 6.9 share exactly the same code, but
> they're just packed and built differently.

thanks for the information :)

That makes another question: Can anyone play a movie(e.g, avi format)
smoothly using mplayer? Since I upgraded my X.org from 6.8.2 to 6.9.0,
mplayer seems to be not that good like before :(

anybody knows the reason? any suggestions about this?

thanks in advance

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


Re: X.org 7.0 port?

2006-03-02 Thread Yuan Jue
On Thursday 02 March 2006 17:42, Pietro Cerutti wrote:
>
> From x.org:
>
> X11R7.0 is the first release of the complete modularized and
> autotooled source code base for the X Window System. X11R6.9, its
> companion release, contains identical features, and uses the exact
> same source code as X11R7.0, but with the traditional imake build
> system.
>
> So as you can see, 7.0 and 6.9 share exactly the same code, but
> they're just packed and built differently.

thanks for the information :)

That makes another question: Can anyone play a movie(e.g, avi format)
smoothly using mplayer? Since I upgraded my X.org from 6.8.2 to 6.9.0,
mplayer seems to be not that good like before :(

anybody knows the reason? any suggestions about this?

thanks in advance

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


X.org 7.0 port?

2006-03-01 Thread Yuan Jue
hey, all

anybody knows that when will X.org 7.0 be ported to FreeBSD?
I have heard that X.org 7.0 support ATI cards inclued some exciting
features, say tv-out & 3D acceleration and so on.

Since my video card is ATI Mobility Radeon 9600, I really wanna these
new fetures on my FreeBSD :)

thanks in advance
 
-- 
Best Regards.
Yuan Jue
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wireless NIC in FreeBSD 6.0 ?

2006-01-01 Thread Yuan Jue
On Wednesday 28 December 2005 21:54, Erik Norgaard wrote:
> Yuan Jue wrote:
> >>It appears you can set some default values:
> >>
> >>   default { [option declaration] [, ... option declaration] }
> >>  If for some set of options the client should use the value sup-
> >>  plied by the server, but needs to use some default value if no
> >>  value was supplied by the server, these values can be defined
> >>  in the default statement.
> >>
> >>I would assume that if you set defaults this way, defaults will also
> >>take place if no lease is obtained at all - at least that would be very
> >>usefull. Something like this I guess:
> >>
> >>   interface bge0 {
> >>   default {
> >>   fixed-address your-fixed-ip-here;
> >>   subnet-mask your-fixed-subnet-mask-here;
> >>   ...
> >>   }
> >>   }
> >
> > sorry, I still don't quite get what you mean. it seems my default setting
> > is this though it is not written in dhclient.conf.
> >
> > how can I configure the wireless interface to use DHCP in dhclient.conf?
> > like as follows?
>
> The dhclient.conf does not contain any interface configuration values
> unless you write it. dhcp automatically reads dhclient.conf on startup,
> so you just need to enable dhcp for the interfaces you want configured.
>
> In rc.conf insert
>
>interface_ath0="DHCP"
>interface_bge0="DHCP"
>
> Create dhclient.conf like this
>
>interface ath0 {
>default {
>   ... the default configuration for your wireless nic ...
>}
>}
>interface bge0 {
>default {
>   ... the default configuration for your wired nic ...
>}
>}
>
> No need to mention any scripts in dhclient.conf. In the default
> configuration you need to specify at least: ip address, netmask, router
> and nameserver, see dhclient.conf(5) for the names of those variables.
>
> You only need to create an interface specific section if you need to
> configure the nic with values other than those provided by the dhcp
> server. If your ath0 is always configured with dhcp (as I understood)
> and you are happy with that, no need to make that section in the
> dhclient.conf - or keep it empty.
>
> Then run
>
> # /etc/rc.d/netif restart

thanks for your kind suggestions :) it is very useful.

but, in my situation, there are two things needed to mention:
1. normally the wireless NIC is not in the kernel when system boots, so 
no need to "if_ath0="DHCP" every time

2. usually I use my laptop in dormitory with a static IP address. so no
need to "if_bge0="DHCP" every time

finally, I figure out that "ifconfig bge0 delete" before I wanna use the
wireless NIC would sound better for me :)


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


Re: Wireless NIC in FreeBSD 6.0 ?

2005-12-28 Thread Yuan Jue
On Monday 26 December 2005 16:56, Erik Norgaard wrote:
> Yuan Jue wrote:
> > On Sunday 25 December 2005 23:15, Erik Nørgaard wrote:
> >>Yuan Jue wrote:
> >>>one more question
> >>>since I use a fixed IP address in my dormitory and a dynamic IP address
> >>>in the classroom or library, i need to change my local NIC configure
> >>> from time to time. In fact, I use the fixed IP address as my default
> >>> setting, which is as follows:
> >>>
> >>>what is the right way to do it? or is there any better solution for my
> >>>situation?
> >>
> >>Try to take a look at dhclient.conf(5) and dhclient(8) and set all
> >>interfaces to be configured with dhcp. I think it should be posible to
> >>configure default values so there is something to fall back on if a
> >>lease is not obtained.
> >>
> >>Note that dhclient is new in FBSD 6, this is also why you had to take
> >>down the other interface. The old dhclient would reset all dhcp
> >>configured interfaces, the new doesn't, which is quite neat because
> >>usually you would have the two interfaces connected to /different/
> >>networks.
> >
> > thanks for your explanations about DHCP in FreeBSD 6.0, although I
> > still cannot find a way to config dhclient.conf to solve my problem :)
>
> Of course I guess you read the man-page, but maybe you didn't see this:
>
yes, i do

>The dhclient.conf file can be used to configure the behaviour of the
>client in a wide variety of ways: protocol timing, information
>requested from the server, information required of the server,
>defaults to use if the server does not provide certain information,
>values with which to override information provided by the server, or
>values to prepend or append to information provided by the server.
>The configuration file can also be preinitialized with addresses to
>use on networks that do not have DHCP servers.
>
> It appears you can set some default values:
>
>default { [option declaration] [, ... option declaration] }
>   If for some set of options the client should use the value sup-
>   plied by the server, but needs to use some default value if no
>   value was supplied by the server, these values can be defined
>   in the default statement.
>
> I would assume that if you set defaults this way, defaults will also
> take place if no lease is obtained at all - at least that would be very
> usefull. Something like this I guess:
>
>interface bge0 {
>default {
>fixed-address your-fixed-ip-here;
>subnet-mask your-fixed-subnet-mask-here;
>...
>}
>}
>
sorry, I still don't quite get what you mean. it seems my default setting
is this though it is not written in dhclient.conf.

> You might want to toggle timeout so defaults take effect faster.
>
> If both interfaces are configured with dhcp then dhclient will
> unconfigure the interface if there is no connection be it wired or
> wireless and the configuration of the working interface should take effect.

how can I configure the wireless interface to use DHCP in dhclient.conf?
like as follows?

interface ath0 {
default {
script "/etc/dhclient-script";
}
}
 
looking forward more explanations
thanks

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


Re: pkg_delete question

2005-12-27 Thread Yuan Jue
On Wednesday 28 December 2005 14:21, Michael C. Shultz wrote:
> On Tuesday 27 December 2005 22:10, Yuan Jue wrote:
> > On Wednesday 28 December 2005 14:00, Dmitry Sidorov wrote:
> > > On Wed, 2005-12-28 at 13:55 +0800, Yuan Jue wrote:
> > > > hello, all
> > > >
> > > > I wanna delete a package that I don't want now. I know that when I
> > > > use portinstall -R xxx to install it, many dependencies have been
> > > > installed too. Now I wanna delete them all if they are not used by
> > > > any other packages.
> > > >
> > > > how can I do it? can I "pkg_delete -r xxx"?
> > > >
> > > > thanks.
> > >
> > > yes you can,
> > > ls -al /var/db/pkg
> > > find your package name, and execute:
> > > pkg_delete -r package_name
> >
> > thanks for your reply.
> > but doesn't "pkg_delete -r xxx" use to delete all packages
> > that depend on the xxx? what I wanna delete are those packages
> > that xxx depend on. any ideas?
>
> To delete ports that none depend on try:
>
> sysutils/portmanager
>
> portmanager -slid

thanks. it works very well :)

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


Re: Desktop Note on FreeBSD?

2005-12-27 Thread Yuan Jue
On Monday 26 December 2005 01:09, Eric Kjeldergaard wrote:
> On Monday 26 December 2005 01:35, Yuan Jue wrote:
> > On Monday 26 December 2005 00:15, you wrote:
> > > On Monday 26 December 2005 00:54, Yuan Jue wrote:
> > > > hello, all
> > > >
> > > > is there any software that like Rainlender on Windows? I need to make
> > > > some notes sometimes, and i think it would be much better if the
> > > > notes could be always shown on the desktop to remind me. Kontact is
> > > > great, but not at this point :(
> > >
> > > Do you perhaps mean something like kde's knotes?
> >
> > thanks for your reply. knotes does its work, but not that well as
> > Rainlender. I mean its look and interface. can knote be transparent?
>
> Sure, kwin can make any application transparent.  It appears that knotes on
> my system just magically is translucent, probably because it is a dock
> window, but you can set this more specifically for knotes by setting
> "window specific settings" for the window class knotes.  Hope this helps,

I have found some theme in superkaramba which exactly fulfill my demand.
it is KaOrganizer. thank you all!


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


Re: pkg_delete question

2005-12-27 Thread Yuan Jue
On Wednesday 28 December 2005 14:00, Dmitry Sidorov wrote:
> On Wed, 2005-12-28 at 13:55 +0800, Yuan Jue wrote:
> > hello, all
> >
> > I wanna delete a package that I don't want now. I know that when I use
> > portinstall -R xxx to install it, many dependencies have been installed
> > too. Now I wanna delete them all if they are not used by any other
> > packages.
> >
> > how can I do it? can I "pkg_delete -r xxx"?
> >
> > thanks.
>
> yes you can,
> ls -al /var/db/pkg
> find your package name, and execute:
> pkg_delete -r package_name

thanks for your reply.
but doesn't "pkg_delete -r xxx" use to delete all packages
that depend on the xxx? what I wanna delete are those packages
that xxx depend on. any ideas?

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


pkg_delete question

2005-12-27 Thread Yuan Jue
hello, all

I wanna delete a package that I don't want now. I know that when I use 
portinstall -R xxx to install it, many dependencies have been installed too.
Now I wanna delete them all if they are not used by any other packages.

how can I do it? can I "pkg_delete -r xxx"?

thanks.

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


Re: Wireless NIC in FreeBSD 6.0 ?

2005-12-27 Thread Yuan Jue
On Tuesday 27 December 2005 00:12, Giorgos Keramidas wrote:
> On 2005-12-26 11:07, Yuan Jue <[EMAIL PROTECTED]> wrote:
> > instead, I figure out another way to work around.
> >
> > 1.ifconfig bge0 delete
> > % this would shut my local NIC down totally
> >
> > 2.kldload if_ath
> >dhclient ath0
> >
> > then I can enjoy the wireless internet surfing :)
> >
> > antway, thank you again!
>
> FWIW,
>
> On my laptop, which has to switch between a couple of wireless networks and
> my local LAN at home, I use custom shell scripts called ``/root/net/*.sh''
> to encapsulate the changes I'd have to manually make.
>
> I have prepared working sets of files, like:
>
> /etc/resolv.conf_home
> /etc/resolv.conf_work
>
> and then run /root/net/home.sh which contains:
>
> #!/bin/sh
>
> if test -n "$1" && test -f "/root/netstart-home-$1.sh" ; then
> mode="$1"
> else
> mode=wlan
> fi
>
> echo "## Stopping local services"
> /etc/rc.d/named stop
> /etc/rc.d/sendmail stop
>
> echo "## Setting up /etc and /usr/local/etc files"
> (
>   cd /etc;
>   cp resolv.conf_home resolv.conf;
>   cp dhclient.conf_home dhclient.conf;
>   cp namedb/named.conf_home namedb/named.conf;
>
>   cd /usr/local/etc/postfix;
>   cp main.cf_home main.cf;
> )
>
> echo "## Bringing up the network connection"
> "/root/net/netstart-home-${mode}.sh"
>
> echo "## Refreshing the firewall rules"
> /etc/rc.d/pf reload
>
> echo "## Starting local services again"
> /etc/rc.d/named start
> /etc/rc.d/sendmail start
>
> The real work is done by netstart-home-wlan.sh or netstart-home-wlan.sh.
> The wlan script is the one that sets up a wireless connection, and
> contains:
>
> #!/bin/sh
>
> # Default setup for my bge0 interface.
> export ifconfig_ath0="DHCP ssid 'gker' \
>wepmode on weptxkey 1 wepkey
> '1:0xXX'" export defaultrouter="192.168.1.2"
>
> /etc/rc.d/netif stop bge0
> /etc/rc.d/netif stop ath0
>
> echo -n "Waiting for ath0 to associate "
> _timeout=0
> _associated=NO
> while [ "$_timeout" -lt 30 ]; do
> status=$( ifconfig ath0 2>&1 | grep status: |\
>   awk '{print $2}' )
> if [ X"${status}" = X"associated" ]; then
> _associated=YES
> break
> fi
> echo -n '.'
> sleep 1
> _timeout=$(( $_timeout + 1 ))
> done
> if [ X"${_associated}" = X"YES" ]; then
> echo " ok"
> else
> echo ''
> echo "Failed to bring up ath0.  Aborting."
> /etc/rc.d/netif stop ath0
> exit 1
> fi
>
> #
> # The default route may be pointing to another interface.  Find out
> # the IP address of the default gateway, delete it and point to the
> # default gateway of my home network.
> #
> if [ -n "${defaultrouter}" ]; then
> _oldrouter=`netstat -rn | grep default | awk '{print $2}'`
> if [ -n "${_oldrouter}" ]; then
> route delete default "${_oldrouter}"
> unset _oldrouter
> fi
> route add default "$defaultrouter"
> fi
>
> This seems to work remarkably well so far.  All I need to do once the
> laptop boots is to log in as root and run the proper /root/net/*.sh script
> :)

thanks for your shell scripts. it is very appreciated. 
thanks again :)

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


Re: projector under FreeBSD?

2005-12-27 Thread Yuan Jue
On Tuesday 27 December 2005 09:37, Greg 'groggy' Lehey wrote:
> On Tuesday, 27 December 2005 at  9:35:07 +0800, Yuan Jue wrote:
> > hello, all
> >
> > can projectors be used under FreeBSD?
>
> Yes.
>
> > if it could, how?
>
> What's the issue?  Plug it in and it should work.

yes, it does work just when I plug it and it works very well :)

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


Re: author of ath driver?

2005-12-26 Thread Yuan Jue
On Tuesday 27 December 2005 11:39, you wrote:
> On 2005-12-27 10:52, Yuan Jue <[EMAIL PROTECTED]> wrote:
> >On Tuesday 27 December 2005 10:40, Giorgos Keramidas wrote:
> >> On 2005-12-27 10:28, Yuan Jue <[EMAIL PROTECTED]> wrote:
> >> > hello, all
> >> > how can I get name of the author who implemented the ath driver?
> >> > I cannot find any information using "man ath".
> >>
> >> Look at the cvs logs:
> >>
> >> http://cvsweb.freebsd.org/src/sys/dev/ath/
> >
> > thanks for your information :)
> >
> > one more question, how can I contact these people who contribute to
> > the code?
>
> Through email.  All FreeBSD committers (whose names appear in the CVS
> logs), have a [EMAIL PROTECTED] email address.

thanks very much :)

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


Re: author of ath driver?

2005-12-26 Thread Yuan Jue
On Tuesday 27 December 2005 10:40, Giorgos Keramidas wrote:
> On 2005-12-27 10:28, Yuan Jue <[EMAIL PROTECTED]> wrote:
> > hello, all
> > how can I get name of the author who implemented the ath driver?
> > I cannot find any information using "man ath".
>
> Look at the cvs logs:
>
> http://cvsweb.freebsd.org/src/sys/dev/ath/

thanks for your information :)

one more question, how can I contact these people who contribute to
the code?

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


author of ath driver?

2005-12-26 Thread Yuan Jue
hello, all

how can I get name of the author who implemented the ath driver?
I cannot find any information using "man ath".

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


projector under FreeBSD?

2005-12-26 Thread Yuan Jue
hello, all

can projectors be used under FreeBSD? if it could, how?

My laptop is HP NC6000, running FreeBSD 6.0 + KDE3.4.3

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


Re: Desktop Note on FreeBSD?

2005-12-26 Thread Yuan Jue
On Monday 26 December 2005 22:56, Eric Kjeldergaard wrote:
> On Monday 26 December 2005 23:48, Yuan Jue wrote:
> > On Monday 26 December 2005 22:32, Eric Kjeldergaard wrote:
> > > On Monday 26 December 2005 23:18, Yuan Jue wrote:
> > > > I just found a software called gDesklets which I think is wonderful.
> > > > you can find it in
> > > > http://gdesklets.gnomedesktop.org/categories.php?func=gd_show_app&gd_
> > > >ap p_ id =191 it is a WeeklyCalendar. almost fulfill my demand
> > >
> > > Ah, if you are after something like gdesklets, kde seems to have
> > > SuperKaramba (ports deskutils/superkaramba) which embeds scripts into
> > > the desktop in almost the same way.  Not sure if you are still looking
> > > for something different or if you are satisfied with what you have now,
> >
> > thanks for your suggestion. Refer to SuperKaramba, I don't find something
> > lile WeeklyCalendar in gDesklets. maybe you can show me the plugin in
> > SuperKaramba that do the same job
>
> http://kde-look.org/content/search.php is a good place to look for
> superkaramba themes, as you probably know exactly what you are after better
> than I.  A quick search makes it look like TooDooList
> (http://kde-look.org/content/show.php?content=31699&PHPSESSID=1854da217cc62
>d46f8f9832d7afc654e) might be able to do what you are after.

I have checked it out. it is good-looking, but not that good as WeeklyCalendar
in my opinion. maybe I can send you a snapshot of my screen to show
you this :)
anyway, thanks very much 

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


Re: Desktop Note on FreeBSD?

2005-12-26 Thread Yuan Jue
On Monday 26 December 2005 22:32, Eric Kjeldergaard wrote:

> On Monday 26 December 2005 23:18, Yuan Jue wrote:
> > I just found a software called gDesklets which I think is wonderful.
> > you can find it in
> > http://gdesklets.gnomedesktop.org/categories.php?func=gd_show_app&gd_app_
> >id =191 it is a WeeklyCalendar. almost fulfill my demand
>
> Ah, if you are after something like gdesklets, kde seems to have
> SuperKaramba (ports deskutils/superkaramba) which embeds scripts into the
> desktop in almost the same way.  Not sure if you are still looking for
> something different or if you are satisfied with what you have now,

thanks for your suggestion. Refer to SuperKaramba, I don't find something
lile WeeklyCalendar in gDesklets. maybe you can show me the plugin in
SuperKaramba that do the same job

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


Re: Desktop Note on FreeBSD?

2005-12-26 Thread Yuan Jue
On Monday 26 December 2005 01:09, Eric Kjeldergaard wrote:

> > > > is there any software that like Rainlender on Windows? I need to make
> > > > some notes sometimes, and i think it would be much better if the
> > > > notes could be always shown on the desktop to remind me. Kontact is
> > > > great, but not at this point :(
> > >
> > > Do you perhaps mean something like kde's knotes?
> >
> > thanks for your reply. knotes does its work, but not that well as
> > Rainlender. I mean its look and interface. can knote be transparent?
>
> Sure, kwin can make any application transparent.  It appears that knotes on
> my system just magically is translucent, probably because it is a dock
> window, but you can set this more specifically for knotes by setting
> "window specific settings" for the window class knotes.  Hope this helps,

I just found a software called gDesklets which I think is wonderful.
you can find it in
http://gdesklets.gnomedesktop.org/categories.php?func=gd_show_app&gd_app_id=191
it is a WeeklyCalendar. almost fulfill my demand

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


Re: Wireless NIC in FreeBSD 6.0 ?

2005-12-25 Thread Yuan Jue
On Sunday 25 December 2005 23:15, Erik Nørgaard wrote:
> Yuan Jue wrote:
> > one more question
> > since I use a fixed IP address in my dormitory and a dynamic IP address
> > in the classroom or library, i need to change my local NIC configure from
> > time to time. In fact, I use the fixed IP address as my default setting,
> > which is as follows:
> >
> > what is the right way to do it? or is there any better solution for my
> > situation?
>
> Try to take a look at dhclient.conf(5) and dhclient(8) and set all
> interfaces to be configured with dhcp. I think it should be posible to
> configure default values so there is something to fall back on if a
> lease is not obtained.
>
> Note that dhclient is new in FBSD 6, this is also why you had to take
> down the other interface. The old dhclient would reset all dhcp
> configured interfaces, the new doesn't, which is quite neat because
> usually you would have the two interfaces connected to /different/
> networks.

thanks for your explanations about DHCP in FreeBSD 6.0, although I
still cannot find a way to config dhclient.conf to solve my problem :)

instead, I figure out another way to work around.

1.ifconfig bge0 delete
% this would shut my local NIC down totally

2.kldload if_ath
   dhclient ath0

then I can enjoy the wireless internet surfing :)

antway, thank you again!

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


Re: FreeBSD + Wine + Office 2K

2005-12-25 Thread Yuan Jue
On Monday 26 December 2005 08:11, you wrote:
> Does OpenOffice have an Access replacement that can read/write M$ access
> files that can use VBA? I'm guessing not ready for prime time just yet and
> until *nix get's one (with that cute little VBA debugger), then the rest of
> us non-server-development-types will be stuck with our less savy co-workers
> that use Excel and Word for *ALL* their computing needs. It's no good to be
> the leader if nobody's willing to follow...
>
> If you can figure out how to get Office XP working with FreeBSD 6.0, please
> let me know.

sorry, i don't know much about office in Wine.
Wish you can get it work :)

anybody else knows about it?

>
> On Sunday 25 December 2005 22:48, you wrote:
> > Merry Christmas!
> >
> > Although winehq.com is not altogether clear about it I get the impression
> > from other sites that wine should be able to handle office 2000 without
> > any
> > problems. Some claim they have office XP and even office 2003 running on
> > FreeBSD (http://ricardo.ecn.wfu.edu/~plug/mail_archive/0512/0046.html). I
> > gave it a try with FreeBSD 6, Wine 0.9.4 and Office 2000 sp3 -
> > unfortunately it would not even install properly. With wine in the win98
> > mode the installation gets stuck in 0% cpu activity, in the winXP mode it
> > gets stuck in 100% cpu activity. Wine also does not allow me to do a
> > 'custom' installation. A tree-structure with all the office items is
> > shown,
> > but it is not possible to check or uncheck any of those. As a consequence
> > the whole suite is installed, including the 'forbidden' assistant. In
> > win98
> > mode I have been able to get Word to open a file, more or less, and then
> > had to kill wine to close the program.
> >
> > Is it actually possible to run office 2000 on FreeBSD? If so, I would
> > appreciate some tips or hints.
>
> why not try openoffice? just a work around :)

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


Re: FreeBSD + Wine + Office 2K

2005-12-25 Thread Yuan Jue
On Sunday 25 December 2005 22:48, you wrote:
> Merry Christmas!
>
> Although winehq.com is not altogether clear about it I get the impression
> from other sites that wine should be able to handle office 2000 without any
> problems. Some claim they have office XP and even office 2003 running on
> FreeBSD (http://ricardo.ecn.wfu.edu/~plug/mail_archive/0512/0046.html). I
> gave it a try with FreeBSD 6, Wine 0.9.4 and Office 2000 sp3 -
> unfortunately it would not even install properly. With wine in the win98
> mode the installation gets stuck in 0% cpu activity, in the winXP mode it
> gets stuck in 100% cpu activity. Wine also does not allow me to do a
> 'custom' installation. A tree-structure with all the office items is shown,
> but it is not possible to check or uncheck any of those. As a consequence
> the whole suite is installed, including the 'forbidden' assistant. In win98
> mode I have been able to get Word to open a file, more or less, and then
> had to kill wine to close the program.
>
> Is it actually possible to run office 2000 on FreeBSD? If so, I would
> appreciate some tips or hints.
>
why not try openoffice? just a work around :)

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


Re: Desktop Note on FreeBSD?

2005-12-25 Thread Yuan Jue
On Monday 26 December 2005 00:15, you wrote:
> On Monday 26 December 2005 00:54, Yuan Jue wrote:
> > hello, all
> >
> > is there any software that like Rainlender on Windows? I need to make
> > some notes sometimes, and i think it would be much better if the notes
> > could be always shown on the desktop to remind me. Kontact is great, but
> > not at this point :(
>
> Do you perhaps mean something like kde's knotes?

thanks for your reply. knotes does its work, but not that well as 
Rainlender. I mean its look and interface. can knote be transparent?   

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


Desktop Note on FreeBSD?

2005-12-25 Thread Yuan Jue
hello, all

is there any software that like Rainlender on Windows? I need to make
some notes sometimes, and i think it would be much better if the notes
could be always shown on the desktop to remind me. Kontact is great, but
not at this point :(

any suggestions?
thanks.

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


Re: Wireless NIC in FreeBSD 6.0 ?

2005-12-25 Thread Yuan Jue
On Sunday 25 December 2005 20:51, you wrote:
> Yuan Jue wrote:
> > On Sunday 25 December 2005 19:53, you wrote:
> > yes. they are not on the same LAN.
> > but when I use my local NIC to connect the internet, everything is fine.
> > the following is how my local NIC works:
> >
> > [EMAIL PROTECTED] ifconfig
> > bge0: flags=8843 mtu 1500
> > options=1a
> > inet 166.111.208.204 netmask 0xfe00 broadcast 166.111.209.255
> > ether 00:0d:9d:90:e0:68
> > media: Ethernet autoselect (100baseTX )
> > status: active
> > lo0: flags=8049 mtu 16384
> > inet 127.0.0.1 netmask 0xff00
> > [EMAIL PROTECTED] ping 166.111.8.28
> > PING 166.111.8.28 (166.111.8.28): 56 data bytes
> > 64 bytes from 166.111.8.28: icmp_seq=0 ttl=251 time=0.525 ms
> >
> > why does this work? it has the same netmask and broadcast address
> > as the wireless NIC. Any more explanations?
>
> OK, now, if you have two nic's configured for the same lan things get
> wierd. Try
>
> # ifconfig bge0 down
>
> And, check that default route is set correctly.
>
> I think the default route binds not only to an ip but also to the
> interface that connects to that network, so maybe you have configured
> both bge0 and ath0 and default route set to go out bge0. Now, when you
> disconnect bge0 and try to ping, your ping is not sent on ath0 as you
> might think but on bge0.
>
> To check this kind of problems, use snort to sniff what's actually
> leaving your interface.

one more question
since I use a fixed IP address in my dormitory and a dynamic IP address
in the classroom or library, i need to change my local NIC configure from
time to time. In fact, I use the fixed IP address as my default setting, which
is as follows:

[EMAIL PROTECTED] ifconfig
bge0: flags=8802 mtu 1500
options=1a
inet 59.66.138.109 netmask 0xff00 broadcast 59.66.138.255
ether 00:0d:9d:90:e0:68
media: Ethernet autoselect (none)
status: no carrier

as you can see, it is totally different from the dynamic IP address I can
get. and when I go to a classroom, I use DHCP to change my bge0 settings.
now the question is: since I wanna use my wireless NIC, it seems that it 
is not enough that just close bge0 down at this time.
using command "route -n get default" i get:

[EMAIL PROTECTED] route -n get default
   route to: default
destination: default
   mask: default
gateway: 59.66.138.1
  interface: bge0
  flags: 
 recvpipe  sendpipe  ssthresh  rtt,msecrttvar  hopcount  mtu 
expire
   0 0 0 0 0 0  1500 0
[EMAIL PROTECTED]

so even I have shutted bge0 down, the ping still cannot work correctly.
how can I get things right here?
I think maybe i can change the interface using by route
but "route -q change interface ath0" doesn't work.
it says:

YuanJue# route -q change interface ath0
route: bad address: interface
YuanJue#

what is the right way to do it? or is there any better solution for my 
situation? 

thanks.

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


Re: Wireless NIC in FreeBSD 6.0 ?

2005-12-25 Thread Yuan Jue
On Sunday 25 December 2005 20:51, you wrote:
> Yuan Jue wrote:
> > On Sunday 25 December 2005 19:53, you wrote:
> > yes. they are not on the same LAN.
> > but when I use my local NIC to connect the internet, everything is fine.
> > the following is how my local NIC works:
> >
> > [EMAIL PROTECTED] ifconfig
> > bge0: flags=8843 mtu 1500
> > options=1a
> > inet 166.111.208.204 netmask 0xfe00 broadcast 166.111.209.255
> > ether 00:0d:9d:90:e0:68
> > media: Ethernet autoselect (100baseTX )
> > status: active
> > lo0: flags=8049 mtu 16384
> > inet 127.0.0.1 netmask 0xff00
> > [EMAIL PROTECTED] ping 166.111.8.28
> > PING 166.111.8.28 (166.111.8.28): 56 data bytes
> > 64 bytes from 166.111.8.28: icmp_seq=0 ttl=251 time=0.525 ms
> >
> > why does this work? it has the same netmask and broadcast address
> > as the wireless NIC. Any more explanations?
>
> OK, now, if you have two nic's configured for the same lan things get
> wierd. Try
>
> # ifconfig bge0 down
>
> And, check that default route is set correctly.

thank you very much. it does work now. :)
you know, back to FreeBSD 5.4, things like this never happened.
so I even never think about close the local NIC down to get the wireless
one works. Maybe this is the FreeBSD 6.0's improvement on wireless
access, right?
 
>
> I think the default route binds not only to an ip but also to the
> interface that connects to that network, so maybe you have configured
> both bge0 and ath0 and default route set to go out bge0. Now, when you
> disconnect bge0 and try to ping, your ping is not sent on ath0 as you
> might think but on bge0.
thanks for your explanations. It is very appreciated.
>
> To check this kind of problems, use snort to sniff what's actually
> leaving your interface.
>
> Cheers, Erik

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


Re: Wireless NIC in FreeBSD 6.0 ?

2005-12-25 Thread Yuan Jue
On Sunday 25 December 2005 19:53, you wrote:
> Yuan Jue wrote:
> > ath0: flags=8843 mtu 1500
> > inet 166.111.208.137 netmask 0xfe00 broadcast 166.111.209.255
> > ether 00:11:85:1b:21:79
> > media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
> > status: associated
> > ssid A314b channel 11 bssid 00:09:5b:d1:fa:c4
> > authmode OPEN privacy OFF txpowmax 30 protmode CTS bintval 100
> >
> > PING 166.111.8.28 (166.111.8.28): 56 data bytes
> > ping: send to: No route to host
> > it means I cannot connect to the internet even when I have got the
> > wireless card an IP address using DHCP. WHY?
> >
> > can anybody help on this? any suggestion would be much appreciated.
>
> Take a close look at the ip/broadcast of your nic and the ip of the host
>   you're trying to ping.
>
> Your NIC: 166.111.208.137/23
> Your DNS: 166.111.8.28
>
yes. they are not on the same LAN.
but when I use my local NIC to connect the internet, everything is fine.
the following is how my local NIC works:

[EMAIL PROTECTED] ifconfig
bge0: flags=8843 mtu 1500
options=1a
inet 166.111.208.204 netmask 0xfe00 broadcast 166.111.209.255
ether 00:0d:9d:90:e0:68
media: Ethernet autoselect (100baseTX )
status: active
lo0: flags=8049 mtu 16384
inet 127.0.0.1 netmask 0xff00
[EMAIL PROTECTED] ping 166.111.8.28
PING 166.111.8.28 (166.111.8.28): 56 data bytes
64 bytes from 166.111.8.28: icmp_seq=0 ttl=251 time=0.525 ms
64 bytes from 166.111.8.28: icmp_seq=1 ttl=251 time=0.665 ms
64 bytes from 166.111.8.28: icmp_seq=2 ttl=251 time=0.521 ms
^C
--- 166.111.8.28 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.521/0.570/0.665/0.067 ms
[EMAIL PROTECTED]

why does this work? it has the same netmask and broadcast address
as the wireless NIC. Any more explanations? 





> They are not on the same network as far as I can see.
>
> Now, check that you have the default route set,
>
> # route -n get default

thanks for your reply.



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


Re: DTS decode with mplayer?

2005-12-25 Thread Yuan Jue
On Sunday 25 December 2005 18:30, you wrote:
> On 12/25/05, Yuan Jue <[EMAIL PROTECTED]> wrote:
> > hello, all
> >
> > does anybody knows how to configure mplayer to decode DTS soundtrack
> > while playing a DVDRip movie? recently more and more movies seem to use
> > XViD+DTS technology.
> >
> > Any suggestion will be appreciated. thanks

>
> DTS is absolutely great in comparison to AC3. But to fully
> appreciate all of its benefits you're gonna need a hardware
> DTS decoder
>
> I've got this one and it sounds terrific:
> http://www.amazon.com/gp/product/B9N8TC/
>
> Non-commercial software DTS decoding is far behind its
> Dolby counterpart. You can set "WITH_DTS=yes" and rebuild
> mplayer to be able to (try and) play those movies.

thanks very much. it does works.

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


Re: Wireless NIC in FreeBSD 6.0 ?

2005-12-25 Thread Yuan Jue
On Sunday 25 December 2005 18:10, you wrote:
> Yuan Jue <[EMAIL PROTECTED]> wrote:
> > Does anybody success to use wireless NIC in FreeBSD6.0 in HP NC6000?
> > Back to FreeBSD 5.4, my wireless card just works, but not in FreeBSD
> > 6.0.
> >
> > I use the following steps to try to use my wireless card:
> > 1.change to root, then "kldload if_ath"
> > after this, I can use "kldstat" to see this:
> > Id Refs AddressSize Name
> >  19 0xc040 328db0   kernel
> >  21 0xc0729000 bc40 kqemu.ko
> >  3   16 0xc0735000 5683cacpi.ko
> >  61 0xc296a000 e000 if_ath.ko
> >  71 0xc2978000 3000 ath_rate.ko
> >  81 0xc297b000 24000ath_hal.ko
> > and use "ifconfig" to see this:
> > bge0: flags=8843 mtu 1500
> > options=1a
> > inet 166.111.208.143 netmask 0xfe00 broadcast
> > 166.111.209.255 ether 00:0d:9d:90:e0:68
> > media: Ethernet autoselect (100baseTX )
> > status: active
> > lo0: flags=8049 mtu 16384
> > inet 127.0.0.1 netmask 0xff00
> > ath0: flags=8802 mtu 1500
> > ether 00:11:85:1b:21:79
> > media: IEEE 802.11 Wireless Ethernet autoselect
> > status: no carrier
> > ssid "" channel 1
> > authmode OPEN privacy OFF txpowmax 100 protmode CTS
> >
> > 2.I use DHCP to get my IP address. "dhclient ath0"
> > the response is this:
> > DHCPREQUEST on ath0 to 255.255.255.255 port 67
> > DHCPREQUEST on ath0 to 255.255.255.255 port 67
> > DHCPREQUEST on ath0 to 255.255.255.255 port 67
> > DHCPACK from 166.111.208.1
> > bound to 166.111.208.137 -- renewal in 3600 seconds.
> > and use "ifconfig" can see:
> > ath0: flags=8843 mtu 1500
> > inet 166.111.208.137 netmask 0xfe00 broadcast
> > 166.111.209.255 ether 00:11:85:1b:21:79
> > media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
> > status: associated
> > ssid A314b channel 11 bssid 00:09:5b:d1:fa:c4
> > authmode OPEN privacy OFF txpowmax 30 protmode CTS bintval 100
> >
> > it seems that the wireless NIC should be working now, right?
> > but when i try to ping some IP which definitely should be connected
> > from the IP address I have got, like :
> > ping 166.111.8.28 (this is the DNS server)
> > the result is this:
> > PING 166.111.8.28 (166.111.8.28): 56 data bytes
> > ping: send to: No route to host
> > ping: send to: No route to host
> > ping: send to: No route to host
> > ping: send to: No route to host
> > ping: send to: No route to host
> > ping: send to: No route to host
> > ping: send to: No route to host
> > ping: send to: No route to host
> > ^C
> > --- 166.111.8.28 ping statistics ---
> > 17 packets transmitted, 0 packets received, 100% packet loss
>
> What does netstat -r say?

YuanJue# netstat -r
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
^C
YuanJue#  

thanks for the reply. what should I do now? 

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


Wireless NIC in FreeBSD 6.0 ?

2005-12-24 Thread Yuan Jue
Hello, all

Does anybody success to use wireless NIC in FreeBSD6.0 in HP NC6000?
Back to FreeBSD 5.4, my wireless card just works, but not in FreeBSD 6.0.

I use the following steps to try to use my wireless card:
1.change to root, then "kldload if_ath"
after this, I can use "kldstat" to see this:
Id Refs AddressSize Name
 19 0xc040 328db0   kernel
 21 0xc0729000 bc40 kqemu.ko
 3   16 0xc0735000 5683cacpi.ko
 61 0xc296a000 e000 if_ath.ko
 71 0xc2978000 3000 ath_rate.ko
 81 0xc297b000 24000ath_hal.ko
and use "ifconfig" to see this:
bge0: flags=8843 mtu 1500
options=1a
inet 166.111.208.143 netmask 0xfe00 broadcast 166.111.209.255
ether 00:0d:9d:90:e0:68
media: Ethernet autoselect (100baseTX )
status: active
lo0: flags=8049 mtu 16384
inet 127.0.0.1 netmask 0xff00
ath0: flags=8802 mtu 1500
ether 00:11:85:1b:21:79
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid "" channel 1
authmode OPEN privacy OFF txpowmax 100 protmode CTS

2.I use DHCP to get my IP address. "dhclient ath0"
the response is this:
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPACK from 166.111.208.1
bound to 166.111.208.137 -- renewal in 3600 seconds.
and use "ifconfig" can see:
ath0: flags=8843 mtu 1500
inet 166.111.208.137 netmask 0xfe00 broadcast 166.111.209.255
ether 00:11:85:1b:21:79
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
status: associated
ssid A314b channel 11 bssid 00:09:5b:d1:fa:c4
authmode OPEN privacy OFF txpowmax 30 protmode CTS bintval 100

it seems that the wireless NIC should be working now, right?
but when i try to ping some IP which definitely should be connected
from the IP address I have got, like :
ping 166.111.8.28 (this is the DNS server)
the result is this:
PING 166.111.8.28 (166.111.8.28): 56 data bytes
ping: send to: No route to host
ping: send to: No route to host
ping: send to: No route to host
ping: send to: No route to host
ping: send to: No route to host
ping: send to: No route to host
ping: send to: No route to host
ping: send to: No route to host
^C
--- 166.111.8.28 ping statistics ---
17 packets transmitted, 0 packets received, 100% packet loss

it means I cannot connect to the internet even when I have got the
wireless card an IP address using DHCP. WHY?

can anybody help on this? any suggestion would be much appreciated.

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


DTS decode with mplayer?

2005-12-24 Thread Yuan Jue
hello, all

does anybody knows how to configure mplayer to decode DTS soundtrack
while playing a DVDRip movie? recently more and more movies seem to use
XViD+DTS technology.

Any suggestion will be appreciated. thanks

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


Re: KDE /dev/dsp can't be opened

2005-10-10 Thread Yuan Jue
you should load the sound kernel first. Go to /boot/loader.conf, add the two 
lines as follow:
sound_load="YES"
sound_ich_load="YES"

then the sound card should work for you. Good luck!

On Monday 10 October 2005 19:58, Frank Bonnet wrote:
> Hello list
>
> I freshly installed a HP XW 4200 5.4-R + KDE and I have problem
> with sound device here is the error message.
>
> Sound server informational message:
> Error while initializing the sound driver:
> device /dev/dsp can't be opened (No such file or directory)
> The sound server will continue, using the null output device.
>
> Is there some tools to check what happen ?
-- 
Best Regards.

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


Subversion on FreeBSD?

2005-10-10 Thread Yuan Jue
Hi all

Is there a subversion system for FreeBSD sourcecode? Or there is only CVS to 
control the source code? Does that mean that subversion is not stable enough 
to take this big job?

-- 
Best Regards.

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


Re: Wine 20050930 on FreeBSD 6.0-BETA5

2005-10-09 Thread Yuan Jue
you can put some fonts into your windows/fonts folders, at least make a link 
in that folder to refer your existent font.
Hope this can help.

On Monday 10 October 2005 00:12, Andrew P. wrote:
> I posted this earlier to ports@ but got no
> response.
>
> Has anyone got the subj running?
>
> It seems to work for me, but every time I try to
> run any program it rebuilds font metrics spitting
> out some fixme's about unknown encodings and
> registries, which is truly annoying.
>
> I found those missing registries and encodings
> present at /usr/X11R6/lib/X11/fonts/encondins,
> but wine doesn't want to see them.
>
> Any thoughts, please?
-- 
Best Regards.

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


Re: vsftpd watch problem

2005-10-06 Thread Yuan Jue
Thank you very much for your information!

On Friday 07 October 2005 04:00, Joe S wrote:
> ...this is not really a "pragmatic" problem. You are using an FTP server
> that aims to be simple and light. VSFTPD does not have any tools to
> provide you with usage, to my knowledge.
>
> * ProFTPD, on the other hand, has utility programs (ftpwho, ftpcount,
> ftptop) that read the scoreboard and display the information you are
> looking for. Security record of PROFTPD:
> http://secunia.com/search/?search=proftpd
>
> * PureFTPD has a utility (pure-ftpwho) that will also display the
> information you are looking for. Security record of PUREFTPD:
> http://secunia.com/search/?search=pureftpd


-- 
Best Regards.

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


vsftpd watch problem

2005-10-06 Thread Yuan Jue
Hi all

Here is a pragmatic problem. I used vsftpd to setup a ftp server. And as a 
result, some guys start to download something from my ftp server. I do want 
to know the downloader's IP and the speed he/she download from me, just as a 
status-watching for my notebook. 

Can anyone give me some clue how to do this stuff? Using vsftpd itself or 
using some freebsd utilities are both acceptable. I appreciate any 
suggestions. 

-- 
Best Regards.

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


Re: Question

2005-10-05 Thread Yuan Jue
On Thursday 06 October 2005 14:39, sulie halim wrote:
> Hi there,
>
> how can we view/open files in freebsd? e.g write.doc,
> write.txt or write.ppt?

Try OpenOffice. Good luck!

-- 
Best Regards.

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


Re: freebsd and vmware?

2005-09-20 Thread Yuan Jue
On Tuesday 20 September 2005 15:23, mgedv online wrote:
> is 5.4, 6.0 or 7x supported to run under vmware on
> a logical partition?
>
> has anyone successfully setup such a configuration?

A. if you want to install FreeBSD using vmware in Windows, the answer is YES

B. if you want to install vmware in FreeBSD in order to run other OS, my 
suggestion is looking back in the mailing list.

-- 
Best Regards.

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


Re: I need url for source code

2005-09-19 Thread Yuan Jue
On Monday 19 September 2005 08:01, satish bn wrote:
> where do I get Tcp/ip implementation BSD code?

you can get it from /usr/src if you have already installed the source code 
during the system installation. 

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


Re: IE in FreeBSD?

2005-09-14 Thread Yuan Jue
On Wednesday 14 September 2005 23:46, Matt Kosht wrote:

> > Does anybody successfully  run Internet Explorer under Wine in FreeBSD?
> > What should I do to get it run? Any suggestion will be appreciated.
>
> I would suggest instead of Wine using an RDP client (rdesktop in ports
> for example) and run IE via terminal services on a Windows server or
> XP desktop PC.

Thanks.
It is a way to solve this problem. But my particular problem is I do not have 
a Windows server or XP desktop PC around. My laptop is the only computer I 
have. So is there any other suggestion?

-- 
Best Regards.

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


IE in FreeBSD?

2005-09-14 Thread Yuan Jue
Hello, all

Does anybody successfully  run Internet Explorer under Wine in FreeBSD? What 
should I do to get it run? Any suggestion will be appreciated.

Thanks.

-- 
Best Regards.

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


Re: Question about freeBSD OS

2005-09-09 Thread Yuan Jue
On Saturday 10 September 2005 14:01, rolan herreria wrote:
> 1. Can I run .exe files in this OS?
>
you can not run .exe directly, but you can using Wine ( a windows emulator)

> 2. Can I run 3D Games in freeBSD OS like Half-life &
> Doom3?
>
the answer is still Wine, though not perfect

> 3. Can I share my files to a PC using Microsoft XP?
>
of course you can. Samba or other tools let you do that.

> 4. Can you give me some OS running 3D games except
> Microsoft?
>
sorry, cannot help with this point :(

-- 
Best Regards.

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


Re: How to install Vmware5 in FreeBSD?

2005-09-09 Thread Yuan Jue
On Friday 09 September 2005 22:06, Matthias Apitz wrote:
> El día viernes, septiembre 09, 2005 a las 03:41:47 +0200, Frank Mueller - 
emendis GmbH escribió:
> > Qemu is running flawlessly on FreeBSD 5.4 here! ;)
>
> Yes. I've qemu version qemu-0.7.0s.20050717 up as well in my 5.4R;
> do you know if kqemu works as well and how I plug it in?

kqemu works fine with FreeBSD 5.4.

first, you should install qemu from port so you can change the makefile with 
"with_kqemu=yes"
second, after you finish the compile thing, you should remember that kqemu is 
running as a kernel object (.ko). So either you can start it with "kldload 
kqemu.ko" or you can simply add "kqemu_load=yes" to your /boot/loader.conf to 
autostart it every time you boot your computer.

Good luck!
-- 
Best Regards.

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


Re: Installing KDE

2005-09-08 Thread Yuan Jue
On Friday 09 September 2005 08:16, Rem Roberti wrote:
> Yuan Jue wrote:
> >On Friday 09 September 2005 03:16, Rem Roberti wrote:
> >>I have tried to install Kde3 from both ports and pkgs.  Each time the
> >>installation chokes on Kdebase and Kdeartwork.  An error screen comes up
> >>announcing the failure, and referring me to a debug screen which I have
> >>no idea where to find.  As you can tell, this is a newbie thing.  Any
> >>help would be appreciated.
> >
> >you should tell us more about the error. What error comes up? When? What
> > did you do before the error occurred?
>
> The installation was rocking along, and many dependent packages had been
> installed before the error message came on saying that a failure had
> occurred while attempting to install Kdebase, and Kdeartworks.  I really
> cannot tell you the exact wording.  The last part of the message said
> that I should refer to the debug screen for more info.  I was attempting
> to install Kde3 via Sysinstall and packages.

which way did you use to install kde3? ports or package? I'm not sure but I 
think installing from port may give some help.

Good luck.

-- 
Best Regards.

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


Re: question about zlib security patch

2005-09-08 Thread Yuan Jue
On Friday 09 September 2005 01:39, Kris Kennaway wrote:
> > > >>I was installing clamav 0.83 on a freebsd 5.4 system and I got the
> > > >>following error:
> > > >>clamav configure: error: The installed zlib version may contain a
> > > >>security bug
> > > >>
> > > >>I want to upgrade zlib to solve this but:
> > > >>- I don't know how I can see what version of zlib I have at the
> > > >> moment?
> > > >
> > > >use pkg_info|grep zlib
> > > >
> > > >>- I found the following advice on the freebsd site:
> > > >>
> > > >>ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zl
> > > >>ib.a sc
> > > >>
> > > >>according to this I have to do the following:
> > > >>
> > > >># cd /usr/src
> > > >># patch < /path/to/patch
> > > >># cd /usr/src/lib/libz/
> > > >># make obj && make depend && make && make install
> > > >>
> > > >>but I have no /usr/src/lib/libz/
> > > >
> > > >maybe you didn't install source code when you installed your FreeBSD.
> > > > You still can do it using sysinstall now.
> > >
> > > You are right I didn't install the sourcecode, the instructions make a
> > > lot more sense now :)
> > > one other small question,  pkg_info | grep zlib
> > > gave me the following output;
> > >
> > > jzlib-1.0.5_1   A re-implementation of zlib in pure Java
> > > php4-zlib-4.3.10_2  The zlib shared extension for php
> > >
> > >
> > > so no zlib? Why is that ? because I didn't install it with pkg_add?
> >
> > sorry, I never try clamav, so I am not sure the exact reason for that
> > error. Maybe when you install the source code, there is no error anymore
> > :)
>
> The advice was bogus, zlib is not a package on FreeBSD.
>
> > Or, you may need to install this port find_zlib-1.9, which can be found
> > in /usr/ports/security/.
>
> That does something else again..please try not to give bad advice :-)
I apologize for that. Thanks for your reminding.

-- 
Best Regards.

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


Re: Installing KDE

2005-09-08 Thread Yuan Jue
On Friday 09 September 2005 03:16, Rem Roberti wrote:
> I have tried to install Kde3 from both ports and pkgs.  Each time the
> installation chokes on Kdebase and Kdeartwork.  An error screen comes up
> announcing the failure, and referring me to a debug screen which I have
> no idea where to find.  As you can tell, this is a newbie thing.  Any
> help would be appreciated.

you should tell us more about the error. What error comes up? When? What did 
you do before the error occurred?

-- 
Best Regards.

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


Re: question about zlib security patch

2005-09-08 Thread Yuan Jue
On Thursday 08 September 2005 22:43, Chantal Rosmuller wrote:

> >>I was installing clamav 0.83 on a freebsd 5.4 system and I got the
> >>following error:
> >>clamav configure: error: The installed zlib version may contain a
> >>security bug
> >>
> >>I want to upgrade zlib to solve this but:
> >>- I don't know how I can see what version of zlib I have at the moment?
> >
> >use pkg_info|grep zlib
> >
> >>- I found the following advice on the freebsd site:
> >>
> >>ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zlib.a
> >>sc
> >>
> >>according to this I have to do the following:
> >>
> >># cd /usr/src
> >># patch < /path/to/patch
> >># cd /usr/src/lib/libz/
> >># make obj && make depend && make && make install
> >>
> >>but I have no /usr/src/lib/libz/
> >
> >maybe you didn't install source code when you installed your FreeBSD. You
> >still can do it using sysinstall now.


> You are right I didn't install the sourcecode, the instructions make a
> lot more sense now :)
> one other small question,  pkg_info | grep zlib
> gave me the following output;
>
> jzlib-1.0.5_1   A re-implementation of zlib in pure Java
> php4-zlib-4.3.10_2  The zlib shared extension for php
>
>
> so no zlib? Why is that ? because I didn't install it with pkg_add?
sorry, I never try clamav, so I am not sure the exact reason for that error. 
Maybe when you install the source code, there is no error anymore :)

Or, you may need to install this port find_zlib-1.9, which can be found 
in /usr/ports/security/.

Good luck! 
-- 
Best Regards.

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


Re: question about zlib security patch

2005-09-08 Thread Yuan Jue
On Thursday 08 September 2005 22:23, Chantal Rosmuller wrote:

> I was installing clamav 0.83 on a freebsd 5.4 system and I got the
> following error:
> clamav configure: error: The installed zlib version may contain a
> security bug
>
> I want to upgrade zlib to solve this but:
> - I don't know how I can see what version of zlib I have at the moment?

use pkg_info|grep zlib

> - I found the following advice on the freebsd site:
>
> ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zlib.asc
>
> according to this I have to do the following:
>
> # cd /usr/src
> # patch < /path/to/patch
> # cd /usr/src/lib/libz/
> # make obj && make depend && make && make install
>
> but I have no /usr/src/lib/libz/

maybe you didn't install source code when you installed your FreeBSD. You 
still can do it using sysinstall now.

Good luck!
-- 
Best Regards.

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


Re: Can't 'startx', said 'libXfixes.so.3' not found, required by 'gnome-session'

2005-09-08 Thread Yuan Jue
On Thursday 08 September 2005 20:33, jia liu wrote:
> I met problem:
> 1. I installed freebsd 5.3-release first, then update
> source tree, buildworld and install success to up
> freebsd 5.4-release.
> 2. pkg_add -r gnome2, add
> '/usr/X11R6/bin/gnome-sessio' to my .xinitrc file
> after installed gnome2.10.
> 3. Tried to startx, but it said
> '/libexec/ld-elf.s0.1:shared object "libXfixes.so.3"
> not found, required by "gnome-session"', can't enter
> window.

I'm afraid you have fetched the latest gnome2 package which is not compiled 
under FB5.4. It's probably compiled under FB6.0.

My suggestion is going to ftp://ftp.freebsdchina.org to fetch the gnome2 
package for FreeBSD5.4 (you are in china, right?) and there you are.

Good luck!

-- 
Best Regards.

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


Re: Interests in *BSD

2005-09-07 Thread Yuan Jue
On Thursday 08 September 2005 10:40, Steve Quinn wrote:
> Hi Maxime
>
> I'm from Toronto, Canada.
> It wouldn't take much effort for me to create/send you a few CD's.
> How about FreeBSD 4.11 and 5.4?
> I found DesktopBSD (http://www.desktopbsd.net/) pretty slick as well.
> It would be cool to throw that one in the mix.
> If by now you haven't already sourced your FreeBSD CD's, feel free to email
> me back and I'll start burning media and lickin stamps
>
> Take care
>
> Steve Quinn

Nice man :)


-- 
Best Regards.

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


Re: Makefile error when update

2005-09-07 Thread Yuan Jue
On Wednesday 07 September 2005 19:32, zlatozar wrote:
> I haven't backup( or I never restore from backup). Any ideas ?
>

Can you install libbonoboui-2.10.1 from port directly? see if this will solve 
the problem.

> > > Last night I tried to update my FreeBSD system. After cvsup I run
> > > portupgrade -varRp.
> > > See error message:
> > > Segmentation fault (core dumped)
> > > libbonoboui-2.10.1: Makefile error: category x11-toolkits not in list
> > > of valid categories.
> > > *** Error code 1
> >
> > If you've already have a backup /var/db/pkg using "pkgdb -F" before you
> > portupgrade all the port, maybe you can cover the new pkg folder in
> > /var/db
> > with the old one you saved and portupgrade again. I am not sure is it a
> > right
> > workaround, but it worked for me when I encountered the similar problem.
> >
> > And there is one more thing need to be mentioned. You should not run two
> > or
> > more portupgrade commands at the same time.
> >
> > Good luck.
> >
> > --
> > Best Regards.
> >
> > Yuan Jue

-- 
Best Regards.

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


Re: Makefile error when update

2005-09-07 Thread Yuan Jue
On Wednesday 07 September 2005 18:05, Yuan Jue wrote:

>  Last night I tried to update my FreeBSD system. After cvsup I run
> portupgrade -varRp.
> See error message:
>  Segmentation fault (core dumped)
> libbonoboui-2.10.1: Makefile error: category x11-toolkits not in list of
> valid categories.
> *** Error code 1

If you've already have a backup /var/db/pkg using "pkgdb -F" before you 
portupgrade all the port, maybe you can cover the new pkg folder in /var/db 
with the old one you saved and portupgrade again. I am not sure is it a right 
workaround, but it worked for me when I encountered the similar problem.

And there is one more thing need to be mentioned. You should not run two or 
more portupgrade commands at the same time.

Good luck.

-- 
Best Regards.

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


Re: (no subject)

2005-09-06 Thread Yuan Jue
On Thursday 01 September 2005 15:34, Yuan Jue wrote:
> im a student who study computer science and do an assignment about ur
> freeBSD operating system...can i get some information about file management
> of freeBSD? Hope ur can kindly help n send those details to methanks
> here!!! If can, please send to me as fast as possible...

maybe you could find all the information you need in here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

Good luck :) 

-- 
Best Regards.

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


Re: combine partitions

2005-09-05 Thread Yuan Jue
On Tuesday 06 September 2005 05:44, Yuan Jue wrote:
> I used to have 2 slices on my hdd, one for windows, one for freebsd. i
> recently got rid of windows, and want to merge that slice into the other,
> and probably grow the /usr directory to fill the slice. How can I merge the
> two slices? ___

maybe you could find some information using "man growfs"

Good luck.

-- 
Best Regards.

Yuan Jue

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


Re: firefox portupgrade failure to compile, requested error listings

2005-09-05 Thread Yuan Jue
On Tuesday 06 September 2005 00:09, Yuan Jue wrote:
> hello list!
>
> >5. Re: freebsd-questions Digest, Vol 110, Issue 20 (David Armour)
> > Message: 5  WAS: * Command failed [exit code 1]: /usr/bin/script -qa
> >
> > >   /tmp/portupgrade84798.26 make
> > >
> > > From: Vizion <[EMAIL PROTECTED]>
> > >
> > > What were the lines before:
> > > >gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
> >
> > ... unfortunately, i only clipped the lines i did, trying to keep my
> > message as short as possible. doh! i'm not sure where to locate the
>
> as i was waking up this morning, the thought that i could just as easily
> re-run the portupgrade firefox command that produced the error
> occurred... so i was delighted to see garrett cooper's recommendation
> to do so, further along in this digest. (Message 15. thanks garrett!)
>
> the (several) lines before 'gmake[1]:
>
> In file included from nsDNSService2.h:40,
>  from nsDNSService2.cpp:38:
> nsHostResolver.h:95: error: ISO C++ forbids declaration of `PRAddrInfo'
> with no type
> nsHostResolver.h:95: error: expected `;' before '*' token
> nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult()
> const':
> nsHostResolver.h:99: error: `addr_info' undeclared (first use this
> function)
> nsHostResolver.h:99: error: (Each undeclared identifier is reported only
> once for each function it appears in.)
> nsHostResolver.h: At global scope:
> nsHostResolver.h:209: error: `PRAddrInfo' has not been declared
> nsHostResolver.h:209: error: ISO C++ forbids declaration of `parameter'
> with no type
> nsDNSService2.cpp: In member function `virtual nsresult
> nsDNSRecord::GetCanonicalName(nsACString&)':
> nsDNSService2.cpp:95: error: 'class nsDerivedSafe' has no
> member named 'addr_info'
> nsDNSService2.cpp:96: error: 'class nsDerivedSafe' has no
> member named 'addr_info'
> nsDNSService2.cpp:96: error: `PR_GetCanonNameFromAddrInfo' undeclared
> (first use this function)
> nsDNSService2.cpp: In member function `virtual nsresult
> nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)':
> nsDNSService2.cpp:112: error: 'class nsDerivedSafe' has no
> member named 'addr_info'
> nsDNSService2.cpp:113: error: 'class nsDerivedSafe' has no
> member named 'addr_info'
> nsDNSService2.cpp:113: error: `PR_EnumerateAddrInfo' undeclared (first
> use this function)
> nsDNSService2.cpp: In member function `PRUint16
> nsDNSService::GetAFForLookup(const nsACString&)':
> nsDNSService2.cpp:528: error: `PR_AF_UNSPEC' undeclared (first use this
> function)
> gmake[4]: *** [nsDNSService2.o] Error 1
> gmake[4]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/netwerk/dns/src'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/netwerk/dns'
> gmake[2]: *** [libs] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/netwerk'
> gmake[1]: *** [tier_9] Error 2
> gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
> gmake: *** [default] Error 2
> *** Error code 2
>
> Stop in /usr/ports/www/firefox.
> ** Command failed [exit code 1]: /usr/bin/script
> -qa /tmp/portupgrade40821.26 make
> ** Fix the problem and try again.
> --->  Build of www/firefox ended at: Mon, 05 Sep 2005 07:59:57 -0700
> (consumed 00:13:36)
> --->  Upgrade of www/firefox ended at: Mon, 05 Sep 2005 07:59:57 -0700
> (consumed 00:13:36)
> --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
> - lang/perl5.8 (perl-5.8.7)
> - converters/libiconv (libiconv-1.9.2_1)
> - graphics/jpeg (jpeg-6b_3)
> - devel/gettext (gettext-0.14.5)
> - devel/pkgconfig (pkgconfig-0.17.2)
> - textproc/libxml2 (libxml2-2.6.20_1)
> - print/freetype2 (freetype2-2.1.10_1)
> - graphics/png (png-1.2.8_2)
> - devel/glib20 (glib-2.6.6)
> - accessibility/atk (atk-1.9.1)
> - graphics/tiff (tiff-3.7.3)
> - devel/libIDL (libIDL-0.8.6)
> - textproc/expat2 (expat-1.95.8_3)
> - x11-fonts/fontconfig (fontconfig-2.2.3,1)
> - x11/xorg-libraries (xorg-libraries-6.8.2)
> - misc/hicolor-icon-theme (hicolor-icon-theme-0.5)
> - devel/popt (popt-1.7)
> - x11-fonts/libXft (libXft-2.1.7)
> - devel/desktop-file-utils (desktop-file-utils-0.10_2)
> - misc/gnomehier (gnomehier-2.0_7)
> - misc/shared-mime-info (sh

Re: Reinstalling the standard boot manager

2005-09-05 Thread Yuan Jue
On Monday 05 September 2005 23:37, Yuan Jue wrote:
> On 2005-09-05 23:31, Yuan Jue <[EMAIL PROTECTED]> wrote:
> >>   b) ad0 is really the disk, and not ad1 or something else
> >
> > I am pretty sure that is ad0.
>
> Then it's weird that /dev doesn't have a /dev/ad0 device.  What do you
> have mounted as your root device?
>
>   # mount
>
> What do you see by:
>
>   # ls -l /dev/ad*
YuanJue@/dev$ ls -l ad*
crw-r-  1 root  operator4,  10 Sep  5 18:05 ad0
crw-r-  1 root  operator4,  11 Sep  5 18:05 ad0s1
crw-r-  1 root  operator4,  12 Sep  6 02:05 ad0s1a
crw-r-  1 root  operator4,  13 Sep  5 18:05 ad0s1b
crw-r-  1 root  operator4,  14 Sep  5 18:05 ad0s1c
crw-r-  1 root  operator4,  15 Sep  6 02:05 ad0s1d
crw-r-  1 root  operator4,  16 Sep  6 02:05 ad0s1e
crw-r-  1 root  operator4,  17 Sep  6 02:05 ad0s1f

that is what I got :(

-- 
Best Regards.

Yuan Jue

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


Re: Reinstalling the standard boot manager

2005-09-05 Thread Yuan Jue
On Sunday 04 September 2005 12:20, Yuan Jue wrote:
> On 2005-09-04 09:31, Yuan Jue <[EMAIL PROTECTED]> wrote:
> > On Sunday 04 September 2005 08:53, Yuan Jue wrote:
> > >  boot0cfg -v -B /dev/ad0
> >
> > when doing this, I got a message:
> > boot0cfg: write_mbr: /dev/ad0: No such file or directory
> > I use it as root and my disk is ad0. What did I do wrong?
>
> Check that:
>
>   a) you are not running this inside a jail (/dev/ad0 may not be
>  visible inside a jail)
sorry, but how to check that I'm not inside a jail?
Could you give me some clues?

>
>   b) ad0 is really the disk, and not ad1 or something else
>
I am pretty sure that is ad0. Since I only install FreeBSD5.4 in my laptop, 
and let it use the entire disk. I can use the sysinstall->fdisk to make sure 
that the disk is ad0s1, since I use entire of it.

> If that fails to uncover the cause of the error, then run truss or
> ktrade on boot0cfg and send me the dump.

-- 
Best Regards.

Yuan Jue

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


  1   2   >