Help needed to connect to remote PPTP VPN via PIX 515e

Hello,
A user in our office needs to connect to a client's remote PPTP VPN but can't connect.  The user is running Windows 7.  We have a Cisco PIX 515e firewall that is running PIX Version 6.3(3) - this is what our user is having to go through to try and make the connection to the client's remote VPN.
The client's network guys have come back and said the issue is at our side.  They say that they can see some of our traffic but not all of it. The standard error is shown below, and they say it's symptomatic of the client-side firewall not allowing PPTP traffic:
"A connection between the VPN server and the VPN client XXX.XXX.XXX.XXX has been established, but the VPN connection cannot be completed. The most common cause for this is that a firewall or router between the VPN server and the VPN client is not configured to allow Generic Routing Encapsulation (GRE) packets (protocol 47). Verify that the firewalls and routers between your VPN server and the Internet allow GRE packets. Make sure the firewalls and routers on the user's network are also configured to allow GRE packets. If the problem persists, have the user contact the Internet service provider (ISP) to determine whether the ISP might be blocking GRE packets."
I have very little firewall experience and absolutely no Cisco experience I'm afraid.  From looking at the PIX config I can see the following line:
fixup protocol pptp 1723.
Does this mean that the PPTP protcol is enabled on our firewall?  Is this for both incoming and outgoing traffic?
I can see no reference to GRE 47 in the PIX config.  Can anyone advise me what I should look for to see if this has been enabled or not?
I apologise again for my lack of knowledge.  Any help or advice would be very gratefully received.
Ros

Hi Eugene,
Thank you for taking the time to reply to me.  Please see our full PIX config below.  I've XX'd out names and IP addresses as I'm never comfortable posting those type of details in a public forum.  I hope that the information below is still sufficient for you.
Thanks again for your help,
Ros
PIX(config)# en
Not enough arguments.
Usage:  enable password [] [level ] [encrypted]
        no enable password level
        show enable
