the most light weight X web browser?

2004-05-08 Thread Zhang Weiwu
Hello. My friend is running a tea house, she want to put her ancient Pentium 100 notebook (24MB memory) running FreeBSD 4.9, on the bar so customers can use it check mails and browse the web. (and I want to help her.) She want it to just function as a browser machine, she don't even need a

where to use the xdm host chooser?

2004-06-04 Thread Zhang Weiwu
Hello. Now I have my /usr/X11R6/lib/X11/xdm/Xaccess contain (only) this: * CHOOSER BROADCAST according to xdm(1) this will enable XDMCP host chooser upon user login. Now I reboot, xdm login box pops up, everything like it was before. I thought there will be a bottom to click to launch the

Re: where to use the xdm host chooser?

2004-06-05 Thread Zhang Weiwu
Rob wrote: Zhang Weiwu wrote: Hello. Now I have my /usr/X11R6/lib/X11/xdm/Xaccess contain (only) this: * CHOOSER BROADCAST according to xdm(1) this will enable XDMCP host chooser upon user login. Now I reboot, xdm login box pops up, everything like it was before. I think it means any host can

run XFree86 at 512x384

2003-10-29 Thread Zhang Weiwu
Hello. I'm running FreeBSD 5.1 on Thinkpad 600X -- my old Pentium 500MHz notebook with neomagic at XGA resolution. My CPU isn't fast enough to view some divx movie in enlarged mode, but the movies looks bad just in a small window. I wish I can setup the XFree86 server to run at 512x384

rxvt: backspace won't work?

2003-10-29 Thread Zhang Weiwu
Hello. I just have rxvt installed and working. The problem now is that when I am in vi, in the input mode (press 'a' or 'i' to enter input mode), if I press the backspace, a '\?' is resulted instead of deleting the character befor cursor. This also happens when I use less(3), when I search

simplesilly wish to know port dependency.

2003-10-30 Thread Zhang Weiwu
Hello. When I make deinstall a port I often get the message: port xxx depends on this port, but I'll still deinstall it anyway. That's really frustrating. I'd like to be able to know who depends on it before de-installing it. Any suggestions? Look through the handbook I didn't find an answer.

XFree86 3.3 in 5.1 -RELEASE's ports collection?

2003-10-30 Thread Zhang Weiwu
Hello. Newbie question again: This is the first time I try to compile XFree86. Before that I took a look at /usr/ports/x11/XFree86/pkg-descr where it says: XFree86 is a added-value pack for X11R6 that supports several versions of Intel-based Unix and Unix-like operating systems. XFree86-3.0 was

record and redirect phone calls?

2003-11-01 Thread Zhang Weiwu
Hello. I just started running a small software service company providing services for some opensource groupwares. I have several technical consultants work for me as second job. They are college network administrators, they are mostly free, hanging on line chatting, hacking code all day. I

different types of ftp proxy?

2003-11-03 Thread Zhang Weiwu
Hello. My friend have a Windows XP box running acfp proxy server (an opensource proxy server on sourceforge) which provide me http and ftp proxy both at the port 3130. I use it with Mozilla. Works fine for both http and ftp access. But I cannot use it with fetch(1). I set the http_proxy and

FreeBSD have a very low default file handle limit?

2003-11-04 Thread Zhang Weiwu
I am reading the MySQL manual for 4.4.1-alpha where it said: FreeBSD is also known to have a very low default file handle limit. (Section 2.4.6.1) I check the limit by using: sh -c ulimit -n unlimited Though I

optimize with -O2 or -O?

2003-11-04 Thread Zhang Weiwu
Hello. I'm running 5.1-RELEASE. I read the gcc man page. It is not clear what -O implys. Is -O equal to -O1 or -O2? If I wish to optimize making does it make sense to add CFLAGS=-O2 in the make.conf(5)? ___ [EMAIL PROTECTED] mailing list

really silly: to lowerdown priority?

2003-11-05 Thread Zhang Weiwu
Hello. I don't know the process resource sharing mechanism in FreeBSD. AFAIK in Win2k that I had been using, there are several levels of priority. When I play games I leave the file compression process at lowest level, in that situation cpu resource is given to file compressor only when the

simpliest way to calculate octal?

2003-11-09 Thread Zhang Weiwu
Hello. Pretty newbie question again:) Today I found I cannot calculate what is the octal form of 0xa04e. First I thought xcalc should do the work, but it seems only deal with decimal. I have perl, tcsh, python interprater. It is likely that they are all capable of this kind, but what are the

