MyComputingArt

Articles about computing. What are you interested in?

Current filter: »gpg or images or password or shell or system recover« (Click tag to exclude it or click a conjunction to switch them.)

.htaccess, android, apache, bloxsom, bluetooth, broadcast, case, chat, client-server, command-line, configuration, cool'n'quiet, cooling, cpu, disk suspension, dsl, error, fan, fan controller, file management, firefox, firewall, freeware, google, google earth, gpg, gps, grub, hardware, heatsink, howto, images, internet, jabber, lapping, linux, measurement, messaging, motherboard, mp3, mysql, network, password, pda, perl, phone, programming, programming , qemu, rdp, regex, router, screen recording, script, security, shell, silencing, software, spreadsheet, spyware, system recover, tools, ubuntu, virtualization, visual basic, VMWare, vnc, vpn, web, windows, wireless, xen, xmpp, xp



3Com OfficeConnect ADSL Wireless 54 Mbps 11g Firewall Router

This 3Com product has many functions: router, firewall, adsl modem, wireless access point, 4 port switch. 3Com chose to give two names to its products: a name for the market (as the long name in the title), which identifies the purpose of the product and is not changed when a new model replaces the older one, and a model name, a number which identifies the specific model.
The "ADSL" term in the name is particularly useful to specify that it's a adsl modem too, with a RJ-11 port that would connect the router directly to the phone line, through a RJ-11 cable, just like any adsl modem; in fact I found several routers that were capable of routing the adsl signal but were equipped with a RJ-45 port instead of a RJ-11 port: they were not DSL modems and needed to be connected to an external DSL modem. Checking the rear of the product, maybe on the user guide, can help making sure the router is a DSL modem too.
I will review two 3Com OfficeConnect ADSL Wireless 54 Mbps 11g Firewall Router models, the older 3CRWDR100A-72 and the newer 3CRWDR101A-75.

See full post ...



   PDF

Posted by: z24 | Sun, Sep 22 2013 | Category: /hardware | Permanent link | home
Tagged as: , , , , ,



Accessing and changing the registry from outside Windows

Problem: I got myself locked out of my pc
Solution: access the registry from outside Windows and change the account lockout settings

After enabling Remote Desktop access to access from my notebook to my pc through my wireless LAN, I was playing around with account locking settings to defend from possible brute force attacks coming through the WLAN (supposing the attacker cracked the WPA-PSK password): I set the lock so that after two failed attempts to login the account would be locked until the administrator (me) unlocks it manually.
I wanted to adopt such a security measure for RDP access only, but unfortunately the account lockout policy is valid for any login attempt, being it local or remote.
Then, as a slight security measure, I also disabled the administrator user (my user is already an administrator and an attacker should also find a valid username).
I mistyped the password twice and I got myself stuck: administrator and guest were disabled and my account was locked.
After rebooting, at the logon screen there were no more users, so that the "To begin, click your username" sentence on the left sounded like a joke, having absolutely nothing on the right.

The solution was obvious:

  1. try to access and change the registry from linux (I have dual boot)
  2. manually restore a previous version of the registry

I solved using Offline NTPassword & Registry Editor, an offline regitry editor on a boot disk; I made the floppy, rebooted and then I started looking in the registry the affecting keys, but it was not necessary: there's a feature to edit the accounts, and that allowed me to enable the administrator.

I also found dumphive, a useful program to dump the registry hives to text files.

Instead on www.beginningtoseethelight.org there's plenty of Windows NT, 2000 and XP low level settings and hacks, I would say "all about the registry": for instance, where and how users and passwords, including account statistics and policies, are stored and encoded in the SAM hive of the registry, and a schematic explanation of the registry structure; and don't miss the other sections of the site, they're enlightening too.
About the second option, there's a Microsoft article that explains how to manually restore the registry to a previous state.


   PDF

Posted by: Z24 | Wed, May 04 2011 | Category: /windows | Permanent link | home
Tagged as: , ,



Panorado Flyer

Panorado Flyer
License: freeware for private use
Author: Karl Maloszek
Install: yes
Size: 250 KBytes (114 KBytes installer)
Requirement: Windows with COM support

Panorado Flyer is a compact program that gathers GPS coordinates from Google Earth and writes them into images EXIF information.

See full post ...



   PDF

Posted by: Z24 | Wed, May 04 2011 | Category: /software/windows | Permanent link | home
Tagged as: , , , , , ,



GPG key error updating aptitude, Debian upgrade

I had an old Debian Etch machine which I did not upgrade for some time, and when I attempted to install ghostscript by using Synaptic, I've got some unmet dependencies errors with libc6 and libc6-dev. Any attempt to reinstall or upgrade these packages failed, so I decided to try to upgrade the whole system to Lenny:

