Static IP help

I have tried to assign a static IP to my TiVo box and it won't work. No matter what I use it doesn't work, whether it be a static IP or if I tell the TiVo to obtain the IP automatically. It finds my network fine, but none of the IP's seem to work. Is there anything I'm doing wrong, or anything I need to set up on the AirPort for this to work? Thanks.

Hi,
What I would do is first of all disable the DHCP on your Airport Express, and see which is the internal ip of your router. Then follow these steps.
Supossing that your router is 192.168.0.1 we would follow the same range for all our devices:
Airport 192.168.0.50 (for example which is easy to remember)
Laptop/Desktop 192.168.0.2
Tivo 192.168.0.3
All with the subnet 255.255.255.0 and gateway 192.168.0.1 (which is our router in this scenario).
First always setup and make sure your laptop is on fix IP so you can manage your router (which is supposed to be on fix internal IP) and from there all the other devices.

Similar Messages

  • Static input help for DATS type

    Hello,
    I'd like to link static input help for screen field of DATS type. If I click on help linked to this screen field I get CONVT_NO_NUMBER error: 'Unable to interpret "=2" as a number.'
    My steps:
    - In Screen Painter I selected desired screen field and selected DATS type and "1 Show at selection" in its details.
    - I defined global variable with same name as desired screen field
    What's the problem?
    Best regards,
    Josef Motl

    Hi,
    do this way.....
    first declare the variable in program as
    1. data: date type sy-datum.
    2. now go to your screen,(click on F6) use get from Program
    now choose date form it , and say ok, now save it and activate it.
    delete the old one..
    now you will be able to get all the things which you want.
    automatical validation also possible, and F4 also possible.
    Regards
    vijay

  • Non-static variable Help needed

    Hi, I am creating a multi threaded web server but get the following error
    non-static variable this cannot be referenced from a static context
    HttpRequest request = new HttpRequest(connectionSocket);
    Please could someone help.
    Many Thanks
    import java.io.* ;
    import java.net.* ;
    import java.util.* ;
    public final class MultiWebServer
    public static void main(String argv[]) throws Exception
         // Set the port number.
         int port = 6789;
    // Establish the listen socket.
                   String fileName;
                   ServerSocket listenSocket = new ServerSocket(port);
    // Process HTTP service requests in an infinite loop.
    while (true) {
         // Listen for a TCP connection request.
         Socket connectionSocket = listenSocket.accept();
    // Construct an object to process the HTTP request message.
    HttpRequest request = new HttpRequest(connectionSocket);
    // Create a new thread to process the request.
    Thread thread = new Thread(request);
    // Start the thread.
    thread.start();
    final class HttpRequest implements Runnable
         final static String CRLF = "\r\n";
         Socket socket;
    String requestMessageLine;
    String fileName;
    Date todaysDate;
         // Constructor
         public HttpRequest(Socket socket) throws Exception
              this.socket = socket;
              socket = null;
    // Implement the run() method of the Runnable interface.
    public void run()
         try {
              processRequest();
         } catch (Exception e) {
              System.out.println(e);
    private void processRequest() throws Exception
         // Get a reference to the socket's input and output streams.
         //InputStream is = new InputStream(socket.getInputStream());
         //DataOutputStream os = new DataOutputStream(socket.getOutputStream());
    BufferedReader inFromClient =
                        new BufferedReader(new InputStreamReader(
                             socket.getInputStream()));
                   DataOutputStream outToClient =
                        new DataOutputStream(
                             socket.getOutputStream());
         // Set up input stream filters.
         requestMessageLine = inFromClient.readLine();
         //BufferedReader br = null;
         // Get the request line of the HTTP request message.
    String requestLine = null;
    // Display the request line.
    System.out.println();
    System.out.println(requestLine);
    StringTokenizer tokenizedLine =
                             new StringTokenizer(requestMessageLine);
                   if (tokenizedLine.nextToken().equals("GET"))
                        fileName = tokenizedLine.nextToken();
                        if ( fileName.startsWith("/")==true )
                             fileName = fileName.substring(1);
    File file = new File(fileName);
                        int numOfBytes = (int)file.length();
                        FileInputStream inFile = new FileInputStream(fileName);
                        byte[] fileInBytes = new byte[numOfBytes];
                        inFile.read(fileInBytes);
                        /* Send the HTTP header */
                        outToClient.writeBytes("HTTP/1.1 200 Document Follows\r\n");
                        if (fileName.endsWith(".jpg"))
                             outToClient.writeBytes("Content-Type: image/jpeg\r\n");
                        if (fileName.endsWith(".jpeg"))
                             outToClient.writeBytes("Content-Type: image/jpeg\r\n");
                        if (fileName.endsWith(".gif"))
                             outToClient.writeBytes("Content-Type: image/gif\r\n");
                        if (fileName.endsWith(".html"))
                             outToClient.writeBytes("Content-Type: text/html\r\n");
                        if (fileName.endsWith(".htm"))
                             outToClient.writeBytes("Content-Type: text/html\r\n");
                        outToClient.writeBytes("Content-Length: " + numOfBytes + "\r\n");
                        outToClient.writeBytes("\r\n");
                        /* Now send the actual data */
                        outToClient.write(fileInBytes, 0, numOfBytes);
                        socket.close();
                   else
                   System.out.println("Bad Request Message");
                   todaysDate = new Date();          
                   try {
                        FileInputStream inlog = new FileInputStream("log.txt");
                        System.out.println(requestMessageLine + " " + todaysDate );
                        FileOutputStream log = new FileOutputStream("log.txt", true);
                        PrintStream myOutput = new PrintStream(log);
                        myOutput.println("FILE -> " + requestMessageLine + " DATE/TIME -> " + todaysDate);
                   catch (IOException e) {
                   System.out.println("Error -> " + e);
                   System.exit(1);
    socket.close();

    import java.io.* ;
    import java.net.* ;
    import java.util.* ;
    public final class MultiWebServer
    public MultiWebServer(){
    try{
    // Set the port number.
    int port=6789;
    // Establish the listen socket.
    String fileName;
    ServerSocket listenSocket=new ServerSocket(port);
    // Process HTTP service requests in an infinite loop.
    while(true){
    // Listen for a TCP connection request.
    Socket connectionSocket=listenSocket.accept();
    // Construct an object to process the HTTP request message.
    HttpRequest request=new HttpRequest(connectionSocket);
    // Create a new thread to process the request.
    Thread thread=new Thread(request);
    // Start the thread.
    thread.start();
    }catch(IOException ioe){
    }catch(Exception e){
    public static void main(String argv[]) throws Exception
    new MultiWebServer();
    final class HttpRequest implements Runnable
    final static String CRLF = "\r\n";
    Socket socket;
    String requestMessageLine;
    String fileName;
    Date todaysDate;
    // Constructor
    public HttpRequest(Socket socket) throws Exception
    this.socket = socket;
    socket = null;
    // Implement the run() method of the Runnable interface.
    public void run()
    try {
    processRequest();
    } catch (Exception e) {
    System.out.println(e);
    private void processRequest() throws Exception
    // Get a reference to the socket's input and output streams.
    //InputStream is = new InputStream(socket.getInputStream());
    //DataOutputStream os = new DataOutputStream(socket.getOutputStream());
    BufferedReader inFromClient =
    new BufferedReader(new InputStreamReader(
    socket.getInputStream()));
    DataOutputStream outToClient =
    new DataOutputStream(
    socket.getOutputStream());
    // Set up input stream filters.
    requestMessageLine = inFromClient.readLine();
    //BufferedReader br = null;
    // Get the request line of the HTTP request message.
    String requestLine = null;
    // Display the request line.
    System.out.println();
    System.out.println(requestLine);
    StringTokenizer tokenizedLine =
    new StringTokenizer(requestMessageLine);
    if (tokenizedLine.nextToken().equals("GET"))
    fileName = tokenizedLine.nextToken();
    if ( fileName.startsWith("/")==true )
    fileName = fileName.substring(1);
    File file = new File(fileName);
    int numOfBytes = (int)file.length();
    FileInputStream inFile = new FileInputStream(fileName);
    byte[] fileInBytes = new byte[numOfBytes];
    inFile.read(fileInBytes);
    /* Send the HTTP header */
    outToClient.writeBytes("HTTP/1.1 200 Document Follows\r\n");
    if (fileName.endsWith(".jpg"))
    outToClient.writeBytes("Content-Type: image/jpeg\r\n");
    if (fileName.endsWith(".jpeg"))
    outToClient.writeBytes("Content-Type: image/jpeg\r\n");
    if (fileName.endsWith(".gif"))
    outToClient.writeBytes("Content-Type: image/gif\r\n");
    if (fileName.endsWith(".html"))
    outToClient.writeBytes("Content-Type: text/html\r\n");
    if (fileName.endsWith(".htm"))
    outToClient.writeBytes("Content-Type: text/html\r\n");
    outToClient.writeBytes("Content-Length: " + numOfBytes + "\r\n");
    outToClient.writeBytes("\r\n");
    /* Now send the actual data */
    outToClient.write(fileInBytes, 0, numOfBytes);
    socket.close();
    else
    System.out.println("Bad Request Message");
    todaysDate = new Date();
    try {
    FileInputStream inlog = new FileInputStream("log.txt");
    System.out.println(requestMessageLine + " " + todaysDate );
    FileOutputStream log = new FileOutputStream("log.txt", true);
    PrintStream myOutput = new PrintStream(log);
    myOutput.println("FILE -> " + requestMessageLine + " DATE/TIME -> " + todaysDate);
    catch (IOException e) {
    System.out.println("Error -> " + e);
    System.exit(1);
    socket.close();

  • Non-static method help..

    Hello..
    I am new to Java and trying to create a Binary Tree, however I have encountered an error "non-static methos cannot be referenced from static context?" and I am unsure how to correct it.. I have C++ background and am unfamiliar with this type of error?
    My BTNode class:
    public class BTNode
        private Object data;
        private BTNode left, right;
        public BTNode(Object initialData, BTNode initialLeft, BTNode initialRight)
                data = initialData;
                left = initialLeft;
                right = initialRight;
        public BTNode()
                { this(null, null, null); }
        public BTNode(Object newdata)
                { this(newdata, null, null); }
        //NODE methods
        public Object getData()                     //return and set data in node
                {return data;}
        public void setData(Object data)
                {this.data = data; }
        public BTNode getLeft()                 //return and set left child
                {return left; }
        public void setLeft(BTNode left)
                {this.left = left; }
        public BTNode getRight()                //return and set right child
                {return right; }
        public void setRight(BTNode right)
                {this.right = right; }
        public boolean isLeaf()                 //return true if this is leaf node
                {return (left == null)&&(right == null); }
    // TREE Methods - for tree starting at this node
    // get specific data from a tree
            public Object getLeftmostData()
            { if(left == null)
                   return data;
              else
                  return left.getLeftmostData(); }
            public Object getRightmostData()
                  { if(right == null)
                   return data;
              else
                  return right.getRightmostData(); }
    // print data in a tree
            public void inorderPrint()
                        if (left != null)
                            left.inorderPrint( );
                        System.out.println(data);
                        if (right != null)
                            right.inorderPrint( ); }
            public void preorderPrint()
                        System.out.println(data);
                        if (left != null)
                            left.preorderPrint( );
                        if (right != null)
                            right.preorderPrint( ); }
            public void postorderPrint()
                        if (left != null)
                            left.postorderPrint( );
                        if (right != null)
                            right.postorderPrint( );
                        System.out.println(data); }
    // pretty print a tree
            //public void print(int depth);
    //Interface for Nodes in Binary Tree (3)
    //removing nodes from a tree
    //returns reference to tree after removal of node
            public BTNode removeLeftmost()
                        if (left == null)                               // we are as deep as we can get
                            return right;                               // remove this node by returning right subt ree
                        else
                            {                                           // keep going down recursively
                                left = left.removeLeftmost( );
                                                                        // when done, return node that act ivated this
                                                                        // method as root of t ree
                                return this; }}
            public BTNode removeRightmost()
                        if (right == null)                               // we are as deep as we can get
                            return left;                               // remove this node by returning left subt ree
                        else
                            {                                           // keep going down recursively
                                right = right.removeRightmost( );
                                                                        // when done, return node that activated this
                                                                        // method as root of tree
                                return this; }}
    //returns number of nodes in tree
            public static long treeHeight(BTNode root)
                        if (root == null)
                            return -1;
                        else
                            return 1 + Math.max(treeHeight(root.left),
                                    treeHeight(root.right));
            public static long treeSize(BTNode root)
                    if (root == null)
                        return 0;
                    else
                        return 1 + treeSize(root.left) + treeSize(root.right);
    //copying a tree: returns reference to root of copy
           // public BTNode treeCopy(BTNode root);
        public static BTNode insertNode(BTNode root, int key){
                if (root == null) // null tree, so create node at root
                    return new BTNode(new Integer(key));
                Integer data_element = (Integer) root.data;
                if (key <= data_element.intValue())
                    root.setLeft(insertNode(root.left, key));
                else root.setRight(insertNode(root.right, key));
                    return root; }
        public static BTNode findNode(BTNode root,int key){
                if (root == null)
                    return null; // null tree
                Integer data_element = (Integer) root.data;
                if (key == data_element.intValue())
                    return root;
                else
                if (key <= data_element.intValue())
                    return findNode(root.left, key);
                else return findNode(root.right, key); }
        public static BTNode removeNode(BTNode root, int key){
                if (root == null) return null;
                    Integer data_element = (Integer) root.data;
                if (key < data_element.intValue())
                    root.setLeft(removeNode(root.left, key));
                else if (key > data_element.intValue())
                    root.setRight(removeNode(root.right,key));
                else { // found it
                if (root.right == null) root = root.left;
                    else if (root.left == null) root = root.right;
                        else {                                         //two children
                                Integer temp = (Integer)
                                root.left.getRightmostData();
                                root.setData(temp);
                                root.setLeft(root.left.removeRightmost());
                return root; }
    Main class:
    import java.util.Random;
    public class Lab21 {
        /** Creates a new instance of Lab21 */ 
         * @param args the command line arguments
        public static void main(String[] args) {
            int UpperLimit = 50000;
            int Num_Nodes = 500;
            Random generator = new Random();
            int TR_create = generator.nextInt(UpperLimit);
            Integer cast = new Integer(TR_create);                  // Needed to cast initial value to BTNode object
            BTNode Tree_Root = new BTNode(cast);                    // Creating root object
            BTNode result = new BTNode();                           // Creating new node object to use for tree
            result.insertNode(Tree_Root,TR_create);                 // Inserting first Node
            if (UpperLimit <=0)
                    throw new IllegalArgumentException("UpperLimit must be positive: " + UpperLimit);
            if (Num_Nodes <=0)
                    throw new IllegalArgumentException("Size of returned List must be greater than 0.");
            for( int x = 0; x < Num_Nodes; ++x)  
                    int value = generator.nextInt(UpperLimit);
                    result.insertNode(Tree_Root,value);
            //BTNode.inorderPrint();
            System.out.println("The height of this tree is " + BTNode.treeHeight(Tree_Root));
            System.out.println("The smallest number in the tree is " + BTNode.getLeftmostData());
    }The error is occuring with the last line where I am trying to access getLeftmostData();
    Any help would be apprecited with this..
    Thankyou

    User 557835:
    You need to use the name of the instance rather than the name of the class. It should be something like this:System.out.println("The smallest number in the tree is " + result.getLeftmostData());User 135880

  • Upgraded to Mountain Lion, and now my Bluetooth Headset doesn't work? All I get is very loud static. Help?

    I just upgraded my iMac to Mountain Lion and my bluetooth headset doesn't work. All I get is static. Worked fine with Lion. It doesn't work with my new MacBook Pro either.
    I use the headset extensively talking on Skype and gtalk with my partner.
    Help!!!

    If you've tried the SMC reset then try a Pram reset:
    http://support.apple.com/kb/ht1379

  • Wrt54g version 3 static arp help?

    First off hello all i have a PS3 and its set up to automatically turn on with remote play.
    As some of you may know the 54G is one of the routers that makes the PS3 turn on without remote play being active.
    after some searching it seems its tied to ARP and other people have been successful assigning a static ARP to the address on the PS3 ( PS3 outside of DNS range)
    The only thing is a wasnt able to track down a way to do it with the linksys. I was advised on one forum to use telnet but when i type /telnet 192.168.1.1 i get a message
    connecting to 192.168.1.1...could not open connection to the host, in port 23: connect failed
    im running linksys firmware 4.21.1 and my WRT54G is connected by ethernet to the router.
    im sure this question seems silly to some and i apologize. i tried searching around the web and couldnt seem a way to set this up.
    any help is greatly appreciated. hoping i do not need to buy a new router
    Best Wishes Adam
    Message Edited by addertay on 03-19-2008 08:49 AM

    you did not list your router model # & and guessing your laptop has a internal NIC.  If everything worked fine b4, I'm assuming something just got hosed up.  I would power down your laptop, gaming devices, & anything else you have connected/ using the router.  I would then reset the router.  Most models have a button you depress for a FULL 10-15 seconds.  Then power up your laptop & test your connection.  If all is well, set your security functions, etc.  Then connect the rest of your equipment. 
    Good luck & let us know how it turns out or if we can assist further.

  • Seeking static route help

    After having inserted my own router as the internet gateway router and relegated the Verizon one to be a secondary one that just communicates with the STBs I would like to know if any could explain to me how to set up static routes to be able to access it via a wired connection as I would like to turn of the wireless side of it.
    Now have a double NAT'd setup as follows
    ONT -> WAN Netgear subnet 192.168.0
                  Netgear Lan port 1 -> Wan VZ Westell subnet 192.168.1
                                                          Moca connections to STBs
                                                          Ethernet connections to exposed (Port forwarded) machines
                  Netgear Lan Port 2 -> Wan Dlink subnet 192.168.3
                                                          Dlink Lan port -> 1GB NIC desktop machine 192.168.3.99
    From the desktop machine at 192.168.3.99 I want to be able to get to the admin pages of the VZ router at 192.168.1.1 and also to some exposed machines on the 192.168.1 subnet
    I'm guessing I need static routes defined at the dlink router at 192.168.3.1 and the netgear router at 192.168.0.1
    On paper this looks very simple but I cannot work out what the static routes are meant to say
    Any have any hints that would help me out?

    Fixed it. once I looked at the Westell logs
    Finally realized that the static routes I built were fine and the problem is that I was being blocked at the firewall.
    Can't put the router in the DMZ and can't port forward to the the router's lan ip address (192.168.1.1).  Allowed remote admin on the router and it works fine - would be nice if the router allowed you to choose some obscure port but I guess it's not really much of a sexurity risk as the router's wan port is inside the private network anyway. 

  • Establishing a Static IP help please :)

    In order to establish a static ip i need the DNS Server address, however, when it is the same as the Default Gateway address you have to either go to your router's web interface or call your internet provider to obtain your DNS Server address. I was wondering if it is even possible to establish a Static IP w/ your phone as your modem/router and if so how do i obtain my DNS server adress when their is no router web interface. thanks for the help
    Post relates to: Pre Plus p101vzw (Verizon)

    ElliottG wrote:
    and it just won't work. The internet will work, but I go check my ip, then go to restart my router, I do that, and reload the whatismyip page, my external ip changes...
    It is normal because you have dynamic IP address. Every router/modem restart will get you a different IP address. All machines on the internet will only "see" your external IP. Internal IP (192.168.1.whatever) will not be "seen" from the internet.
    When you go into control panel and go into internal protocol (tcp/ip) and set everything up, does the ip have to be outside the limits of the dhcp limit? Ex. 192.168.1.100 tp 192.168.1.49? I set it as 192.168.1.175 and it still doesn't work so I really need some help please...
    You are mixing private IP with real/internet IP addressing scheme. They are 2 different things.
    I'm probably guessing I need to get a static ip from my isp...but how come in all the guides it doesn't say that? and i'm sure my isp won't be too keen on giving me a static ip...
    For simplicity, I guess. Yes, you must spend extra money to get static IP.

  • HT4623 I updated to 7.0 and now my ipod wont play in my car stero. I have reset, bought an itunes song and reset again but nothing is working. Pandora wont play. I can hear it on my phone when I unplug but not anything thru the stero except static. Help!

    I updated to 7.0 and now my ipod wont play in my car stero. I have reset, bought an itunes song and reset again but nothing is working. Pandora wont play. I can hear it very slightly in my speakers if I turn up the speakers but it is so faint. It plays thru its own speakers and my radio plays thru my speakers in my car so my its not my speakers.Help! Thank you!

    Hi Novagurl2369!
    I have an article for you that can provide some helpful troubleshooting steps to address your issue:
    No sound through stereo headset1
    Inspect the headset jack for debris and clean if necessary.
    Connect the headset and make sure the connector is pushed in all the way.
    Check the volume setting. Adjust the volume by pressing the volume up and down button on the left side of the iPhone.
    If you are trying to listen to music and cannot hear any audio, make sure that the music on iPhone is not paused. Try squeezing the headset microphone to resume playback. Additionally, from the Home screen you can choose iPod > Now Playing, then tap Play.
    Make sure the latest version of iTunes is installed on the computer that you are syncing the iPhone with (songs purchased from the iTunes Store using earlier versions of iTunes won't play).
    Try another Apple headset (some third-party headsets require an adapter to be used with original iPhone).
    Try a different song or video.
    Check to see if the iPhone alert sounds or other iPhone sound effects exhibit the same audio issues.
    Disconnect the headset from the iPhone and see if sound comes from the built-in speaker.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Array static int help

    static int[]      insert(int x, int i, int[] a)
    insert takes an item x, an index i, and an array a, and returns a new array containing all the elements of a with one additional element, namely x, at position i.
    ok im trying to add 2 ints to the array?
    and i dont understand what im doing wrong this is what i tried and it says error bc it needs an int in the return.
    its suppose to do this
    a = new int[3]; a[0] = 5; a[1] = 2; a[2] = 7;
    a.length3
    b = insert(-42, 1, a); // -42 is passed into x and 1 is passed into i
    b.length4
    b[1]-42
    b[2]2
    this is what i have written that is wrong...
    public static int[] insert(int newZ, int newX, int[] a){
    int totals = 1;
    int z = newZ;
    int x = newX;
    for (int i = 0; i < a.length; i++){
    totals = (a[i]+ z + x);
    return totals;
    }

    Hi,
    This forum is exclusively for discussions related to Sun Java Studio Creator. Please post your question at :
    http://forum.java.sun.com/forum.jspa?forumID=54
    Thanks,
    RK.

  • My phone was working fine and at the same time the samsung logo came up saying there was a software update, the screen went green with lines and static. Help?

    I spent time online chatting with reps from Samsung who tried to get me to do a factory reset even though I'd already told them I couldn't access the screen at all. They ended up suggesting I just send it in for a warranty replacement as the phone was only purchased in the summer. I'd like to see if there are other options? I'm trying Verizon's Software Repair assistant but it seems to be stuck at the 25% downloading mark for quite some time. I'm worried I've killed all my data back up as a result. ANY help would be incredible now.

    Morning DeeHutton,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Best of luck,
    Mario

  • Static PAT help

    I want people on the outside going to https://1.1.1.68 to be allowed and be redirected to inside address
    192.168.168.242
    outside interface IP address is 1.1.1.65 255.255.255.240
    Here is what I was going to configure, will this accomplish what I want?
    object network 1.1.1.68_OWA
     host 1.1.1.68
    object network TCP_OWA_242_443
     host 192.168.168.242
     nat (inside,outside) static 1.1.1.68_OWA service tcp https https
    access-list outside_inbound extended permit tcp any4 host 192.168.168.242 object-group DM_INLINE_TCP_242_443
    Thanks,
    Mike

    When I first looked at it I thought DM_INLINE_TCP_242_443 was a protocol group you had defined somewhere else but not included in the snippet.
    From your revision it looks like you're calling the network group where the port # or service group should be. I think what you're looking for is something like this:
    object network 1.1.1.68_OWA
     host 1.1.1.68
    object network TCP_OWA_242_443
     host 192.168.168.242
     nat (inside,outside) static 1.1.1.68_OWA service tcp https https
    access-list outside_inbound extended permit tcp any object TCP_OWA_242_443 eq https

  • Fios MRDVR Box Boots to Static Screen ~ HELP!!!

    When initially booting the DVR box and TV for the first time of the day, the box comes on, the TV comes on and I'm presented with a screen full of green static and an extremely loud noise that can only be described as a high-pitched screeching.
    This lasts about 15 seconds, during which time the remote control is non-functional.  Then the DVR automatically turns off and re-starts.  Then all is fine.  It only seems to happen the first time the box is turned is turned on during the day.
    What I've done:
    Re-booted the box.
    Ordered and installed a "new" DVR from Verizon (and it still happens).
    Re-booted the "new" DVR
    I say "new" DVR because it's new to me; I called VZN about the issue, they told the DVRs they send out aren't actually brand-new, they're REFURBISHED!!  So I spend about $400/month for Verizon services and they sent out a DVR that in my case is 4 years old and had been rented by 3 other people!?!?  SERIOUSLY????
    Still happens no matter what.  Anybody else ever heard of this issue?
    What am I supposed to do, VERIZON????

    Even though a DVR might be refurbished (cable companies do the same thing) no 2 units should give you the exact same issue. Have you tried rebooting your router? If not try doing that. If that doesnt work either since yes it does control features on the dvr, then its very possible you have an issue with your ONT and it may need to be repaired or replaced.
    What DVR model and brand are you using?
    Another simple solution is to simply not turn the DVR off. Turning it off doesn't save any power as the HD is always running regardless.

  • Private inner class and static private inner

    Hi,
    I understand the concept and usage of inner classes in general.
    When should we go for a private inner class and when for a static private inner class? I tried searching but it wasn't of much help.
    Basically I need to design a caching solution in which I need to timestamp the data object. After timestamping, data will be stored in a HashMap or some other collection. I'm planning to use a wrapper class (which is inner and private) which holds the data object and timestamp. I can make the program work by using either normal inner class or static inner class, however would like to know which is better in such case. Also If I can get some general guidelines as to when to use a staic inner class and when to use a normal inner class, it would help me.
    Thanks in advance.

    user1995721 wrote:
    When should we go for a private inner class and when for a static private inner class?
    I can make the program work by using either normal inner class or static inner class, however would like to know which is better
    If I can get some general guidelines as to when to use a static inner class and when to use a normal inner class, it would help me.Making the inner class static is helpful in that it limits visibility.
    If the inner class needs to access non-static fields or methods from the containing class instance
    the inner class has to be non-static.

  • Help on Error

    I was testing one of the example code from the Java Tutorial, PasswordDemo.java, when i run it this error comes out..
    +++++++++++++++++++++++++++++++++++++++++++++++
    java.lang.NoClassDefFoundError: PasswordDemo (wrong name: components/PasswordDemo)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    Exception in thread "main"
    Tool completed with exit code 1
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Can any one tell me why???

    Here is the code....
    package components;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Arrays;
    /* PasswordDemo.java requires no other files. */
    public class PasswordDemo extends JPanel
    implements ActionListener {
    private static String OK = "ok";
    private static String HELP = "help";
    private JFrame controllingFrame; //needed for dialogs
    private JPasswordField passwordField;
    public PasswordDemo(JFrame f) {
    //Use the default FlowLayout.
    controllingFrame = f;
    //Create everything.
    passwordField = new JPasswordField(10);
    passwordField.setActionCommand(OK);
    passwordField.addActionListener(this);
    JLabel label = new JLabel("Enter the password: ");
    label.setLabelFor(passwordField);
    JComponent buttonPane = createButtonPanel();
    //Lay out everything.
    JPanel textPane = new JPanel(new FlowLayout(FlowLayout.TRAILING));
    textPane.add(label);
    textPane.add(passwordField);
    add(textPane);
    add(buttonPane);
    protected JComponent createButtonPanel() {
    JPanel p = new JPanel(new GridLayout(0,1));
    JButton okButton = new JButton("OK");
    JButton helpButton = new JButton("Help");
    okButton.setActionCommand(OK);
    helpButton.setActionCommand(HELP);
    okButton.addActionListener(this);
    helpButton.addActionListener(this);
    p.add(okButton);
    p.add(helpButton);
    return p;
    public void actionPerformed(ActionEvent e) {
    String cmd = e.getActionCommand();
    if (OK.equals(cmd)) { //Process the password.
    char[] input = passwordField.getPassword();
    if (isPasswordCorrect(input)) {
    JOptionPane.showMessageDialog(controllingFrame,
    "Success! You typed the right password.");
    } else {
    JOptionPane.showMessageDialog(controllingFrame,
    "Invalid password. Try again.",
    "Error Message",
    JOptionPane.ERROR_MESSAGE);
    //Zero out the possible password, for security.
    Arrays.fill(input, '0');
    passwordField.selectAll();
    resetFocus();
    } else { //The user has asked for help.
    JOptionPane.showMessageDialog(controllingFrame,
    "You can get the password by searching this example's\n"
    + "source code for the string \"correctPassword\".\n"
    + "Or look at the section How to Use Password Fields in\n"
    + "the components section of The Java Tutorial.");
    * Checks the passed-in array against the correct password.
    * After this method returns, you should invoke eraseArray
    * on the passed-in array.
    private static boolean isPasswordCorrect(char[] input) {
    boolean isCorrect = true;
    char[] correctPassword = { 'b', 'u', 'g', 'a', 'b', 'o', 'o' };
    if (input.length != correctPassword.length) {
    isCorrect = false;
    } else {
    isCorrect = Arrays.equals (input, correctPassword);
    //Zero out the password.
    Arrays.fill(correctPassword,'0');
    return isCorrect;
    //Must be called from the event dispatch thread.
    protected void resetFocus() {
    passwordField.requestFocusInWindow();
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event dispatch thread.
    private static void createAndShowGUI() {
    //Create and set up the window.
    JFrame frame = new JFrame("PasswordDemo");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Create and set up the content pane.
    final PasswordDemo newContentPane = new PasswordDemo(frame);
    newContentPane.setOpaque(true); //content panes must be opaque
    frame.setContentPane(newContentPane);
    //Make sure the focus goes to the right component
    //whenever the frame is initially given the focus.
    frame.addWindowListener(new WindowAdapter() {
    public void windowActivated(WindowEvent e) {
    newContentPane.resetFocus();
    //Display the window.
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args) {
    //Schedule a job for the event dispatch thread:
    //creating and showing this application's GUI.
    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    //Turn off metal's use of bold fonts
              UIManager.put("swing.boldMetal", Boolean.FALSE);
              createAndShowGUI();
    }

Maybe you are looking for

  • Creation of campaign from template through program in web ui

    Hi, We have requirement to send notifications to customers.We are using campaign framework to send notifications.Need to create a new campaign from an existing campaign template  and release the campaign through a program in web ui. Please suggest me

  • Been stuck for over  a year, please help me do this

    so i have this laptop with 8gb ram and core i7 as well as 2 hdd (no raid). Now i heard about premiere (cs4) and my laptop is ready to take most of the advantage but the hard drive is the bootleneck. Basically, all i want is to do few cuts in a video

  • Correct JNI_OnLoad JNI_OnUnLoad approach for cacheing jvm ref?

    Currently am successful in calling a C API from Java. What am basically trying to do here is catch an event in C program, and callback the Java instance, to handle it in my Java code (Similar to a event handling in Swing). I have implemented the even

  • Refreshing components after action

    Hello, today i have a next problem: I have TreeView which contains rekords from SQLite database and Dialog, which adding records for SQLite database. But when i'm adding a new record to db i must restart application to get a new added rekord in Tree.

  • IChat doesn't always work on startup

    We use iChat to leave each other messages, but sometimes when iChat is first opened and used, the message doesn't appear on the target mac. Usually once it's been used once, it then proceeds to work.... does iChat go into sleep mode and why doesn't t