install 5.2 on Thinkpad T40 fxp problem

2004-01-17 Thread Zhang Weiwu
Hello. I read some FreeBSD on Thinkpad T40 storis (prior to 5.2), these guys have luckly have almost everything working! Now I just brought a new T40. The first problem is fxp0 autodetected and always timeout: fxp0: device timeout fxp0 timeout on whatever network operation (ping, dhclient etc).

why all my devices on my Thinkpad wish to use IRQ 11?

2004-01-18 Thread Zhang Weiwu
Hello. I recently brought a new Thinkpad T40 notebook and installed FreeBSD 5.2 RELEASE on it. Now on this notebook it seems every device is trying to use irq 11, making every drive timeout. The irq 11 devices are: #dmesg | grep irq 11 pcib0: slot 29 INTB is routed to irq 11 pcib0: slot 29 INTC

why some man pages are not found?

2004-01-21 Thread Zhang Weiwu
Hello. On my FreeBSD 5.2 -RELEASE I have several man pages right there installed in /usr/X11R6/man directory, but man(1) won't show them. Gnome help don't have them listed among manuals. Can anyone explain why? Thank you. Here is a commandline example: [EMAIL PROTECTED]:~pkg_info -L

Re: why some man pages are not found?

2004-01-21 Thread Zhang Weiwu
Okay. I figured it out: I need to setenv MANPATH /usr/share/man:/usr/X11R6/man Just don't know why the system do it automatically. _ MSN Messenger: http://messenger.msn.com/cn ___

use \000 in sed

2004-01-29 Thread Zhang Weiwu
Hello. I wish to see all the files in some pathes in a string. Say, I wish to list all files in $PATH and manpath(1) What I can think of is to use #manpath | sed s/:/ /g |xargs ls (This is useful when auto-completing man command in a shell, say, csh). This works, but the command is wrong when

Re: use \000 in sed

2004-01-29 Thread Zhang Weiwu
Dan Nelson wrote: I'm not sure that sed can process \123-style octal characters, since it already uses the \ character for backreferences. Since you're only replacing one letter, you can use tr: manpath | tr ':' '\000' | xargs -0 ls oh Brilliant, i almost forgot this command! But once I need

need suggestions on making a wireless network using bluetooth.

2004-01-29 Thread Zhang Weiwu
Hello. I'll make a small wireless network in my office in the coming month. Now I'm considering bluetooth instead of 802.11. In the office I have a freebsd server, my own notebook runs freebsd. Other computers run MAC OS and Windows. * the office is not very big, just as big as the bluetooth

to let dhclient renew ip address

2004-02-06 Thread Zhang Weiwu
I am using a notebook (5.2 on a Thinkpad T40). Sometimes I move it from one room to another (managed by different dhcp server), and I cannot figure out a fast way to tell the dhclient(8) to renew my address. I read the manuals. It seems the only way I can do is to: weiwusu (su to root)

where to question about gdm?

2004-02-06 Thread Zhang Weiwu
Hello. I asked a quesion about gdm on freebsd-gnome list, and the gnome-freebsd list on gnome.org. No one replied me. I think I must have posted to the wrong list. Where do you usually post your questions about gnome? freebsd-gnome looks pretty like a developers' list than a users' list, and

[OT] where to question about gnome?

2004-02-06 Thread Zhang Weiwu
Hello. This is really a dump question, but all the mailing lists on gnome.org seems pretty cold. There are only several posts each month on lists like gnome-freebsd and gnome-2-list. Where do people go to when they want to discuss about gnome? Thank you.

how to use X window server/client mode?

2004-02-07 Thread Zhang Weiwu
Hello. I know this looks like a dump question ... I wish I can find a easy tutorial, but a quick google search didn't give me one. Perhaps you can tell me where to find a good tutorial. Now I have freebsd 5.2 gnome 2 running on my notebook, X is started by gdm. My friend's computer run RedHat

Re: how to use X window server/client mode?

2004-02-08 Thread Zhang Weiwu
Oh how nice! I start with ssh -X and everything goes okay. Thank you. Dan Nelson wrote: In the last episode (Feb 08), Zhang Weiwu said: Hello. I know this looks like a dump question ... I wish I can find a easy tutorial, but a quick google search didn't give me one. Perhaps you can tell me

sendmail to a smarthost?