PIX(config)# show config
: Saved
: Written by enable_15 at 10:30:31.976 GMT/BDT Mon Apr 4 2011
PIX Version 6.3(3)
interface ethernet0 auto
interface ethernet1 auto
interface ethernet2 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif ethernet2 DMZ security10
enable password XXX encrypted
passwd XXX encrypted
hostname PIX
domain-name XXX.com
clock timezone GMT/BST 0
clock summer-time GMT/BDT recurring last Sun Mar 1:00 last Sun Oct 2:00
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol pptp 1723
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
name XX.XX.XX.XX Secondary
access-list outside_access_in permit tcp XX.XX.XX.XX 255.255.255.240 host XX.XX.XX.XX eq smtp
access-list outside_access_in permit tcp any host XX.XX.XX.XX. eq https
access-list outside_access_in permit tcp any host XX.XX.XX.XX. eq 993
access-list outside_access_in permit tcp any host XX.XX.XX.XX. eq 587
access-list outside_access_in permit tcp any host XX.XX.XX.XX. eq 82
access-list outside_access_in permit tcp any host XX.XX.XX.XX. eq www
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq www
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq www
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq https
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq 993
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq 587
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq 82
access-list outside_access_in permit tcp host XX.XX.XX.XX host XX.XX.XX.XX eq 82
access-list outside_access_in permit tcp host XX.XX.XX.XX host XX.XX.XX.XX eq 82
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq smtp
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq 8082
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq www
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq https
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq 993
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq 587
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq 82
access-list outside_access_in permit tcp any host XX.XX.XX.XX eq smtp
access-list outside_access_in permit tcp any host XX.XX.XX.XX. eq www
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.0.0
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list inside_outbound_nat0_acl deny udp any any eq 135
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list inside_outbound_nat0_acl permit ip any XX.XX.XX.XX 255.255.255.0
access-list outside_cryptomap_40 permit ip any XX.XX.XX.XX 255.255.255.0
access-list outside_cryptomap_60 permit ip any XX.XX.XX.XX 255.255.255.0
access-list USER1 permit ip any XX.XX.XX.XX 255.255.255.0
access-list outside_cryptomap_10 permit ip any XX.XX.XX.XX 255.255.255.0
access-list outside_cryptomap_20 permit ip any XX.XX.XX.XX 255.255.255.0
access-list outside_cryptomap_30 permit ip any XX.XX.XX.XX 255.255.255.0
access-list outside_cryptomap_50 permit ip any XX.XX.XX.XX 255.255.255.0
access-list outside_cryptomap_70 permit ip any XX.XX.XX.XX 255.255.0.0
access-list USER2 permit ip any XX.XX.XX.XX 255.255.255.0
access-list USER3 permit ip any XX.XX.XX.XX 255.255.255.0
access-list USER4 permit ip any XX.XX.XX.XX 255.255.0.0
pager lines 24
logging on
logging host inside XX.XX.XX.XX
icmp permit any outside
icmp permit any inside
mtu outside 1500
mtu inside 1500
mtu DMZ 1500
ip address outside XX.XX.XX.XX 255.255.255.248
ip address inside XX.XX.XX.XX 255.255.255.0
no ip address DMZ
ip audit info action alarm
ip audit attack action alarm
pdm location XX.XX.XX.XX 255.255.255.255 inside
pdm location XX.XX.XX.XX 255.255.0.0 outside
pdm location XX.XX.XX.XX 255.255.255.0 outside
pdm logging debugging 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) XX.XX.XX.XX XX.XX.XX.XX netmask 255.255.255.255 0 0
static (inside,outside) XX.XX.XX.XX. XX.XX.XX.XX netmask 255.255.255.255 0 0
static (inside,outside) XX.XX.XX.XX. XX.XX.XX.XX netmask 255.255.255.255 0 0
static (inside,outside) XX.XX.XX.XX XX.XX.XX.XX netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 XX.XX.XX.XX 1
route inside XX.XX.XX.XX 255.255.0.0 XX.XX.XX.XX 1
timeout xlate 3:00:00
timeout conn 2:00:00 half-closed 0:30:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
ntp authenticate
ntp server XX.XX.XX.XX source outside prefer
http server enable
http XX.XX.XX.XX 255.255.0.0 outside
http XX.XX.XX.XX 255.255.255.0 outside
http XX.XX.XX.XX 255.255.255.255 inside
snmp-server host inside XX.XX.XX.XX
no snmp-server location
no snmp-server contact
snmp-server community XXX
snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto dynamic-map cola 20 set transform-set ESP-3DES-MD5
crypto dynamic-map dod 10 set transform-set ESP-3DES-MD5
crypto map outside_map 10 ipsec-isakmp dynamic cola
crypto map outside_map 20 ipsec-isakmp
crypto map outside_map 20 match address outside_cryptomap_20
crypto map outside_map 20 set peer XX.XX.XX.XX
crypto map outside_map 20 set transform-set ESP-3DES-MD5
crypto map outside_map 25 ipsec-isakmp
crypto map outside_map 25 match address USER1
crypto map outside_map 25 set peer XX.XX.XX.XX
crypto map outside_map 25 set transform-set ESP-3DES-MD5
crypto map outside_map 30 ipsec-isakmp
crypto map outside_map 30 match address outside_cryptomap_30
crypto map outside_map 30 set peer XX.XX.XX.XX
crypto map outside_map 30 set transform-set ESP-3DES-MD5
crypto map outside_map 40 ipsec-isakmp
crypto map outside_map 40 match address outside_cryptomap_40
crypto map outside_map 40 set peer XX.XX.XX.XX
crypto map outside_map 40 set transform-set ESP-3DES-MD5
crypto map outside_map 50 ipsec-isakmp
crypto map outside_map 50 match address outside_cryptomap_50
crypto map outside_map 50 set peer XX.XX.XX.XX
crypto map outside_map 50 set transform-set ESP-3DES-MD5
crypto map outside_map 60 ipsec-isakmp
crypto map outside_map 60 match address outside_cryptomap_60
crypto map outside_map 60 set peer XX.XX.XX.XX
crypto map outside_map 60 set transform-set ESP-3DES-MD5
crypto map outside_map 70 ipsec-isakmp
crypto map outside_map 70 match address outside_cryptomap_70
crypto map outside_map 70 set peer XX.XX.XX.XX
crypto map outside_map 70 set transform-set ESP-3DES-MD5
crypto map outside_map 75 ipsec-isakmp
crypto map outside_map 75 match address USER4
crypto map outside_map 75 set peer XX.XX.XX.XX
crypto map outside_map 75 set transform-set ESP-3DES-MD5
crypto map outside_map 80 ipsec-isakmp
crypto map outside_map 80 match address USER2
crypto map outside_map 80 set peer XX.XX.XX.XX
crypto map outside_map 80 set transform-set ESP-3DES-MD5
crypto map outside_map 90 ipsec-isakmp
crypto map outside_map 90 match address USER3
crypto map outside_map 90 set peer XX.XX.XX.XX
crypto map outside_map 90 set transform-set ESP-3DES-MD5
crypto map outside_map interface outside
isakmp enable outside
isakmp key ******** address XX.XX.XX.XX netmask 255.255.255.255 no-xauth no-config-mode
isakmp key ******** address 0.0.0.0 netmask 0.0.0.0
isakmp key ******** address XX.XX.XX.XX netmask 255.255.255.255 no-xauth no-config-mode
isakmp key ******** address XX.XX.XX.XX netmask 255.255.255.255 no-xauth no-config-mode
isakmp key ******** address XX.XX.XX.XX netmask 255.255.255.255 no-xauth no-config-mode
isakmp key ******** address XX.XX.XX.XX netmask 255.255.255.255 no-xauth no-config-mode
isakmp key ******** address XX.XX.XX.XX netmask 255.255.255.255 no-xauth no-config-mode
isakmp key ******** address XX.XX.XX.XX netmask 255.255.255.255 no-xauth no-config-mode
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash md5
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
telnet XX.XX.XX.XX 255.255.0.0 outside
telnet XX.XX.XX.XX 255.255.255.255 inside
telnet XX.XX.XX.XX 255.255.255.255 inside
telnet XX.XX.XX.XX 255.255.255.255 inside
telnet timeout 30
ssh XX.XX.XX.XX 255.255.255.248 outside
ssh XX.XX.XX.XX 255.255.255.248 outside
ssh timeout 30
management-access inside
console timeout 0
terminal width 80
Cryptochecksum:XXX
PIX(config)#

