今天想要刪除印表機(在其他台電腦的印表機)的時候遭遇困難,因為我依照往常的想要在"印表機與傳真"直接刪除該印表機,但是卻發生無法刪除的情形,無論我試了幾次情況都沒有感善!
後來在Google(關鍵字:xp 無法刪除印表機)找到一篇有幫助的文章,如下:
無法從印表機視窗中刪除列印驅動程式
http://blog.xuite.net/jorgeyen/20050527/11482085
該篇文章是引述HP的一篇解答集。
HP LaserJet 與 Color LaserJet 系列印表機 - 幕後列印程式終止,列印作業無法列印,但是可以列印 Windows 測試頁。 無法從印表機視窗中刪除列印驅動程式
http://h50178.www5.hp.com/support/C3990A/faqs/58431.html
主要的步驟是:
1.關閉(Stop)"Print Spooler"這個服務
2.到"C:\WINDOWS\system32\spool\PRINTERS\"這個資料夾,然後把此資料夾的檔案都刪除
3.啟動(Start)"Print Spooler"這個服務
Monday, June 23, 2008
Friday, May 2, 2008
在VirtualBox(1.5.6)上安裝Ubuntu 8.04 LST - 解決解析度被限制在800x600以下。
下面的網站提供了不錯的建議。
virtualbox虚拟ubuntu全屏问题
http://www.linuxdiyf.com/viewarticle.php?id=85237
我將/etc/X11/xorg.conf改成上面網站的建議值就OK了!
我的步驟如下:
1.把/etc/X11/xorg.conf和下面對應的Section改成如下。
Section "InputDevice"
Identifier "Configured Mouse"
Driver "vboxmouse"
Option "CorePointer"
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "vboxvideo"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Modes ""1024x768" "800x600" "640x480" <-- add the resolution you want
EndSubSection
EndSection
2.restart X
3.安裝客端額外功能
#/media/cdrom0/VBoxLinuxAdditions.ru
4.restart
virtualbox虚拟ubuntu全屏问题
http://www.linuxdiyf.com/viewarticle.php?id=85237
我將/etc/X11/xorg.conf改成上面網站的建議值就OK了!
我的步驟如下:
1.把/etc/X11/xorg.conf和下面對應的Section改成如下。
Section "InputDevice"
Identifier "Configured Mouse"
Driver "vboxmouse"
Option "CorePointer"
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "vboxvideo"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Modes ""1024x768" "800x600" "640x480" <-- add the resolution you want
EndSubSection
EndSection
2.restart X
3.安裝客端額外功能
#/media/cdrom0/VBoxLinuxAdditions.ru
4.restart
Tuesday, January 15, 2008
文字介面下的BitTorrent Client - RTorrent
在ssh下搭配screen使用會有更加的效果!
1. 安裝screen - 可以把工作放到背景,所以縱使ssh斷線,rtorrent也會繼續工作。
#aptitude install screen
2. 安裝rtorrent
#aptitude install rtorrent
3. 從官方網站copy設定檔(.rtorrent.rc)到家目錄 - 因為原本沒有這個檔案。
http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc?rev=latest
複製到 ~/.rtorrent.rc
4. 設定.rtorrent.rc
下載文件的下載目錄。
# Default directory to save the downloaded torrents.
directory =/mnt/hda_120/Download
指定session的存放目錄。
# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session =/mnt/hda_120/Download/session
啟動rtorrent的監視功能,當*.torrent檔案在指定的目錄出現的時候,rtorrent就會開始下載。
# Watch a directory for new torrents, and stop those that have been
# deleted.
schedule = watch_directory,5,5,load_start=/mnt/hda_120/Download/watch/*.torrent
schedule = untied_directory,5,5,stop_untied=
設定locale。
encoding_list=UTF-8
完成。
5. 開啟一個screen。
$screen
6. 開啟rtorrent。
$rtorrent
此時,檔案應該已經開始下載了。
7. 把工作丟到背景。
在rtorrent主畫面中
I. crtl+a
II. ctrl+d
8. 想要再進去看看rtorrent。
$screen -r
Note:
目前還沒有解決DHT的問題。
Ref:
[1] 用rtorrent下载bt
http://www.xnux.cn/html/desktop/20070528/10324.html
[2] 綠色工廠 - rtorrent - linux環境的BT
http://portable.easylife.idv.tw/789
[3] The libTorrent and rTorrent Project
http://libtorrent.rakshasa.no/
[4] 飛翔部落 - Linux安裝rtorrent
http://blog.pixnet.net/shian0745/post/9121008
[5] Jamyy's Weblog - Linux Console 下的 BT 操作
http://cha.homeip.net/blog/archives/2006/08/linux_console_b.html
[6] DreamLand - 【推荐】rtorrent | xNix下的BT客户端(非Xwin)
https://dream4ever.org/showthread.php?t=145083
[7] fjufirefox - [Debian] rtorrent support DHT
http://fjufirefox.blogspot.com/2007/11/debian-rtorrent-support-dht.html
1. 安裝screen - 可以把工作放到背景,所以縱使ssh斷線,rtorrent也會繼續工作。
#aptitude install screen
2. 安裝rtorrent
#aptitude install rtorrent
3. 從官方網站copy設定檔(.rtorrent.rc)到家目錄 - 因為原本沒有這個檔案。
http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc?rev=latest
複製到 ~/.rtorrent.rc
4. 設定.rtorrent.rc
下載文件的下載目錄。
# Default directory to save the downloaded torrents.
directory =/mnt/hda_120/Download
指定session的存放目錄。
# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session =/mnt/hda_120/Download/session
啟動rtorrent的監視功能,當*.torrent檔案在指定的目錄出現的時候,rtorrent就會開始下載。
# Watch a directory for new torrents, and stop those that have been
# deleted.
schedule = watch_directory,5,5,load_start=/mnt/hda_120/Download/watch/*.torrent
schedule = untied_directory,5,5,stop_untied=
設定locale。
encoding_list=UTF-8
完成。
5. 開啟一個screen。
$screen
6. 開啟rtorrent。
$rtorrent
此時,檔案應該已經開始下載了。
7. 把工作丟到背景。
在rtorrent主畫面中
I. crtl+a
II. ctrl+d
8. 想要再進去看看rtorrent。
$screen -r
Note:
目前還沒有解決DHT的問題。
Ref:
[1] 用rtorrent下载bt
http://www.xnux.cn/html/desktop/20070528/10324.html
[2] 綠色工廠 - rtorrent - linux環境的BT
http://portable.easylife.idv.tw/789
[3] The libTorrent and rTorrent Project
http://libtorrent.rakshasa.no/
[4] 飛翔部落 - Linux安裝rtorrent
http://blog.pixnet.net/shian0745/post/9121008
[5] Jamyy's Weblog - Linux Console 下的 BT 操作
http://cha.homeip.net/blog/archives/2006/08/linux_console_b.html
[6] DreamLand - 【推荐】rtorrent | xNix下的BT客户端(非Xwin)
https://dream4ever.org/showthread.php?t=145083
[7] fjufirefox - [Debian] rtorrent support DHT
http://fjufirefox.blogspot.com/2007/11/debian-rtorrent-support-dht.html
Thursday, December 27, 2007
文字介面下的另一種FTP Client選擇 - lftp
之所以會找到lftp軟體,是因為之前在Debian 4.0, Ubuntu 6.06, Ubuntu 7.04這幾個Distribution的文字介面底下使用ftp這個指令連結到也是利用Debian 4.0 or Ubuntu 7.04所架設的FTP Server(vsFTP, Using UTF-8)時,無法正常顯示中文,雖然說在CentOS 5的文字介面底下使用ftp這個指令可以正常顯示中文,但是都找不出是什麼原因造成這樣的差異!
後來找到了lftp這個套件,安裝後,就可以在Debian 4.0, Ubuntu 6.06, Ubuntu 7.04中正常顯示中文,此外又有檔名補齊的功能,真不錯!
使用方法如下:
lftp -u username -p port IP
Reference:
[1]. http://freshmeat.net/projects/lftp/
[2]. http://lftp.yar.ru/
後來找到了lftp這個套件,安裝後,就可以在Debian 4.0, Ubuntu 6.06, Ubuntu 7.04中正常顯示中文,此外又有檔名補齊的功能,真不錯!
使用方法如下:
lftp -u username -p port IP
Reference:
[1]. http://freshmeat.net/projects/lftp/
[2]. http://lftp.yar.ru/
Monday, December 24, 2007
Remote Log Server using syslog-ng!
#1. 安裝syslog-ng [1]
#aptituide install syslog-ng
#aptituide install syslog-ng
----------------------------------------------------------------------------------(Server side:接收遠端傳送的log file。)
#2. 設定/etc/syslog-ng/syslog-ng.conf。加上下面這些文字。[1]
#
# If you wish to get logs from remote machine you will need this server
# to listen upon port 514.
#
source remote { tcp(port(514) keep-alive(no)); };
#
# Automatic host sorting
# Store all files beneath '/var/log/NAME OF MACHINE/facility
# Create these directories if required, with the given permissions.
#
destination hosts { file("/var/log/HOSTS/$HOST/$FACILITY" owner(root)
group(root) perm(0600) dir_perm(0700) create_dirs(yes)); };
#
# log by host (as defined above) anything that's coming from the
# remote socket.
#
log { source(remote); destination(hosts); };
----------------------------------------------------------------------------------
3.重新啟動syslog-ng服務。[1]
#/etc/init.d/syslog-ng restart
----------------------------------------------------------------------------------
參考網站:
[1]. Debian Administration - Sending system messages to a central location.
http://www.debian-administration.org/articles/24
[2]. Wiki of Ubuntu - Quick HOWTO : Ch05 : Troubleshooting Linux with syslog
http://wiki.ubuntu.org.cn/index.php?title=Quick_HOWTO_:_Ch05_:_Trouble
shooting_Linux_with_syslog&variant=zh-tw
[3]. Ubuntuforums - [SOLVED] syslog-ng with dlink router
http://ubuntuforums.org/showthread.php?t=626724
[4]. DebianHelp - Centralized Syslog Server Using syslog-NG with web Interface using php-syslog-ng
http://www.debianhelp.co.uk/syslog-ng.htm
Saturday, November 17, 2007
Xubuntu on Acer TM-341T
Hardware:Acer TravelMate 341T
Target OS:Xubuntu 7.10
Problem:
這台電腦的Debian原本是在DHCP的環境下安裝的,但是今天我的環境換成利用PPPoE的連線方式卻無法正常使用(已經使用pppoeconf設定過!)。
症狀如下:
1.只可以ping到ISP分配的IP,以及ISP的gateway。
2.從plog看到訊息 Couldn't increase MTU to 1500 以及Couldn't increase MRU to 1500。
解決方法:
參考my.opera.com上的Eexpress作者的這篇文章。
http://my.opera.com/eexpress/blog/index.dml/tag/GlobeSpan
在我改了/etc/ppp/peers/dsl-provider中的三行(把下面三行之前的#刪除!)之後,就可以正常上網了。
pty "/usr/sbin/pppoe -I ppp0 -T 80 -m 1452"
pty "/usr/sbin/pppoe -I ppp0 -T 80 -m 1412"
pty "/usr/sbin/pppoe -I ppp0 -T 80"
原本系統為Debian 3.1(純文字),想說要裝Xubuntu來用,但是因為這台NB它的光碟機無法開機,所以沒辦法依照一般的方法安裝OS。慶幸的是這台NB本來就有Debian以及可以用floppy開機(但是無法確定是否可以100%正常運作!),本來想說要利用現有的Debian來安裝,但是硬碟已經沒有空間了,所以就作罷!後來用Smart Boot Manager 就可以使用光碟安裝Xubuntu了。大致上的步驟如下:
1.從Xubuntu的iso檔裡面找出sbm.bin這個image file (xubuntu-7.10-desktop-i386.iso/install)。
2.利用RawWrite for Windows把sbm.bin寫入磁碟中。
3.把寫好的磁片以及Xubuntu放到NB中。
4.進入Smart Boot Manager介面,選擇CD-Rom開機。
5.安裝Xubuntu。
Source to download Xubuntu:
NCHC
http://ftp.twaren.net/Linux/Ubuntu/ubuntu-dvd/xubuntu/\
releases/7.10/release/xubuntu-7.10-desktop-i386.iso
Target OS:Xubuntu 7.10
Problem:
這台電腦的Debian原本是在DHCP的環境下安裝的,但是今天我的環境換成利用PPPoE的連線方式卻無法正常使用(已經使用pppoeconf設定過!)。
症狀如下:
1.只可以ping到ISP分配的IP,以及ISP的gateway。
2.從plog看到訊息 Couldn't increase MTU to 1500 以及Couldn't increase MRU to 1500。
解決方法:
參考my.opera.com上的Eexpress作者的這篇文章。
http://my.opera.com/eexpress/blog/index.dml/tag/GlobeSpan
在我改了/etc/ppp/peers/dsl-provider中的三行(把下面三行之前的#刪除!)之後,就可以正常上網了。
pty "/usr/sbin/pppoe -I ppp0 -T 80 -m 1452"
pty "/usr/sbin/pppoe -I ppp0 -T 80 -m 1412"
pty "/usr/sbin/pppoe -I ppp0 -T 80"
原本系統為Debian 3.1(純文字),想說要裝Xubuntu來用,但是因為這台NB它的光碟機無法開機,所以沒辦法依照一般的方法安裝OS。慶幸的是這台NB本來就有Debian以及可以用floppy開機(但是無法確定是否可以100%正常運作!),本來想說要利用現有的Debian來安裝,但是硬碟已經沒有空間了,所以就作罷!後來用Smart Boot Manager 就可以使用光碟安裝Xubuntu了。大致上的步驟如下:
1.從Xubuntu的iso檔裡面找出sbm.bin這個image file (xubuntu-7.10-desktop-i386.iso/install)。
2.利用RawWrite for Windows把sbm.bin寫入磁碟中。
3.把寫好的磁片以及Xubuntu放到NB中。
4.進入Smart Boot Manager介面,選擇CD-Rom開機。
5.安裝Xubuntu。
Source to download Xubuntu:
NCHC
http://ftp.twaren.net/Linux/Ubuntu/ubuntu-dvd/xubuntu/\
releases/7.10/release/xubuntu-7.10-desktop-i386.iso
Subscribe to:
Posts (Atom)