[SOLVED] sound card not recognized by freebsd 8.2 but mentioned in PC-BSD 8.2

2011-04-19 Thread Zhang Weiwu, Beijing
I am actually amazed nobody nor the handbook mentioned OSS to me, because after learned this, it suddenly become obvious this option should be tried right after failure of snd_driver. In fact, the sound card in-topic is Ali M5455, the first on the list of sound card supported by OSS.

sound card not recognized by freebsd 8.2 but mentioned in PC-BSD 8.2

2011-04-15 Thread Zhang Weiwu, Beijing
Hello. I intend to use FreeBSD instead of PC-BSD. The sound card doesn't work on FreeBSD 8.2. I tried to follow the manual and loaded all sound card drivers # kldload snd_driver But no driver works: # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices:

Re: sound card not recognized by freebsd 8.2 but mentioned in PC-BSD 8.2

2011-04-15 Thread Zhang Weiwu, Beijing
On 04/16/2011 10:42 AM, Erich Dollansky wrote: On Friday 15 April 2011 22:11:05 Zhang Weiwu, Beijing wrote: # kldload snd_driver this will never work. You must load the driver for your sound card. Something like kldload snd_hda I am confused, because the handbook says the opposite: http

8.2-release no sound. error driver bug: Unable to set devclass (devname: (null))

2011-04-11 Thread Zhang Weiwu, Beijing
Behavior: tobago# kldload snd_driver driver bug: Unable to set devclass (devname: (null)) ppc0: parallel port not found. driver bug: Unable to set devclass (devname: (null)) ppc0: parallel port not found. ppc0: parallel port not found. driver bug: Unable to set devclass

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

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

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.

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

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

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

fail with wireless network configuration with SIOCS80211: Invalid argument

2008-10-12 Thread Zhang Weiwu
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 made anything wrong or

command line tool to format or display tab-separate-value?

2008-09-25 Thread Zhang Weiwu
Hello. (to read this email you probably need to have a font that can display ideographs) I wish to be able to glance over my datasheet in tab-separate-value format. A typical data file is like this: 池田武 环境友好公益协会[EMAIL PROTECTED] 蔡涛 世界自然基金会 [EMAIL

how to fight concurrent connection DOS attack to FreeBSD ftpd?

2007-11-24 Thread Zhang Weiwu
Dear all I run a ftp site which is being attacked by someone who issue some 1000 concurrent connection for downloading as anonymous. How can I fight back? The behaviour is like this: after '#/etc/rc.d/ftpd start', the number of ftpd process goes to several thousands. ps told me they are all

[SOLVED] Re: how to fight concurrent connection DOS attack to FreeBSD ftpd?

2007-11-24 Thread Zhang Weiwu
not able to login. Quan Qiu wrote: On Nov 24, 2007 10:34 PM, Zhang Weiwu [EMAIL PROTECTED] wrote: I run a ftp site which is being attacked by someone who issue some 1000 concurrent connection for downloading as anonymous. How can I fight back? If ftpd.conf is not the right

mc (GNU midnight commander) have I18N problem on FreeBSD?

2007-07-22 Thread Zhang Weiwu
Dear list I found mc 4.6.1 behave differently on FreeBSD 6.2 and SuSE 10.2 1) run urxvt on FreeBSD 6.2 2) run mc 4.6.1, take a screenshot: gopher://sdf.lonestar.org/I/users/weiwu/mconfreebsd.png 3) in the same urxvt window, ssh to another host running OpenSuSE 10.2; 4) run mc 4.6.1, take a

is this possible? (let user able to access two moint points, one beneath another)

2007-07-22 Thread Zhang Weiwu
Dear all I wish to export two directories for other people to mount, so I write in my /etc/exports: /var/ftp/pub -ro /var/ftp/pub/music -ro Start NFS server then I found only /var/ftp/music is successfully exported, /var/log/message says: Jul 22 15:34:32 exupery

Re: is this possible? (let user able to access two moint points, one beneath another)

2007-07-22 Thread Zhang Weiwu
On Sun, 2007-07-22 at 00:49 -0800, Beech Rintoul wrote: Try writing the export: /var/ftp/pub /var/ftp/pub/music -ro Thanks, this solved the problem instantly! ___ freebsd-questions@freebsd.org mailing list

mouse wheel doesn't work

2007-07-20 Thread Zhang Weiwu
Dear everyone on the list On my xorg-6.9.0 installed on FreeBSD 6.2, USB mouse work just fine with mouse wheel; ps/2 mouse do not work. Nothing happens when scrolling mouse wheel. As I have only one ps/2 mouse I cannot test if all ps/2 mice suffer from such problem or just this one, but I am

