Pptp VPN route : Leopard does not set correct netmask

Hello
Today I switched from a MacOSX 10.4.11 (Tiger) PowerBook to a MacOS 10.5.5 (Leopard) MacBook Pro. I configured my pptp VPN settings with the "Internet Connection Tool" and Network-Settings-panel on Leopard identically as on my Tiger PowerBook (option route all traffic over VPN on both systems disabled).
As far I could connect on the Leopard system to the destination VPN server without any problem, but could only establish a traffic-connection to the VPN server it self. As on my Tiger system the VPN connection worked seamless over several years now I supposed some routing problem.
In fact on the Tiger system the routing table showed me, that the destination network has a 255.255.0.0 network mask and was correctly received and set on the Tiger routing table, but that the Leopard systems assumes a 255.255.255.0 network mask and set this assumption to the its routing table: (destination LAN has address space 10.50.0.0 - 10.50.255.255 / netmask 255.255.0.0)
Tiger 10.4.11 :
10.50/16 ppp0 USc 0 0 ppp0
Leopard 10.5.5 :
10.50/24 ppp0 USc 0 0 ppp0
In the Leopard vpn setting panel, there is also the possibility to set manually the destination ip-address and netmask, but I found it has no effect on the real setting on Leopard. The only way to set the correct route with the correct netmask is under Leopard to do it by the command shell - first deleting the route set by Leopard and setting a new route with a the correct netmask :
route delete -net 10.50. -interface ppp0
route add -net 10.50. -interface ppp0 -netmask 255.255.0.0
I do not understand, why under Tiger (and also on MacOSX 10.3.X) the pptp VPN worked always correct and set the correct netmask, and now Leopard (MacOSX 10.5.X) does some kind of assumption and is not able to set the correct netmask.
Any Ideas ?

How did you determine that partial traffic is sent through the VPN?
Basic principles of VPN is to avoid using a common subnet for your client ip pool. Having an uncommon subnet will solve your #2 issue below. Simply change the 3rd octet on your home network from .1 to something else, .11
I have a working pptp server configuration on ubuntu 10 with iphone 3g iOS 4.1 connected, invested hours of research, but only a short time configuring the server and iphone vpn client. passing internet traffic through local gateway/router from work wi-fi and accessing local desktop using windows remote desktop lite app.

Similar Messages

  • Router webpage does not load correctly

    I own a wireless WRT54G, which has worked fine in the past. After setting up a new wireless network, I went to the router webpage to open some ports. The problem with the page loading is that it doesn't display correctly. No clickable text is displayed on the top of the page or the side bar, so I basically can't do anything whatsoever to configure it. I've tried loading it up in both Firefox and Internet Explorer, with IE saying the page loaded but with errors. Any help would be much appreciated.

    I did not understand what you meant when you said   "After setting up a new wireless network".   What new wireless network did you set up?
    To view the router's web pages:
    Use Internet Explorer, it usually works.
    JavaScript must be enabled.
    Use a computer that is wired to the router.
    In the non-working computer, temporarily turn off your software firewall.
    If you are using Zone Alarm, right click on the ZA icon in the system tray (lower right corner of screen) and then click "Shutdown ZoneAlarm", and see if this fixes your problem. If this does not work, try the following with Zone Alarm: Open the ZAISS control center, go to Privacy, then temporarily turn off Ad Blocking and Cookie Control, and see if that fixes your problem.
    If you are using Noton Internet Security with the Add-on Pack, be sure to turn off the Pop-up Blocker. Some users have reported that they needed to uninstall the entire Norton Add-on Pack.
    If you cannot get anything at 192.168.1.1 then perhaps this is not your router's address. Go to "Start" > All Programs > Accessories > Command Prompt.
    A black DOS box will appear. Type in "ipconfig" (with no quotes), then hit the Enter key. Look at the "Default Gateway". Is it 192.168.1.1 ? Point your browser to the "Default Gateway", then login to your router.
    If the above fails, disconnect your modem from the router, and try again. If this corrects your problem, then most likely you have a "modem-router" rather than an ordinary modem. Check to see if your "modem-router" is using the same 192.168.1.x address space as your Linksys router. If it is, then report back with this problem, and also state the make and model of your modem-router.
    If all of the above fails, power down your entire system, unplug it from the wall, wait one minute, then power up and try again.
    If all of the above tips fail, then reset the router to factory defaults: Power down the router and disconnect all wires from it. Wait one minute. Power up the router, allow it to fully boot (1-2 minutes), then press and hold the reset button for 30 seconds, then release the button and allow the router to reset and reboot ( 2-3 minutes). Power down router. Wait one minute. Connect one computer, by wire, to a LAN port on the router. Boot up system. It should work.
    If the reset does not fix your system, then you need to download and install (or re-install) the latest firmware for your router. After the firmware upgrade, you must reset the router to factory defaults, then setup the router again from scratch. If you saved a router configuration file, DO NOT use it.

  • Canon 5D MK II white balance set as K does not import correctly

    With a 5D II and the Kelvin white balance set in the camera the WB does not import correctly for RAW files and LR 2.4. For example when set to a specified white balance as a Kelvin setting, for example 5200, and then import the raw files with "As Shot" specified or subsequently WB to "As Shot" in Develop module the white balance is set to 4850 +1 (in the example of 5200). The pre set WB options provided inthe camera do work correctly.
    Does anyone know if there is a way to set this up to work correctly? Has anyone else experienced this issue?
    Thank you.

    Does anyone know if there is a way to set this up to work correctly? Has anyone else experienced this issue?
    Lightroom does work correctly. The numbers are different, but the appearance ot the colour temperature matches. The way I understand it, cameras don't actually store Kelvin numbers, but store colour space co-ordinates instead. LR and your Canon are interpreting the RAW values into different colour spaces, so the kelvin values and tint numbers will differ.
    Hal

  • Ssh tunnel mode on Leopard does not work

    Hi folks,
    I have set up ssh tunnel mode (tunnels opened with "ssh -w 0:0 ..." makes SSH create the necessary tunX interfaces on its own) from my linux boxes to certain servers, and it works well.
    But using "ssh -w 0:0" on Leopard client leads to
    debug1: systunopen: /dev/tun0 open failed: No such file or directory<<</div>
    So it seems - although the ssh man page describes it thus - that creating tun interfaces on Leopard does not work.
    By the way, omitting the interface numbers for the tun interfaces on both sides ("ssh -w" instead of "ssh -w 0:0") leads to "Bad tun device" although that as well is documented in the ssh man page as working (and on linux it does).
    Has anybody ever tried this on MacOS X in general and Leopard in particular?

    Dirk,
    I have run into the same issue, however I had ssh tunnels running between several macs before Dec 7 2008. But for some reason it broke on that day. Have been running remote rsync backups of the User data. Can give you the syntax if you want. But my point is it looks like this is a break in the OSX Unix system vs them just not being there as this was working prior to the 7th for several months.
    Am working with Apple to get this resolved but in the mean time where did you find the tun/tap drivers? I have some for Open VPN that I have been playing with on another machine but dunno if they will work or not.

  • 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

  • MFL: The dependency is not configured in schema resource. Possible reason one or more import/include is not set   correctly.

    HI Friends,
    I have a created a MFL to transform XML to Non XML format. When am generating a XSD out of this MFL am getting this Error:
    The dependency is not configured in schema resource. Possible reason one or more import/include is not set
    correctly.
    Here is the snippet of the XSD:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://www.w3.org/2001/XMLSchema"
              targetNamespace=""
              xmlns:mfl="http://www.bea.com/mfl"
              elementFormDefault="qualified">
        <xsd:import namespace="http://www.bea.com/mfl"/>........
    Later Part i have searched for mfl.xsd in com.bea.wli.core.mflengine_1.x.x.x.jar in my.........../Oracle_OSB1/modules  and imorted this XSD into my eclipse workspace.
    Then i added the schemalocation attribute to the Import element. which looks something like below:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://www.w3.org/2001/XMLSchema"
              targetNamespace=""
              xmlns:mfl="http://www.bea.com/mfl"
              elementFormDefault="qualified">
        <xsd:import namespace="http://www.bea.com/mfl" schemaLocation="../../mfl.xsd" />......
    After doing these changes also am getting the same error... can anyone help me out of this????

    Hi Arun,
    Also in SB console we can refer xsds from other projects but again OEPE doesnt seem to support that we will have to make duplicate copies of the resources in each project.It is not like that if you are using OEPE then you can not refer resources from other projects. Just what you need to do is that give relative path of the resource which is there in the file system. It does not matter that to which project it belongs. Yes, now with OEPE, you have to do this manually.
    Regards,
    Anuj

  • Acrobat/Indesign does not export correct into the selected output intention (eci_iso_coated_v2_300)

    I use the CS6 suite with Acrobat XI at windows platform.
    When I want to save a file from InDesign as .pdf with output intention eci_iso_coated_v2_300 the result is a .pdf with more than 300% ink coverage.
    I tried to transform the result in Acrobat XI into this standard output intention, but also the result has more than 300 % ink coverage.
    What is the reason of this bug?
    Before with Acrobat X this worked without problems

    Hi Rob,
    I was told the new way to work would be to draw files via Bridge direct into the InDesign file
    and I thought automatically the color would not be changed.
    my colourmanagement setting in bridge for the whole CS6 was  ECI isocoated_V2_300
    The Illustrator file was saved without color profile.
    In this test file I used 3 kinds of black: background of pirate in cmyk 79,34 / 72,78 / 59,38 / 79,88 = ink coverage 291 %
    DÜSSELPIRATEN in “black” (if you would convert this in the file with the cmyk button it would be the same ink-percentage as before
    “e.V.” was set to 100 % k
    I set the preferences for Acrobat from InDesign CS6 as pdf X4 with profile eci isocoatedV2_300 in three ways:
    no color conversion
    convert to profile
    convert to profile keeping existing values
    in all tree files the pirates background has 322 % ink coverage instead of 291 %
    Why does Acrobat convert “black” in the wrong way?  If I click in Illustrator on the 4c button to convert the “black” into 4c it is 291% ink
    Acrobat should come to the same result with all profiles: iso coated V2 and iso coated V2_300
    The same happens also by saving as .pdf X3 or .X1
    The minimum what I expect is, that Acrobat reduces ink coverage for black to 300 %
    I also made test with the new ECI profiles for laminated prints from 2012.
    And with newspaper profiles
    In this case the ink coverage comes below 300 %, but only when I choose convert to profile.
    And then the 100 % k converts to cmyk, what I don’t want to have with text.
    Is there no way to reduce ink coverage below a special percentage without changing Text 100% k
    And is there a bug in Acrobat XI with the ECI IsoCoated_V2_300 Profile? For there is no color reduction below 300 % in all conversion settings.
    I can’t test this with Acrobat X or IX, for my computers with this software don’t run with CS6 64 bit.
    enclosed you find my files
    Kind regards
    Lutz Hanbueckers
    Hanbueckers Werbung GmbH
    Brandsackerstr. 5
    40764 Langenfeld
    P.O. Box 40 02 01
    40242 Düsseldorf
    Tel. +49 02173 1 09 44 - 0
    Fax +49 02173 1 09 44 - 10
    [email protected] <mailto:[email protected]>
    www.hanbueckers.de
    Visit our site
    Steady attractive offers!!!
    HR Düsseldorf B 26 480
    owner Manager: Lutz Hanbueckers
    Von: Rob Day [email protected]
    Gesendet: Samstag, 2. März 2013 04:26
    An: Hanbueckers Werbung
    Betreff: acrobat/Indesign does not export correct into the selected output intention (eci_iso_coated_v2_300)
    Re: acrobat/Indesign does not export correct into the selected output intention (eci_iso_coated_v2_300)
    created by Rob Day <http://forums.adobe.com/people/rob+day> in InDesign - View the full discussion <http://forums.adobe.com/message/5115613#5115613

  • Remote does not work correctly after update

    Hello,
    the subject explain it already:
    After upgrading to 2.3 the apple remote does not work correctly anymore:
    I need to push the buttons twice, and than atv is only reacting sometimes.
    Any ideas?
    BR
    Frank

    Same problem here. First, I thought it was the Apple remote's battery. I replaced that and the problem persisted. I then used my digital video camera to verify that the remote was actually transmitting infrared, it was. In frustration, I tapped the buttons rapidly while pointing at the Apple TV. The Apple TV responded. The next button press it failed to respond. I tapped rapidly again and it finally responded. After many many rapid presses, while pointing directly at the Apple TV, it finally began responding to all presses. Once I'd regained control (I thought) I unpaired and re-paired the remote. Everything continued to work. At that time I also saw that I could "learn" another remote. So, I set up my Samsung TV remote. Sweet. Until the Apple TV went into screensaver mode again and I had to go through the same rapid button press sequence... with either the Apple remote or my learned Samsung remote. Conclusion, since the Apple TV will become fully responsive after the rapid button press sequence, it is certainly a software related problem.

  • 11x17 tabloid does not print correctly

    I am using an HP Photosmart printer model 8550, my previous printer was an HP Photosmart 8750. That printer died and the 8550 is the newer model of the same printer. When trying to print an 11X17 document in tabloid, the page does not print correctly nor does it show in preview mode correctly. The page shifts to the upper left corner so that the left side and top of the document do not print. If you scale down the size you can get it to print the whole documentm but you cannot get it to use the whole 11x17 page. Anyone else with this problem and a solution? Thanks!

    [email protected] wrote:
    I am having a similar problem.  I have windows XL,
    and a hp Deskjet 9800.  I have been using PM 6.5 ever since it came out.  I publish a newsletter using tabloid fold in half, under booklet.  So it is a really a 4 page document.  It has always done fine until this week.  It prints the copy in reduced format that would fit on a 8 1\2 x 11.  I have tried every setting possible, with no success.  Today I downloaded the trial 7.0 version, it does the same thing.  I went back and printed old versions that a 3 & 4 years old they won't print right now, either.
    It's old software and new operating system/printer drivers. You are unlikely to get any help from Adobe or HP but you can try.
    Create a PDF and print that as it's unlikely the DeskJet has PS mode.
    BTW, booklet printing is far easier with ISO paper sizes.
    Move on up to InDesign while you can still get a big discount with PM Licence number.

  • Trayer does not Adjust correctly when Switching to External Monitor

    Hello
    I use a laptop with xmonad and xmobar and trayer. When i connect my external monitor via VGA, i set it to primary. My xmobar moves perfectly to the top of my external monitor, with a width of 90% of the screen, as specified in my xmobarrc. However, trayer acts differently. It does move to my external monitor, however, its position overlaps with xmobar, and does not move correctly to the remaining 10% of the screen left by xmobar which i would like trayer to occupy.
    How can i make trayer move correctly?
    Thank you!
    Last edited by fawkes5 (2013-01-09 19:10:51)

    Hello again. If i start my external monitor when i startx (i.e through .xinitrc) then it sets correctly. So its just the dyanmic changing of resolution that trayer has trouble adjusting with.
    Last edited by fawkes5 (2013-01-11 00:35:28)

  • NonLinearFitWithMaxIters does not give correct results for phase

    Dear all,
    I am trying to fit a sin cuve with NonLinearFitWithMaxIters function of labwindows, but the results given by this function are dispersed a lot (the function does not give same results).
    In fact, I have two waveforms signals v and i (of 104 points), and I  find the phase between the two signals with NonLinearFitWithMaxIters.
    The two singals v and i are  measured with an osciloscope.
    I use the following fit functions :
    v=p1*sin(wt+p2) ;
    i=p3*sin(wt+p4) ;
    I use the NonLinearFitWithMaxIters function to fit the data and to have the parameters  p1, p2, p3, p4. Then, the phase is claculated as follow phase=p4-p3.
    The problem is that the phase calculted between the two signals (v and i) is different for each run for the same conditions.
    In fact, for a same condition, I measure different times the signals v and i, and I calculate the phase p4-p3, using NonLinearFitWithMaxIters. The goal is to calculate a mean of phases for the same condition. For example, there are cases where the phase=-5 degree, and other cases when phase=12 degree.
    For ten measures of v and i, the phase calculated is different. I get a big dispersion between the phases.
    I would like to know please why I have a big difference in phases calculated with the same condition?whern using NonLinearFitWithMaxIters.
    I read that this function does not give all time the correct results, is there a way to know when the results are not corrects and when they are correct ?
    And is there any solution to find accuratly the phase between the two waveforms.
    Thank you for your precious answer.

    The pseudocode which I am using is :
    v_err=NonLinearFitWithMaxIters(array_x,array_v,v_y_fit,1252,100,sinus,v_coef,2,&v_mean_squareError);
    The fit function is
    double sinus(double x, double a[],int noef){
        return (a[0]*sin((w*x)+a[1]));
     I use the same inital coeficient of v_coef for each run :     
    v_coef[0]=0.03;
    v_coef[1]=0.2;
    These coeficient are choosen arbitrary.
    In this case, the number of points of the data is 1252 (the data of array_v).
    The number of iterations is 100.
    For the array_x, the distance between adjacents values of the array is dt=0.4*1e-9(difference between array_x[i] anv array_x[i+1]=dt=0.4*1e-9 ).
    for (i=0;i<1252;i++){
    array_x[i]=i*(0.4*1e-9);
    The means square error returnned by the function when it is complished is  small, of the order of 0,001.
    I read the help
    « From the help:
    You must pass a pointer to the nonlinear function f(x,a) along with a set of initial guess coefficients a. NonLinearFitWithMaxIters does not always give the correct answer. The correct output sometimes depends on the initial choice of a. It is very important to verify the final result.
    That means that the function cannot be used, as it does not give correct results. How
    can we check if the results are good or not ? in my case.
    I think that in my case, the function does not give correct results, but how can I check if the results are good, or not ? The mean square error is small.

  • PrintWriter does not send correct text over HTTP

    Hello All,
    I need information to resolve a problem I am having with PrintWriter and sending text using HTTP.
    I am developing a client/server system. A client will be used to connect to a Tini (a Dallas Semiconductor designed embedded system). Currently, to understand HTTP operation, I wrote a server that resides on the tini that listens for a connection attempt and when one is made prints the HTTP message in Dallas' JavaKit application window. The resultant Tini display includes some hardcoded tini text (italics only in (b) and (c) below) along with that received from the client app (italic bold in (b) and (c) below).
    I have also written some test client side code (see (a) below) in Sun's Java Studio Creator that sends a couple of lines of text so that I could see what my client app would actually send. I tried a few different ways of creating a PrintWriter object as shown in the code at (a) below just to see if it was a character set problem.
    The problem is that I get two different results under the following conditions:
    [Condition 1]: Entering "HTTP://tini" in the browser and pressing Enter. See result (b) below. This is correct and shows what the browser sends to the tini. The tini outputs the text immediately after pressing Enter.
    [Condition 2]: Running my client code in the browser. See result (c) below. This is incorrect and sends just a bunch of "y"s with umlauts as the message. The tini immediately outputs text up to the "cnt=0" line and then can take up to a couple of minutes to complete the message.
    1. Can anyone tell me why the client sends those "�" instead of the strings I encoded for all character sets?
    2. Why does the client code takes so long to complete after the initial transmission?
    3. Can anyone provide me with links to information that explains this behavior? I searched Sun and the forum but found nothing.
    (a) Here is the current test client side code that sends a couple of strings to the tini:
        public String button3_action() {
            // TODO This should send the tini a request for its IP address
            String protocol = "HTTP";
            String host = "tini";
            try{
                 URL tiniURL = new URL("http://tini");
                 URLConnection tiniConnection = tiniURL.openConnection();
                 tiniConnection.setDoOutput(true);
         //     Comment out one then the other to see if there is a difference in result (there is not!)
         //        PrintWriter tiniout =  new PrintWriter(new OutputStreamWriter(tiniConnection.getOutputStream(), "UTF-16"));
         //        PrintWriter tiniout =  new PrintWriter(new OutputStreamWriter(tiniConnection.getOutputStream(), "UTF-8"));
         //        PrintWriter tiniout =  new PrintWriter(new OutputStreamWriter(tiniConnection.getOutputStream(), "ISO-8859-1"));
         //        PrintWriter tiniout =  new PrintWriter(tiniConnection.getOutputStream());
                 PrintWriter tiniout =  new PrintWriter(new OutputStreamWriter(tiniConnection.getOutputStream()));
                 tiniout.println("GET / HTTP / 1.1\r\n");
                 tiniout.flush();
                 tiniout.println("IPaddress?");
                 tiniout.flush();
                 tiniout.close();
            catch(MalformedURLException e){
                e.printStackTrace();
            catch(IOException e){
                e.printStackTrace();
            return null;
    (b) Result displayed in JavaKit from Condition 1:
    just starting
    Waiting for a connection attempt
    Start thread
    Thread's run() method entered!
    Try to create a new StringBuffer
    StringBuffer created
    Read the buffer in this loop cnt =0
    Read the buffer in this loop cnt =1
    Read the buffer in this loop cnt =394
    Read the buffer in this loop cnt =395
    Out of loop.
    Now print HTTP message.
    GET / HTTP/1.1
    Host: tini
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8 ,image/png,*/*;q=0.5
    Accept-Language: en-us,en;q=0.5
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    "v"is at position390
    "e"is at position391
    "is at position392
    ""is at position393 "
    "is at position394
    java.lang.StringIndexOutOfBoundsException: String index out of range: 395
    No other stack trace info available.
    (c) Result displayed in JavaKit from Condition 2:
    just starting
    Waiting for a connection attempt
    Start thread
    Thread's run() method entered!
    Try to create a new StringBuffer
    StringBuffer created
    Read the buffer in this loop cnt =0
    Read the buffer in this loop cnt =1
    Out of loop.
    Now print HTTP message.
    ���������������������������������������������������������������������������� �������������������������������������������������������������������������������� �������������������������������������������������������������������������������� �������������������������������������������������������������������������������� �������������������������������������������������������������������������������
    "�"is at position390
    "�"is at position391
    "�"is at position392
    "�"is at position393
    "�"is at position394
    java.lang.StringIndexOutOfBoundsException: String index out of range: 395
    No other stack trace info available

    This is to anyone that is having trouble sending data via a stream using a browser client. I found the answer after many different searches on the Sun site in a bug report: Bug ID: 4192018.
    The problem arises from the way the API actually uses outputstreams. It appears that you must add an InputStreamReader to actually flush the OutputStreamWriter buffer. After reading this bug report I added
    (tiniConnection.getOutputStream(), "ISO-8859-1"));
            OutputStreamWriter tiniout =  new OutputStreamWriter(tiniConnection.getOutputStream(), "ISO-8859-1");
            InputStreamReader tiniIn =  new InputStreamReader(tiniConnection.getInputStream(), "ISO-8859-1");
            tiniout.write("GET/HTTP/1.1\r\n");
            tiniout.flush();
            //This is necessary to actually send data.
            tiniIn.read();
            tiniout.write("IPaddress?");
            tiniout.flush();
            //This is necessary to actually send data.
            tiniIn.read();
            tiniout.close();
            catch (MalformedURLException e){
                e.printStackTrace();
            catch (IOException e){
                e.printStackTrace();
            }NOTE: The preliminary program still does not perform correctly but it does send data that is displayed in tini's JavaKit window. At least I can continue to verify how the browser sends data.
    I hope this helps someone.

  • Since I upgraded to Yosemite, my CS5 does not work correctly.

    Since I upgraded to Yosemite in October, my photoshop CS5 does not work correctly. When right clicking to change a brush size, the adjuster when moving to the right or left, either sticks or moves radically. As I set the size of the brush and move my cursor back to the image, the adjuster moves with the cursor.
    Help!

    sharonfrombury wrote:
    Is there no contribution from Apple support community for this question yet?  I know there have been teething problems upgrading to Yosemite, but this loss of functionality is adding administrative workload that I can ill afford.  Come on Apple, some ray of light please.
    If you read the Terms of Use  you agreed to you would realize Apple does not read or participate in these user forums. All posts and responses are end users just like yourself. If you have feedback for Apple please  post it at www.apple.com/feedback. Please do not expect to hear back from Apple, they read the feedback but do not reply.
    Also, the feature the feature of combining multiple PDF's into one document using the Preview app works perfectly.

  • : "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

     Hi   .
        I was creating the  pass the values t in temp tables  though s sis package vs2012 .
      First I was taken on executive SQL TASK.
     IN EXCUTIVE SQL TASK  . I was write the stored proce:
    Sp;
    reate  procedure  USP_GETEMP2333
    AS
    begin
    Select  eid,ename,dept,salary from emp
    end;
    create table #temp(eid int,ename varchar(20),dept varchar(20),salary int)
      insert into #temp
       exec USP_GETMP02333
       go.
     It was executive correctly.
     I was taken another sequence container. In the sequence container iam creating one   executive  sql
    In 2<sup>nd</sup> excutive sql task: sql statements is
    if object_id('emp_fact_sal') is not null
     drop table emp_fact_sal
    select eid,ename as emp_name,sal_bar=
    case when salary<=5000 then 'l'
    when salary >5000 and salary<=7000 then 'm'
    else
    'h'
    end
    into emp_fact_sal from #temp.
     and one falt flies  it was taken to designation .
     iam changing  all  connection properties:
     in oldeb connection:
    in excutive sal task properties .
    delay validation is true,
    and retain connection maner is also true,
    and package mode is 64 bit is false.
     But iwas excutive in 2<sup>nd</sup> excutive ql task .
    Iam getting this type of errors,
                    [Execute SQL Task] Error: Executing the query " if object_id('emp_fact_sal') is not null
     drop ta..." failed with the following error: "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
    correctly.
     Please help me

    Arthur suggestion works but you shouldnt even be doing this on a SQL Task.
    Use a data flow task. You'll have better control over the data that is being transfered and get better performance because no staging table will be used.
    Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
    is an undocumented behavior and should not be relied upon.

  • [SOLVED]intel_backlight service does not set backlight at boot

    Hi everyone,
    I have a Dell inspiron 3542 laptop.The problem is that even though the backlight.service saves and loads the backlight value it does not set it.For example:
    xbacklight -get
    outputs the saved backlight value but on screen it appears around 1-5% and only when i change it,it goes back to normal.According to [email protected] manpage"if udev property ID_BACKLIGHT_CLAMP is not set to false value, the brightness is clamped to a value of at least 1 or 5% of maximum brightness, whichever is greater. This restriction will be removed when the kernel allows user space to reliably set  a brightness value which does not turn off the display."
    My Question is how can i set the udev property
    Thank you for any suggestions
    Last edited by Liberis (2015-05-11 00:49:08)

    I have to admit that the problem and the question was not well stated.I wanted to override backlight clamping because i thought that was the problem.
    Ill try to post the solution as clear as i can (my english knowledge is not the best) .
    The laptop im using has hybrid graphics(nvidia and intel) im using the open source drivers with i915 and nouveau modules and im using lvm2 dm-crypt setup
    I tried the following
    Recompiling systemd trying to revert this patch :https://github.com/systemd/systemd/comm … ca6c595c76
    Setting -no-clamp option (could not make it right i think) in [email protected] with(could not make it work i think i did not do it correct)
    as stated at http://lists.freedesktop.org/archives/s … 27138.html
    systemctl edit [email protected]
    [Service]
    ExecStart=
    ExecStop=
    ExecStart=/usr/lib/systemd/systemd-backlight -no-clamp load %i
    ExecStop=/usr/lib/systemd/systemd-backlight -no-clamp save %i
    I could not find a way to set ID_BACKLIGHT_CLAMP in udev properties i did not quite understand what it was asking to be honest.
    Solution
    EDIT:1 Adding ENV{ID_BACKLIGHT_CLAMP}="0" in backlight section in /usr/lib/udev/rules.d/99-systemd.rules also solves the issue as the man page says.
    Do not judge these might were completely wrong moves but with little to no knowledge only trial and error could help
    I  could also set the saved backlight at boot by blacklisting the i915 module and leaving nouveau.
    The strange thing is that i915 is still being  loaded while using PRIME
    glxinfo | grep "OpenGL renderer"
    OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
    and the lsmod output
    lsmod | grep i915
    i915 1024000 4
    intel_gtt 20480 1 i915
    drm_kms_helper 102400 2 i915,nouveau
    drm 282624 8 ttm,i915,drm_kms_helper,nouveau
    i2c_algo_bit 16384 2 i915,nouveau
    video 24576 2 i915,nouveau
    button 16384 2 i915,nouveau
    i2c_core 53248 10 drm,i915,i2c_i801,i2c_hid,i2c_designware_platform,drm_kms_helper,i2c_algo_bit,v4l2_common,nouveau,videodev
    also journalctl -xe output
    -- Unit systemd-backlight@backlight:intel_backlight.service has begun starting up.
    May 11 02:43:20 archlinux kernel: ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
    May 11 02:43:20 archlinux kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input11
    May 11 02:43:20 archlinux kernel: snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
    May 11 02:43:20 archlinux kernel: [drm] Initialized i915 1.6.0 20150130 for 0000:00:02.0 on minor 1
    May 11 02:43:20 archlinux kernel: [drm:hsw_unclaimed_reg_detect.isra.10 [i915]] *ERROR* Unclaimed register detected. Please use the i915.mmio_debug=1 to debug this proble
    May 11 02:43:20 archlinux kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card1/hdaudioC1D0/input9
    May 11 02:43:20 archlinux kernel: input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input12
    May 11 02:43:20 archlinux kernel: Console: switching to colour frame buffer device 170x48
    May 11 02:43:20 archlinux kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
    May 11 02:43:20 archlinux kernel: i915 0000:00:02.0: registered panic notifier
    May 11 02:43:20 archlinux systemd[1]: Found device ST1000LM024_HN-M101MBB sda1.
    -- Subject: Unit dev-disk-by\x2duuid-7D28\x2d5BEB.device has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- The start-up result is done.
    May 11 02:43:20 archlinux systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:intel_backlight.
    -- Subject: Unit systemd-backlight@backlight:intel_backlight.service has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit systemd-backlight@backlight:intel_backlight.service has finished starting up.
    EDIT:2 Avoided the blacklisting by setting nouveau early KMS to boot earlier at mkinitcpio.conf and the result is the same
    I think nouveau has to be loaded before i915 otherwise intel_backlight service is not working even though
    systemctl status systemd-backlight@intel_backlight.service
    shows no errors
    I have to say that i have not quite understood why this is working like this but i would love if anyone can explain it.
    i can provide more info if needed
    Last edited by Liberis (2015-05-12 00:51:38)

Maybe you are looking for