跳到主要內容

發表文章

目前顯示的是有「embedded」標籤的文章

syslogd: logging different device's log to different files on windows

Most of the syslog server (syslogd) on Widows cannot change the default listening port number (udp 514).  If there are may devices remote syslog to a syslog server with dynamic ip address, without correct host name, it may not able to know which log belongs to which device. 

Use mutt receive email

如果要用mutt內建的pop/imap收信功能, 首先要檢查是否compile時有enable # mutt -v +USE_POP  +USE_IMAP 1. 執行mutt 2. 假設要連線到pop3 server:www.hibox.hinet.net 3. 按c 改變mail box 路徑 4. 輸入: pop://email-account@www.hibox.hinet.net  5. 若要使用imap, 則改變pop成imap即可imap ://email-account@www.hibox.hinet.net

a small and nice ini parser -- iniParser

Today I finished cross-compiling wvdial package. After I cross-compiling it, I found that it has some problem to load the wvdial.conf. And I also know that passing arguments to the wvdial is still working. Finally, I decide to modify the wvdial program to load the wvdial.conf by my own. I load the config file with iniParser and pass it to the cfg object. Now it works perfectly !! wvdial -- a utility that helps in making modem-based connections to the Internet wvdial site wvdial wiki iniParser home wvdial introduction