2004-02-08 Thread Zhang Weiwu
Hello. In my LAN the DNS server is my ADSL modem ... small device that cannot do MX type of address lookup. I wish to configure a fax server (FreeBSD 5.2 + Hylafax) in the LAN to send emails to a group of people upon receiving fax. The problem is hylafax fax server can only use sendmail to

Re: sendmail to a smarthost?

2004-02-08 Thread Zhang Weiwu
Alex de Kruijff wrote: On Sun, Feb 08, 2004 at 09:31:10PM +0800, Zhang Weiwu wrote: Hello. In my LAN the DNS server is my ADSL modem ... small device that cannot do MX type of address lookup. I wish to configure a fax server (FreeBSD 5.2 + Hylafax) in the LAN to send emails to a group

Re: sendmail to a smarthost?

2004-02-09 Thread Zhang Weiwu
Allan Bowhill wrote: On 0, Zhang Weiwu [EMAIL PROTECTED] wrote: :Hello. In my LAN the DNS server is my ADSL modem ... small device that :cannot do MX type of address lookup. I wish to configure a fax server :(FreeBSD 5.2 + Hylafax) in the LAN to send emails to a group of people upon

ppp server: arp proxy things?

2004-02-25 Thread Zhang Weiwu
Hello. I think this problem really go out of my English language ability, I'm trying my best to explain it: Now I just built a bluetooth based LAN access server, that is to run several serial connection over bluetooth, so you can think they are many simple serial connection, and ppp runs over

hangs up on login prompt (very strange)

2004-02-26 Thread Zhang Weiwu
Tonight I was reading a webpage, I found the whole X window suddenly doesn't acceput keyboard input any more (mouse works). So I use mouse rebooted the computer. That is a Thinkpad T40 running FreeBSD 5.2 After reboot the whole system hangs up at Login name prompt (even in verbose mode). Ping

a good solution share the speaker?

2004-02-27 Thread Zhang Weiwu
Several people are using notebooks in the office, the big desktop computer stores music. A good speaker is pluged into the desktop computer (FreeBSD). What do you think is the best solution to share the speaker? These are what I can think of: * Marc Lehmann wrote a perl module for playing

scheduling priority not working?

2004-02-27 Thread Zhang Weiwu
Hello. I thought scheduling priority is the kind of absolute priority, that is only when the higher priority process don't ask for resource, can the lower priority process gets resource. If the higher priority process sucks, the lower priority process starvs. Now I have a old Pentium-mmx 166

ppp server: arp proxy things? (re-post)

2004-02-27 Thread Zhang Weiwu
Hello. I posted this questions three days ago; I didn't get a reply yet. I have been fighting the problem today whole day without any luck, and the more I dig into the problem, the more I feel it should not be a very rare problem. Perhaps I didn't descirbe my problem clear enough in my last

Re: a good solution share the speaker?

2004-02-27 Thread Zhang Weiwu
Dan Nelson wrote: In the last episode (Feb 28), Zhang Weiwu said: Several people are using notebooks in the office, the big desktop computer stores music. A good speaker is pluged into the desktop computer (FreeBSD). What do you think is the best solution to share the speaker? These are what

Re: scheduling priority not working?

2004-02-27 Thread Zhang Weiwu
Erik Trulsson wrote: On Sat, Feb 28, 2004 at 11:37:51AM +0800, Zhang Weiwu wrote: Hello. I thought scheduling priority is the kind of absolute priority, that is only when the higher priority process don't ask for resource, can the lower priority process gets resource. If the higher priority

Re: scheduling priority not working?

2004-02-29 Thread Zhang Weiwu
Sergey 'DoubleF' Zaharchenko wrote: There's more than nice to change priority; for example, check out rtprio(1) and idprio(1). Just FYI. GREAT TOOL rtprio(1) is. Now I can run 'rtprio 5 mpg321 *.mp3' it produce very smooth sound. Perhaps rtprio is averagely used even more frequently than

priority-- curious about cpu resouce share

2004-03-02 Thread Zhang Weiwu
Today I did't experiment on {rt|id}prio(1), just to be interesting. I am trying to understand FreeBSD priority mechenism. IMHO realtime/idle priority only starvs processes when there is no cpu resource at all. To test, I run mpg321 on realtime priority 3, run ppp on realtime priority 4, a

Re: priority-- curious about cpu resouce share

