All 8 entries tagged Tech
January 09, 2012
My XP machine annoys me every time it restart. It complains “NTLDR is missing Press any key to restart”.
After upgrading to Windows 7, the problem persists.
Tried to use the bootrec.exe tool in the Windows Recovery Environment and failed to fix the problem.
I entered BIOS and changed to boot priority to be hard driver first. The problem went away.
November 18, 2006
Writing about web page http://www.dizwell.com/dokuwiki/doku.php?id=changingpasswordwithvalues
You can change a user’s password without knowing its values. Then change it back using the hashed values from dba_users
SQL> select username, password from dba_users where username = 'SCOTT'; SQL> alter user scott identified by newpassword; SQL> alter user scott identified by values 'F894844C34402B67';
I wonder whether the following can be used to hide the password in connection pool configuration file.
Seems not, it is from a top link configuration file.
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class> <connection-url>jdbc:oracle:thin:@insn104a.idc.oracle.com:1522:ora9idb</connection-url> <user-name>hr</user-name> <encrypted-password>62C32F70E98297522AD97E15439FAC0E</encrypted-password>
January 27, 2006
P50 encrypt network is easy:
SQLNET.ENCRYPTION_TYPES_SERVER= (RC4_40) SQLNET.ENCRYPTION_TYPES_CLIENT= (RC4_40) SQLNET.ENCRYPTION_CLIENT = requested SQLNET.ENCRYPTION_SERVER = requested SQLNET.CRYPTO_CHECKSUM_TYPES_CLIENT= (MD5) SQLNET.CRYPTO_CHECKSUM_TYPES_SERVER= (MD5) SQLNET.CRYPTO_SEED = dfksjkjrkejrkejrkji33333o-__9i9 SQLNET.CRYPTO_CHECKSUM_SERVER = requested SQLNET.CRYPTO_CHECKSUM_CLIENT = requested
Oracle OTN has detailed documentation as well
David Knox claims “independent lab tests how little overhead”
Specify the following properties in JBOSS connection pool configuration file if JBOSS runs on same server as Oracle and you do not want the overhead of encryption on a local connection.
<connection-property name="oracle.net.encryption_client">REJECTED</connection-property> <connection-property name="oracle.net.crypto_checksum_client">REJECTED</connection-property>
November 04, 2005
Metalink NOTE 260986.1
In Oracle10g, the TNSListener is secure out of the box and there should not be a need to set a listener password as in older versions of the Oracle listener. The 10g listener now uses local OS authentication. As long as one runs lsnrctl as the same user as the running listener they will be able to fully administer it without providing the password. This security feature is enabled by default…
You can use following line to disable local OS authentication:
January 25, 2005
It looks upgrading to 126.96.36.199 will automatically apply the patch and fix the bug
The database fixes included in Oracle Critical Patch Update January 2005 applicable to the Oracle Database Server are included in the 188.8.131.52 and 10.1.0.4 patch set. Whenever possible, Oracle highly recommends that you update to the latest patch set of your Database Server Release. For Oracle9i Release 2 versions 184.108.40.206 and 220.127.116.11, Oracle recommends that you update your database to 18.104.22.168 (Patch 3948480) then you will only need to apply a patch for the OHS component if it is installed.
November 22, 2004
My laptop mouse is terrible to use. That reminds me i can use keybord to navigate my computer.
1. Windows Key + L to lock
2. Windows Key + D to display desktop
3. Windowns Key + R to run a programm.
F2 to renme
August 05, 2004
Set up printer
add compenent in control panel for LPR port type.
printer.warwick.ac.uk:wwits02ps HP LaserJet 5000 Series PS
printer.warwick.ac.uk:wwits01ps HP Color LaserJet 4550
July 22, 2004
How do I find the geographical location of a host, given its IP address ?
In general, it is impossible – IP addresses are allocated arbitrarily, as there's no inherent connection between an IP address and it's physical location, and there's no reliable method to do the trick.
Yet, doing some detective work could help. Try following methods :
Note the following links for reference :
A complete list of country codes
A complete list of U.S. state abbreviation
A complete list of airport codes
Microsoft's TerraServer – satellites pictures of geographical areas
Use reverse DNS to find out the host's name. This item could supply some clues that could help.
Reverse DNS translation doesnt always work – it depends on the host's [the host with the given IP address] DNS server's correct configuration.
Another trick is to execute a whois request on the IP address. Try to direct the whois query to whois.arin.net – if it doesn't have the reply it will tell you to query either whois.apnic.net or whois.ripe.net
Notice that a host in one domain might be hosted in another country. This is due to both virtual hosting, where a domain of a company from one country or region, might be hosted where hosting is cheap.
Also notice that the .org, .com, and even .edu domains does not imply the host is in the U.S., as many of those domains belong to companies that are either not U.S. based, or are international, and might have some hosts all over the world.
Some hosts support a DNS extension which allows for hosts to enter their geographical location into their DNS record, based on an extension to DNS described in RFC 1876.
Another attempt to express a host's geographical location via DNS is done in RFC 1712. Both RFCs define a DNS Resource Record to contain the geographical location.
Visit the host's web server. A web site will sometimes contain hints regarding the site's location.
Use whois. The whois database contains administrative contact info for all domains, filled in during domain registration time, and updated from time to time. This admin info could give some hints.
The whois database is not highly reliable – if an address belongs to a large & responsible company, the company will supply reliable info and update it, but as domain name registrators do not insist on keeping the database accurate and current, the data might be incorrect.
The IP to Lat/Long page will attempt to display the same information in a graphical representation.
The Allwhois.com page allows whois requests for many countries. link
A list of whois servers, collected by Matt Power, is available at ftp://sipb.mit.edu/pub/whois/whois-servers.list
Note that the data is usually given for the owners' main branch or contact points, but the IP addresses might be allocated to hosts that may be located at a different location(s).
Use traceroute. The names of the routers through which packets flow from your [or any] host to the host with the given IP address might hint at the geographical path which the packets follow, and at the final destination's physical location.
There is a utility named VisualRoute (link) which traceroutes a host, and displays the route on a map of the world. The host's location on the map is based on the whois query, which may be wrong – an Israely domain might be displayed as being in Israel though it is hosted in another country.
Some of the services available on the host might give further info.
Naming conventions of ISPs and back-bones
AT&T dialups :
Port is 2–254 for the dial-up ports, and 1 for the router itself. location: example: "los-angeles-2" (city and router #). state: 2-letter abbreviation.
Related sites :
The Mappa.Mundi Magazine – link
Cyber Geography – link