Similar Messages

  • Oracle 10.2 on AIX -- need to connect to remote SQL server by dblink

    oracle 10.2 on AIX -- need to connect to remote SQL server by dblink
    i didn't see a odbc diectory in our oracle home path. how do i know odbc driver is installed in the oracle on our AIX server.
    If it is there, do i just need to modify the odbc.ini and then the inithsodbc.ora, linster.ora, tnsnammes.ora files, or am I missing something
    Appreciate your response
    Edited by: user10876711 on May 12, 2011 9:18 AM
    Edited by: user10876711 on May 12, 2011 9:18 AM

    when you want to connect from Oracle to a SQl Server you need the Oracle Gateway (HSODBC or even better Dg4ODBC) and a FOREIGN ODBC DRIVER for your foreign database - a SQL Server ODBC driver. You have to get this driver from a 3rd party vendor - Oracle does not offer any foreign ODBC drivers.
    So before being able to use DG4ODBC/HSODBC you need to install from a 3rd paryt vendor a SQL Server ODBC driver. Commercial vendrs are for example Data Direct, Openlink or Easysoft.
    On Unix ODBC drivers commonly also require a driver manager. If the ODBC driver vendor does not ship one with the ODBC driver you can get it from www.unixodbc.org

  • Help needed in Connecting to SAP From Eclipse

    Hi All,
    Currently, we have a requirement where we need to retrieve data from SAP System and need to upload the same in a Third Party Application (Java based system).
    We are able to create an account in Java Application using Eclipse IDE by hard coding the Account details. We are stuck up in establishing the SAP connection and retrieving the details and then creating the extracted account details in Java application from Eclipse.
    Any pointers on this will be of great help.
    Regards,
    Eureka

    Hi Eureka,
    Please refrain from creating cross-posts in parallel forums, moreover this question is JCo-related and is not directly connected with Java EE 5. The Help needed in Connecting to SAP From Eclipse in the Java Programming forum would be enough. Please continue the discussion there.
    Regards,
    Vladimir

  • Help needed in connecting a Mac Mini to AT&T DSL

    Any suggestions on how to troubleshoot this problem will be appreciated. I'm helping a friend connect a Mac to the Internet using AT&T DSL. The computer is a Mac Mini, 1.42 GHz PPC G4, running OS X 10.5. It is connected by Ethernet to an AT&T DSL modem. The Mini's Network preference is configured to connect using DHCP.
    Strange symptoms include:
    1. Safari will not connect to the Internet.
    2. However, Firefox WILL connect and loads all websites I tried.
    3. Apple Mail will connect and download messages from my friend's previous email address (not AT&T), but will not connect to allow me to configure his new AT&T account.
    4. Other programs that need a network connection won't run; for example, the Software Update preference, when checking for new updates, claims that there is no network connection.
    Do these symptoms indicate that the Mini's network preferences are not configured correctly, or that the DSL modem is not configured correctly?
    More information: with the modem is an "Installation Wizard Disc" CD with a setup program. It's supposed to work for any PPC G3 or greater Mac, which certainly fits this Mini. BUT, when run on the Mini, the setup program displays a message that the computer's processor is "unrecognized". Then the setup program quits. I ran the setup program on my MacBook Pro laptop connected to the DSL modem. It went through a lengthy process with messages about "configuring the modem". After this, I was able to connect to the Internet with Safari using the laptop. This seems to indicated that there's nothing basically wrong with the modem or DSL connection. However, I can't run the setup program on the Mini. (The above symptoms were after getting the laptop to work, then switching the Ethernet connection back to the Mini.)

    This is a strange problem, especially since Firefox is working OK.
    You might try using OpenDNS. They have a good set of instructions about how to do this here:
    https://www.opendns.com/start
    It's possible that AT&T's DNS servers aren't responding fast enough, and Safari is timing out quicker than Firefox.
    The other option is to call AT&T and ask for support in accessing their DSL modem.
    A third option would be to download a system maintenance utility like Yasu
    http://jimmitchell.org/projects/yasu/
    and use it to clear all the caches in the system -- in case the Mini somehow is using stale information about the net.

  • Portege R500: cannot connect the remote DVI monitor via Dynadock

    Hello,
    I just connected Dynadock (DVI) with my Portege R500. The notebook would be supported -- according to Toshiba -- but my experiment confirms that Dynadock is not able to access DVI port. This implies, that Dynadock is nothing more than USB HUB.
    My setup: Vista 32b Business (CZE edition), latest fixes, Toshiba R500.
    Software: latest dynadock software 2.3c.
    Symptom: I cannot connect to the remote DVI monitor via the dynadock, only two external panels with 800x600 are available, but Vista does not allow me to choose them.
    More info: Dynadock Software requires to run without Microsoft Defender, else it blocks service:DisplayLinkService; file:C:\Program Files\DisplayLink Core Software\DisplayLinkService.exe
    If you disable MSDef, the message "error 2738" appears when you connect the dynadock and when Vista tries to install a missing drivers for you.
    Yes, I do know the VBS issue, and the problem is not caused by VisualBasic -- VBS "Hello World" runs.
    If you still believe, that Toshiba Dynadock is compatible with Toshiba R500, then press Fn-F5 and peek at your logs and you must find something like:
    In English: igfxext.exe throws an exception 0xc000000d, offset 0x0000f9f8.
    I welcome any comments, hints etc. If you are able to pass this bug report to a responsible engineer, do so please.

    Hello again Leo
    I still believe you are wrong. Toshiba Dynadock is not designed for Toshiba products only. It is universal product and can be used on every notebook. To be honest I believe it is better to use it with new, more powerful, notebooks.
    When you sat your notebook model is listed as compatible I believe you. Why not? Toshiba can list all newer notebooks. No problem at all. To be honest I am also interested to buy Dynadock but after reading your posting I wanted to see how it works exactly.
    I have contacted my friend because he works in one big electronic store and I was lucky because he had Portege M500 too.
    He was very nice and offered me to test Portege M500 SSD model with Dynadck PA3542EY1PRP. I hope you have the same model. It is DVI model. So I have done follow:
    - Portege was preinstalled with clean Vista OS (factory settings started for the first time)
    - I have installed latest Dynadock Utilitiy for Vista 2.3c
    - Installing this software you must pay attention about installations steps and the installations procedure should not be interrupted
    at one step there is window Installation Complete but it is not complete and must be continued with
    Display Link Core Software installation
    Video Dock installation
    at this point the Dynadock must be connected to favorite USB port NOT FROM THE BEGINNING
    - At the end I have restarted notebook
    The installation was finished properly and I have connected 20 Toshiba Tekbright LCD display (DVI cable). The native resolution is 1680x1050. in Display properties there are shown three displays. Display number 3 belongs to display connected to the Dynadock.
    Resolution 1680x1050 was there and display shows perfect picture. I have tested it as extended desktop and it works without problems. I didnt test it playing some movies.
    I have also tested it with FN+F5 key combination. It does not work as it should be but there is definitely no error message. I know that FN+F5 key combination is not designed for external graphic card and I know that it can not work well.
    At the end I can sat that Dynadock works well with Portege M500 SSD and there is definitely no error message. It works with Vista very well. I have tested it with screen saver and with few restarts. Nothing changes. Everything was OK.
    So after this test I can say that you have done some mistake. If you want to use it again I recommend you to install Vista again using recovery image. After doing this you will have clean preinstalled OS. Install software but please follow the menu on the screen and be sure all three components are installed properly. If I am remembering well when you see message about USB audio device installation you must connect Dynadock and continue installation.
    PLEASE FOE DYNADOCK USE ALWAYS THE SAME USB PORT!!!
    Sorry for this long story but I can say for sure IT WORKS PROPERLY!!!
    Have a nice day!

  • Help needed to connect Canon 6D to iPad remote app

    I have the iPad EOS remote app and a Canon 6D I cannot get them to communicate, on the 6D wi-fi set up screen the manual tells you to select wi-fi function then shows a screen with different graphics on it so you can select mobile phone etc, well I cannot get this screen when I select wi-fi function I get the choice of EXIT or CONFIRM, nothing else, no selection screen, what am I doing wrong?.
    Solved!
    Go to Solution.

     Thanks, it appears that if you have a router nearby or the iPad is normally connected to a wireless network it confuses it so the best method is to go down the end of the garden or some other isolated place and it connects every time, problem solved

  • Help needed in connecting to oracle9i

    Hi
    I am using oracle9i,tomcat5.0&jdk1.4.2. when i tried to connect my application with oracle it is showing
    " Failed to get connection object from the datasource: org.apache.commons.dbcp.SQL NestedException: Cannot create PoolableConnectionFactory, cause: Io exception:
    Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))"
    i have made the needed changes in the server.xml
    <Context path="/ilms" docBase="D:/iLMS/iLMS2.0/contexts" debug="0" reloadable="true" crossContext="false">
    <Resource name="jdbc/myoracle" auth="Container"
    type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/myoracle">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <parameter>
    <name>removeAbandoned</name>
    <value>true</value>
    </parameter>
    <parameter>
    <name>maxActive</name>
    <value>100</value>
    </parameter>
    <parameter>
    <name>maxIdle</name>
    <value>30</value>
    </parameter>
    <parameter>
    <name>maxWait</name>
    <value>10000</value>
    </parameter>
    <parameter>
    <name>username</name>
    <value>scott</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>tiger</value>
    </parameter>
    <!-- Class name for mm.mysql JDBC driver -->
    <parameter>
    <name>driverClassName</name>
    <value>oracle.jdbc.driver.OracleDriver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:oracle:thin:@10.10.21.29:1521:abb</value>
    </parameter>
    </ResourceParams>
    </Context>
    I am trying to connect from the client machine using scott, tiger & abb as username, password & hoststring .using sql plus i was able to connect to the oracle server giving the above entries. The server ip is "10.10.21.29" . also i downloaded ojdbc14.jar . Is this the driver needed?. can any one help me in solving this problem?
    Thanking you in advance
    Dinny

    1008737 wrote:
    Hi,
    I have been trying to connect to Oracle database in my codes. I have tried using OdbcConnection and OleDbconnection. But both did not allowed me to connect to the database. The database, testDb, can be accessed using SQL plus as well as the SQL developer. I even tested the connection successful using ODBC data source administrator.
    the following is my code for the connection string:
    OdbcConnection connectionString = "Driver={Oracle ODBC Driver};Server=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP )(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=Te stDb)));Uid=scott;Pwd=password;";
    whenever localhost (127.0.0.1) is used, this means that no remote client can ever connect to this system
    The problem involves ODBC configuration & has nothing to do with Oracle.

  • Help needed in executing a remote batch file

    I need to execute a batch file which is located on a remote machine through my machine. I have no idea to go about with. Please can someone help me out with can be used to execute the remote bat file. I am at present using Runtime.exec() to execute it on my machine.. But i cant use it to execute teh bat file on teh remote machine.Please help

    Below is an example server that would run on the remote host. You can connect to it using telnet from DOS prompt, it takes a Y/N to run your command in the cmd variable. I haven't included code for a client as it's really not needed for the example below.
    Change the cmd and port variables to what you need. You may need to setup firewall rules to allow your chosen port.
    Once it's running, you can test it by using "telnet localhost 1234" on your machine, localhost would obviously become the remote computer's hostname or IP.
    I am incredibly new to Java (using the forums to learn bits), so excuse any bad coding practises, I'm sure people will point them out.
    Keep in mind that this is totally insecure, so if you're using it on an untrusted network, you may want to look into encryption and providing some kind of password authentication, that, for the moment is out of my league.
    Screenshot here.
    import java.io.*;
    import java.net.*;
    class RemoteServer {
         public static int    port = 1234;           // Port to listen on
         public static String cmd  = "C:\\Test.bat"; // Command to run
         public static void main(String[] args)
              System.out.println("Waiting for connection...");
              try {
                   /* If you want the server to run forever, uncomment the while
                      loop */
                   // while (true)
                        startServer();
              } catch (IOException e) {
                   e.printStackTrace();
                   System.exit(1);
         /* Starts the server */
         private static void startServer() throws IOException
              ServerSocket server = null;
              Socket       client = null;
              String input;
              try {
                   server = new ServerSocket(port);
              } catch (IOException e) {
                   System.err.println("Unable to list on port " + port);
                   System.exit(1); // Can't listen, nothing else to do
              try {
                   client = server.accept();
                   System.out.println("Client connected... awaiting Y/N");
              } catch (IOException e) {
                   System.err.println("Unable to accept connection.");
                   System.exit(1);
              PrintWriter out = new PrintWriter(client.getOutputStream(), true);
              BufferedReader in = new BufferedReader(new InputStreamReader(
                                                     client.getInputStream()));
              out.println("You are connected, ready to launch command: <y/n>");
              while ((input = in.readLine()) != null)
                   if (input.equalsIgnoreCase("y"))
                        Runtime rt = Runtime.getRuntime();
                        rt.exec(cmd);
                        out.println("Command executed... disconnecting.");
                        System.out.println("Command executed... disconnecting client.");
                        break;
                   } else if (input.equalsIgnoreCase("n")) {
                        break;
                   } else {
                        out.println("Please enter Y/N.");
              out.close();
              in.close();
              client.close();
              server.close();
    }

  • Help needed with connection problem before I chew off my foot.

    I am on 24/7 with Virgin.
    From last Friday, my connection telephone number has been constantly engaged.
    BT tell me it is not a valid number (?).
    I can access the internet just by changing the number in remote access to the one I'm using now - a pay by the minute number.
    This leads me to believe thay my settings are correct - as they have been for a considerable time.
    Virgin have responded once with a standard reply confirming the telephone number (useless) to four e-mails. There is an unconnected (no pun intended) 'server' problem with their 'online help'.
    I am on Netscape or IE, external Zoom modem and I haven't done anything which might alter my settings.
    Any help would be much appreciated - even sympathy might make me feel better!
    Please bear in mind that I am a techno-idiot with any advice offered.
    Thanks in advance.

    I get a perpetual 'engaged' tone with a mechanical woman telling me that the number is busy, please try later.
    The 'helpline' is a premium number. Cleverly, I have had premium numbers blocked on my 'phone line to defeat the fraudsters re-directing calls.
    This means that I have to use someone else's 'phone to call a premium number!
    Since last Friday, I have sent a total of six e-mails to Virgin and received one 'standard' reply which was of no help.
    I agree that it seems like an ISP problem.
    However, perhaps someone could kindly talk me through the things I ought to be checking on my computer (in words of one syllable where possible!).
    Thankyou in anticipation.

  • Help needed in connecting to oracle database in unity

    Hi,
    I have been trying to connect to Oracle database in my codes. I have tried using OdbcConnection and OleDbconnection. But both did not allowed me to connect to the database. The database, testDb, can be accessed using SQL plus as well as the SQL developer. I even tested the connection successful using ODBC data source administrator.
    the following is my code for the connection string:
    OdbcConnection connectionString = "Driver={Oracle ODBC Driver};Server=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP )(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=Te stDb)));Uid=scott;Pwd=password;";
    the error i got is [ODBC Driver Manager] Data Source name not found and no default driver specified.
    for the driver parameter, i have tried using "Microsoft ODBC for Oracle". It gives me another error stating that the oracle and network components are not installed.
    I even tried "Oracle in OraDb11g_home1" which was specified in the ODBC Data Source Administrator. The same error came out.
    Below are some of my specifications:
    Platform: Windows 7 64bit
    Oracle: Oracle Database 11g Release 2 (64bit)
    Unity: 4.1.2
    Can someone please help me with this? What is it that i have done wrong?
    Thanks.

    1008737 wrote:
    Hi,
    I have been trying to connect to Oracle database in my codes. I have tried using OdbcConnection and OleDbconnection. But both did not allowed me to connect to the database. The database, testDb, can be accessed using SQL plus as well as the SQL developer. I even tested the connection successful using ODBC data source administrator.
    the following is my code for the connection string:
    OdbcConnection connectionString = "Driver={Oracle ODBC Driver};Server=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP )(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=Te stDb)));Uid=scott;Pwd=password;";
    whenever localhost (127.0.0.1) is used, this means that no remote client can ever connect to this system
    The problem involves ODBC configuration & has nothing to do with Oracle.

  • Help needed to connect Archos G90 to BT HHv2

    Aa a newbie here I hope this is the right place to post.  I've recently got an Archos G90 tablet.  It tells me it's connected to my home hub but fails to connect with the internet.  Same with BTFON.  In fact I'm still stuck with limited/access problem when I try to connect to FON on my laptop.  After trying to connect with the Archos I have turn the device off and then restart the hub to restore its settings .  I've also reset the hub but there was no change. As far as I can tell my hub settings are okay and it has the latest firmware.  
    So mainly I need to get the tablet connected reliably and without upsetting the hub settings.  
    Secondly if there is a link to a cure for the limited/local access problem with my home BTFON I'd be delighted to know.
    Internet access via the hub is generally reliable on both my laptop and PC, both connected wirelessly.  I have BT Infinity and Vista OS.

    Hi Johnjazz,
    Thanks for posting. I've had a look around and found this which might help. Let me know if it does.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Expert help needed to connect iPhone / iPad using BlueTooth and Wi-Fi

    We need expert help to connect iPhone / iPad using BlueTooth and Wi-Fi. If you have worked with Apple MFi Program [http://developer.apple.com/programs/mfi], or have expertise/experience in this, please contact me. Thanks! Kevin.

    Hi there.
    I connected to my livebox after about three attempts. You have to pair the livebox by pressing either the number one or two that is on the box. When it is in pair mode it stays that way for ten minutes so it gives you chance to try your wep code that is on the bottom of the box a few times. I can't remember which one was successful but i did try the letters in uppercase and lower and one of them seemed to connect.
    Welcome to discussions by the way.
    Hope this helps JB

  • Help needed in connecting two midi keyboards to Logic Pro.

    Hey there, I would like to connect two midi keyboards to Logic Pro and enable each keyboard to trigger separate software instruments each. For example, one keyboard has guitar and the other has strings.
    I realise this must have something to do with midi channels or ports, however my knowledge is limited.
    At current, I just have the two keyboards connected via usb straight to the computer. Is it possible I need a multi input or output interface, so that Logic can recognise different ports, or channels? Perhaps there is simply something I need to do in Logic itself? the keyboards are basic M-Audio midi controllers, just a usb port - thats it, no other connections. Any help would be great, Brad.

    Hey Brad,
    yes you need also to change the out midi of the keyboards.
    in my case I have the Keysation 61 es, it's done this way:
    "Channel
    MIDI data from the keyboard can be sent on any of 16 MIDI Channels. However, certain MIDI devices and MIDI software applications require
    the keyboard to send data on a specified channel. If this is the case, you can change the channel the data is sent using the following
    method:
    < Press the Advanced Functions button to engage Edit Mode.
    < Press one of the 16 Channel keys from D1 to E3, according to the Channel that you need.
    For example, if a device specifies that you need to send data on Channel 10, press the Advanced Functions button, and then key F2 to select
    Channel 10.
    The Channel can also be assigned to the Octave “+” and “-” buttons. Once assigned, pressing “+” or “-” will increase or decrease the channel
    incrementally. When Channel 16 is reached and “+” is pressed, Channel 1 will be selected. If the Octave “+” and “-” keys are selected to vary
    the Channel, the lights above the buttons will not change, since it is not possible to have a Channel with a negative value. Pressing both the
    “+” and “-” buttons together will recall Channel 1."
    Can you please tell me what keyboards do you have?
    this is for two players having a go on completely 2 different parts.
    In case you want to record 2 tracks with the same content say a piano and a pad,
    all you need to do is open the tracks and rec enable both and you have piano pad.
    Anyway I believe you need to have two separate sounds for two players?
    Give us some more input of what you want, there must have one or more solutions to what you need.
    Cheers mate,
    Jorge

  • Help w/ Problem Connecting to Remote Speakers

    I have remote speakers connected through my Airport Express. After I downloaded the latest version of I tunes, I am no longer able to use my remote speakers, Get this error message.
    An error occurred while connecting to the remote speaker "XXX". An unknown error occured (-3256).
    I have both a Dell Laptop w/ Windows and an I-Book, I downloaded the latest version of I tunes on both of them the same day, and get the same error message above on both when trying to use my speakers, I am able to use the built in speakers on my computer however. Never had a problem using the remote speakers before. Possibly a bug w/ the latest version?
    Any suggestions?

    I was able to resolve this issue using the following two Apple Support articles:
    Error -3256 or -15000 when streaming to AirPort Express base stations using iTunes
    http://support.apple.com/kb/TS2278
    All about Time Capsule, AirPort Extreme, and AirPort Express base station firmware updates
    http://support.apple.com/kb/HT1218
    There may be an omission in the first article. In my case, after step 4 of the instructions for Mac OS X 10.4.11 (click the Configure button) I needed to click the Advanced button and select TCP/IP in the new window.

  • Help needed with CONNECT BY PRIOR

    I need to display salesrep-manager hierarchy. I'm using the following SQL and am sure I'm doing something wrong somewhere, but just can't pinpoint. Any help is greatly appreciated.
    <pre>
    SELECT sf.source_name salesrep
    ,mgr.full_name manager
    ,level
    FROM as_salesforce_v sf
    ,per_all_assignments_f pass
    ,per_all_people_f mgr
    WHERE sf.role_name = 'Sales Representative'
    AND SYSDATE BETWEEN nvl(sf.start_date_active, SYSDATE) AND
    nvl(sf.end_date_active, SYSDATE)
    AND SYSDATE BETWEEN nvl(pass.effective_start_date, SYSDATE) AND
    nvl(pass.effective_end_date, SYSDATE)
    AND SYSDATE BETWEEN nvl(mgr.effective_start_date, SYSDATE) AND
    nvl(mgr.effective_end_date, SYSDATE)
    CONNECT BY PRIOR mgr.person_id = pass.supervisor_id
    START WITH pass.person_id = sf.employee_person_id;
    </pre>
    TIA
    Alka.
    Forgot to mention, the SQL takes forever to run.
    Message was edited by:
    user498444

    as_salesforce_v view stores the salesrep name (as specified by the condition sf.role_name = 'Sales Representative'). This view also has rows for managers of salesreps as that's how Oracle Sales app allows the users to access the app. This table stores employee id in column employee_person_id.
    per_all_assignments_f table stores the assignments for all the employees (including salesreps and that's why condition START WITH pass.person_id = sf.employee_person_id). It also stores the employee id for the manager (column supervisor_id).
    per_all_people_f has all the employee records (including manager records) and the column person_id is the employee id (condition pass.supervisor_id = mgr.person_id).
    Hope this explanation is helpful.

Maybe you are looking for

  • When trying to update apps the phone tries to sign in under my wife's email address, how do I change it???

    After updating when I try to update apps, my wifes email show's up instead of mine.  How do I change it back to mine???

  • Error while Using RequestResponseBean Module

    hi All, I am trying to use RequestResponseBean Module in one of the scenario as given in these links: http://wiki.sdn.sap.com/wiki/display/XI/UsingRequestResponseBeanModuleinFILE+Adapter http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without%2

  • How do I retrieve my song from icloud my HPcomputer won't take program

    I have an old computer that I use and a second generation Ipod and the icloud won't work on my computer because it says I need Vista. How can I get my purchase and download it on my ipod?

  • WD Mybook

    I have a 3TB external WD MyBook hard drive with data on it from my previous PC. I am new to MAC and am unfamiliar with the inner workings. I plugged it up to my Macbook Pro retina so that I can use it as a backup due to only having 128 of flash stora

  • Cannot get resource

    1. Getting resource public static ImageIcon createImageIcon(String path) { java.net.URL imgURL = GUImain.class.getResource(path); if (imgURL != null) return new ImageIcon(imgURL) else return null; Call from application's constructor: public GUImain(J