Re: mouse wheel doesn't work

2007-07-20 Thread Zhang Weiwu
On Sat, 2007-07-21 at 01:42 +0200, Nikola Lecic wrote: I think that then middle (wheel) click doesn't work; if it does, then The middle click does work! However there is no middle key on thinkpad track-point, thus it means at least some signal cannot be produced by track-point is delivered to

Re: mouse wheel doesn't work

2007-07-20 Thread Zhang Weiwu
out! Best Regards Zhang Weiwu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

disable PCI interrupt sharing in 6.1?

2007-07-07 Thread Zhang Weiwu
. Best Regards -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

/boot/device.hints only work for some devices in FreeBSD 6.2?

2007-07-05 Thread Zhang Weiwu
Dear list I followed documents I found on the Internet which says by editing /boot/device.hints I can assign IRQ or disable devices, and I tried to do so, modification in /boot/device.hint do have effect over some device, for example: hint.fdc.0.disable=1 but some seetings do not have effect,

unknown: PNP0f13 can't assign resources (irq)

2007-07-05 Thread Zhang Weiwu
Dear list I have seen strange message in my dmesg which says it cannot assign resources to PNP device: [snip] sc0: VGA 16 virtual consoles, flags=0x300 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 unknown: PNP0303 can't assign resources (port) unknown: PNP0f13 can't

Re: unknown: PNP0f13 can't assign resources (irq)

2007-07-05 Thread Zhang Weiwu
在 2007-07-05四的 23:55 +1000,Norberto Meijome写道: On Thu, 05 Jul 2007 20:21:42 +0800 Zhang Weiwu [EMAIL PROTECTED] wrote: Others on the forums suggested (in 2003) that I should disable PNP feature in BIOS, which is impossible for me because my old IBM Thinkpad don't offer such config

Re: /boot/device.hints only work for some devices in FreeBSD 6.2?

2007-07-05 Thread Zhang Weiwu
在 2007-07-05四的 09:19 -0400,Lowell Gilbert写道: Zhang Weiwu [EMAIL PROTECTED] writes: Where can I get knowledge of how device.hints works? e.g. maybe it can only work with device that is not managed by a PNP BIOS or maybe it only manage ISA devices but not PCI devices? It sounds like you

only first PCMCIA card works

2007-07-04 Thread Zhang Weiwu
Dear list Running FreeBSD-6.1 RELEASE on Thinkpad 380XD, I have been using this notebook for many years (and used FreeBSD from 4.7 to 6.1). An ethernet card is plugged on the first PCMCIA slot and I inserted my FC card reader (PCMCIA card produced by Hitachi) and noticed it's not detected (no

Re: only first PCMCIA card works

