Tes Kecepatan Baca USB Drive
Saat membaca tulisan di sini tentang cara membuat Ubuntu dalam USB drive, saya baru tahu command untuk mencoba kecepatan baca USB drive. Berikut ini adalah hasil tes kecepatan baca USB drive saya :
tedy@tedy:~$ <font color="red">sudo hdparm -tT /dev/sdb1</font>Timing cached reads: 1756 MB in 2.00 seconds = 878.23 MB/sec
Timing buffered disk reads: 38 MB in 3.01 seconds = <font color="blue">12.63 MB/sec</font>
tedy@tedy:~$ <font color="red">sudo hdparm -tT /dev/sdb1</font>
/dev/sdb1:
Timing cached reads: 1788 MB in 2.00 seconds = 894.19 MB/sec
Timing buffered disk reads: 40 MB in 3.14 seconds = <font color="blue">12.73 MB/sec</font>
Lalu bagaimana ya cara tahu kecepatan tulis sebuah USB drive? Bagaimana juga ya cara memeriksa kecepatan baca tulis USB di lingkungan Windows? Apakah ada software benchmarking khusus yang bisa dipakai?
Network Printer on OpenSUSE 10.3 (part 2)
In the last post, I’ve explained about installing network printer on OpenSUSE 10.3. The next step must be configured is configure Windows on client PC. See the following illustration :
Driver for Epson Stylus Photo R230 can be downloaded here. The steps to using network printer over Samba protocol already written in this document.
Network Printer on OpenSUSE 10.3
Today I tried to configure my friend’s server to have network printer attached on it. It’s a PC server powered by OpenSUSE 10.3. The printer that must be configure as network printer is Epson Stylus Photo R230, see the photo of that :
I got some difficulties to configure Samba so that printer can be accessed by all Samba user in the network. So here is the conclusion that I’ve got after several hours tweaking OpenSUSE to provide network printer services :
- Connected the printer to the server. OpenSUSE recognized Epson Stylus Photo R230 directly as soon as I connected the USB connector to the server. I didn’t need to install or do anything….it’s just work when connected to OpenSUSE. Using
lpstatwe can know all the printer connected to the operating system. To see installed printer, I use this command :
# lpstat -v
device for EPSON_Stylus_Photo_R230: usb://EPSON/Stylus%20Photo%20R230 - I must configure
/etc/samba/smb.conf. In the existingsmb.conffile, I put some codes like this :
load printers = yes
printcap name = /etc/printcap
printing = cups
printcap name = cups
[printers]
path = /var/spool/samba
browseable = yes
guest ok = no
writable = yes
printable = yes
printer name = EpsonStylusR230
valid users = edi, tedy
[print$]
comment = printer driver
path = /etc/samba/drivers
browseable = yes
guest ok = yes
read only = yesTo be honest, I still don’t know what is
/etc/printcapand several other lines stands for. I just know that the path of the printer will announce to all Samba user that there is a network printer which can be used. - The other file that must be configured is
/etc/cups/cupsd.conf. This file will make server to provide network printer service to all Samba user. Network printer that usecupswill used port 631 to listens printing request from all client. So I must defined that all server network interface that will used for network printer is192.168.0.4:631I also add some access control list usingAllowFrom 192.168.0.*to guarantee that only client inside the network can access the printer. In the existing file, I put several lines like these :
listen 192.168.0.4:631Browsing On
BrowseOrder Allow,Deny
BrowseAllow @LOCAL
<Location />
Order Deny,Allow
Allow From localhost
Allow From 127.0.0.2
Allow From 192.168.0.*
</Location> - The other file must be edited is
/etc/cups/mime.convsJust add this line :
application/octet-stream application/vnd.cups-raw 0 - - The last file must be edited is
/etc/cups/mime.typesJust comment out this line :
application/octet-stream - After edit those files, I must restart
cupsandsambaservices using this commands :
# /etc/init.d/smb restart
# /etc/init.d/cupsd restart









