How to connect two computers

please help me
how to connect two computers through telephone line

Double Post. See:
http://forum.java.sun.com/thread.jspa?threadID=770305&tstart=0

Similar Messages

  • How to connect two computers in one room to a router in a 2nd room?

    I have a Linksys modem and WRT54G router in an entry panel in my laundry room.  I have newer house with cat5 cables connected from the router to computers in various rooms.  In the room that we use as an office, we want to connect a 2nd computer to the network, but there is only one ethernet jack on the wall and that jack is used for the first (existing) computer in the room.   I don't want to use a wireless connection for 2nd computer. 
    How do I connect the 2nd computer to network?  Do I connect both computers to a hub in the office and connect the hub to the ethernet jact on the wall?

    castor wrote:
    HI...
    You can definitely connect a HUB or a switch to the Wall jack and then connect the computer to the other ethernet port of the device. Make sure that the cable from the router is connected to any one of the ethernet port and not the uplink port.
    "Make sure that the cable from the router is connected to any one of the ethernet port and not the uplink port."
    So just for my clarification "You can definitely connect a HUB or a switch to the Wall jack"
    Witch port should one use? Till now I thought one should connect the wall jack to the uplink port and the 2 computers to the other ports on the switch or hub?

  • Connecting two computers using ethernet

    How do i connect two computers to transfer my iphoto library using ethernet? How do I know how long it will run?

    Why not connect the two using Firewire Target mode. Apple explains how in:
    http://support.apple.com/kb/HT1661

  • Cannot connect two computers to the same game server HELP!

    I have a Linksys WRT54G Router.  I have two computers and I want to be able to use them on the same gaming server.  Unfortunately, the game only have one port, so I can only port forward one of my computers.  How can I configure my router to have two external IP addresses to the server so it won't kick one of my computers out.  Thanks!

    Hi,
    I am in a gaming community and many members have a Linksys at home (but I don't know which kind exactly). Many of us try to connect two computers to the same server (many have a family). It seems it is a common problem that no one can connect two computers to the same game server.
    I have a BEFSR41 V3 Firmware version 1.04.8
    I use fixed IP address and no connectivity problem on Internet.
    I have win XP SP2 on both computer.
    I am using a DSL modem
    I can connect the two computers to two different game servers at same time, but not the same server. Default port for this game is the same for all servers I use. I tried with both port forwarding enabled (in that case one PCs can connect the other not) or not (in the second case, whenever the second PC connects, the first one lose his connection to the server, no mater the order I try to connect my PCs).
    Now the weird thing is that one member in my community just decided to throw away his Linksys router and he bought another brand (which I won't name to remains politically correct). Now, without changing anything in his PCs or his connection type, he can now play with two PC on the same server.
    I am seriously thinking doing the same move. Since more and more game are now using Internet (and servers that controls piracy, $$) and family want to play together, not being able to connect two PCs on the same game server makes Linksys in bad situation from marketing point of view.
    For example, in my gaming communtity, we now all know that Linksys can't handle two PC on same server, but other brand can...
    Thank you in advance for your help.

  • How to connect two external monitors to a Mac Book Pro?

    How to connect two external monitors to a Mac Book Pro?

    Not as is, but  Matrox makes a peripheral that enables connecting more than one external monitor - matrox.com.

  • Can I connect two computers to one device?

    Can I connect two computers to one device? I am trying to have them control different aspects of the experiment that I'm running.

    That depends upon the device. If it's GPIB, you could
    use the E-NET card to convert it to LAN. That would
    allow control by many computers. The only problem with
    that might be sychronization. That is, Computer 1 does
    its setup. Then Computer 2 does a reset. Compuer 1's
    setup is now gone.
    As another poster suggested, you could always network
    between the two computers.
    [email protected]

  • Hibernate query...how to connect two databases...

    hi i m new to hibernate..
    i created two tables..
    1st table is catalog:
    2nd table is acctinfo
    //HBM file is :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping>
    <class name="hibernate.example.Catalog" table="catalog">
    <id name="id" type="integer" column="ID">
    <generator class="increment"/>
    </id>
    <property name="journal" type="string" column="JOURNAL"/>
    <property name="publisher" type="string" column="PUBLISHER"/>
    <property name="edition" type="string" column="EDITION"/>
    <property name="title" type="string" column="TITLE"/>
    <property name="author" type="string" column="AUTHOR"/>
    <bag name="accinfo" cascade="all" >
    <key column="ID"/>
    <one-to-many class="hibernate.example.Acctinfo"/>
    </bag>
    </class>
    <class name="hibernate.example.Acctinfo" table="acctinfo">
    <id name="id" type="integer" column="ID">
    <generator class="increment"/>
    </id>
    <property name="account" type="string" column="ACCOUNT"/>
    <property name="password" type="string" column="PASSWORD"/>
    <property name="balance" type="string" column="BALANCE"/>
    </class>
    </hibernate-mapping>
    ///******************getter setter file is::****************
    package hibernate.example;
    public class Acctinfo
         int id;
         String account;
         String password;
         String balance;
         public Acctinfo()
         public void setId(int id)
              this.id = id;
         public int getId()
              return id;
         public void setAccount(String account)
              this.account = account;
         public void setPassword(String password)
              this.password = password;
         public void setBalance(String balance)
              this.balance = balance;
         public String getAccount()
              return account;
         public String getBalance()
              return balance;
         public String getPassword()
              return password;
    //********************2nd getter setter file is:***********************
    package hibernate.example;
    import java.util.List;
    public class Catalog
    int id;
    String journal;
    String publisher;
    String edition;
    String title;
    String author;
    private List accinfo;
    public Catalog()
    public void setId(int id)
    this.id = id;
    public int getId()
    return id;
    public void setJournal(String journal)
    this.journal = journal;
    public String getJournal()
    return journal;
    public void setPublisher(String publisher)
    this.publisher = publisher;
    public String getPublisher()
    return publisher;
    public void setEdition(String edition)
    this.edition = edition;
    public String getEdition()
    return edition;
    public void setTitle(String title)
    this.title = title;
    public String getTitle()
    return title;
    public void setAuthor(String author)
    this.author = author;
    public String getAuthor()
    return author;
    public void setAccinfo(List accinfo)
    this.accinfo = accinfo;
    public List getAccinfo()
    return accinfo;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package hibernate.example;
    import hibernate.example.Acctinfo;
    import hibernate.example.Catalog;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import org.hibernate.Query;
    import org.hibernate.SQLQuery;
    import org.hibernate.Session;
    import org.hibernate.SessionFactory;
    import org.hibernate.Transaction;
    import org.hibernate.cfg.Configuration;
    public class CatalogClient
         Session session = null;
         SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();
         public static void main(String str[])
              CatalogClient clc = new CatalogClient();
              //clc.saveData();
              //clc.deleteData();
              //clc.showData();
              clc.updateData();
         public void showData()
              try
                   session =sessionFactory.openSession();
                   String SQL_QUERY ="select id, journal, publisher, edition, title, author from catalog";
                   // String SQL_QUERY ="select c.ID, c.JOURNAL, c.PUBLISHER, c.EDITION, c.TITLE, c.AUTHOR, a.ACCOUNT, a.PASSWORD,a.BALANCE from catalog c, ACCTINFO a where c.ID = a.ID";
                   SQLQuery query = session.createSQLQuery(SQL_QUERY);
                   System.out.println("*** query : *** "+ query);
                   //for(ListIterator it=query.list().listIterator();it.hasNext();)
                   for (ListIterator lit = query.list().listIterator(); lit.hasNext();)
                        Object[] row = (Object[]) lit.next();
                        /*System.out.println("ID: " + row[0]);
                        System.out.println("Title: " + row[1]);
                        System.out.println("Author: " + row[2]);
                        System.out.println("Isbn: " + row[3]);
                        System.out.println("Pages: " + row[4]);
                        System.out.println("Copyright: " + row[5]);
                        System.out.println("Cost: " + row[6]);
                        System.out.println("******NEXT****************");
    Object[] row = (Object[]) it.next();*/
                        System.out.println("ID: " + row[0]);
                        System.out.println("JOURNAL: " + row[1]);
                        System.out.println("PUBLISHER: " + row[2]);
                        System.out.println("EDITION: " + row[3]);
                        System.out.println("TITLE: " + row[4]);
                        System.out.println("AUTHOR: " + row[5]);
                        System.out.println("acc: " + row[6]);
                        System.out.println("pass: " + row[7]);
                        System.out.println("bal: " + row[8]);
                        System.out.println("***************************");
                   session.close();
              catch(Exception e)
                   System.out.println(e.getMessage());
         public void saveData()
              session =sessionFactory.openSession();
              Transaction transaction = null;
              transaction = session.beginTransaction();
              Catalog catalog = setBean();
              //System.out.println("before save");
              session.save(catalog);
              //System.out.println("after save");
              transaction.commit();
              session.flush();
              session.close();
         public void updateData()
              session =sessionFactory.openSession();
              Catalog catalog = new Catalog();
              catalog.setId(2);
              catalog.setAuthor("manoj");
              catalog.setJournal("java");
              catalog.setEdition("1st");
              catalog.setPublisher("indiabulls");
              catalog.setTitle("java Servlet");
              session.update(catalog);
              session.flush();
              session.close();
         public void deleteData()
              session =sessionFactory.openSession();
              Catalog catalog = new Catalog();
              catalog.setId(3);
              session.delete(catalog);
              session.flush();
              session.close();
         public static Catalog setBean()
              Acctinfo accinfo = new Acctinfo();
              accinfo.setAccount("MANOJ1");
              accinfo.setPassword("orbis");
              accinfo.setBalance("1000");
              List list = new ArrayList();
              list.add(accinfo);
              Catalog catalog = new Catalog();
              catalog.setJournal("india");
              catalog.setPublisher("indiabulls");
              catalog.setEdition("ist");
              catalog.setTitle("orbis");
              catalog.setAuthor("manoj");
              catalog.setAccinfo(list);
              return catalog;
    //********************CFG FILE IS ******************
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
    <hibernate-configuration>
    <session-factory name="session">
    <property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
    <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
    <property name="hibernate.connection.url">jdbc:oracle:thin:@172.16.31.25:1521:BOMBAY</property>
    <property name="hibernate.connection.username">mumbai</property>
    <property name="hibernate.connection.password">mumbai123</property>
    <!-- Set AutoCommit to true -->
    <property name="connection.autocommit">true</property>
    <property name="dialect">org.hibernate.dialect.OracleDialect</property>
    <!-- Mapping files -->
    <mapping resource="Catalog.hbm.xml"/>
    </session-factory>
    </hibernate-configuration>
    **********************error i m facing is :************************
    0 [main] WARN net.sf.ehcache.config.Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Documents%20and%20Settings/d.poonam/Desktop/hibernate/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
    1188 [main] WARN org.hibernate.impl.SessionFactoryObjectFactory - Could not bind factory to JNDI
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.getNameParser(Unknown Source)
         at org.hibernate.util.NamingHelper.bind(NamingHelper.java:52)
         at org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90)
         at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:247)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1043)
         at hibernate.example.CatalogClient.<init>(CatalogClient.java:24)
         at hibernate.example.CatalogClient.main(CatalogClient.java:27)
    please help me out....
    thanks in advance..
    if u know how to connect two tables plz let me know..
    its urgent....

    I made this work with MySQL. Adapt to your situation as needed. - %
    package hibernate.model;
    import hibernate.util.HibernateUtils;
    import hibernate.model.Catalog;
    import hibernate.model.Account;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.hibernate.Session;
    import hibernate.util.HibernateUtils;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertNotNull;
    public class CatalogTest
       private static final Log LOGGER = LogFactory.getLog(CatalogTest.class);
       public static void main(String[] args)
          Session session = null;
          try
             session = HibernateUtils.getSessionFactory().getCurrentSession();
             session.beginTransaction();
             int rowsBefore = HibernateUtils.getRowCount(session, Catalog.class);
             assertEquals("should not have any Catalogs", rowsBefore, 0);
             Catalog catalog = new Catalog("test title");
             catalog.addAccount(new Account(100));
             catalog.addAccount(new Account(200));
             Long id = (Long) session.save(catalog);
             assertNotNull("generated id should not be null", id);
             LOGGER.info("returned id: " + id);
             session.getTransaction().commit();
             LOGGER.debug("transaction committed");
          catch (Exception e)
             LOGGER.error(e);
             session.getTransaction().rollback();
    package hibernate.model;
    import java.io.Serializable;
    import java.text.NumberFormat;
    public class Account implements Serializable
       private Long id;
       private int balance;
       public Account()
          this(null, 0);
       public Account(int balance)
          this(null, balance);
       public Account(Long id, int balance)
          this.id = id;
          this.balance = balance;
       public Long getId()
          return id;
       private void setId(Long id)
          this.id = id;
       public int getBalance()
          return balance;
       private void setBalance(int balance)
          this.balance = balance;
       public boolean equals(Object o)
          if (this == o)
             return true;
          if (!(o instanceof Account))
             return false;
          Account account = (Account) o;
          return !(id != null ? !id.equals(account.id) : account.id != null);
       public int hashCode()
          int result;
          result = (id != null ? id.hashCode() : 0);
          result = 31 * result + balance;
          return result;
       public String toString()
          return new StringBuilder().append("Account{").append("id=").append(id).append(", balance=").append(NumberFormat.getCurrencyInstance().format(balance)).append('}').toString();
    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC
          "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
          "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping package="hibernate.model" default-access="field" default-lazy="true">
       <class name="Account" table="accounts">
          <id name="id" column="account_id">
             <generator class="native"/>
          </id>
          <property name="balance" column="balance"/>
       </class>
    </hibernate-mapping>
    package hibernate.model;
    import java.io.Serializable;
    import java.util.Set;
    import java.util.HashSet;
    import java.util.Collections;
    public class Catalog implements Serializable
       private Long id;
       private String title;
       private Set<Account> accounts;
       public Catalog()
          this(null, "", Collections.EMPTY_SET);
       public Catalog(String title)
          this(null, title, Collections.EMPTY_SET);
       public Catalog(Long id, String title, Set<Account> accounts)
          this.id = id;
          this.title = title;
          this.accounts = new HashSet<Account>(accounts);
       public Long getId()
          return id;
       private void setId(Long id)
          this.id = id;
       public String getTitle()
          return title;
       private void setTitle(String title)
          this.title = title;
       public Set<Account> getAccounts()
          return accounts;
       private void setAccounts(Set<Account> accounts)
          this.accounts = accounts;
       public void addAccount(Account account)
          this.getAccounts().add(account);
       public void removeAccount(Account account)
          this.getAccounts().remove(account);
       public boolean equals(Object o)
          if (this == o)
             return true;
          if (!(o instanceof Catalog))
             return false;
          Catalog catalog = (Catalog) o;
          return !(id != null ? !id.equals(catalog.id) : catalog.id != null);
       public int hashCode()
          return (id != null ? id.hashCode() : 0);
       public String toString()
          return new StringBuilder().append("Catalog{").append("id=").append(id).append(", title='").append(title).append('\'').append(", accounts=").append(accounts).append('}').toString();
    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC
          "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
          "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping package="hibernate.model" default-access="field" default-lazy="true">
       <class name="Catalog" table="catalogs">
          <id name="id" column="catalog_id">
             <generator class="native"/>
          </id>
          <property name="title" column="title"/>
          <set name="accounts" cascade="all">
             <key column="catalog_id"/>
             <one-to-many class="hibernate.model.Account"/>
          </set>
       </class>
    </hibernate-mapping>
    <!DOCTYPE hibernate-configuration PUBLIC
         "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
         "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
    <hibernate-configuration>
         <session-factory>
          <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
          <property name="connection.url">jdbc:mysql://localhost:3306/hibernate?autoReconnect=true</property>
          <property name="connection.username">hibernate</property>
          <property name="connection.password">hibernate</property>
          <property name="connection.pool_size">1</property>
          <property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
          <property name="show_sql">true</property>
          <property name="generate_statistics">true</property>
          <property name="query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>
          <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
          <property name="cache.use_minimal_puts">false</property>
          <property name="cache.use_query_cache">false</property>
          <property name="order_updates">false</property>
          <property name="hbm2ddl.auto">create-drop</property>
          <property name="current_session_context_class">thread</property>
          <mapping resource="hibernate/persistence/hibernate/Account.hbm.xml"/>
          <mapping resource="hibernate/persistence/hibernate/Catalog.hbm.xml"/>
         </session-factory>
    </hibernate-configuration>

  • We lost access to are computers in the last two month and we want to know how to deauthorize two computers from the itunes account can you please help us?

    We lost access to are computers in the last two months and we want to know how to deauthorize two computers from the ituns account can you please help me please?

    If you don't have access to the computers to manually deauthorize them (they were sold, stolen, etc), then you have to log into your account, deauthorize all computers, and then re-authorize the machine(s) that you want to have access. This page explains how.

  • How to connect two desktop computers to share processing power

    is there a way to link two computers together to share their processing ablility?
    And if there is a way can I connect to share it wirelessly?
    Also is it possible on both Mac and PC?

    No, to all 3, especially the middle one.

  • Connecting two computers, wirelessly, using Airport?

    I have a IMac intel and a PowerBook G4 - 400 Ti. They both have Airport cards. I understand that they will "talk" to each other with out benefit of a router. I would like to know how I can set this up. I have gone through the setup procedures endlessly and, although I did manage to get the IMac to see the PB once, and I don't know how it happened, I have not been able to do it again. There was an icon on my IMac desktop that I could drag stuff to and it would transfer. I'm quite confident its a simple procedure that I, in my stupidity, cannot fathom. When I try to set up a network I get an error message saying : "There was an error joining the Airport Network". Could it be a "slave/master" relationship between the two computers? With a proper setup will the flow of info be two way or one way? Are the two computers or systems incompatible? You help will be deeply appreciated!
    John Callahan

    To my knowledge the information you heard is not
    correct.
    http://docs.info.apple.com/article.html?path=Mac/10.4/
    en/mh914.html
    Any computer that has an Airport Card, or Wireless
    Card (PC) will recognise any network that they are in
    range of by and with the use of a ROUTER, thus
    completeing the 2 way communication.
    There are several different ways to connect and
    confiqure a network, these different ways can be and
    can get confusing without the paperwork on the step
    by step set-up.
    http://compnetworking.about.com/cs/basicnetworking/f/w
    hatsnetworking.htm
    Cheers Don
    Actually none of the Airport cards require a Wireless base station (acting as a router/access point) to work. Airport supports ad-hoc wireless mode (computer-to-computer mode, in Apple lingo), which allows two or more wireless-enabled computers to be connected to each other WITHOUT the use of base station. Search for "computer-to-computer" in the support knowledge base.

  • How to sync two computers to a iPhone 4

    I have two computers. In my home computer (iTunes) I have all my music.  In my office computer I have Outlook and all contacts, notes and tasks.  How do I sync both contents to my iPhone 4?

    iOS devices are designed to be synced with one computer only.
    Is your Outlook based on Exchange?  if so, just setup an Exchange account on the phone.

  • How to sync two computers (or more) without iCloud?

    i need to sync (or copy) iCal, Notes, Remembers, Adress Book between two computers working on Mountain Lion. How can i do without using iCloud or other cloud?

    You can share files via Airdrop. Not sure if that's what you're really looking for pertaining to a way within the Mac OS.
    http://support.apple.com/kb/HT4783

  • BEFW11S4 will not connect two computers at once.

    I have a new set of cables. When I hard wire two computers to router only one or the other will connect.
    Thanks for any suggestions.

    As gv has already requested, please post the output of "ipconfig /all" on each of the two computers.
    In particular, do not -- repeat do NOT -- try to make both computers have the same IP address, because that is a situation in which both will NOT be able to connect to the internet at the same time. They need different -- repeat DIFFERENT -- IP addresses in order to do so.
    Message Edited by arayq2 on 10-18-2008 08:32 AM

  • To save my life I can't connect two computers together.

    I have a G5 and an iBook G45.
    They both connect to the Internet easily using my cable connection. There is a DLink router that allows both Macs to use the Internet at the same time.
    But these two computers can't see each other. I've turned on file sharing and done everything else under the sun I can think of. Sometimes the IBook can see the G5 but today it has decided that the G5 server is running on the Ibook and I should access files locally.
    The G5 can't see the Ibook ever.
    I can use Firewire to connect easily.

    Hi Stu,
    Can you connect from one using the ip address of the other? The Finder command cmd-k brings up a dialog for you to enter the URI of the other machine. The first part is the protocol (e.g. http, ftp, afp) the next two parts are so unused I forget what they are. The third part is the host name or address and the last part is the filesystem or file.
    So if the machine you wanted to connect to was 192.168.1.10, and it had appletalk filing protocol turned on (personal file sharing) and you wanted to mount Applications, you'd enter
    afp://192.168.1.10/Applications
    You can leave the filesystem off. If that works, then you can connect. That means you only have the problem of seeing. Each computer is supposed to announce its services using Bonjour. There's a great utility called Bonjour Browser (free on versiontracker) which will show you what's being advertised. I have noticed that it sometimes takes a very long time before file sharing is advertised.

  • Connect two computers behind one router

    Hi,
    We have two computers at home. (One with iChat 3, and one with iChat 4)
    We have Netgear WGT624 router.
    We cannot make video chats outside with our AIM/Jabber accounts.
    How should we configure our router to use iChat video in both computers?
    Thanks,
    Yoav

    You should access the Netgear with a web Browser and confirm it is using UPnP
    UPnP allows the computers/Apps to open the ports it needs when it needs them and will allow multiple computers to use the same ports at the same time if requires.
    It SHOULD NOT be doing Port Forwarding (Services) at the same time - nor Port Triggering if that one has it or DMZ as these will clash with UPnP
    4:07 PM Monday; March 24, 2008

Maybe you are looking for