2004-03-03 Thread Zhang Weiwu
Sergey 'DoubleF' Zaharchenko wrote: * sshd almost starves; it takes 0.00% (normally 2%) and only transfer several bytes once several minutes; the otherside scp prompts stalled. sshd doesn't starve CPU, I guess; as you reach it through ppp, and ppp gets slow, sshd does, too. Sounds

Re: priority-- curious about cpu resouce share

2004-03-05 Thread Zhang Weiwu
Sergey 'DoubleF' Zaharchenko wrote: On Wed, 03 Mar 2004 00:34:37 +0800 Zhang Weiwu [EMAIL PROTECTED] probably wrote: Today I did't experiment on {rt|id}prio(1), just to be interesting. I am trying to understand FreeBSD priority mechenism. IMHO realtime/idle priority only starvs processes when

[OT?] write C program with UTF16LE

2004-03-14 Thread Zhang Weiwu
Hello. Although I write some php/perl script, I don't write C program. Now I have a very large text file in UTF16LE format, the rule is strings are seperated by numbers. Say 0300 6100 6200 6300 0400 6700 5400 9800 7400 0300 Leading 0300 means the following 3 characters (6 bytes) is a

downmix wave file from stereo to mono

2004-03-18 Thread Zhang Weiwu
Today I got a simple job to convert a 600MB stereo .wav file to mono .wav file. Very simple task. First I read the lame(1) manual carefully, and decide it cannot help. I tried to install several sound editor, glame tried to pull down the gtk1 library and depended packages, so stopped it.

Re: downmix wave file from stereo to mono

2004-03-18 Thread Zhang Weiwu
Zhang Weiwu wrote: Today I got a simple job to convert a 600MB stereo .wav file to mono .wav file. Very simple task. Oh god. Now I installed audacity. What the hell, I don't find a menuitem/settings dialogue box to let me downmix it. Should I finish learning a whole sound editor

time sync tool?

2004-03-20 Thread Zhang Weiwu
Hello. Is there a time sync tool for FreeBSD? My local clock seems alway several minutes late, can I run a daemon and sync with a time server once several day? Thank you. _ MSN Messenger: http://messenger.msn.com/cn

configure CUPS without web interface problem

2004-03-21 Thread Zhang Weiwu
Hello. I just installed cups on my old P160MMX desktop computer, the printer is Canon S100 on usb0. Now I need to configure the box properly to print something. I found this printer's PPD file on LinuxPrinting.org. I followed the instructions on both LinuxPrintng.org and CUPS software

Re: configure CUPS without web interface problem

2004-03-21 Thread Zhang Weiwu
Zhang Weiwu wrote: Only that both doc suggest me go to http://localhost:631/admin, but I got connection refused using lynx(1). (I don't know if I need to run apache or configure inetd for this.) Sorry I wasn't clear. The actual error message from lynx is: Looking up localhost:631 localhost

Re: configure CUPS without web interface problem

2004-03-21 Thread Zhang Weiwu
Zhang Weiwu wrote: So i send a text file to the print: dino# lpr -PS100 .cshrc lpr: Unable to connect to /var/run/printer: No such file or directory lpr: Check to see if the master 'lpd' process is running. jobs queued, but cannot start daemon. It seems I still need to run smothing called lpd

what's the difference of -R and -r?

2004-03-21 Thread Zhang Weiwu
From cp(1): Historic versions of the cp utility had a -r option. This implementation supports that option, however, its use is strongly discouraged, as it does not correctly copy special files, symbolic links or fifo's. So I keep using -R rather than -r in cp. But I found other

burncd not able to create multisession disco?

2004-03-21 Thread Zhang Weiwu
Hello. I'm learning to burn CD-R in FreeBSD 5.2 on my Thinkpad T40 with an atapi combo-disco drive. I read some docs on cdrecord(1), all these emulate-SCSI things are spining my head! To me burncd(8) is much more easier. The manual says if I don't do fixate, I don't get TOC; if I do fixate,

fast way to rename files?

2004-03-23 Thread Zhang Weiwu
Say, I have photo_1.jpg, photo_2.jpg ... photo_500.jpg in a directory. Is there a fast way to rename these files to 001.jpg, 002.jpg ... 500.jpg? Thank you. _ MSN Messenger: http://messenger.msn.com/cn

tell sendmail to use a different dns server?

2004-03-23 Thread Zhang Weiwu
Hello. I'm using the dns service on a router box. This router does provide dns service, on which every computer in the LAN has a local domain name (computername.our.lan) Now the built in dns server's function is limited; it does not relay MX type of record. Thus sending mail using sendmail

Re: tell sendmail to use a different dns server?

2004-03-23 Thread Zhang Weiwu
Zhang Weiwu wrote: Hello. I'm using the dns service on a router box. This router does provide dns service, on which every computer in the LAN has a local domain name (computername.our.lan) Now the built in dns server's function is limited; it does not relay MX type of record. Thus sending mail

Re: tell sendmail to use a different dns server?

2004-03-23 Thread Zhang Weiwu
Zhang Weiwu wrote: Zhang Weiwu wrote: Hello. I'm using the dns service on a router box. This router does provide dns service, on which every computer in the LAN has a local domain name (computername.our.lan) Now the built in dns server's function is limited; it does not relay MX type

easy way to do batch mail?

2004-03-27 Thread Zhang Weiwu
Hello. I am running a local small non-profit club, every two-week I need to send news email to about 30+ club members. The number is still growing. I'm not a spammer but my ISP's smtp server refuse to send emails with 10+ recipients. So I split recipients and send 4 mails, silly way it is. In

sf.net: host not found

2004-03-30 Thread Zhang Weiwu
Hello. It has been three days since I cannot access sourceforge.net, using many different Chinese dns server: [EMAIL PROTECTED]:~host sf.net Host not found, try again. [EMAIL PROTECTED]:~host sourceforge.net Host not found, try again. It behave like the last year's Google being blocked in China.

about Ultra-sparc and alpha: what makes the difference?

2004-03-30 Thread Zhang Weiwu
Hello. The question sounds really silly, but google with compare sparc i386 alpha / benchmark sparc i386 alpha doesn't give meaningful result in several pages. Please suggest me a better keyword compilation:) I don't know about anything other than i386, but the sparc servers and alpha servers

Re: sf.net: host not found

2004-03-31 Thread Zhang Weiwu
Shantanoo wrote: +++ Zhang Weiwu [freebsd] [30-03-04 16:29 +0800]: | | Hello. It has been three days since I cannot access sourceforge.net, using | many different Chinese dns server: | | [EMAIL PROTECTED]:~host sf.net | Host not found, try again. | [EMAIL PROTECTED]:~host sourceforge.net

new administrator: please help me choose news server

2004-04-12 Thread Zhang Weiwu
Hello. I never did this before, but now I'll setup a mail server in the coming weeks. Here is the requirement: 1) the mail server should run both smtp and imap, sending and accepting emails 2) mail server should be able to ask for confirm before it deliever executables. Or it should be able to

Re: new administrator: please help me choose news server

2004-04-12 Thread Zhang Weiwu
Zhang Weiwu wrote: I'm the kind of lazy guy not to RTFM, but I need direction guide, suggestion from you so that I know what the f**k manual to read:) Oh what a mistake. I am not English speaker. I meant to say I'm not too lazy to RTFM but I still need directional suggestions on what manuals

Re: new administrator: please help me choose news server

2004-04-13 Thread Zhang Weiwu
Matthew Seaman wrote: Another consideration you will want to bear in mind: do you want to give all of your e-mail users full blown accounts on your mail server, or do you want to provide and 'e-mail only' service? If the latter, you will need to look at the more 'professional' solutions, which

sshd: cannot disable password authentication, users can alwayslogin with password.

2004-04-19 Thread Zhang Weiwu
Hello. I'm today following the FreeBSD security how to http://www.it.daemonnews.org/200108/security-howto.html to secury my FreeBSD server. I configured dsa ssh access, now I can use my own computer to login to the server with ssh with dsa no problem, no password authentication is necessary.

Re: sshd: cannot disable password authentication, users canalwayslogin with password.

2004-04-19 Thread Zhang Weiwu
Okay, I figured out the problem myself. I should set ChallengeResponseAuthentication no to disable password authentication. Zhang Weiwu wrote: Hello. I'm today following the FreeBSD security how to http://www.it.daemonnews.org/200108/security-howto.html to secury my FreeBSD server. I

permission denied in ping?

2003-01-20 Thread Zhang Weiwu
Today I found that I cannot connect to the lan. Logged as root, pinging 127.0.0.1 returns: Ping 127.0.0.1: sendto: Permission denied And pinging whatever address returns the same error message. Ifconfig looks alright, so is rc.conf and route. It used to be working several weeks ago, but I

new BSD user wish to install WSAD

