Please help : connection in the LAN
hello every one ...
I have a Lan network .. i want to enter another PC by using JAVA ...
I Know the User Name and the password ... so how can i do that ...
please help ...
best regards
Again, what do you want to do once you connect?
If you want to run command line programs you can use Telnet. To do this you will need to obtain a telnet server that you can run on the other machine. Most Unix and Linux systems come with one of these. For windows you will need to buy one or find a good Open Source or freeware server. If you have the cash (about $300USD) you can get the Hummingbird Exceed software, it has a Telnet and FTP server built in. As we all know Windows = M$.
Once you have the server you can write a client to run commands, reply 7 to Telnet to Unix box from Java App provides a simple swing client to run commands over telnet.
Another choice is to write both the client and the server. I've posted examples of how to do this on this forum. My examples are just a simple multiuser chat program, but the code could be adapted to other uses.
Again, the question is, what is your requirement?
Similar Messages
-
hello. i have a musical keyboard which is yamaha psr e433 and i want to connect it to my macbook pro. please help me give the name of the connector so i can use it for my band. thank you. your help is much appreciated.
hello. i have a musical keyboard which is yamaha psr e433 and i want to connect it to my macbook pro. please help me give the name of the connector so i can use it for my band. thank you. your help is much appreciated.
-
I am using IOS 4.1 in Ipod touch. I would like to take my data back using icloud. I am not able to enable icloud in to my ipod touch. please help me for the same. Basically I am trying to take back to upgrade my ios to 5 or 6 version.
You can't back up to iCloud until you update to iOS 5 or higher. You will have to back up your iPod on your computer using iTunes. Update iTunes on your computer to the latest version, then connect your iPod to your computer, open iTunes, if iTunes give you a pop-up asking if you want to update your iPod, decline. Then click on the name of your iPod in iTunes, go to File>Devices>Transfer Purchases to transfer any purchased media to your iTunes library. Next, go to the Summary tab of your iTunes sync settings and click on Back Up Now to back up your iPod on your computer.
When it's done backing up, click on Check for Update (or Update) on the Summary tab of your iTunes sync settings. Allow your iPod to update, and leave it connected to your computer. At the end, it will restart and give you the option to restore to the iTunes backup you made earlier. Choose this option to restore your backup and sync your apps and other iTuens media to your phone.
This process is outlined in this article: http://support.apple.com/kb/HT4972, under "If you are attempting to update using a Mac or PC with which you normally sync". -
Database get hang please help to resolved the issue.
Hi,
we are getting below error at that time db not allowed user to connect database.please help to resolved the issue.
db version is 10.2.0.3
Errors in file /oracle/oradata/bdump/pmspr_j002_1593486.trc:
ORA-12012: error on auto execute of job 42597
ORA-27468: "EXFSYS.RLM$SCHDNEGACTION" is locked by another process
Tue Jan 3 10:21:55 2012
Errors in file /oracle/oradata/bdump/pmspr_j003_1347686.trc:
ORA-12012: error on auto execute of job 42596
ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
Tue Jan 3 10:21:55 2012
Errors in file /oracle/oradata/bdump/pmspr_j004_1995004.trc:
ORA-12012: error on auto execute of job 42596
ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
Tue Jan 3 10:21:55 2012
Process OS id : 2064550 alive after kill
Errors in file /oracle/oradata/udump/pmspr_ora_1572972.trc
Tue Jan 3 10:21:55 2012
Errors in file /oracle/oradata/bdump/pmspr_j005_1617988.trc:
ORA-12012: error on auto execute of job 42597
ORA-27468: "EXFSYS.RLM$SCHDNEGACTION" is locked by another process
Tue Jan 3 10:21:55 2012
Errors in file /oracle/oradata/bdump/pmspr_j007_1523820.trc:
ORA-12012: error on auto execute of job 42596
ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
Tue Jan 3 10:21:55 2012
Errors in file /oracle/oradata/bdump/pmspr_j009_1933354.trc:
ORA-12012: error on auto execute of job 42596
ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
Tue Jan 3 10:21:55 2012
Errors in file /oracle/oradata/bdump/pmspr_j006_1536044.trc:
ORA-12012: error on auto execute of job 42597
ORA-27468: "EXFSYS.RLM$SCHDNEGACTION" is locked by another process
ThanksI think the following Oracle two note looks interesting:
Note: 330725.1 Scheduler Job has Been Locked For Days Ora-27468
Note: 731678.1 Scheduled jobs do not run as expected after 10.2 upgrades
HTH -- Mark D Powell -- -
About 1 year ago, I can not access the App Store. The message that appears is: "One Moment Please. Connecting to the iTunes Store. Loading ... " I've tried all the aids presented in this and other forums and nothing solves. iTunes connects normaly...
Your profile indicates your Mac is running v10.7.2
If that is correct, updating your system software may help.
Click Software Update from the Apple menu.
Restart your Mac after updates are installed then try the App Store.
If you can't update that way, there's a workaround.
Install the OS X Lion Update 10.7.5 (Client Combo)
Then restart your Mac and try the App Store.
messaged edited by: cs -
Please help to set the time zone in a porper way
Dear Folks please help to set the time zone in a porper way
select sessiontimezone from dual;
Database: Oracle 11.2.0.2
Operating system: AIX 5.3
SESSIONTIMEZONE
+00:00
SQL> select systimestamp from dual;
SYSTIMESTAMP
06-NOV-12 04.21.07.438426 AM +00:00
SQL> select dbtimezone from dual;
DBTIME
+00:00
SQL> Select DBMS_SCHEDULER.get_sys_time_zone_name from dual;
GET_SYS_TIME_ZONE_NAME
Asia/Kuala_Lumpur
By looking Doc ID: Note:149120.1 in Metalink:
ALTER DATABASE <my db name> SET TIME_ZONE = 'Asia/Kuala_Lumpur'
or
ALTER DATABASE <my db name> SET TIME_ZONE = '+08:00'
For reflecting the change I refreshed the db by shutdown and restart.
but still the returning no timezone value for user schema, please help how to set the time zone in a proper way?SQL> conn sys/sys as sysdba
Connected.
DBNAME
db
SQL> select u.name || '.' || o.name || '.' || c.name "Col TSLTZ"
2 from sys.obj$ o, sys.col$ c, sys.user$ u
3 where c.type# = 231
4 and o.obj# = c.obj#
5 and u.user# = o.owner#;
no rows selected
SQL> select DBTIMEZONE from dual;
DBTIME
+00:00
SQL> alter database set time_zone='Asia/Kuala_Lumpur';
Database altered.
SQL> select DBTIMEZONE from dual;
DBTIME
+00:00
SQL> startup force;
ORACLE instance started.
Total System Global Area 426852352 bytes
Fixed Size 1375060 bytes
Variable Size 260048044 bytes
Database Buffers 159383552 bytes
Redo Buffers 6045696 bytes
Database mounted.
Database opened.
SQL> select DBTIMEZONE from dual;
DBTIMEZONE
Asia/Kuala_LumpurRefer:
Re: how to check db time zone
Edited by: Ora on 5 Nov, 2012 11:36 PM -
PLEASE HELP ME GET THE SOFTWARE TO INSTALL ON MY COMPUTER SO I CAN HAVE WIRELESS INTERNET
Okay i know this is off the tangent but i am losing my mind i have a wireless B broadband router model number befw11s4 and i lost the cd upon a long tideous move so can you please anyone PLEASE HELP ME GET THE SOFTWARE TO INSTALL ON MY COMPUTER SO I CAN HAVE WIRELESS INTERNET i am losing my mind i callled linksys and they were no help telling me i had two option to either buy a 29.99 plan or a 39.99 plan and i couldnt get the help i needed unless i bought the **bleep** plans so i said kindly thank you for your time ...I figured i would post a thread up asking if someone anyone can please help me get this software or cd so i can install it on my computer !! THANK YOU FOR YOUR TIME !!!!!
Message Edited by kent07 on 11-20-2009 05:46 PMYou don't need any software to run the router at all. Connect with your wired computer to 192.168.1.1 username blank, password admin and configure your router manually like everyone else.
-
my iphone does not sync with itunes on my second authorized computer, please help. i changed the first authorized computer in May 2012 and have been using the second authorized computer since then but it cannot sync - please help!!
"I was thinking I would just connect my iPhone and all of my music and other stuff would transfer to the new computer. "
Not true. The music and pic sync is one way - computer to iphone. The only exception is itunes purchases. Without syncing: File>Transfer Purchases
You really should transfer everything from the old computer, or your backup copy of your computer. Since you do not have access to the old computer, then use your backup copy of the old computer.
If for some reason you have failed to maintain a backup copy of your computer ( not good), then you would have to transfer itunes purchased as described earlier. Any other itunes content would be lost.
You can e-mail photo library pics to yourself, but they will not be of the original quality.
Before syncing, enter at least one unique contact and calendar entry on the computer. When you first sync, then you should get the option to merge the data. -
Stay connected to the LAN when the MacBook Pro Retina is folded
Greetings,
Question to the new MacBook Pro Retina – is it possible to stay connected to the LAN when the Mac is folded?
The reason why I am asking is that I often go from one meeting room to another meeting room.
Before with my ”normal” MacBook Pro I knew that I couldn’t – now with my new MacBook Pro Retina, I assume it should be possible (in theory at least). If it is possible – how can I set the network settings or other to make it possible?
Please let me knowA little heat is no issue because the vent is right under the back part of the keyboard. There have been some recent reports of the fans turning on without warning for a minutes or two which will also add to the heat that you're feeling. The new ventalation system will put a little heat on the keyboard but it's okay.
-
Turn Passcode Off is disabled in my iPod touch 5. Could you please help me for the same ?
What do yoo mean?
-
Hi,
Can you please help me out the Info Cubes info for Budget Execution and Cash Management.
Thanks in advance,
AndyTake the memory card out of the camer and put it in a card reader. When it mounts on the desktop select it and try to change the name. However, that might make it incompatible with the camera. You'll just have to try and see.
OT -
Please help me with the installation process.
i have got free norton antivirus activation keybwith the pirchase of hp 16 gb pendrive .
please help me with the installation process.Hey @10p,
Welcome to the HP Support Forums!
I understand that you need assistance with the installation of Norton Antivirus that you received with the purchase of an HP 16gb Pendrive. Did you get the Pendrive with a computer or just purchase the Pendrive on its own?
Once I know if the Pendrive came with the purchase of a computer I will be able to point you in the right direction for support. Good luck!
X-23
I work on behalf of HP
Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
Click the "Kudos, Thumbs Up" on the right to say "Thanks" for helping! -
Please help me with the homework given to me by my teacher
hello,i am new in java programming please help me with the home work given to me by my teacher at school, help me to build an interface that can work with this code.i can build an interface but i dont just understand this code.
//references:
//http://forums.techguy.org/development/570048-need-write-java-program-convert.html
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.FileReader;
public class Translate
public static void main(String [] args) throws IOException
if (args.length != 2)
System.err.println("usage: Translate wordmapfile textfile");
System.exit(1);
try
HashMap words = ReadHashMapFromFile(args[0]);
System.out.println(ProcessFile(words, args[1]));
catch (Exception e)
e.printStackTrace();
// static helper methods
* Reads a file into a HashMap. The file should contain lines of the format
* "key\tvalue\n"
* @returns a hashmap of the given file
@SuppressWarnings("unchecked")
private static HashMap ReadHashMapFromFile(String filename) throws FileNotFoundException, IOException
BufferedReader in = null;
HashMap map = null;
try
in = new BufferedReader(new FileReader(filename));
String line;
map = new HashMap();
while ((line = in.readLine()) != null)
String[] fields = line.split("\\t", 2);
if (fields.length != 2) continue; //just ignore "invalid" lines
map.put(fields[0], fields[1]);
finally
if(in!=null) in.close(); //may throw IOException
return(map); //returning a reference to local variable is safe in java (unlike C/C++)
* Process the given file
* @returns String contains the whole file.
private static String ProcessFile(Map words, String filename) throws FileNotFoundException, IOException {
BufferedReader in = null;
StringBuffer out = null;
try {
in = new BufferedReader(new FileReader(filename));
out = new StringBuffer();
String line = null;
while( (line=in.readLine()) != null ) {
out.append(SearchAndReplaceWordsInText(words, line)+"\n");
} finally {
if(in!=null) in.close(); //may throw IOException
return out.toString();
* Replaces all occurrences in text of each key in words with it's value.
* @returns String
private static String SearchAndReplaceWordsInText(Map words, String text) {
Iterator it = words.keySet().iterator();
while( it.hasNext() ) {
String key = (String)it.next();
text = text.replaceAll("\\b"+key+"\\b", (String)words.get(key));
return text;
* @returns: s with the first letter capitalized
String capitalize(String s)
return s.substring(0,0).toUpperCase() + s.substring(1);
}... here's the head of my pirate_words_map.txt
hello ahoy
hi yo-ho-ho
pardon me avast
excuse me arrr
yes aye
my me
friend me bucko
sir matey
madam proud beauty
miss comely wench
stranger scurvy dog
officer foul blaggart
where whar
is be
are be
am be
the th'
you ye
your yer
tell be tellin'Heres your answer. Run it in on your pc.
public class Annoy
public static void main(String[] args)
System.out.println("I am a triple poster.");
System.out.println("I can not understand why I can not understand the help I have receved to date on the java forums.");
} -
Please help me with the digital signature validation problem?
Please help me with the digital signature validation problem?
Hi
Execute the program in the Debuggin mode.
In the Debugger Window
Select Breakpoint -> Break point at -> Breakpoint at source code Menu Item and enter the details of the program/include/line no..
Activate the System Debugger On from the Settings Menu.
Hope this would help you.
Murthy
Edited by: Kalyanam Seetha Rama Murthy on Jul 18, 2008 7:20 AM -
Please help me with the accounting records of iTunes. At step in placing credit card details are asked to contact iTunes Support
Brenda, the easiest way to contact the support team is thru the iTunes Customer Service website:
http://www.apple.com/support/itunes/contact/
Maybe you are looking for
-
Time dependent cost center hierarchy
Does anyone know how to turn the R/3 standard cost center hierarchy into a time dependent hierarchy? I can change the hierarchy of infoObject 0costcenter to be time dependent. The datasource 0COSTCENTER_0101_HIER does not fill the validfrom validto
-
Hp 7612: New printer I get horizontal lines on image
hp 7612: New printer I get horizontal lines on image
-
To call from different schemas
Good Morning Everyone, Is it possible to call different environments DB? We have test1 and test2 environments. There are 2 tables contact and users table in both environments. T.Contact T.User T1.User The contact is reference table and have to update
-
I' trying to add an mp3 file to my blog but I am having problems on embedding the file. It seems that it doesn't recognize the tag I'm using or the file I archived on www.archive.org. Would you please explain to me slowly all the steps - including th
-
I'am getting the error ORA-01013 when I try to execute SQL Update Statements in a Visual Basic Program using Ado command object. Help Please! Regards, Lalchand.