2007-07-04 Thread Zhang Weiwu
On Wed, 2007-07-04 at 14:13 +0800, Zhang Weiwu wrote: Dear list Running FreeBSD-6.1 RELEASE on Thinkpad 380XD, I have been using this notebook for many years (and used FreeBSD from 4.7 to 6.1). An ethernet card is plugged on the first PCMCIA slot and I inserted my FC card reader (PCMCIA

iftop doesn't work with tun0?

2007-06-12 Thread Zhang Weiwu
As of 0.17, iftop change log says it being to support ppp interface, while in my case it doesn't work for my tun0 which is created by /etc/rc.d/ppp (DSL connection). Launch 'iftop -i tun0' does correctly show up all active TCP connections and from/to address, but bandwidth usage for every

Re: not able to output anything to /dev/ttyv8?

2007-06-06 Thread Zhang Weiwu
On Wed, 2007-06-06 at 03:14 -0400, Michael Hauber wrote: On Tuesday 05 June 2007 11:23:04 pm Zhang Weiwu wrote: Dear list On Gentoo Linux I used to redirect the output of a certain app to /dev/tty10 and switch to tty10 (by using Alt+F10) this is useful to keep watching the application

Re: not able to output anything to /dev/ttyv8?

2007-06-06 Thread Zhang Weiwu
-- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

share my experience: highlight parts of a text file that matches a regular expression

2007-06-06 Thread Zhang Weiwu
. Maybe useful for some newbies. -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL

Re: share my experience: highlight parts of a text file that matches a regular expression

2007-06-06 Thread Zhang Weiwu
Thanks! Eric Crist On 6/6/07, Zhang Weiwu [EMAIL PROTECTED] wrote: Dear list I'd like to highlight part of output of one application that matches a regular expression. First I thought this is simple: $ my_app | grep --color=auto 'regexp' This method have a big problem

not able to output anything to /dev/ttyv8?

2007-06-05 Thread Zhang Weiwu
But Alt+F9, Alt+F10, Alt+F11 only cause the machine to beep Possible to use /dev/ttyv9 for output device in FreeBSD? Thanks in advance. Best regards -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 ___ freebsd-questions@freebsd.org

Re: cannot enable VESA_800x600 raster text mode

2007-06-01 Thread Zhang Weiwu
On Thu, 2007-05-31 at 20:09 +0200, Harald Schmalzbauer wrote: Am Donnerstag, 31. Mai 2007 schrieb Zhang Weiwu: Dear list I have been using raster text mode for years and I really like it. All I need to do is to put these options in kernel options VESA options SC_PIXEL_MODE

cannot enable VESA_800x600 raster text mode

2007-05-31 Thread Zhang Weiwu
Dear list I have been using raster text mode for years and I really like it. All I need to do is to put these options in kernel options VESA options SC_PIXEL_MODE For one box I have 'Rage 3D LT Pro AGP 133MHz (BGA-312 Package)' display, simply having these two options doesn't work (FreeBSD

harddisk failed strangely, badly need to recover data

2007-05-08 Thread Zhang Weiwu
Dear list. I added a 160 GB harddisk to the FreeBSD server several days ago. I have setup only one slice on it (/dev/ad6s1) and it has two partitions on it. /dev/ad6s1c is used as swap /dev/ad6s1d is used as /var Today I decided to reboot the FreeBSD server because I messed up nfs settings.

[solved] Re: harddisk failed strangely, badly need to recover data

2007-05-08 Thread Zhang Weiwu
: 31257664204.2BSD 2048 16384 28552 So in this case the 'c' partition as far as I can understand should not be used for any purpose. I didn't intentionally create 'c' partition, nor can I see this partition in Disk Label Editor of sysinstall. I don't know why it's there. Zhang Weiwu

Re: Is FreeBSD simple enough for Novices, Will FreeBSD accept Office 98 + Publisher?

2007-04-29 Thread Zhang Weiwu
On Sat, 2007-04-28 at 16:32 +0800, Zhang Weiwu wrote: Frankly it's so much easier on wine. If something doesn't work on wine, s/on/than/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: Is FreeBSD simple enough for Novices, Will FreeBSD accept Office 98 + Publisher?

2007-04-28 Thread Zhang Weiwu
Dear James I am afraid the answer is no. FreeBSD is simple enough on its technical structural but not the kind of simple as to novice user (so the right question might be if FreeBSD is novice-user friendly enough or easy to learn enough). The OS best fitting your requirement could be Ubuntu

Re: Is FreeBSD simple enough for Novices, Will FreeBSD accept Office 98 + Publisher?

2007-04-28 Thread Zhang Weiwu
On Sat, 2007-04-28 at 14:30 +0800, Zhang Weiwu wrote: Dear James run Office 98. However the OpenOffice office suit which by default installed in SuSE and Ubuntu is superior than Office 98 in functionality, and can open your old Office 98 documents just fine I forgot to mention: using

Re: Is FreeBSD simple enough for Novices, Will FreeBSD accept Office 98 + Publisher?

2007-04-28 Thread Zhang Weiwu
On Fri, 2007-04-27 at 23:58 -0700, Garrett Cooper wrote: As for running Windows binaries of Office on Wine / Crossoffice, this is tricky at best.. particularly with newer MS products (what with the Did you really try to run Windows applications on Crossoffice that crossoffice claimed to be

Re: best programming language for console/sql application?

2007-04-26 Thread Zhang Weiwu
On Wed, 2007-04-25 at 21:03 -0700, L Goodwin wrote: Zhang (or Weiwu?), Weiwu:) I'm surprised there are no good open source bug tracking solutions out there already. There are a lot! There are no known console-based bug tracker (there are also a lot of console-based bug reporter) Sorry,

Re: [OT] simpliest way to process this data file

2007-04-26 Thread Zhang Weiwu
An example that is probably not simple enough: awk 'BEGIN { FS=\n; RS=\n\n;} { print ; print $NF; for (i=1; iNF; i++) print $i;}' On Thu, 2007-04-26 at 11:18 +0800, Zhang Weiwu wrote: I know this is OT but we got so many sysops here and this might be something very easy for them to drop me

[OT] simpliest way to process this data file

2007-04-25 Thread Zhang Weiwu
be able to handle this:) -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: best programming language for console/sql application?

2007-04-23 Thread Zhang Weiwu
to run on one platform, I'd use built-in tools. Since then, I've played around with using perl for CGI scripting (hated it), then PHP, which I love for this purpose. Zhang Weiwu [EMAIL PROTECTED] wrote: Dear list This is OT. I am a 4 year php developer and is very