2003-01-21 Thread Zhang Weiwu
I wish to install IBM WSAD on my FreeBSD 4.7 on Thinkpad R30. I already have RPM installed from ports. I also have Linux compatibility installed and working. I got the error message, so what do I do? Error. /bin/sh is needed by IBMAppDev-preview-4.0-3 /bin/sh is needed by

newbie: vi - go to previous file

2003-11-11 Thread Zhang Weiwu
Hello. I am using the BSD's vi not vim. I learned from :exusage that :N is to swich to the next file in argument list while :P swich to the previous file. :N woks fine, while :P does nothing. Say, I run vi file1 file2, which opens file1, :N begin to edit file2, then I press :P, I thought I

seperating SQL and application server?

2003-11-16 Thread Zhang Weiwu
Hello. I am running apache + php + mysql on an PIII 800MHz server. Phpgroupware webpages takes several seconds to show up on a LAN (15 seconds at max). I mean each webpage takes several seconds to show up, even if I am the only user to access the server, and the server have no other works to

newbie: use CR in RE?

2003-11-22 Thread Zhang Weiwu
Hello. Just want to know how to use special character in Regular Expression. I wish to remove all the carrier returns from a text file, I can use: tr -d \r text_file modified_text_file But if I do: sed -i s/\r//g text_file it actually removes all the character r from the file. This is also a

newbie: to pipe the result of a program as commandline parameter for another.

2003-11-22 Thread Zhang Weiwu
Hello. I just checkouted a big program. What I want to do is to remove all CVS/ folders from the hierarchy. There might be other ways to do so (give me a hint?). What I can think of is to run find(1) to find out all CVS folders, and pass them as parameters of rm(1), but I don't know how to do

still about Newbie USB Printer Problem

2003-11-22 Thread Zhang Weiwu
Hello. I read the previous post Newbie USB Printer Problem and its follow-ups, well, I am more newbie than him:). Now I wish to connect my Canon S400SP printer with my Thinkpad 600X notebook (running 5.1-RELEASE), since I never printed anything with FreeBSD before, 1. Do I need a specific

ADSL question

2003-11-28 Thread Zhang Weiwu
Hello. I never touched ADSL before, now I booked an ADSL phone line. I have a small LAN, the server (FreeBSD 4.9 STABLE) is there as 192.168.0.1, providing services like NFS and it is a DHCP server. It also need to act as NAT for 802.11 notebooks in the room. I heard people say there are

still about PCI ADSL

2003-11-28 Thread Zhang Weiwu
So ethernet ADSL is the best? I just checked http://www.bsdmall.com/sanadpcicon.html S518 ADSL claim to support FreeBSD. I'm just curious why it is so very expensive (Regular price: $220.00) I don't know about normal price in the American. In China a normal ethernet ADSL modem is about 600RMB,

a watchdog program in FreeBSD?

2003-11-30 Thread Zhang Weiwu
Hello. I have a STMicroelectronic USB Dual-mode Camera that shipped with a Windows watchdog program. When truned on it detects moves, and alarm for possible human move. It is useful to guard the house. I've been using it for sometime. Now I wish to use in in FreeBSD. Would it be difficult to

