count the number of ports

2002-12-04 Thread Zhihui Zhang
Is there a way to count the number of ports in a FreeBSD release? I guess this boils down to how to parse the file /usr/ports/INDEX easily. Thanks. -Zhihui To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message

Re: how to ssh as root

2002-11-27 Thread Zhihui Zhang
On Wed, 27 Nov 2002, Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2002-11-27 11:58:27 -0500: > > I used to ssh as root to a FreeBSD box and uses the root password. > > don't do it. I only use it for development purpose - it will probably be reinstalled quickly. No important data on it.

how to ssh as root

2002-11-27 Thread Zhihui Zhang
I used to ssh as root to a FreeBSD box and uses the root password. Today, I reinstall 4.5-Release and try the same thing: $ ssh -l root mymachine otp-md5 100 pl6491 ext S/Key Password: I was expecting something like: $ ssh -l root mymachine root@mymachine's password: I did set PermitRootLogin

Re: Using msdos floppy on FreeBSD

2002-11-06 Thread Zhihui Zhang
You are right. The original short name files will be converted to capital letters. Thanks, -Zhihui On Tue, 5 Nov 2002, Dan Nelson wrote: > In the last episode (Nov 05), Zhihui Zhang said: > > I have two FAT floppy that I used to transfer files between FreeBSD > > and Window

Using msdos floppy on FreeBSD

2002-11-05 Thread Zhihui Zhang
I have two FAT floppy that I used to transfer files between FreeBSD and Windows. One can show longer file names, the one cannot. What format command (on FreeBSD or Windows) does this trick (i.e. choose FAT32)? I want to reformat the floppy that does not show longer than eight names. Thanks. -Z

Re: Install FreeBSD on a Windows XP box

2002-10-25 Thread Zhihui Zhang
> > -Original Message- > From: Zhihui Zhang <[EMAIL PROTECTED]> > To: Jerry McAllister <[EMAIL PROTECTED]> > Date: Fri, 25 Oct 2002 14:22:23 -0400 (EDT) > Subject: Re: Install FreeBSD on a Windows XP box > > Jerry: > > Hi, Zhihui. If you car

Configure X on FreeBSD 4.6 on Dell

2002-10-25 Thread Zhihui Zhang
I have a new Dell Dimension 4500 but with an old Dell monitor D1028L. I have installed FreeBSD 4.6 on it, but I have troubles configuring X server. I have chosen NVidia 0172 as the card and IntelliMouse as the mouse (both shown in dmesg). But I think the biggest problem is the frequency. I can n

Re: Install FreeBSD on a Windows XP box

2002-10-25 Thread Zhihui Zhang
Jerry: Thanks for your long response. I have downloaded bootitng v1.32 from http://www.terabyteunlimited.com/ and it works great. It has nice menu. The only thing to watch is that I should create a dedicated partition for bootitng before trying to install it. I also changed the timeout from 0 t

Re: Connect two machines via plip0

2002-10-19 Thread Zhihui Zhang
Never mind. I misspell 192 as 129 on one machine. It works now. On Fri, 18 Oct 2002, Zhihui Zhang wrote: > > I tried to connect two machines with a parallel cable. Some > configuration files are as follows: > > In file /etc/rc.conf, add following lines: > > inetd_en

Connect two machines via plip0

2002-10-18 Thread Zhihui Zhang
I tried to connect two machines with a parallel cable. Some configuration files are as follows: In file /etc/rc.conf, add following lines: inetd_enable="YES" hostname="pc1.myhome.org" ifconfig_lp0="inet 192.168.1.1 192.168.1.2 netmask 255.255.255.0" In file /etc/hosts, add the following line: