How to make my ip static?

Hello,
I often need ports open for programs I use, and i haev multiple computes on my base station. It is always changing my ip number according to number of computers on my network. I was wondering how I make it so i am always the same. Does it have anything to do with being over .201? Thanks,
Andre

Open the Networking preference pane on your Mac and manually assign it an IP address of 201 or above. The DHCP server in the AirPort Extreme base station (AEBS) only uses the range 2-200.
Also see Steve Newstrum's tip "How do I use Port Mapping (Part I)".

Similar Messages

  • How to make this object static ?

    Hi,
    I have such an InputStream :
    InputStream kombinace = getClass().getResourceAsStream("/kombinace.txt");is there anyway how to make it static ?
    thanks for help

    BigDaddyLoveHandles wrote:
    ClassLoader loader = Thread.currentThread().getContextClassLoader();
    InputStream in = loader.getResourceAsStream(path);
    I'm not sure that this is guaranteed to work since the class loader you have obtained from the current thread may not be the one that holds the resource.

  • How to make bagground img static ?

    Hi
    I have seen eksampel where the background image is static, so
    that it does not move when you scroll down the page.
    I have stolen i eksampel on the web, but im not able to
    figure out what makes is work.
    Any tips ?
    small working eksampel...
    http://www.natouren.dk/staticbagground.html
    Regards
    Peter - Denmark

    > (Not to mention I forgot the ; after the last rule)
    Although that's a best practice, it is not required.
    > I should have added that if you are using a single
    image, such as a
    > landscape, you will need to position the image and
    remove the repeat
    > rules.
    Huh?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "GPaul" <[email protected]> wrote in message
    news:[email protected]...
    >> Be aware that IE6 only supports this
    attachment:fixed on the body tag, as
    >> shown below!
    >
    > Thats funny, it works in IE7, FF3, Chrome and safari...
    >
    > I should have added that if you are using a single
    image, such as a
    > landscape, you will need to position the image and
    remove the repeat
    > rules. (Not to mention I forgot the ; after the last
    rule)
    >
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> Be aware that IE6 only supports this
    attachment:fixed on the body tag, as
    >> shown below!
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >> ==================
    >>
    >>
    >> "GPaul" <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Create a CSS rule for the image
    >>>
    >>> body {
    >>> background-attachment: fixed;
    >>> background-image:url(yourfilename.xxx)
    >>> }
    >>>
    >>> "xang72" <[email protected]>
    wrote in message
    >>> news:[email protected]...
    >>>> Hi
    >>>>
    >>>> I have seen eksampel where the background
    image is static, so that it
    >>>> does not
    >>>> move when you scroll down the page.
    >>>> I have stolen i eksampel on the web, but im
    not able to figure out what
    >>>> makes
    >>>> is work.
    >>>>
    >>>> Any tips ?
    >>>>
    >>>> small working eksampel...
    >>>>
    http://www.natouren.dk/staticbagground.html
    >>>>
    >>>> Regards
    >>>> Peter - Denmark
    >>>>
    >>>
    >>>
    >>
    >
    >

  • How to make folder view static on shared volume

    I have an external drive connected to a Mac Mini (10.6.8).  We use that external drive as our shared network drive.  4 Macs and 2 PCs access the drive.  Please tell me how I can alter the ".DS_store" file on the SHARED VOLUME so that each user can expand disclosure triangles, etc. on the server volume, but each individual user isn't affected by how any particular user is viewing the folders.  Right now, if User #1 expands a bunch of folders, all of the other users see that, too.  I've done this before, using the Terminal.  Alas, I've lost the directions for that.  I believe it involved changing the permissions on the "DS_store" file on the server volume.  Thanks in advance.

    The following should work
    cd /path/to/the/folder
    chmod 444 .DS_Store
    Repeat for each folder of interest.
    If you have an entire directory tree, you could use something like
    cd /path/to/the/top/folder
    find . -iname .DS_Store -print0 | xargs -0 chmod 444
    The 444 is read for owner, group, everyone else, and no write, and no execute permissions for the .DS_Store file.  No write means no one should be able to change the contents of the .DS_Store file.
    The find command will start at the current folder, then walk down the directory tree looking for all the .DS_Store files and pipe those files to xargs which will execute the chmod 444 command for each .DS_Store found.
    Does this sound like what you did before?

  • My  MacBook is not communicating with my desk top to enable printing from my MacBook. I need to find out how to make that happen. I have a static IP address on my desktop but don't know what to do on the Mac Book.

    My MacBook is not connecting to the host computer for the printer. The host computer has a static IP address which is different from the IP address that the laptop is looking for. How do I change the laptop so that it looks for the host computer's correct IP? The laptop is connected to the router. I know this because I can get on the internet with the laptop.

    The host computer is Dell and the operating system is Windows 7.  The printer is an Epson, and it is wired to the host computer with a USB cable. It does have host printing turned on.
    The three have been working harmoniously for a long time.  The router had to be reset; and after that, the MacBook documents would no longer print.
    We created a new static IP address on the Dell but the MacBook is not recognizing it.  We have researched the internet trying to figure out how to make the MacBook locate and recognize the correct IP address from the Dell so they can communicate with each other.  The laptop is not communicating with the host computer because is is looking for the wrong IP.  The host IP is 192.168.1.245 and the laptop is looking for 192.168.15.237.
    I hope everything is clear.  The person who originally set it up is no longer available to help me.  Thank you for any help you may give me.

  • Help:How to make static text in JTextField??

    How to make a text to be displayed initially on a JTextField, yet we can not change the text (so the text
    is static)?
    The other question:
    How to make an input mask so that a JTextField
    has input pattern of XXX.XXX.XXX.XXX
    (which is the mask of IP Address) ??
    What I know that limiting input in JTextField can be done
    by extending PlainDocument....what about the cases above??
    Please reply if you know.
    Thanks a lot,
    Ted.

    For the first question, just call setEditable(false).

  • New operator in static context - how to make it work

    pdftest.java:57: non-static variable this cannot be referenced from a static context
    PageNumberer pn = new PageNumberer();
    Is it basically that I can't use the new operator in my main function because main functions have to be static in java? What's the deal here?
    I had this app working as a Java SERVLET, so all i had to do to port it over was replace the doGet method with main and remove all references to servlet specific stuff, etc. Had to make all my methods static too so main could call them, but that's all fixed. And now the thing that makes it not compile is the new operator!?!?
    public class pdftest
         ....//private static members
              /* subClass to handle page numbering of pdf */
              class PageNumberer extends PdfPageEventHelper
         public static void main(String[] args)
              PageNumberer pn = new PageNumberer();
         ....//other methods, had to make them all static which was annoying
    }

    pdftest.java:57: non-static variable this cannot be
    referenced from a static context
    PageNumberer pn = new
    PageNumberer();
    Is it basically that I can't use the new operator in
    my main function because main functions have to be
    static in java? What's the deal here?
    I had this app working as a Java SERVLET, so all i
    had to do to port it over was replace the doGet
    method with main and remove all references to servlet
    specific stuff, etc. Had to make all my methods
    static too so main could call them, but that's all
    fixed. And now the thing that makes it not compile is
    the new operator!?!?
    public class pdftest
         ....//private static members
              /* subClass to handle page numbering of pdf */
              class PageNumberer extends PdfPageEventHelper
         public static void main(String[] args)
              PageNumberer pn = new PageNumberer();
    ....//other methods, had to make them all static
    c which was annoying
    static class PageNumberer

  • How to make static element in parallax animation?

    How can i create a static object, which is on the same position during the parallax animation?
    Like a browser bar. Any suggestions?

    Hi Conny ,
    You can take a look at Exploring parallax scrolling, animation, and text effects in Adobe Edge Animate CC | Adobe Inspire Magazine. Download the samples available here and check them out.
    Attaching one for your reference.
    Thanks and Regards,
    Sudeshna Sarkar

  • How to make a JPanel selectable

    When extending a JPanel and overriding the paintComponent() method the custom JPanel can not be selected so that it gets for example KeyEvents.
    But if I make the new Class extend a JButton it gets of course selected and able to receive for example KeyEvents.
    My question is therefore; what does the JButton implement that a JPanel doesn&#8217;t so that a JButton gets selectable? Or in other words; how to make a JPanel selectable?
    Aleksander.

    Try this extended code. Only the first panel added can get the Focus.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class Test extends JFrame
      public Test()
        setLocation(400,300);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JPanel panel1 = new JPanel(new BorderLayout());
        JPanel panel2 = new JPanel(new BorderLayout());
        ImagePanel imgPanel = new ImagePanel();
        panel1.setFocusable(true);
        panel2.setFocusable(true);
        panel1.setPreferredSize(new Dimension(0, 50));
        panel2.setPreferredSize(new Dimension(0, 50));
        panel1.setBorder(BorderFactory.createLineBorder(Color.RED,     4));
        panel2.setBorder(BorderFactory.createLineBorder(Color.CYAN,    4));
        imgPanel.setBorder(BorderFactory.createLineBorder(Color.BLACK, 4));
        panel1.add(new JLabel("Panel 1"), BorderLayout.CENTER);
        panel2.add(new JLabel("Panel 2"), BorderLayout.CENTER);
        getContentPane().add(panel1, BorderLayout.NORTH);
        getContentPane().add(panel2, BorderLayout.SOUTH);
        getContentPane().add(imgPanel, BorderLayout.CENTER);   
        pack();
        panel1.addKeyListener(new KeyAdapter(){
            public void keyPressed(KeyEvent ke){
                System.out.println("Panel1");}});
        panel2.addKeyListener(new KeyAdapter(){
            public void keyPressed(KeyEvent ke){
                System.out.println("Panel2");}});
      public static void main(String[] args){new Test().setVisible(true);}
    class ImagePanel extends JPanel
      Image img;
      public ImagePanel()
        setFocusable(true);
        setPreferredSize(new Dimension(400,300));
        try{img = javax.imageio.ImageIO.read(new java.net.URL(getClass().getResource("Test.gif"), "Test.gif"));}
        catch(Exception e){/*handled in paintComponent()*/}
        addKeyListener(new KeyAdapter(){
          public void keyPressed(KeyEvent ke){
            System.out.println("ImagePanel");}});
      public void paintComponent(Graphics g)
        if(img != null)
          g.drawImage(img, 0,0,this.getWidth(),this.getHeight(),this);
        else
          g.drawString("This space for rent",50,50);
    }

  • YES! How to make PRINT QUOTAS WORK with 10.4

    How to make PRINT QUOTAS WORK in 10.4
    After struggling for quite some time, I finally found a pretty simple way to make print quotas work.
    First, I’ll tell you our setup. We have 3 different computer centers with a variety of eMacs and new Intel iMacs, all clients are running 10.4.8, and each of those 3 centers has its own HP Laserjet 4200 printer. Our dual G5 server is running Server v.10.4.8. Client computers and printers have static IP addresses. All clients are bound to the server with the standard WorkGroup Manager/ LDAPv3 Directory Access scheme - such that all students login to the clients with their network username/password to mount their home directory on the client.
    Next, I’ll tell you what does not work. IF YOU WANT PRINT QUOTAS TO WORK, you cannot use Workgroup Manager to assign a printer to any managed user account, user group, or computer group. Why? Because when you go to a client, and Show Info on the printer that is being pushed by Workgroup Manager, you’ll see that the queue name is not the queue that you’ve setup in Server Admin. Instead, you’ll see the queue name is “MCX” or something along those lines. Even if you manually edit the Workgroup print preference file that is being pushed to clients, it still will not work.
    Drawbacks of my technique: In my case, students will see all 3 printers (1 from each lab) available to them no matter which lab they are in. Not the best, but for now I think it’ll be worth it to be able to control wasteful printing. Students may be able to move/delete the preference file (see below), but they’ll only be hurting themselves, as they won’t have any printers at all then.
    Okay, here’s how I did it:
    1. If you have setup any printers to be pushed out via Workgroup Manager’s preference enforcement to individual users, usergroups, or computer groups, turn those preferences off and leave them off.
    2. Delete any existing printers in your Printer Setup Utility and/or Server Admin. Add and setup a new printer queue using the Server Admin> Print service. I added the printer through the Server Admin application, not Printer Setup Utility (may not matter). However, I did go into that latter utility to set the model of the printer. Now, back in Server Admin, edit the printer queue to turn on these services IPP, LPR (bonjour off), and of course check off the enforce quotas box. (No student Windows clients, so I didn’t tinker with SMB print service). I went ahead and specified the standard cover sheet – it will be handy while troubleshooting.
    3. In Workgroup Manager, select the users that you want to enforce quotas upon, go to the Printer Quota tab (not the preference pane) and, in my case, I selected All Queues and specified a quota, and clicked Save.
    4. Delete all printers that appear in the Printer Setup Utility from each client computer (I know, UGH).
    5. For all network users, you need to edit a preference file and put it into each user’s home directory. That file is “com.apple.print.favorites.plist” and as you guessed, it needs to go into the Library> Preferences folder of every one of your network users’ home directories. Now, the content of that file is crucial… what it should show is the name of the queue(s) you created in Server Admin above, and be immediately followed by an “@” and the address of the server that is hosting that queue. For example, my queue’s name is TCStudentQ and the server’s address is student.mydomain.org… so my preference file has this entry: [email protected]. If you have more than one queue, you’ll have more entries. Be sure that the network user has at least Read level access under Group or Others. I’d recommend making the server System account the Owner of the file, and be sure to lock the file so the users can’t easily trash it. If you don’t know how to create this file in the first place, what you can do is go to a client computer, and log into the client with a dummy network account. Then open Printer Setup Utility, and you should see the queue you created in step 2. Add that printer, and then the file will be created in your dummy account’s home directory under Library> Preferences. Now you can use that file to distribute to other user’s folders… but don’t forget that each user needs Read level access.
    6. That’s it. Works for me. When they exceed the quota, all that spits out is the cover page. It’d be nice if there was a quota monitor utility on the client side so users can see how many pages they have remaining and when the quota will automatically reset. I plan to start the quota on a Monday morning and go on a weekly duration. Not sure what a good starting point is… perhaps 25 pages every school week.
    7. Hey Apple Computer, Inc. Server Developers & Project Managers, I truly hope you’re reading this and can explain why print quotas don’t function as you have documented and advertised. I don’t mean to toot my own horn, but I’ve spent way too much time discovering this workaround, and I know it will help thousands of others with the same problem. I can see where your Print Quota system breaks down, and I think you need to fix these issues or at least document them. Don’t forget to fix serious 10.4 Server bugs before leaving it behind for 10.5 Server – many of us will continue using 10.4 Server for at least another year or two.

    David,
    Your assumption that I didn't read the documentation is incorrect. I read that 10.4 documentation over and over - followed it to the letter to no avail. Perhaps it was updated in the last few weeks? So, do you have a fully operable printer quota system in conjunction with a managed computer or user group that has a managed printer pushed to the group via Workgroup Manager? I can push a managed printer to a managed group without a problem, but the quotas won't be enforced unless I use the workaround above and cut Workgroup Manager's managed/pushed printer out of the picture.
    I know this is a user-to-user forum - however, I'm also aware that Apple tech support often chime in here, so it doesn't hurt to post a message to them in the context of a larger posting about a 'known issue'. I have used the server feedback form... hasn't seemed to me to be very helpful in the past.

  • How to make a pop up within if else

    I'm now making an user interface which will be used to control a remote robot. I want to make it so that when a button is pressed, a window will pop-up and tells the user what the robot is doing. At the moment, I can only make it to show the message in the cmd box. Code is as follow:
    class ActionHandler implements java.awt.event.ActionListener
              public void actionPerformed(java.awt.event.ActionEvent event)
                   Object object = event.getSource();
                   if (object == forwardButton) {
                        System.out.println("Robot moving fordward");
                   else if (object == backwardButton) {
                        System.out.println("Robot moving backward");
                   else if (object == rotateLeftButton){
                        System.out.println("Robot rotating to its left");
                   else if (object == rotateRightButton){
                        System.out.println("Robot rotating to its right");
    The only way to make pop-up which I know is this one:
    import javax.swing.*;
    public class DisplayTextInWindow {
         public static void main(String[] args) {
              // create a String variable
              String messageText = "Hello world";
              // display it in the console window
              System.out.println(messageText);
              // now display it in its own window
              JOptionPane.showMessageDialog( null, messageText );
    Which I can put into the code for interface because I can't start another class within an if statement (as far as I know anyway...)
    Can anyone please teach me how to make a pop-up within an if else statement?

    Which I can put into the code for interface because I can't start another class within an if statement (as far as I know anyway...)yes you can.
    if (robotRotating)
        newClass class = new newClass();
        class.methods;
    Can anyone please teach me how to make a pop-up within an if else statement?sure
    if (robotRotating)
       //i think this part is already answered in the previous post
       javax.swing.JOptionPane.showMessageDialog(null, "your message here", "your title here", JOptionPane.OK_OPTION);
    }

  • How to make the swing drawings to appear in a specific jPanel?

    hi,
    I have a frame which I divided in two panels - one for the jComboBoxes/buttons and the other one for showing graphics. but the paint(Graphics g) overpaints it all =(
    how should my code look like if I want some rectangles (depending on the combo choices and on button click which means update) to appear in the second panel?
    the code's structure is like :
    import *;
    public class NewJFrame extends javax.swing.JFrame {
         private JPanel jPanel1;
    public static void main(String[] args) {
              NewJFrame inst = new NewJFrame();
              inst.setVisible(true);
         public NewJFrame() {
              super();
              initGUI();          
         public void paint(Graphics g) {
              g.fillRect (x, y, w, z)
         private void initGUI() {
              jPanel1 = new JPanel();
                   // combo boxes and buttons
                   // action listeners for them
              jPanel2 = new JPanel();
                   // the place where the rectangles should be shown
                   // and updated if combos are changed and button clicked
    }now, I wonder if anyone could possibly give me a hint how to make it correctly, because I'm really a total newb in Java and I can't find any good examples from www which I've search through for the solution.
    P.S. is there a plug-in for eclipse for visual programming of the graphics? =)
    thank You for the kindest help!
    J.M.

    You should not be mixing AWT and Swing component in
    a Swing application, so don't use a Canvas.
    If you need some custom painting then you should
    override the paintComponent() method of JComponent or
    JPanel and then add this component to the GUIwhat does mean the override the paintComponent() method of JComponent or JPanel?
    how can I add that component to the GUI?
    =)
    can you give a short code example, please! the code structure would be more than enough.
    J.

  • How to make new line in JButton.setText()?

    how to make new line in JButton.setText()?
    I want to set the text of jbutton in tow line ,as follows
    | jbutton-line1 |
    | xxxxxxx-line2 |
    i konw i can jbtton.settext("<html>line1<br>line2</html>");
    but i find it's ugly using html,
    is there anyother way to create new line in JButton's Text

    As for the above comment....
    I thought the question was well purposed. Using HTML was not acceptable in this instance, which was made clear, so why critisize his comments? "Using HTML" is a poor solution, it does NOT work in many instances due to browser, OS variations. Usually the "common answer" is never a COMPLETE answer.
    Possible Solution:
    Use JLabels to render the text on the button.
    import javax.swing.*;
    import java.awt.*;
    public class ButtonMaker {
    public static void makeButton(JButton jb, String[] titleList) {
    jb.setLayout(new FlowLayout());
    for (int i = 0; i < titleList.length; i++) {
    JLabel tmpLabel = new JLabel(titleList);
    tmpLabel.setForeground(Color.black);
    jb.add(tmpLabel);
    public static void clearButton(JButton jb) {
    Component[] cList = jb.getComponents();
    for (int i = 0; i < cList.length; i++) {
    if (cList[i] instanceof JLabel)
    jb.remove(cList[i]);
    Known Limitations:
    1. Flowlayout does not work well with single line text buttons... perhaps another layout manager may work better for various buttonsizes-linenumber combos.
    2. Mac OSX : The default UI for Mac OS X (and above it seems), is to have rounded edged buttons. These rounded edges are destoryed when using JLabels, leaving a square, blocky button in its place.
    POSSIBLE SOLUTION:
    (this is ugly and time consuming)
    - create images of the button with text on them.

  • How to make IIS on Windows 7 visible from outside my home LAN

    Guidance Needed: How to make IIS on Windows 7 visible from outside my home LAN.
    I am building a learning/demo ASP.NET website on this Win7 PC, using VS2008. 
    I would like to share the website with a client/friend, so I need my local IIS to be visible from outside the home LAN.
    This PC is behind a Netgear WGR614 router, which has a static IP address assigned by my ISP. 
    I have set up port forwarding on the router; port 80 is HTTP.
    I can see the website as http://localhost/ and also as http://192.168.0.2 from other PCs inside the LAN.
    Ping works from outside, but not http.   What am I missing?

    Hi,
    Since this question is related to IIS and we have specific support for IIS related issues or questions, it is also recommended that you go to IIS Forum for help.
    Hope this helps. Thanks.
    Nicholas Li - MSFT

  • How to make use of the swf made by alchemy?

    Most of the examples are about compiling C/C++ to swc, then make use of it.
    As the alchemy introduction said, we can also compile into swf file. so i tried it. But i cann't get the CLibInit class. How to make it successful?
    The codes is below:
        private function initApp():void
            var  loader:Loader = new Loader();
            var context:LoaderContext = new  LoaderContext();
            context.applicationDomain =   new  ApplicationDomain(ApplicationDomain.currentDomain);
             loader.load(new URLRequest("abc.swf"),context);
             loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete);
         private function onComplete(e:Event):void
            var clibinit:Class =  this.loaderInfo.applicationDomain.getDefinition("module.abc.CLibInit")  as Class;
    The abc.swf is the file i compile in Alchemy. And i can get the CLibInit class by using swc file as below:
        import __AS3__.vec.*;
        import cmodule.abc.*;    
        var abc:Object;
        private static function init() : void
                var clibinit:* = new CLibInit();
                abc = clibinit.init();
                return;
            }// end function

    I have the same problem. Did you get it?

Maybe you are looking for

  • Using Apple Digital AV Adapter and sound output for iPad 1

    Hi all! I'm trying to hook up my iPad 1 and iPhone 4 to a projector through HDMI that has very weak speakers. My solution is to hook up the video through HDMI and use my headphone jack or use my device speakers for sound. At first I thought it'd be o

  • How do I select to simultaneously stream (airtune) and play on my computer?

    Hi everyone. So I keep reading that as of last January '06 (6.0.2) iTunes will let you stream to remote speakers and play the same song simultaneously on the computer's speakers. How do I do this?!? I have searched everything and everywhere (these fo

  • How do I create a Windows directory browser in an applet...??

    I want it to work like most other browser windows work for selecting a file from a harddrive. I want it to be able to browse through different folders to find a file to be selected and then use that file to do something. Is there a java class already

  • Output frequency to a port mentioned in MAX

    Hi, I am trying to output ca. 100 KHz on a PIF port using NI 6351. I used example from NI example bank and it's working fine with the following code. DAQmxErrChk (DAQmxCreateTask("",&gTaskHandle)); DAQmxErrChk (DAQmxCreateCOPulseChanFreq(gTaskHandle,

  • Selection screen of the report in subscreen of the MP

    I have one Module pool program with 3 tabs. I have one existing customized Z report. By clicking on the tab 3, I need to show the selection screen of that customized report in the sub screen available under tab3.  I hope that we can achieve this thro