And then I've been able to install ghostscript.

   PDF

Posted by: Z24 | Wed, May 04 2011 | Category: /linux | Permanent link | home
Tagged as: ,



How to mount an image file and access image content

To get access to the content of a virtual machine image or a ISO file, follow these steps:



   PDF

Posted by: Z24 | Wed, May 04 2011 | Category: /linux | Permanent link | home
Tagged as: , ,



Pausing a command

How to pause / suspend / sleep a running command in a terminal?
Press Ctrl+S
How to resume the paused command?
Press Ctrl+Q

   PDF

Posted by: Z24 | Wed, May 04 2011 | Category: /linux | Permanent link | home
Tagged as: , ,



How to rename multiple files from bash

Rename all *html files to *test:

for x in `ls *html`; do mv $x `echo $x | sed -e "s/html/test/"`; done

Bash for:
for var in some-list ; do command ; done


   PDF

Posted by: Z24 | Wed, May 04 2011 | Category: /linux | Permanent link | home
Tagged as: , , , ,



Execute a command at shutdown

To dismount TrueCrypt volumes at shutdown and reboot time, I created a script, put it in/etc/init.d/ and symlinked it into the needed /etc/rc?.d/ directories using update-rc.d.
Here is the detail:

See full post ...



   PDF

Posted by: Z24 | Wed, May 04 2011 | Category: /linux | Permanent link | home
Tagged as: , , , ,



Recover "Logical sector size is 0" with dd

A few hours ago while I was using my pc suddenly Windows froze completely (mouse was stuck and Ctrl+Alt+Del did nothing). It's not astonishing but I was quite surprised because such a freeze never happened since I began using Windows XP on my new pc.
The problem appeared at the reboot: grub, the bootloader on /dev/sda, showed this error message:

13 : Invalid or unsupported executable format

I have a dual boot configuration with Windows XP booting from a EIDE disk and Ubuntu booting from a SATA disk, so I entered Ubuntu, successfully; /dev/hda1 (the Windows partition) was not mounted while /dev/hda5 and /dev/hda6 were; attempting to mount it resulted in

Special device /dev/hda1 does not exist

At reboot I started Windows XP Recovery Console from the Windows CD and tried CHKDSK.EXE, and this was the outcome:

The volume appears to contain one or more unrecoverable problems

I booted again linux to launch fsck and see it fail:

Logical sector size is zero.


Then I found the solution in ubuntu forum:
root@am2:/home/z24# dd if=/dev/hda1 of=/defmedia/bkup_fat32_hda1.img bs=512 count=2048000 conv=noerror,sync
2048000+0 records in
2048000+0 records out
1048576000 bytes (1.0 GB) copied, 43.61 seconds, 24.0 MB/s

root@am2:/home/z24# dd if=/defmedia/bkup_fat32_hda1.img of=/home/z24/sector6.bin bs=512 count=1 skip=6 conv=noerror,sync
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.011544 seconds, 44.4 kB/s

root@am2:/home/z24# dd if=/home/z24/sector6.bin of=/dev/hda1 bs=512 count=1 conv=noerror,sync,notrunc
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.030644 seconds, 16.7 kB/s
Explanation: In the original post the partition that was just backupped with dd was also checked with losetup and mount. Thanks a lot to the ubuntuforums user Onlymee for his post!
Update 13.09.2008
The same problem happened again today and gave me the opportunity to complete the series of error messages :)
The first, at boot time, was the same:

grub: 13 : Invalid or unsupported executable format

Mounting the partition (mount -t vfat /dev/sda1 /mnt):

mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or other error

dmesg | grep sda1

VFS: Can't find a valid FAT filesystem on dev sda1

But fdisk -l /dev/sda shows the partition table.
fsck.vfat /dev/sda1 (executed from Ubuntu 8.04 alternate cd)

Cluster size is zero

The solution was exactly the same: copy the sixth sector back to the first. And voilà, it booted.

   PDF

Posted by: z24 | Wed, May 04 2011 | Category: /hardware | Permanent link | home
Tagged as: , , , ,


About
About
RSS
rss
Donate
Did I save you time or trouble?

Thanks ;-)
Skin
Categories
Archives
Search
Search MyComputingArt

word word = any word
+word +word = all the words
regexp pattern


Search hardware reviews

Visitors

since August 2006

free counters
since September 2009


Powered by Blosxom
FlagCounter Locations of mycomputingart.com visitors Map

Valid HTML 4.01 Strict    Valid CSS!

http://www.mycomputingart.com/

To contact the webmaster and author write to: info<at>mycomputingart<dot>com
© mycomputingart.com, year(today()).