novembre 17, 2009 di mikosh
i experienced this trick to disable autoplay on a USB drive.
Note that this trick works only for one USB drive, the one you intend to modify; it’s not a techique to disable autoplay in general (for that use, use Group Policy option).
Make an “autorun.inf” FOLDER on the drive, set it to hidden and system and create in it an udeletable folder.
From command prompt into root folder of USB drive (cmd):
mkdir autorun.inf (this creates an autorun folder)
attrib +s +h autorun.inf (makes it hidden and system)
cd autorun.inf (opens the folder)
mkdir .\con\ (this creates an undeletable folder inside the autorun folder; write exact characters)
No more autorun.inf viruses possible.
thanks to Jon, Island Boy and David from
http://www.makeuseof.com/tag/how-to-prevent-a-usb-drive-from-running-anything-automatically-in-windows/
Tag: disable autorun, usb, drive, autoplay, undeletable folder, virus
Pubblicato in IT, windows | Lascia un commento »
giugno 15, 2009 di mikosh
this article saved my life…
http://castyour.net/node/40
the key was this command:
yourcomputer:~ youruser$ sudo diskutil disableJournal force /dev/disk1s10
thanks to Las Ruinas De Gringobamba
Tag: apple, hfs, journaling, leopard, linux, mac
Pubblicato in IT, linux, mac | Lascia un commento »
aprile 6, 2009 di mikosh
I was almost convinced in buying PdaNet for iPhone (about 23€…) when i came across this post on http://digg.com/apple/The_Best_Way_to_Tether_Your_iPhone_to_Your_Laptop_for_Free
Here user Bots says that until version 1.33 PdaNet was free.
So, if you want version 1.33, do a google search for “modmyi repo.” Click the first link you see (something like http://modmyi.com/repo), then click “debs2″ (or 2debs, or whatever). Scroll down until you see pdanet1.33.deb, right click it and save to your computer.
Then, scp that into your phone and drop pdanet1.33.deb into /var/root/.
Now you’ve got to install pdnnet 1.33 in one of the following ways:
- if your phone is connected wifi, ssh into you phone with user root and defautl password “alpine” and type in the command
dpkg -i /var/root/pdanet1.33.deb
- Using MobileTerminal (get if off Cydia if you have to) type in “su,” then type in your password, which is “alpine” by default. Then type in the command
dpkg -i /var/root/pdanet1.33.deb
Wait for it to get done.
Then restart/respring your phone.
Tag: iphone, modem, pdanet, tether
Pubblicato in IT, iphone, mac | Lascia un commento »
ottobre 14, 2008 di mikosh
I was looking for more informations about QoS traffic marks, in particular about EF mark, trying to prioritize voip traffic …and i’ve found this doc very clear and “efficient” in explaining QoS tecniques.
This How To Note describes also how to deploy a QoS solution across an entire network.
I suggest reading it all !
http://www.alliedtelesyn.com/media/datasheets/howto/config_qos_standard_schemes.pdf
PS: EF means Expedited Forwarding. This traffic is given highest priority. Packets being given this treatment are prioritized ahead of all other types of data.
Tag: network, qos, switch, voip
Pubblicato in IT, varie | Lascia un commento »
settembre 17, 2008 di mikosh
After searching samba mailing lists and web for ways to do this it seems that
pdbedit --pwd-must-change-time=(0 or current time) 'username'
should do the trick (the man file for pdbedit or the samba manual does not mention how to do this).
But finally
net sam set pwdmustchangenow yes
worked for me!
thanks to Chris Smith
Tag: linux, password change, pdbedit, samba
Pubblicato in IT, linux | Lascia un commento »