Here is an interesting issue I ran into today. I have a script which creates a local copy of one of the important folders on the server using the xcopy command. To make the long story short, after several “accidents” with people messing up or deleting files on the server, we figured that letting people to make local mirrors on their own desktops might be slightly better than restoring stuff back from the tape 4 times a day. It was something along the lines of: rmdir /S /Q "%HOMEPATH%\My Documents\Important" xcopy /E /R /Y /I G:\Important "%HOMEPATH%\My Documents\Important" The script worked fine for almost a year now. Today however it decided to fail. After copying 1 or 2 folders it would simply stop. After closer inspection of the output I noticed that the last line was: Insufficient Memory I immediately checked the memory. The machine had 512 MB of RAM, and over 20 GB of free disk space. The folder I was attempting to copy had only 128 MB. This could not be corre
ทดสอบกับ ubuntu 10.04 การใช้ USB to serial adaptor สำหรับ ubuntu desktop ต้องการทำคอนฟิกอุปกรณ์เครือข่ายชนิด L2 Switch โดยใช้โน๊ตบุ๊คต่อกับอุปกรณ์ดังกล่าว รายการอุปกรณ์ USB to serial adaptor ที่ทดสอบแล้ว Billionton DTech เชื่อมต่ออุปกรณ์ เสียบหัว DB9(เมีย) ของสาย NULL MODEM เข้ากับ L2 Switch เสียบหัว DB9(ผู้) ของ USB to serial adaptor เข้ากับหัว DB9(เมีย) ของสาย NULL MODEM อีกปลายเสียบกับช่อง USB ของโน๊ตบุ๊ค ใช้คำสั่ง dmesg จะเห็นขัอความตอนท้ายๆประมาณว่า usb 4-1: pl2303 converter now attached to ttyUSB0 แสดงว่าระบบเห็นเป็น /dev/ttyUSB0 ติดตั้งโปรแกรม Serial Port Terminal ใช้คำสั่ง sudo apt-get install gtkterm การเรียกใช้โปรแกรม Serial Port Terminal ทำดังนี้ คลิกเลือก Applications > Accessories > Serial Port Terminal ตั้งค่า Port ก่อนใช้งาน โดยเลือก /dev/ttyUSB0 ที่หน้าต่าง GtkTerm Windows คลิกเลือก Configuration > Port > Port: /dev/ttyUSB0 กดปุ่ม Enter ก็จะเข้าสู่หน้าจอ Console พบ login: ตอนนี้ก็พร้อมที่จะทำคอนฟิกอุปกรณ์ L2 Switch ได้แล้ว การใช้โ
ความคิดเห็น
แสดงความคิดเห็น