best programming language for console/sql application?

2007-04-22 Thread Zhang Weiwu
Dear list This is OT. I am a 4 year php developer and is very familiar with javascript and awk (familiar = knows and used all functions and features of the language itself) and I am a 5 year FreeBSD user. Being frustrated for the lack of a good console-based issue tracking tool (like mantis

Re: dhcpd assign duplicated IP address

2007-04-19 Thread Zhang Weiwu
Bill Moran 写道: In response to Zhang Weiwu [EMAIL PROTECTED]: snip P.S. In recent days we some times got another network problem and I'm not sure if it's related to this DHCP server behavior. It happens on both Linux and Windows hosts that a host suddenly is no longer accessible (Ping

dhcpd assign duplicated IP address

2007-04-18 Thread Zhang Weiwu
)) Received 113 response(s) sappho # arp -a 218.193.55.195 ? (218.193.55.195) at 00:02:2A:C1:53:87 [ether] on eth0 arping reply is different from arp cache. This host become accessible the next day. Strange. Are these two problems related? -- Zhang Weiwu Real Softservice http://www.realss.com +86 592

Re: [OT] can sed handle this situation? (might require variable)

2007-04-15 Thread Zhang Weiwu
On Sun, 2007-04-15 at 01:40 -0400, Parv wrote: in message [EMAIL PROTECTED], wrote Zhang Weiwu thusly... Dear list. I could not find a mailing list about 'sed' (there is an very inactive Yahoo Group though) so I wish to try some luck here. Try, comp.unix.misc newsgroup. I've got

Re: [OT] can sed handle this situation? (might require variable)

2007-04-15 Thread Zhang Weiwu
Parv 写道: in message [EMAIL PROTECTED], wrote Zhang Weiwu thusly... On Sun, 2007-04-15 at 01:40 -0400, Parv wrote: in message [EMAIL PROTECTED], wrote Zhang Weiwu thusly... ... I've got a situation that looks like require using variable and not possible to process with sed

[OT] can sed handle this situation? (might require variable)

2007-04-14 Thread Zhang Weiwu
: Blome createTimestamp: 20060417071950Z modifiersName: cn=manager,dc=ahk,dc=de modifyTimestamp: 20060630094026Z -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 ___ [EMAIL PROTECTED] mailing list http

tsclient removed from SuSE?

2007-03-27 Thread Zhang Weiwu
: installing some software for them (unless I have to make the desktop shortcuts). -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: tsclient removed from SuSE?

2007-03-27 Thread Zhang Weiwu
Sorry, sent to the wrong list! I use both SuSE (for desktop) and freebsd (for server) and subscribed to both lists. Sorry for posting this OT. On Wed, 2007-03-28 at 11:05 +0800, Zhang Weiwu wrote: I recall that there had been tsclient come with SuSE 9.x. Now I am using SuSE 10.2. I cannot

Re: recommend console email client?

2007-03-20 Thread Zhang Weiwu
On Mon, 2007-03-19 at 15:30 +0100, Wojciech Puchar wrote: For years I am not yet satisfied with ANY console email client, though I have tried quite a few. My requirement is actually very simple: a email client must be able to: 1. do the automatic charset conversion, so if I got an

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

Re: recommend console email client?

2007-03-18 Thread Zhang Weiwu
On Sun, 2007-03-18 at 22:29 +0200, Giorgos Keramidas wrote: Bearing in mind that you have relatively strict requirements (but, nevertheless, quite reasonable) for multibyte support, it may be worth considering one of the email clients bundled with or supported by GNU Emacs. Thanks very much

[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

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

how do I tell if my sio0 port is broken?

2007-01-15 Thread Zhang Weiwu
if there are PCMCIA card that can provide an extra COM port, but before that I think I should write this letter to the list to see what you guys would do in this case: do you also think this looks like COM1 port is broken? Thank you very much for advices. Zhang Weiwu

a console issue tracking tool?

2007-01-02 Thread Zhang Weiwu
Hello. For one of the small project I am working on, a console-based or X-based issue tracker is preferred over web-based solutions (like Trac or Bugzilla). Basically it only need to be able to work with issue priority, category, dates and status. So far I know a lot of webbased issue tracker,

mount_smbfs: charset convertion (-E) doesn't work

2006-11-26 Thread Zhang Weiwu
Hello. I tried a lot of different methods but I cannot mount a Windows share which is in GB18030 charset to my FreeBSD host in UTF-8 charset. I always gets junk text. this process is better illustrated with this screenshot (I don't copy and paste the console text because that way the junk

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

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

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

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

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

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

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

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

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

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,

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

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

[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

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

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

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

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

  1   2   >