My device is not running correctly as my simulator

Hi,
I just downloaded and installed new Xcode 3.2 in my Mac.
Everything is correct with my simulator except my device which is not running correctly.
From Organizer, my iPhone Software version is 3.1(7C144), when I run Simulator 3.1 is correct, but not with device 3.1, could someone help me ?
Thanks.
parislee

parislee wrote:
Hi,
I just downloaded and installed new Xcode 3.2 in my Mac.
Everything is correct with my simulator except my device which is not running correctly.
From Organizer, my iPhone Software version is 3.1(7C144), when I run Simulator 3.1 is correct, but not with device 3.1, could someone help me ?
The advisory info below* is different than the previously mentioned string:
ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0 (7A341) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1
I'm not sure which issue you are addressing or which fix you are using or which you need now, sorry but the recent notice below may be of some use. Please study to decide where you're at now before proceeding, thanks.
-=-=-=-
http://adcdownload.apple.com/iphone/iphonesdk_3.1__final/iphone_os_3.1.1advisory.pdf
*iPhone OS 3.1.1 Advisory iPhone SDK 3.1 and iPhone OS 3.1.1 for iPod touch (3rd generation)
If you installed iPhone SDK 3.1 prior to September 21st, 2009, please perform the following to continue development with your iPod touch (3rd generation).
The following does not need to be performed if you are developing with any iPhone, iPhone 3G, iPhone 3GS, iPod touch 1st or 2nd generation.
1. Log into your Mac with an Admin account and launch the Terminal application (/Applications/Utilities)
2. Copy and paste the following line into Terminal ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.1 (7C145) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.1 (7C146)

