When you say you've installed Oracle 11g, what exactly did you install? The whole database? The client software? A specific tool e.g. SQL Developer? or what exactly?
(p.s. you posted in SQL Developer space, is your question specific to that product?)
There is a netca wizard for configuring the oracle network
If you are the client (as opposed to the database server) in sqldev you just need to fill in host port and service name.
With sqlplus (+EZ_CONNECT enabled) - sqlplus username/password@host:port/servicename
Listener.ora does not change much between machines, except for host port and (service or sid) (host can be 0.0.0.0
- for listening on all ethernet adaptors - minor change necessary to remotely startup the database (it needs to know SID and ORACLE_HOME)).
SQLDeveloper and sqlplus - allow beq (local non listener) connections if
ORACLE_HOME LD_LIBRARY_PATH ORACLE_SID maybe more are set. (No username password = mostly needs to be privileged user)
or sqlplus sys/password as sysdba
(There may be better forums to ask on for non SQLDeveloper, configuration issues.).