pcm/TP 600 works fine (was Re: jesse@wingnet.net pcm/TP600 works fine (was Re: pcm problems in 5.1 w/thinkpad)

2003-12-02 Thread Zhang Weiwu
Hello. I'm running pcm on Thinkpad 600 (FreeBSD 4.9 RC3) without any problem. It looks like your kernel is compiled with option PNPBIOS, these devices that unknown, cannot assign resources are unknown PNP devices, usually of no importantance (from my previous experience). These PNP devices

ADSL cannot dial (0.0.0.0/0 already exist)

2003-12-03 Thread Zhang Weiwu
Hello. I just brought an ADSL modem (Alcatel Homeplus 501). This modem is pre-configured I used FreeBSD several years, but this is the first time I use ppp: . My /etc/ppp/ppp.conf is: -- default: set log Phase tun command # you can add more detailed logging if you wish set ifaddr

Re: pcm/TP 600 works fine (was Re: jesse@wingnet.net pcm/TP600works fine (was Re: pcm problems in 5.1 w/thinkpad)

2003-12-04 Thread Zhang Weiwu
Davis Doherty [EMAIL PROTECTED] wrote: /dev/mixer is not present, nor are any other sound devices (except sndstat; and a quick less -f sndstat shows no devices installed). Attempting to play an mp3 via xmms fails (since /dev/dsp doesn't exist). Were I running one of the older trees, I would say

re-process mail queue

2003-12-10 Thread Zhang Weiwu
Hello. I'm using dial-up ADSL, So my notebook isn't always on-line. I have sendmail enabled. Now the problem is, mailq showed that #mailq /var/spool/mqueue (6 requests) -Q-ID- --Size-- -Q-Time- Sender/Recipient--- hBB4UpWD050471 834 Thu

Re: re-process mail queue

2003-12-10 Thread Zhang Weiwu
Doug Hardie wrote: sendmail -q Depending on how your environment is setup you may have specify the full path to sendmail. I just tried sendmail -q, I don't know why I still have host name lookup failure problem. AFAIK the hostnames' ip address should be cached for furture reference, so, say

Re: re-process mail queue

2003-12-10 Thread Zhang Weiwu
Doug Hardie wrote: sendmail -q Depending on how your environment is setup you may have specify the full path to sendmail. Okay. The problem is solved. It is becaues the DNS server failed to handle MX type of query. Changing a DNS server solved the problem.

why do I need sendmail

2003-12-20 Thread Zhang Weiwu
Hello. Just to confirm: if I use dial-up connection on my laptop and use the ISP's smtp server to send emails, I don't really need sendmail's most functions, so it is safe to set 'sendmail=NO' in rc.conf without loosing local emails like weekly run output, is it? I was told nowadays many spam

How to count the lines of code in a project?

2003-12-23 Thread Zhang Weiwu
Hello. How to count the number of lines in all *.c file in a directory? I can think of this on csh: grep -c `find . -name *.c` | sed s/.*:/e=e+/ /tmp/countlines.py And edit the py file, and e=0 as first line, print e as the last line, and execute the python script. wooo pretty cool for a

use vi style in all line-edit environment

2003-12-23 Thread Zhang Weiwu
I have been using vi all the time, even in csh I set bindkey -v to use vi style command-line edit. But when the context is switched to python, mysql, or scilab I have to warn myself not to type in vi style. Very often in mysql I mistyped something and try to type a x to correct it, or I press

need learning direction suggestions on using editors

2003-12-25 Thread Zhang Weiwu
Hello. I have been using the vi that comes with FreeBSD for more than a year. I now can manage to use lots of vi features except the tag mode which I don't know clear about its concept (perhaps because of my bad English). Now I think vi is not sufficient. I hate to type !perl % each time I edit

help me with this sed expression

2004-01-05 Thread Zhang Weiwu
Hello. I've worked an hour to figure out a serial of sed command to process some text (without any luck, you kown I'm kinda newbie). I really appreciate your help. The original text file is in this form -- for each line: one Chinese word then one or two English word seperated by space. I wish

re: anyone have this problem of hotmail?

2004-01-06 Thread Zhang Weiwu
how silly I am. Some one told me the famous fetchmail can do the work. _ MSN Hotmail http://www.hotmail.com ___ [EMAIL PROTECTED] mailing list

Re: fail with wireless network configuration with SIOCS80211: Invalid argument

2008-10-30 Thread Zhang Weiwu
Zhang Weiwu wrote: Hello. I am trying to get an AboveCable (model: ACPC 2000-01) wireless card connected to my home network with 40-bit Hex WEP Encryption on FreeBSD 6.1. # ifconfig wi0 inet 192.168.1.90 ssid ZWW wepmode on wepkey 0xea82552825 ifconfig: SIOCS80211: Invalid argument Did I

Re: improvement idea of man page of strfile

2008-10-30 Thread Zhang Weiwu
another idea: 3 A Chinese poem in Tang-dynasty style is very short, fitting in 4 lines. Some people find getting familiar with all famous 300 such poem written in Tang-dynasty a good way to use up brain-power of the days. They can display

improvement idea of man page of strfile

2008-10-30 Thread Zhang Weiwu
Original text: OTHER USES What can you do with this besides printing sarcastic and obscene mes- sages to the screens of lusers at login or logout? There are some other possibilities. 1 Include strfile.h into a news reading/posting program, to gener-

Re: improvement idea of man page of strfile

2008-10-30 Thread Zhang Weiwu
mdh wrote: Erm, I don't see this text in strfile(8) on RELENG_7 which is reasonably recent. Where did you get your man page from? - mdh Hi. Sorry, you are right. This text does not exist in FreeBSD. I have a freeBSD notebook and a Gentoo Linux notebook. I found this text by using the

Re: fail with wireless network configuration with SIOCS80211: Invalid argument

2008-10-30 Thread Zhang Weiwu
Paul B. Mahol wrote: On 10/30/08, Zhang Weiwu [EMAIL PROTECTED] wrote: Zhang Weiwu wrote: Hello. I am trying to get an AboveCable (model: ACPC 2000-01) wireless card connected to my home network with 40-bit Hex WEP Encryption on FreeBSD 6.1. # ifconfig wi0 inet 192.168.1.90 ssid

Re: fail with wireless network configuration with SIOCS80211: Invalid argument

2008-11-01 Thread Zhang Weiwu
Paul B. Mahol wrote: send output of: # ifconfig -v wi0 Hi. Thanks for trying to help. I fixed the problem myself (and demonstrated I couldn't do a prudent thinking). The mistake is trying to use shared key in an open-systems wireless network. I managed to get it right by having authomode

cannot compile linphone due to compile error message in gio-fam-backend

2008-12-31 Thread Zhang Weiwu
Hello. I failed to compile linphone on my FreeBSD 6-1 (yes I know it's old but as it has been working well for the last several years I got no motivate to upgrade it unless have to). The last error message says: [from gio-fam-backend ]: cannot find -lgio-2.0 It seems I miss a package that

newbie: does irq setting in device.hints work?

2009-01-08 Thread Zhang Weiwu
Hello. I come across device.hints manual which says I can set irq for each device there. I am using 6.1. The settings I made in devices.hints never worked. e.g. hint.uhci.0.at=pci hint.uhci.0.irq=12 I can set whatever value for irq and it always rebooted as irq 11. However 'disabled=1' works.

Re: newbie: does irq setting in device.hints work?

2009-01-09 Thread Zhang Weiwu
Lowell Gilbert wrote: Zhang Weiwu zhangwe...@realss.com writes: That's strange, I didn't find manual where it say it work in some condition or for some device only. Consult individual device drivers' manual pages for available keywords and their possible values. Thanks. I

Re: cant burn a cd iso

2009-06-27 Thread Zhang Weiwu
Daniel Leal wrote: Hi ! It seams to start correctly, but in the midle gave me the input/output error: Can someone help me please? I guess you first try to burn something with a different CDR (better CD-RW in order not to waist), try different speed (set to speed=4 and see). Both helps

scripting suggestion: how to make this command shorter

2009-06-27 Thread Zhang Weiwu
Hello. I wrote this one-line command to fetch a page from a long uri, parse it twice: first time get subject second time get content, and send it as email to me. $ w3m -dump

Re: scripting suggestion: how to make this command shorter

2009-06-27 Thread Zhang Weiwu
Modulok wrote: Zhang, Perhaps you could put it into a text file and have cron simply execute the text file. By doing so, you are free to break it up into a more digestible format and start using programming constructs to make your life easier. (Such as storing values in variables, or

laptop screen always shutdown if no keyboard interaction for several minutes

2007-01-23 Thread Zhang Weiwu
Hello. I tried various ways to stop the laptop screen from being shutting down, as I use this screen to watch debug message of an application I am working on, I need monitor always on, no screensaver, no blank, no dpms etc. I cannot do it. I have tried: 1. set blanktime to NO in /etc/rc.conf

[SOLVED] Re: laptop screen always shutdown if no keyboard interaction for several minutes

2007-01-26 Thread Zhang Weiwu
在 2007-01-23二的 16:47 +0800,Zhang Weiwu写道: Hello. I tried various ways to stop the laptop screen from being shutting down, as I use this screen to watch debug message of an application I am working on, I need monitor always on, no screensaver, no blank, no dpms etc. I cannot do it. I have

recommend console email client?

2007-03-18 Thread Zhang Weiwu
for downloading it. Maybe there are good applications that I didn't try yet? Thanks a lot in advance! Best Regards Zhang Weiwu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe

Re: recommend console email client?

2007-03-18 Thread Zhang Weiwu
Jeffrey Goldberg 写道: On Mar 18, 2007, at 9:21 AM, Zhang Weiwu wrote: alpine = said to support charset conversion but cannot find any link for downloading it. The link for downloading alpine is deliberately not made public. That is because alpine is considered alpha and UW seems to want

export nfs to a host with dynamic IP address

2007-03-18 Thread Zhang Weiwu
on IP address to control access. However I never set up samba server before: also I would do it if that's the only way to go. Any suggestions? Thanks a lot in advance. Best Regards Zhang Weiwu ___ freebsd-questions@freebsd.org mailing list http

  1   2   >