Similar Messages

  • REPORT DOES NOT RUN CORRECTLY , URGENT PLEASE HELP

    Hi,
    I am trying to run a report from visul basic screen, but it does not run correctly. Here is how I am running the report. There is a screen developed in VB This screen prompts the user for user id and password. Once it gets that, it connects to the oracle database and pulls out a column from a table. And passes that value as a parameter to the report. Now I am calling the the report for each individual value . There are 21 value being pulled out of the database and it invokes the report 21 times. So there are 21 report engines gets started. Is there a better way to do that ? Secondly when I pass the parameter , some parameters does not pass correctly I guess , because its not generating any out put . Like out of 21 may be 10 or 11 reports gets generated correctly but rest of the reports are blank. I debug the screen i saw that the parameter value is correct, everything seems good. But still the reports are comming blank. Any Idea why it is so ? The command line that i am using in VB screen is
    Shell "C:\progra~1\ora95_2\bin\rwrun60.exe P:\Business_Analysis_&_Reporting_Tool\Test_REPORT_Templates\STORE_TYPES\Baby_Distribution_Report.Rdf USERID=" & UID & "/" & PWD & "@cposp201 DESFORMAT=PDF DESTYPE=FILE DESNAME=" & txtPath.Text & Replace(strName, " ", "_") & ".PDF BRND='" & adoRecBrand!Brand & "' PRINTJOB=NO PARAMFORM=NO"
    In the above command " adoRecBrand!Brand " is the parameter thats being passed. This is actually a recordset and brand is the column in it. When I debug the screen , I see the value also there. But the report comes out blank. Please help. This is urgent.
    Thanks
    Feroz

    The way you call reports is not scalable. If you have 100 records come back from database, you would end up launch 100 engines at the same times, which probably will blow up your machine. You should use oracle reports server to do that. You can either use rwcli60 to submit the job to reports server, or invoke rwcgi60 from URL.
    I am afraid some of reports engine failed to start and you get nothing back in your case.
    After switch to use reports server achitecture, if you still see some report is blank in your application, then you can run that report with that special set of parameters manually and see if any problem with the report itself.
    Hope this helps.
    Thanks,
    -Shaun

  • Emu 1616m pcmcia cardbus driver installation errors: this device is not config correctly (code1)

    Hi, can anyone help, I use a 1616m pcmcia card bus in my dell inspiron laptop, its been working fine no errors for the last year, then suddenly today, I go to use it and no sound, and my DSP reds out, and it states my hardware or drivers my need re-installing. So I have un-installed all software, drivers etc, Then when I insert the pcmcia card bus in, it reconizes it, found new hardware, I tell it to use the driver disc. This is ok, its installing the software, then I get the blue screen of death, crash!. Iv tried it countless times, clearing the registy etc, but if I dont get the blue screen I get an error that my hardware may not work properly blah blah and this error: e-mu e-dsp audio processor (wdm) this device is not configured correctly (code 1).
    Do I have to factory reset my laptop and reload everything, days of fun.
    Has my well looked after pcmcia card bus broken, just after the year is up!! the irony
    Are there better pcmcia controller drivers than: ricoh r5c475(ii) and would they help this issue
    does anyone have any ideas please!!

    Upon latest reboot, I also received this error message:  "The application failed to initialize properly (0xc0000005).  Click OK to terminate the application."
    Then I got the iTunesHelper not installed correctly error again.
    Then the "Windows can't check for updates" error message.
    Then "Apple Push has stopped working."  Then a quick DEP error message that disappeared but said something about Apple Push being closed.
    I'm also getting denials of service logged by McAffee.  Not sure if I'm getting a virus/attack or not.
    Not sure if it's a problem with my old desktop machine, my Windows Vista updates, or iTunes, but I'm very frustrated and out of ideas to try.
    Thank you for your help!
    Tristan

  • Since installing Yosemite my Quarkxpress 10 is not running correctly. Too slow or crashes. How do I uninstall Os X Yosemite without losing all of my designs?

    Since installing Yosemite my Quarkxpress 10 is not running correctly. Too slow or crashes. How do I uninstall Os X Yosemite without losing all of my designs?

    Thank you Thomas
    First, for changing my question to the right forum. I am new on this and wasn't aware I was in the wrong forum.
    Secondly, even though my initial question is not answered as in: I just want to remove Classic, what you say is right. I think now, after writing my long question and seeing your answers, that I should start from scratch.
    To answer your question, I bought the new drive to be able to store and back up into DVDs and CDs all the photographs and movies that are still in the computer. I also need to make CDs of my portfolio since I am trying to find a new job and buying a new Mac at this point is out of the question. To upgrade the computer: I just do not have use for OS 9 anymore; I cannot upgrade to the latest Java, Safari or have issues with Flash or other programs; the programs that I have and need will still run perfectly fine or better in Leopard. And even if I could buy another computer I would still like to hang onto this computer for a while.

  • Web pages will not run correctly, says need Java- L505d-S6957

    I have a new L505D-S6957 running the Windows 7 upgrade 32-bit.  I have tried using Firefox and IE8.  Both browsers seem to not run Java or not run correctly if so.  Though when I check my Java it is latest and installed.  Buttons on web pages and photos do not load or run.  I have tried re-loading the Java, the browsers, and about anything else I can think of. Some web pages load jumbled as if without any margin. 
    Can anyone help me determine what is going on here?  Some of my favorite web pages do not work and one will not even log me on.  I could not log on to this website to get this help.  It keeps returning back to the login screen after I try to login.  However, I was able to login here on the first try on another computer.  Thanks for any help on this matter.
    Ty

    Satellite L505D-S6957
    Use these.
       How do I uninstall Java on my Windows computer ?
       How do I manually download and install Java for my Windows computer?
       Java Help Center
    -Jerry

  • In my pc  my  AIR app  run correctly but when i try to open it in other pcs not run correctly

    hi friends
    any one can help me please...
    i had created air app very nice about my school ,so after i build the application and test it in my pc its run correctly without problems, but when i to try open after installed  it
    in other pcs the program not run correctly exactly show me empty window with progress dots like this :
    with my respects

    What are you expecting to display? Is it data? Images?
    It's possible that you've written your code such that it references a path on YOUR specific machine. Always try to avoid references to C:/ or /<yourUserName>/someFolder as you're not guaranteed that they'll exist on other machines.

  • "This device is not configured correctly: Code 1"?

    I have a brand-new iPhone 5c and every time I try to repair the connection between my phone and my computer, I get the message "This device is not configured correctly (Code 1)."
    What on earth does this mean, and how can I fix it?
    Thanks.

    Then we simply will not tell you anything.
    Good luck.
    FYI, making such statements is a good way to be either ignored or get snarky responsed.  We are users like yourself.  Leave the attitude out.

  • Java does not run correctly

    My school has a server which I think is UNIX and it runs something called IRIX. We compile our programs on there but it takes so long I usually compile on the PC with J2SE. The only problem is when I run the programs, they don't execute correctly while when I run it on the school server it does run correctly. Do you know what might be causing this problem? It compiles correctly on both sides.
    If I need to ask the user for two things, I'll prompt for the first, then the second. But when I run it on the windows PC, it'll skip the first prompt and jump to the second.

    Yes, the program executes correctly on Unix but not on PC. This is a homework assignment so I can't post it until I turn it in (tomorrow). It's very basic - since I'm taking an intro-Java course - and I'm doing this all by hand-typed text and the program runs with just text-displays and no graphical boxes.

  • List of games that are not running correctly or does not run in ICS update

    I hope to start a list for apps (esp games) that does not run after the ICS update.
    Kindly list the game name along with the error. Hopefully its not off topic.

    Since many of us having issues with gaming [both HD and Non-HD] after updating to ICS, so i decided to share a little bit of info regarding gaming performance in ICS.
    For the gaming troubles we are not yet sure whom to blame? SONY, ICS or the Game developer.
    1. Few game developers said that their 3D engine is not yet compatible with ICS.
    2. No response from Google yet.
    3. Sony was suppose to update their Graphics driver [Adreno] in ICS, so we were expecting better gaming experience, but in reality it declined. [Hoping to solve in 4.0.4, if SONY releases]
    Remember Gaming performance and experience can be different depending on device, application version etc. Results stated below may not be same for all.
    Few Gaming updates from different users:
    # Angry Birds Space : For some it worked/some not working [Worked for me]
    # Temple Run : Touch Control issues [ Game Developers said that their 3D engine is not yet compatible with ICS]
    # Fruit Ninja: Some reported it lags. The speed of movement is slow.
    # Asphalt 6HD : Works but some weird lines appears in the screen.
    # NOVA 2 HD : Runs for 2-3 mins then force closes.
    # Backstab HD : Runs for 2-3 mins then force closes.
    # Dead Space : Working well till now.
    # MW3: Working.
    # Fifa 12 : Not working for me.
    # Shadow Gun: Not Working.
    Now it was advised that you must use the latest version of the games available in Google play store. The version worked in Gingerbread may not work in ICS. So it is recommended that you download the latest version of the games you want to play in ICS.
    **Before Downloading you can also contact the developers if the games has any compatibility issues with ICS or not.
    Message was edited by: Auni

  • Sharepoint Apps not running Correctly

    Hi all,
     Im having some difficult with sharepoint apps, on Sharepoint 2013, running under Server 2012/IIS8
    I have gone ahead and created the necessary DNS zone, and also the appropriate Service and App application pools, as per the MSDN document.
    The apps are downloading correctly, and I can add them to my site. Upon opening them (all), I am prompted for credentials as normal, but when the app opens up, it isn't functioning properly.
    In particular, only part of the page displays. The sharepoint icon on the top left displays the broken link icon, and while I can click on some of the app functions, there are no text boxes, and I cannot save or run anything from the app menu. Suspecting
    the issue was with IIS, I checked the http logs, and i am seeing several HTTP error codes, in particular several 500 0 0 15 when requesting a page called allsitecontent.aspx from within the app. 
    I have checked out the application pool sharepoint is running in under IIS, and everything seems to be set to default. 
    Does anybody have any ideas or insight as to what might be causing this?
    Thanks for your help,
    Brian

    I am also having an issue with apps displaying correctly I have configured sharepoint foundation with a separated AD contorler running on a different server. I can get the app to appear but the page does not render correctly. (Master page not showing with
    app). Any ideas any one???

  • EDGE file will not run correctly in DPS! Any ideas on what I might do?

    I have built an EDGE file to the size of a full page iPad layout (1024 X 768), with a few elements that animate. I have set it up correctly, and, published to "Animate Deployment Package. However, when it plays in DPS, there is a hesitation (or delay), then, a white - stop in the action - then the animation plays fine. I have not coded in delays or stops.
    I am not a coder.
    I have done a number of tests with a variety of "Poster" images, but, I still get the play "Hesitation" (of delay).
    Can you let me know what I'm not doing correctly?
    Thank you!

    I think I know what your talking about.
    Try these steps.  First in Indesign set your animation to auto play and set a delay for 0.125.  I have been talking with Adobe and they are going to set a guideline to always have a 0.125 delay for animations created with Edge.  Second, make sure you check "Transparent Background" and "Scale Content to Fit".  The good thing here is that it's full screen and set at the 1024.
    Make sure you also set a poster image in Edge so you don't get the blank image before it starts playing on the iPad.  One other thing.  Becasue the animations are basically controlled by Safari on the iPad you may see a delay longer than the 1/8 of second you set.  I attribute this to the iPad having to load it up on demand before it plays.
    Hope this helps.
    Ryan.

  • Ran firefox update and now firefox does not run correctly.

    I ran the latest firefox update 9Firefox Setup Stub 33.0). Now when I start firefox the browser opens and inside of it is black. I cannot see anything to use the browser. I have uninstalled and reinstalled with no luck. I have also restarted my computer. I have taken a screen shot of what it looks like.

    Currently in version 33, Firefox has implemented a new, faster way of loading webpages. This new feature is called OMTC. However, there are still some tweaks Mozilla developers are making to this.
    There is a known issue that Mozilla works on very hard to fix: if you are experiencing black webpages on some sites, here's what you can do to avoid the problem in the meantime:
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    To disable Hardware Acceleration
    * Click the menu button [[Image:New Fx Menu]] and select ''Options''.
    * In the Firefox Options (or Preferences) window, click the ''Advanced'' tab, then select ''General''.
    * In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    Now, exit Firefox, wait a few seconds, and then start it normally.
    Please let us know if this solves the problem. Engineering is also gathering more information about the issue would request that you fill out [http://www.surveygizmo.com/s3/1851506/1c87a6cf309a this survey]
    I should also mention that other users with this problem had an embedded intel hd graphics card with an old driver present. Until Mozilla comes up with a fix, if you want Hardware Acceleration in Firefox, you can try to update your driver through the appropriate link below to see if that helps:
    Intel HD 2000/3000:
    32bit https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=23763
    64bit https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=23764
    Intel HD 4000:
    32bit https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=24328
    64bit https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=24329
    Thank you!

  • PDFs created by Adobe PDF print device do not display correctly in Illustrator

    I generated a PDF from a PowerPoint file by printing to the Adobe PDF printer device. This step works correctly as the PDF appears normal in Acrobat. However, upon opening the PDF in Illustrator, none of the graphic (bitmap) elements are rendered correctly -- they appear as gray boxes with remnants of the correct image remaining as a single pixel border around the edge. This is clearly an error in the PDF importing in Illustrator. Any work-arounds or suggestions?
    Message was edited by: mcgrawcm
    Update: OK, so it has something to do with whether an image in PPT was "cropped" before conversion to PDF, as an uncropped version of the same graphic is rendered accurately in Illustrator after conversion to and from PDF. For my part, I'm just going to recopy the images directly into Illustrator, but perhaps this might help someone else dealing with the same problem.

    I understand this is no help, but Illustrator is not a pdf editor. This is why you can get unexpected results when importing a pdf in Illustrator.
    If you really need to edit a pdf you could use Acrobat or Neo, and there are some more out there, just look around on the net:
    http://www.google.be/search?client=safari&rls=en&q=pdf+editor&ie=UTF-8&oe=UTF-8&redir_esc= &ei=y6S3Tt-kOtSHhQe28fyiBA
    Greetings

  • Launch agent not running correctly in Yosemite

    I have a launch Agent that up until upgrading to Yosemite worked fine. Now it will not correctly run the script that it attempts to run.
    It would be great to get these folder actions up and running again.
    This is what I found so far:-
    The script works fine when run manually.
    Checking Terminal I can see that the launchAgent is loaded, but then looking into the Console I see this message
    7/02/2015 11:00:16.716 com.apple.xpc.launchd[1]: (user.watchfolder.1_imageHotFolderEAN[626]) Service exited with abnormal code: 1
    Here is the LaunchAgent plist that I use
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>user.watchfolder.1_imageHotFolderEAN</string>
    <key>EnableGlobbing</key>
      <true/>
      <key>ProgramArguments</key>
      <array>
      <string>osascript</string>
      <string>~/WorkFlow/Folder Actions/1_EAN2SKU.scpt</string>
      </array>
      <key>WatchPaths</key>
      <array>
      <string>~/Desktop/HotFolder</string>
      </array>
    </dict>
    </plist>
    And the script it activates
    property csvAlias : alias (((path to home folder) as text) & "DropBox:Skulists:john_sku_list.csv") --path to your csv-File as alias
    property csvDelimiter : "," --delimiter used by your csv-File
    delay 5
    tell application "Finder"
      set this_folder to folder "HotFolder" as alias
      set itemList to every file in this_folder
    end tell
    try
      set TID to AppleScript's text item delimiters
      repeat with i from 1 to count of itemList
      set newFile to item i of itemList
      tell application "System Events" to set {fSuffix, fName} to {(name extension of disk item (newFile as text)), (displayed name of disk item (newFile as text))}
      if fSuffix is not "" then set fSuffix to "." & fSuffix
      set fName to my stripSuffix(fSuffix, fName)
      set NNChecker to (text 1 thru 4 of fName)
      if NNChecker is in {"NN__", "ZZ__", "SE__", "VM__"} then
      set tmpName to (text 5 thru 17 of fName)
      else
      set tmpName to (text 1 thru 13 of fName)
      end if
      set csvText to read csvAlias
      if csvText contains tmpName then
      set AppleScript's text item delimiters to tmpName & csvDelimiter
      if NNChecker is in {"NN__", "ZZ__", "SE__", "VM__"} then
      set newListName to (text 1 thru -1 of (paragraph 1 of (text item 2 of csvText)))
      if (count of fName) is greater than 17 then
      set newName to NNChecker & newListName & (text 18 thru -1 of fName) & fSuffix
      log newName
      else
      set newName to NNChecker & newListName & fSuffix
      end if
      my renameFile(this_folder, fName & fSuffix, newName)
      else
      set newListName to (text 1 thru -1 of (paragraph 1 of (text item 2 of csvText)))
      if (count of fName) is greater than 13 then
      set newName to newListName & (text 14 thru -1 of fName) & fSuffix
      else
      set newName to newListName & fSuffix
      end if
      my renameFile(this_folder, fName & fSuffix, newName)
      end if
      end if
      end repeat
      set AppleScript's text item delimiters to TID
    on error
      --display dialog "Could not rename: " & fName giving up after 3
    end try
    on stripSuffix(fSuffix, fName)
      if fName contains fSuffix then
      set AppleScript's text item delimiters to fSuffix
      return (text item 1 of fName)
      end if
    end stripSuffix
    on renameFile(this_folder, origName, newName)
      set sourcePath to quoted form of POSIX path of ((this_folder as text) & origName)
      set targetPath to quoted form of POSIX path of ((this_folder as text) & newName)
      do shell script "mv -f " & sourcePath & space & targetPath
    end renameFile

    I believe EnableGlobbing in the plist file is no longer supported in 10.10 (at least it wasn't  when 10.10 was first released, not sure if it was put back)
    Try making the two paths in the plist file absolute, that is remove the ~ (tide) and add the complete path and see if that clears the problem.
    ie.
    change
      <string>~/Desktop/HotFolder</string>
    and
         <string>~/WorkFlow/Folder Actions/1_EAN2SKU.scpt</string>
    to
      <string>/Users/yourname/Desktop/HotFolder</string>
    and
         <string>/Users/yourname/WorkFlow/Folder Actions/1_EAN2SKU.scpt</string>
    regards

  • OpenVPN - up/down scripts not run correctly

    Hi,
    I have a OpenVPN client on my computer which connects to a remote server at startup (launched by systemd). The connection i primarily used to set up a network drive. To make this process as smooth as possible I'm trying to mount with an up script and unmount with an down script. This is my config:
    client
    dev tun
    proto udp
    remote site.xxx 1194
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    ca site.crt
    cert site.crt
    key site.key
    comp-lzo
    verb 3
    reneg-sec 0
    script-security 3
    route-up /etc/openvpn/up.sh
    route-pre-down /etc/openvpn/down.sh
    (last two lines)
    In theory, up.sh should execute when the connection is initialized and the routes are in place. And down.sh should run when the connection is still active just before the routes are removed. This seems to be the case in the log:
    Sat Mar 22 08:37:50 2014 OpenVPN 2.3.2 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Nov 13 2013
    Sat Mar 22 08:37:50 2014 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
    Sat Mar 22 08:37:50 2014 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Sat Mar 22 08:37:50 2014 WARNING: file 'site.key' is group or others accessible
    Sat Mar 22 08:37:50 2014 Socket Buffers: R=[212992->131072] S=[212992->131072]
    Sat Mar 22 08:37:50 2014 UDPv4 link local: [undef]
    Sat Mar 22 08:37:50 2014 UDPv4 link remote: [AF_INET]xxx:1194
    Sat Mar 22 08:37:50 2014 TLS: Initial packet from [AF_INET]xxx:1194, sid=cc55bb26 51a6f522
    Sat Mar 22 08:37:50 2014 VERIFY OK: depth=1, C=SE, ST=Stockholm, L=Stockholm, O=xxx, CN=xxx CA, emailAddress=xxx
    Sat Mar 22 08:37:50 2014 VERIFY OK: depth=0, C=SE, ST=Stockholm, L=Stockholm, O=xxx, CN=xxx, emailAddress=xxx
    Sat Mar 22 08:37:50 2014 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
    Sat Mar 22 08:37:50 2014 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
    Sat Mar 22 08:37:50 2014 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
    Sat Mar 22 08:37:50 2014 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
    Sat Mar 22 08:37:50 2014 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
    Sat Mar 22 08:37:50 2014 [xxx] Peer Connection Initiated with [AF_INET]xxx:1194
    Sat Mar 22 08:37:52 2014 SENT CONTROL [xxx]: 'PUSH_REQUEST' (status=1)
    Sat Mar 22 08:37:52 2014 PUSH: Received control message: 'PUSH_REPLY,route xxx 255.255.255.0,route xxx 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig xxx xxx'
    Sat Mar 22 08:37:52 2014 OPTIONS IMPORT: timers and/or timeouts modified
    Sat Mar 22 08:37:52 2014 OPTIONS IMPORT: --ifconfig/up options modified
    Sat Mar 22 08:37:52 2014 OPTIONS IMPORT: route options modified
    Sat Mar 22 08:37:52 2014 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=eth0 HWADDR=ec:a8:6b:ff:de:31
    Sat Mar 22 08:37:52 2014 TUN/TAP device tun0 opened
    Sat Mar 22 08:37:52 2014 TUN/TAP TX queue length set to 100
    Sat Mar 22 08:37:52 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
    Sat Mar 22 08:37:52 2014 /usr/bin/ip link set dev tun0 up mtu 1500
    Sat Mar 22 08:37:52 2014 /usr/bin/ip addr add dev tun0 local xxxpeer xxx
    Sat Mar 22 08:37:52 2014 /usr/bin/ip route add xxx via xxx
    Sat Mar 22 08:37:52 2014 /usr/bin/ip route add xxx via xxx
    Mounting network drives...
    mount error(115): Operation now in progress
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    mount error(115): Operation now in progress
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    Sat Mar 22 08:38:12 2014 Initialization Sequence Completed
    ^CSat Mar 22 08:38:18 2014 event_wait : Interrupted system call (code=4)
    Sat Mar 22 08:38:18 2014 /etc/openvpn/down.sh tun0 1500 1542 xxx xxx init
    Unmounting network drives...
    Sat Mar 22 08:40:22 2014 /usr/bin/ip route del xxx
    Sat Mar 22 08:40:22 2014 /usr/bin/ip route del xxx
    Sat Mar 22 08:40:22 2014 Closing TUN/TAP interface
    Sat Mar 22 08:40:22 2014 /usr/bin/ip addr del dev tun0 local xxx peer xxx
    Sat Mar 22 08:40:22 2014 SIGINT[hard,] received, process exiting
    But here's the problem. The up script will not mount because it doesn't seem to be able to reach the network. The routes ARE there (checked via netstat -rn in the up script) but it will not work. It works perfectly if I run the script maually diretly after OpenVPN is done. And the down script (which unmounts the drives) just hangs because the connections seems to be interrupted.
    So, how can make it work so that mount and umount is handled by OpenVPN? Am i missing something?

    Managed to get around the problem using systemd:
    [Unit]
    Description=OpenVPN connection to %i
    [Service]
    Type=forking
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i
    ExecStartPost=/root/scripts/mount.sh
    ExecStop=/root/scripts/umount.sh
    [Install]
    WantedBy=multi-user.target
    ...but I think it's cleaner to do it in the openVPN config, so I still like some help there :-)
    Last edited by twarkie (2014-03-22 15:37:49)

Maybe you are looking for

  • 1st gen ipod grandaughter locked it and forgot code

    My granddaughter axed looked up a 1st gen ipod and forgot code

  • IdM SPE Ldap SSL operations hang

    Hi all, We're having a problem with IdM SPE hanging while doing LDAP operations over SSL. Has anyone encountered this before? We're under a tight deadline and any inputs/suggestions would automatically make the contributor my hero. Description: Our a

  • PLD Production Order need to add BOM lines

    I have a need to add the comments from the BOM lines table (ITT1) to the production order. As soon as I add the field (copied the definition from the BOM report) the lines go wild.  I go from 5 lines to 35 lines with the production components printin

  • System Command Process types!

    Hi What  this process type(System Command) does?? Is it related to change the file read write acess or wat?? any idea.. 10zin

  • New Camera Raw Update adds support for more cameras.

    http://support.apple.com/kb/DL1072 This update extends RAW image format compatibility to Aperture 3 and iPhoto '09 for the following cameras: Canon PowerShot SX1 IS Olympus E-PL1 Panasonic Lumix DMC-G2 Panasonic Lumix DMC-G10 Samsung NX10 Sony Alpha