Switch SG-100 24port

Hi,
we use the Cisco switches SG-100 (gigabit 24ports), but this switches not communicate whith a devices (PC whith 100Mbit LAN interfaces or printers RICOH MP 171 - can only 100Mbit). This switch should be able to communicate on speed Gbit, 100Mbit or 10Mbit.
Where could be a problém?
Thank you in advance for your help.
J.

Dear Tharin,
For the SG 100 16 I have the following information for you.
Packet buffer size : 4 Mb
Max power usage : 15,6 W (110V) 15;9 W (220V)
Unfortunately, data on min. power usage and heat dissipation are not at my disposal at this moment.
Hope this already helped a little.
BR,
Nico

Similar Messages

  • Connecting Time Capsule with switch 10/100

    Can I connect a Time Capsule with a Dlink switch 10/100 Wifi?

    You can, but devices connected to the D-Link switch will drop to a maximum of 100 Mbps speeds. The Time Capsule supports 1,000 Mbps or Gigabit speeds.
    If you plan to transfer a lot of files using Ethernet, the numbers speak for themselves.

  • Why doesn't the SLM2024 Smart Switch 10/100/1000 support 10M?

    Hi,
    Since a couple of weeks I have installed 5 SLM2024 Gig Smart Switches. Now we have a new Time Attendance System that tries to communicate to the Cisco with 10M. The Cisco identifies it correctly but will not parse any info to the Device. Why is that?
    Test it with a D-Link 10/100 Switch -> OK
    Test with a Cisco 10/100 Switch -> OK
    Test with noname 10/100/1000 Switch -> OK
    Test with SLM2024 -> Failed.
    I would love for someone to explain this to me. What does the Cisco do? I would gather that if a Switch is 10/100/1000 it can communicate over anyone.
    Anybody?
    Regards,
    Richard

    Hi Richard,
    I would definitely expect to be receiving broadcast packets, maybe ARP packets  from the time attendance advice.
    Yep that is a problem.
    But, why are you not receiving broadcast packets on the port that is connected to the time attendance device.hmm that my question that I am mulling in the back of my mind.  Your switch port statistics showed an issue.
    Packet capture
    A wireshark or packet trace would be most useful , so mirroring the time attendance switch  port to your PC's switch port would be useful.  This would allow us to see what is coming in and out of that switch port.
    Pretty easy to setup on this managed switch, see my screen capture below as an example.
    Wireshark is a wonderful freeware 'sniffer' software  that would allow us to see the ethernet frames coming in and out of the switch port in question.
    to grab wireshark try the following URL;   http://www.wireshark.org/download.html
    Don't need much data just a 30 second capture and remember to undo the mirroring and save changes  after the capture is taken.
    MAC address Table
    Be interesting to see the dynamic MAC address table to see the MAC address of the time attendance device.
    Might be most intersting to add a static arp entry for the time attendance device, MAP it's MAC address to a switch port.
    (This is only necessary if there isn't a dynamic ARP entry, MAC address of the time attendance device on the switch port.)
    see my screen capture below, you will also note, that underneath the static address is a option to look at the dynamic address.
    Switch port Status and Error log
    But could be most useful to see the setting for that switch port similar to the two following screen captures.
    lastly the log is informative as it might indicate what or where the error is.
    David

  • Best small business switch for 100-300 user UC deployments

    Hello,
    The SMART Designs state that both the ESW500 and 300-series switches should not be used for deployments of over 100 IP phones.
    But now that both the UC560 can go up to 138 (128 IP phones) and the BE3000 can go up to 300 users is this design restriction still valid or is the Catalyst 2960 and above the only options?
    The QPT is still showing both the 300- and ESW500  switches as options for all versions of the UC560, and the 300- and 2960  switches are shown as valid options in the LAN for the BE3000.
    Thanks.

    Hi All,
    I would agree with the folks at smartdesign, but for a very differerent reason as suggested by kmacpherson..
    But think about the Business Edition 3000 (BE3000) and how it's supported.  BE3000 is supported by the traditional Cisco TAC that also supports the catalyst 2960S etc....
    The 300 series switch is supported by the wonder folk at the  Small Business Support Center (SBSC) . 
    300 series of switches are generations ahead of the ESW switch in terms of switch silicon/features/GUI/supported CLI/IPv6 support  etc..it is a tremendous switch series..
    From my perspective, even though there is now a lot of dialogue between TAC and SBSC these days, it sorta makes a lot of sense in my mind to position Catalyst switches  in conjunction with  BE3000 for your end users,  and 300 series small business switches as a lower cost alternative.
    This will mean there will be pretty seamless TAC support for a BE3000,  catalyst, ISRG2 solution.
    regards Dave

  • Photos get all blurry when switching between "100%" and "Fit to Screen"

    Hello,
    I downloaded the Aperture 3 Testversion and I'm trying to create a new book. I managed to design all the pages but when I switch between the views the photos get all blurry until I zoom in and out of the photo.
    I was wondering if anybody knows if it will affect the print out version and if I can do something that they aren't blurry when I get my copy?
    Thank you for your help.
    Tim

    I have also noticed this.
    Click the print button in the book layout window.
    In the print dialog, choose PDF>open pdf in Preview.
    I presume this shows a reasonably accurate facsimile of how the images will appear when printed.

  • Hyper-V host 1Gbps NIC negotiated at 100 Mbps when used for Virtual Switch

    Hi all,
    Hoping someone can shed some light on this one as I’ve been trying to hunt down a solution for a week now.
    Setup
    HP ProLiant ML350 G6 with HP NC326i PCIe Dual Port Gigabit Server Adapter network adapters
    Windows Server 2008 R2 Core with only the Hyper-V role installed
    SBS 2011 installed as guest
    Port 1 on Dual port NIC configured a physical port or management of Host only
    Port 2 on Dual port NIC configured for use as an External Virtual Switch port for use by guests only
    The issue is that the physical port connected to the Hyper-V virtual Switch negotiates with the network switch at 100 Mbps full duplex while the management port negotiates at 1 Gbps full duplex. All clients (brand new HP Z210 workstations) also negotiate
    with the switch at 1 Gbps.
    During file copies and backups the network port connected to the Virtual Switch does not show any errors and transfers data at close to 100 Mbps. File transfers between individual workstations and workstations and server core again show no errors, but transfers
    at 1 Gbps.
    One observation is that the physical NIC connected to the Virtual Switch does not negotiate with the switch until the Hyper-V service has started (I’m guessing) the virtual switch.
    Also, while staging the server the Hyper-V virtual switch created when the server was connected to a 100 Mbps switch not a 1Gbps switch as it is in production.
    Has anyone encountered anything similar and if so how did you get the physical NIC to operate at full capabilities? Any assistance would be greatly appreciated.

    Hi,
    I purchased one gigabyte switch for home used several days ago, I just performed some copy tests between virtual machines and physical machines(not
    Hyper-V host machine)in the same LAN, the average copy speed is 350Mb/s.
    Best Regards,
    Vincent Hu

  • Zoom 100% in place shortcut

    When I press cmd + 1 it zooms 100%, but the position changes to the actual artboard.
    A lot of times I work outside the artboard, and it is annoying that there's no fast way to switch to 100% zoom wihout having to move the position again.
    Using view is not practical for this because it takes time to redefine a new view everytime I move my work area.
    Using the navigator panel or the zoom text box in the bottom left corner is tedious too.
    We need a keyboard shortcut to do that.

    100% agree. Although we may not dispose of the existing shortcut.

  • LAN design - how to implement a core switch?

    Hi all,
    First post here so please be gentle :-)
    I'm looking for a bit of advice with a LAN setup I've been tasked with.
    The basic requirements are to have a demonstration suite of servers/storage devices networked with internet access with certain devices segmented in different VLANs. Also, a separate VLAN is required for training and meeting rooms which will receive DHCP addresses from a WIN2K3 server.
    The kit I've inherited consists of:
    1 ADSL Modem/Router
    1 2611XM router
    2 Catalyst 4006 switches with Supervisor II engines (CatOS :-( ), one with a layer 3 routing module
    Several Catalyst 2950/3500xl switches
    Netscreen 100 Firewall
    F5 Firepass for VPN
    After a lot of fun resetting devices I've currently setup the LAN with a router on a stick configuration which routes between different VLANs (on the 3500/2950s) and which has internet access via the 2611 and ADSL modem router in turn. That's about as far as my current knowledge goes I'm afraid!
    What I have to do is incorporate the 4006s but I don't really know how to go about it or what's the best way to use them. How would I use them as core switches?
    I was hoping someone could point me in the right direction on the best way to connect the switches up, i.e. network design, cabling (fibre uplinks between switches) and some basic configuration advice with the layer 3 routing module.
    Any advice will be most appreciated!! It's my first networking job and I'm a bit lost.
    Thanks.

    Peter,
    I would do the same - with a twist...
    Have 1 4006 as a VTP server, also the spanningtree root for all vlans.
    Have a trunk between the two 4006's - and make it an etherchannel 2 or 3 ethernet links (redundancy).
    Make the second 4006 also a vtp server (redundancy) and have that 4006 the secondary 4006 for spanningtree (more redundancy!)
    That way if you decide to have a distribution layer - you have 2 uplinks into the core 1 into 4006-1 as the primary, and the second 4006-2 as the secondary.
    You could then have a trunk (etherchannel) between the distribution switches, then have a access layer into the distribution layer with duel links. This way you could have multiple switch and or link failures and still work!!!
    You use the layer 3 module to do the inter-vlan routing - correct. Then have your adsl modem/router as the gateway to the internet - you put a default route in the layer 3 module point to the adsl modem! then you have the routes for the various vlan subnets pointing from the modem back to the layer 3 module......done!
    HTH.

  • 100% Black keeps defaulting back to 4-colour

    Hi there,
    I make a newspaper in Indesign, and the printer has been telling me that all my black is coming out fuzzy because it is 4-colour black. I know that I did not set it up as 4-colour black, so I found this weird.
    While making the newspaper this month, however, I discovered that while I am making my text 100% black, if I go back and reselect the text, the font has somehow defaulted back to 4-colour black. No matter how many times I select the text (or object) and make it 100% black, it will automatically default back to 4-colour black.
    Does anyone know a reason for this/how to fix it?
    My colour settings are:
    I really need this to be fixed. My job somewhat depends on figuring this out...
    Any help would be appreciated! Thanks!

    Hi,
    I'm not using the blacth swatch still?
    I thought it was just matter of selecting...
    I'm so sorry, I'm very amateur with InDesign, like I said, it was a teach yourself (very quickly) how to make a newspaper in it, and I am obviously not doing so well...
    I don;t know anything about knockout, overprint or "trapping" colour....All I know is that I have the option "Overprint Black Switch at 100%" ubckecked in the colour settings area...should this be checked our uncheck?
    Sorry again, thanks for all your help guys! It's really fantastic of you to take the time to try and explain things to me

  • Final Cut Studio 3 can switch from Japanese to english?

    I live in Japan and I want to buy Final Cut Studio 3, but there is only Japanese language only. I'm afraid of purchasing it and it won't switch to 100% in English. Is there an International version in Japan? Has anyone purchased from Japan and using it in english? Any info would be most appreciated.
    Thank you
    Luis

    Thank you for answering the question. I went ahead to call Apple Store Japan and ask the same question. It should work on any language once you set your main computer to the language your of choice. I will purchase and will keep you posted.
    Thank you
    Luis

  • 10/100/1000

    I noticed something interesting yesterday and am hoping someone can explain it. When plugging in servers that were hard coded to 100 on gigabit ports the server performance choked. Shouldnt the IOS autonegotiate and provide std 100 service to the server? After switching the server nic to auto it immediately boosted to gigabit and all performance issues were solved.
    does this make sense?It previously functioned at 100 very well for a long time.

    By doing what you did you created a duplex mismatch.The switch is set as auto unless you set the server as auto it "cannot" autonegotiate the speed and duplex . The switch can sense the speed correctly but cannot sense the duplex unless the other side is auto so it will default to half duplex , so you then have your server hardcoded to 100/full and the switch running 100/half with a collision domain activated. So you have a duplex mismatch which causes all kinds of errors and slow response , retransmissions etc....
    You must match both sides on the coding , if the server is hardcode then the switchport must be hardcoded , if its auto then the switchport must be auto also.

  • Switch uplinks

    Is there a limit to how many switches you should uplink in a line ? also what should i use a a core switch baring in mind that all my switches are 100 meg.
    thanks

    Hi Carl,
    The limit when uplinking in a line, or "daisy chaining" is a function of the STP diameter, assuming that you're using 802.1D STP. The conservative default values for the STP timers impose a maximum network diameter of seven. You can go beyond this, but it would require tuning the STP timers, as well as resulting in an STP convergence even longer than the standard eternity of 50 seconds.
    As for what to use as a core switch, that all depends on how much traffic is going to go through it. Based on the limited info I have, a Catalyst 4500 will have plenty of horsepower.
    HTH,
    Bobby
    *Please rate helpful posts.

  • How to show FTP Files in JTable, i gave codeeeee

    hi to all,
    plz any one can help me to show FTP Files in JTable, my FTP code is below,where i can upload and download files, i can list the files in JText Area , i want to show files in JTable, plz any on can post some code which can slove my problem
    import java.net.*;
    import java.io.*;
    import java.util.*;
    public class CFtp
       static final boolean debug = false;
       public static final int FTP_PORT = 21;
       static int FTP_UNKNOWN = -1;
       static int FTP_SUCCESS = 1;
       static int FTP_TRY_AGAIN = 2;
       static int FTP_ERROR = 3;
       static int FTP_NOCONNECTION = 100;
       static int FTP_BADUSER = 101;
       static int FTP_BADPASS = 102;
       public static int FILE_GET = 1;
       public static int FILE_PUT = 2;
       /** socket for data transfer */
       private Socket      dataSocket            = null;
       private boolean     replyPending       = false;
       private boolean     binaryMode            = false;
       private boolean     passiveMode            = false;
         private boolean     m_bGettingFile     = false;
       /** user name for login */
       String  user = null;
       /** password for login */
       String  password = null;
       /** last command issued */
       public String  command;
       /** The last reply code from the ftp daemon. */
       int lastReplyCode;
       /** Welcome message from the server, if any. */
       public  String       welcomeMsg;
       /** Array of strings (usually 1 entry) for the last reply
           from the server. */
       protected   Vector    serverResponse = new Vector(1);
       /** Socket for communicating with server. */
       protected Socket    serverSocket = null;
       /** Stream for printing to the server. */
       public PrintWriter  serverOutput;
       /** Buffered stream for reading replies from server. */
       public InputStream  serverInput;
       /* String to hold the file we are up/downloading */
       protected String strFileNameAndPath;
       protected String m_strSource;
       protected String m_strDestination;
       public void setFilename( String strFile )  {
            strFileNameAndPath = strFile;
       String getFileName()  {
            return strFileNameAndPath;
       public void setSourceFile(String strSourceFile)  {
          m_strSource = strSourceFile;
       public void setDestinationFile(String strDestinationFile)   {
          m_strDestination = strDestinationFile;
       public String getSourceFile()  {
          return m_strSource;
       public String getDestinationFile()  {
          return m_strDestination;
       void getCurrentDirectory()  {
         // return CSystem.getCurrentDir();
       /** Return server connection status */
       public boolean serverIsOpen()  {
          return serverSocket != null;
          /**Set Passive mode Trasfers*/
         public void setPassive(boolean mode)  {
            passiveMode = mode;
       public int readServerResponse() throws IOException  {
          StringBuffer    replyBuf = new StringBuffer(32);
          int             c;
          int             continuingCode = -1;
          int             code = -1;
          String          response;
          try  {
                while (true)  {
                   while ((c = serverInput.read()) != -1)  {
                                if (c == '\r')  {
                                       if ((c = serverInput.read()) != '\n')  {
                                            replyBuf.append('\r');
                                  replyBuf.append((char)c);
                                  if (c == '\n')
                                       break;
                             response = replyBuf.toString();
                             replyBuf.setLength(0);
                   try  {
                      code = Integer.parseInt(response.substring(0, 3));
                         catch (NumberFormatException e)  {
                    code = -1;
                         catch (StringIndexOutOfBoundsException e)  {
                      /* this line doesn't contain a response code, so
                      we just completely ignore it */
                      continue;
                   serverResponse.addElement(response);
                   if (continuingCode != -1)  {
                      /* we've seen a XXX- sequence */
                      if (code != continuingCode || (response.length() >= 4 && response.charAt(3) == '-'))  {
                         continue;
                              else  {
                         /* seen the end of code sequence */
                         continuingCode = -1;
                         break;
                         else if (response.length() >= 4 && response.charAt(3) == '-')  {
                      continuingCode = code;
                      continue;
                         else  {
                      break;
             catch(Exception e)  {
                  e.printStackTrace();
              if (debug)  {
              //     CSystem.PrintDebugMessage("readServerResponse done");
          return lastReplyCode = code;
       /** Sends command <i>cmd</i> to the server. */
       public void sendServer(String cmd)  {
          if (debug)  {
              //       CSystem.PrintDebugMessage("sendServer start");
          serverOutput.println(cmd);
          if (debug)  {
           //  CSystem.PrintDebugMessage("sendServer done");
       /** Returns all server response strings. */
       public String getResponseString()  {
          String s = new String();
          for(int i = 0;i < serverResponse.size();i++)  {
             s+=serverResponse.elementAt(i);
          serverResponse = new Vector(1);
          return s;
       public String getResponseStringNoReset()  {
          String s = new String();
          for(int i = 0;i < serverResponse.size();i++)  {
             s+=serverResponse.elementAt(i);
          return s;
       * issue the QUIT command to the FTP server and close the connection.
       public void closeServer() throws IOException  {
          if (serverIsOpen())  {
             issueCommand("QUIT");
                   if (! serverIsOpen())  {
                      return;
             serverSocket.close();
             serverSocket = null;
             serverInput = null;
             serverOutput = null;
       protected int issueCommand(String cmd) throws IOException  {
          command = cmd;
          int reply;
          if (debug)  {
           //  CSystem.PrintDebugMessage(cmd);
          if (replyPending)  {
             if (debug)  {
                   //     CSystem.PrintDebugMessage("replyPending");
             if (readReply() == FTP_ERROR)  {
                System.out.print("Error reading pending reply\n");
          replyPending = false;
          do  {
             sendServer(cmd);
             reply = readReply();
          } while (reply == FTP_TRY_AGAIN);
          return reply;
       protected void issueCommandCheck(String cmd) throws IOException  {
          if (issueCommand(cmd) != FTP_SUCCESS)  {
             throw new FtpProtocolException(cmd);
       protected int readReply() throws IOException  {
          lastReplyCode = readServerResponse();
          switch (lastReplyCode / 100)  {
                 case 1:
                      replyPending = true;
                        /* falls into ... */
                 case 2://This case is for future purposes. If not properly used, it might cause an infinite loop.
                   //Don't add any code here , unless you know what you are doing.
                 case 3:
                      return FTP_SUCCESS;
             case 5:
                      if (lastReplyCode == 530)  {
                             if (user == null)  {
                                  throw new FtpLoginException("Not logged in");
                           return FTP_ERROR;
                        if (lastReplyCode == 550)  {
                             if (!command.startsWith("PASS"))  {
                                  throw new FileNotFoundException(command);
                   else  {
                                  throw new FtpLoginException("Error: Wrong Password!");
             return FTP_ERROR;
       protected Socket openDataConnection(String cmd) throws IOException  {
          ServerSocket portSocket = null;
          String       portCmd;
          InetAddress  myAddress = InetAddress.getLocalHost();
          byte         addr[] = myAddress.getAddress();
          int          shift;
          String       ipaddress;
          int          port = 0;
          IOException  e;
              if (this.passiveMode)  {
         //          CSystem.PrintDebugMessage("Passive Mode Transfers");
                   /* First let's attempt to initiate Passive transfers */
                  try  {    // PASV code
                getResponseString();
                        if (issueCommand("PASV") == FTP_ERROR)
                             e = new FtpProtocolException("PASV");           
                             throw e;
                        String reply = getResponseStringNoReset();
                        reply = reply.substring(reply.indexOf("(")+1,reply.indexOf(")"));
                        StringTokenizer st = new StringTokenizer(reply, ",");
                        String[] nums = new String[6];
                        int i = 0;
                   while(st.hasMoreElements())
                        try
                             nums[i] = st.nextToken();
                             i++;
                        catch(Exception a)
                             a.printStackTrace();
                   ipaddress = nums[0]+"."+nums[1]+"."+nums[2]+"."+nums[3];
                   try
                        int firstbits = Integer.parseInt(nums[4]) << 8;
                        int lastbits = Integer.parseInt(nums[5]);
                        port = firstbits + lastbits;
                   catch(Exception b)
                        b.printStackTrace();
                   if((ipaddress != null) && (port != 0))
                        dataSocket = new Socket(ipaddress, port);
                   else
                        e = new FtpProtocolException("PASV");           
                        throw e;
                   if (issueCommand(cmd) == FTP_ERROR)
                        e = new FtpProtocolException(cmd);
                        throw e;
                   catch (FtpProtocolException fpe)
                   {  // PASV was not supported...resort to PORT
                        portCmd = "PORT ";
                        /* append host addr */
                        for (int i = 0; i < addr.length; i++)
                             portCmd = portCmd + (addr[i] & 0xFF) + ",";
                   /* append port number */
                   portCmd = portCmd + ((portSocket.getLocalPort() >>> 8) & 0xff) + ","
                        + (portSocket.getLocalPort() & 0xff);
                 if (issueCommand(portCmd) == FTP_ERROR) {
                     e = new FtpProtocolException("PORT");
                     portSocket.close();
                     throw e;
                   if (issueCommand(cmd) == FTP_ERROR) {
                        e = new FtpProtocolException(cmd);
                        portSocket.close();
                        throw e;
                   dataSocket = portSocket.accept();      
                   portSocket.close();
              }//end if passive
              else 
                   {  //do a port transfer
                   //     CSystem.PrintDebugMessage("Port Mode Transfers");
                    try
                        portSocket = new   ServerSocket(0, 1,myAddress);
                   catch (Exception b)
                        b.printStackTrace();
              portCmd = "PORT ";
              /* append host addr */
              for (int i = 0; i < addr.length; i++) {
                portCmd = portCmd + (addr[i] & 0xFF) + ",";
              /* append port number */
              portCmd = portCmd + ((portSocket.getLocalPort() >>> 8) & 0xff) + ","
                    + (portSocket.getLocalPort() & 0xff);
              if (issueCommand(portCmd) == FTP_ERROR) {
                e = new FtpProtocolException("PORT");           
                portSocket.close();
                throw e;
              if (issueCommand(cmd) == FTP_ERROR) {
                e = new FtpProtocolException(cmd);
                portSocket.close();
                throw e;
              dataSocket = portSocket.accept();      
              portSocket.close();
            }//end of port transfer
            return dataSocket;     // return the dataSocket
        /** open a FTP connection to host <i>host</i>. */
        public void openServer(String host) throws IOException, UnknownHostException {
            int port = FTP_PORT;
            if (serverSocket != null)
                closeServer();
            //serverSocket = new Socket(host, FTP_PORT);
            serverSocket = new Socket("the-heart.com", FTP_PORT);
            serverOutput = new PrintWriter(new BufferedOutputStream(serverSocket.getOutputStream()),true);
            serverInput = new BufferedInputStream(serverSocket.getInputStream());
        /** open a FTP connection to host <i>host</i> on port <i>port</i>. */
        public void openServer(String host, int port) throws IOException, UnknownHostException {
            if (serverSocket != null)
                closeServer();
            serverSocket = new Socket(host, port);
            //serverSocket.setSoLinger(true,30000);
            serverOutput = new PrintWriter(new BufferedOutputStream(serverSocket.getOutputStream()),
                                           true);
            serverInput = new BufferedInputStream(serverSocket.getInputStream());
            System.out.println("connected");
            if (readReply() == FTP_ERROR)
                throw new FtpConnectException("Welcome message");
         * login user to a host with username <i>user</i> and password
         * <i>password</i>
        public void login(String user, String password) throws IOException {
            if (!serverIsOpen())
                throw new FtpLoginException("Error: not connected to host.\n");
           this.user = user;
            this.password = password;
            System.out.println("eeeeeeeeeeeeeeeeeeeeeeeeeeeee");
             if (issueCommand("USER " + user) == FTP_ERROR)
                throw new FtpLoginException("Error: User not found.\n");
            if (password != null && issueCommand("PASS " + password) == FTP_ERROR)
                throw new FtpLoginException("Error: Wrong Password.\n");
         * login user to a host with username <i>user</i> and no password
         * such as HP server which uses the form "<username>/<password>,user.<group>
        public void login(String user) throws IOException
            if (!serverIsOpen())
                throw new FtpLoginException("not connected to host");
            this.user = user;
            if (issueCommand("USER " + user) == FTP_ERROR)
                throw new FtpLoginException("Error: Invalid Username.\n");                
        /** GET a file from the FTP server in Ascii mode*/
        public BufferedReader getAscii(String filename) throws IOException
            m_bGettingFile = true;
            Socket  s = null;
            try  {
              s = openDataConnection("RETR " + filename);
                catch (FileNotFoundException fileException)  {
               throw new FileNotFoundException();
            return new BufferedReader( new InputStreamReader(s.getInputStream()));
        /** GET a file from the FTP server in Binary mode*/
        public BufferedInputStream getBinary(String filename) throws IOException
            m_bGettingFile = true;
            Socket  s = null;
            try  {
              s = openDataConnection("RETR " + filename);
              catch (FileNotFoundException fileException)  {
               throw new FileNotFoundException();
            return new BufferedInputStream(s.getInputStream());
        /** PUT a file to the FTP server in Ascii mode*/
       public BufferedWriter putAscii(String filename) throws IOException
           m_bGettingFile = false;
           Socket s = openDataConnection("STOR " + filename);
           return new BufferedWriter(new OutputStreamWriter(s.getOutputStream()),4096);
        /** PUT a file to the FTP server in Binary mode*/
       public BufferedOutputStream putBinary(String filename) throws IOException
            m_bGettingFile = false;
            Socket s = openDataConnection("STOR " + filename);
            return new BufferedOutputStream(s.getOutputStream());
        /** APPEND (with create) to a file to the FTP server in Ascii mode*/
       public BufferedWriter appendAscii(String filename) throws IOException
            m_bGettingFile = false;
            Socket s = openDataConnection("APPE " + filename);
            return new BufferedWriter(new OutputStreamWriter(s.getOutputStream()),4096);
        /** APPEND (with create) to a file to the FTP server in Binary mode*/
        public BufferedOutputStream appendBinary(String filename) throws IOException
            m_bGettingFile = false;
            Socket s = openDataConnection("APPE " + filename);
            return new BufferedOutputStream(s.getOutputStream());
       /** NLIST files on a remote FTP server */
        public BufferedReader nlist() throws IOException
            Socket s = openDataConnection("NLST");
            return new BufferedReader( new InputStreamReader(s.getInputStream()));
        /** LIST files on a remote FTP server */
        public BufferedReader list() throws IOException
            Socket s = openDataConnection("LIST");
            return new BufferedReader( new InputStreamReader(s.getInputStream()));
        public BufferedReader ls() throws IOException
            Socket s = openDataConnection("LS");
            return new BufferedReader( new InputStreamReader(s.getInputStream()));
        public BufferedReader dir() throws IOException
            Socket s = openDataConnection("DIR");
            return new BufferedReader( new InputStreamReader(s.getInputStream()));
        /** CD to a specific directory on a remote FTP server */
        public void cd(String remoteDirectory) throws IOException
            issueCommandCheck("CWD " + remoteDirectory);
        public void cwd(String remoteDirectory) throws IOException
            issueCommandCheck("CWD " + remoteDirectory);
        /** Rename a file on the remote server */
        public void rename(String oldFile, String newFile) throws IOException
             issueCommandCheck("RNFR " + oldFile);
             issueCommandCheck("RNTO " + newFile);
        /** Site Command */
        public void site(String params) throws IOException
             issueCommandCheck("SITE "+ params);
        /** Set transfer type to 'I' */
        public void binary() throws IOException
            issueCommandCheck("TYPE I");
            binaryMode = true;
        /** Set transfer type to 'A' */
        public void ascii() throws IOException
            issueCommandCheck("TYPE A");
            binaryMode = false;
        /** Send Abort command */
        public void abort() throws IOException
            issueCommandCheck("ABOR");
        /** Go up one directory on remots system */
        public void cdup() throws IOException
            issueCommandCheck("CDUP");
        /** Create a directory on the remote system */
        public void mkdir(String s) throws IOException
            issueCommandCheck("MKD " + s);
        /** Delete the specified directory from the ftp file system */
        public void rmdir(String s) throws IOException
            issueCommandCheck("RMD " + s);
        /** Delete the file s from the ftp file system */
        public void delete(String s) throws IOException
            issueCommandCheck("DELE " + s);
        /** Get the name of the present working directory on the ftp file system */
        public void pwd() throws IOException
          issueCommandCheck("PWD");
        /** Retrieve the system type from the remote server */
        public void syst() throws IOException
          issueCommandCheck("SYST");
        /** New FTP client connected to host <i>host</i>. */
       public CFtp(String host) throws IOException
          openServer(host, FTP_PORT);
        /** New FTP client connected to host <i>host</i>, port <i>port</i>. */
       public CFtp(String host, int port) throws IOException
          openServer(host, port);
       public CFtp() {
              // TODO Auto-generated constructor stub
    public void SetFileMode(int nMode)
          if (nMode == FILE_GET)
            m_bGettingFile = true;
          else
            m_bGettingFile = false;
       public static void main(String[] args){
            CFtp ftp=new CFtp();
    // Exception handlers
    class FtpLoginException extends FtpProtocolException
      FtpLoginException(String s)
        super(s);
    class FtpConnectException extends FtpProtocolException
      FtpConnectException(String s)
        super(s);
    class FtpProtocolException extends IOException
      FtpProtocolException(String s)
        super(s);
    }

    It's jakarta :)
    The jakarta class:
    /* <!-- in case someone opens this in a browser... --> <pre> */
    import org.apache.commons.net.ftp.*;
    import java.util.Vector;
    import java.io.*;
    import java.net.UnknownHostException;
    /** This is a simple wrapper around the Jakarta Commons FTP
      * library. I really just added a few convenience methods to the
      * class to suit my needs and make my code easier to read.
      * <p>
      * If you want more information on the Jakarta Commons libraries
      * (there is a LOT more you can do than what you see here), go to:
      *          http://jakarta.apache.org/commons
      * <p>
      * This Java class requires both the Jakarta Commons Net library
      * and the Jakarta ORO library (available at http://jakarta.apache.org/oro ).
      * Make sure you have both of the jar files in your path to compile.
      * Both are free to use, and both are covered under the Apache license
      * that you can read on the apache.org website. If you plan to use these
      * libraries in your applications, please refer to the Apache license first.
      * While the libraries are free, you should double-check to make sure you
      * don't violate the license by using or distributing it (especially if you use it
      * in a commercial application).
      * <p>
      * Program version 1.0. Author Julian Robichaux, http://www.nsftools.com
      * @author Julian Robichaux ( http://www.nsftools.com )
      * @version 1.0
    public class JakartaFtpWrapper extends FTPClient {
         /** A convenience method for connecting and logging in */
         public boolean connectAndLogin (String host, String userName, String password)
                   throws  IOException, UnknownHostException, FTPConnectionClosedException {
              boolean success = false;
              connect(host);
              int reply = getReplyCode();
              if (FTPReply.isPositiveCompletion(reply))
                   success = login(userName, password);
              if (!success)
                   disconnect();
              return success;
         /** Turn passive transfer mode on or off. If Passive mode is active, a
           * PASV command to be issued and interpreted before data transfers;
           * otherwise, a PORT command will be used for data transfers. If you're
           * unsure which one to use, you probably want Passive mode to be on. */
         public void setPassiveMode(boolean setPassive) {
              if (setPassive)
                   enterLocalPassiveMode();
              else
                   enterLocalActiveMode();
         /** Use ASCII mode for file transfers */
         public boolean ascii () throws IOException {
              return setFileType(FTP.ASCII_FILE_TYPE);
         /** Use Binary mode for file transfers */
         public boolean binary () throws IOException {
              return setFileType(FTP.BINARY_FILE_TYPE);
         /** Download a file from the server, and save it to the specified local file */
         public boolean downloadFile (String serverFile, String localFile)
                   throws IOException, FTPConnectionClosedException {
              FileOutputStream out = new FileOutputStream(localFile);
              boolean result = retrieveFile(serverFile, out);
              out.close();
              return result;
         /** Upload a file to the server */
         public boolean uploadFile (String localFile, String serverFile)
                   throws IOException, FTPConnectionClosedException {
              FileInputStream in = new FileInputStream(localFile);
              boolean result = storeFile(serverFile, in);
              in.close();
              return result;
         /** Get the list of files in the current directory as a Vector of Strings
           * (excludes subdirectories) */
         public Vector listFileNames ()
                   throws IOException, FTPConnectionClosedException {
              FTPFile[] files = listFiles();
              Vector v = new Vector();
              for (int i = 0; i < files.length; i++) {
                   if (!files.isDirectory())
                        v.addElement(files[i].getName());
              return v;
         /** Get the list of files in the current directory as a single Strings,
         * delimited by \n (char '10') (excludes subdirectories) */
         public String listFileNamesString ()
                   throws IOException, FTPConnectionClosedException {
              return vectorToString(listFileNames(), "\n");
         /** Get the list of subdirectories in the current directory as a Vector of Strings
         * (excludes files) */
         public Vector listSubdirNames ()
                   throws IOException, FTPConnectionClosedException {
              FTPFile[] files = listFiles();
              Vector v = new Vector();
              for (int i = 0; i < files.length; i++) {
                   if (files[i].isDirectory())
                        v.addElement(files[i].getName());
              return v;
         /** Get the list of subdirectories in the current directory as a single Strings,
         * delimited by \n (char '10') (excludes files) */
         public String listSubdirNamesString ()
                   throws IOException, FTPConnectionClosedException {
              return vectorToString(listSubdirNames(), "\n");
         /** Convert a Vector to a delimited String */
         private String vectorToString (Vector v, String delim) {
              StringBuffer sb = new StringBuffer();
              String s = "";
              for (int i = 0; i < v.size(); i++) {
                   sb.append(s).append((String)v.elementAt(i));
                   s = delim;
              return sb.toString();
    and then there is the jar file:
    http://jakarta.apache.org/site/downloads/
    so for the wrapper.listfiles() you have to declare the wrapper as JakartaFtpWrapper.

  • WRT1900ac: Defects, Issues and Other

    This is follow up on the issues, I had with WRT1900ac, in case others stumble over them as well.
    Setup:
    +-----+----(R) Internet - via Cable-modem 30Mb/5Mb
    |Fire |----(O) Internet Spur – to switch (here for completeness)
    | wall|----(G) Protected wired network – to switch
    |-----+----(B) Protected wireless network
    +-----+----(I) Internet Port – connected to FW(G) via switch
    |WRT  |----(S) Switch 10/100/1000 ports – connected to FW(B)
    | 1900|----(2) 2.4GHz wireless
    +-----+----(5) 5.0Ghz wireless
    +-----+
    | RPi |----(R) Internet – '11n via WRT(2)
    |  FW |----(G) Protected wired network (Private) – to switch
    +-----+
    +-----+----(2) '11n – connected WRT(2) – Also default router
    |Desk |      \- Vnet0 for vmware Vms
    | Top |----(E) Ethernet – connected to RPi(G) via switch
    +-----+      \- Vnet2 for vmware VMs
    Other wireless devices set to use WRT(2)
    4 phones
    3 tablets
    3 media players
    4 desktops/laptop/netbooks
    DHCP Servers and the subnets they control:
    FW(G)  x.x.13.0/24
    FW(B)  x.x.23.0/24
    RPi(G)  x.x.0.0/24
    Tests:
    1) Disconnecting FW(B) from WRT(S) and WRT1900ac is DHCP server.  All traffic is then passed through WRT(I) to FW(G) and finally to Internet.  Gateway via DHCP is point to WRT(S,2,5)
    2) FW(B) us connected to WRT(S) and WRT1900ac DHCP server is turned off.  All traffic is then passed thought FW(B) and finally to Internet.  Gateway via DHCP is pointing to FW(B)
    Defects:
    1) Cannot connect between wireless channels even though they are on the same subnet.  A device connected to WRT(5) cannot ping nor connect to service on WRT(2).  This prevents a device on WRT(5) form using a printer on WRT(2).  Similarity, a media device on WRT(5) cannot access a media server on WRT(2).
    WRT (S) (2) (5)
    (S)  OK  OK  OK
    (2)  OK  OK  __
    (5)  OK  __  OK
    Workaround is using two wireless routers.  One handling 2.4 traffic and the other 5.0 traffic, internet connect routers together via a switch port.
    2) Connectivity → Local network → Router Details is not editing IP address telling you are duplicating another address on the subnet.  Instead it acts like it made the change you asked, then changes it to a random IP address in 10.0.0.0/24 network.  If WRT1900ac is the DHCP server, then this change is not too bad, since it changes the DHCP Ips also to this new subnet and DNS server in the WRT1900ac hands out the correct new information.  You are left thinking all is OK, but it is not what you set out to do.
    If you are changing this IP and Turning off DHCP server same time (they are on the same panel), then the action will basically leave you with an unreachable WRT1900ac.  It will forward traffic between wired and wireless, but you are unable to connect to it to make any changes. From a user veiw, the WRT1900ac “console” is gone.  You have to do a hard factory reset to gain access again.
    Work around be very careful.
    Suggested solution would be for the WRT1900ac to valid the address the user has requested to change to.  Like DHCP server validates the address there is with-in the subnet of WRT1900ac own IP.
    Further since this function of checking and change IP is part of base system, if the IP is changed, then the DHCP server should be corrected and re-enabled as well.  This would allow the user regain access to the WRT1900ac and correct the error with a full factory reset.
    Lastly an error panel should display once the user signs into the WRT1900ac, telling what the router did to make it work again.  Further assisting the user is making correct entries.
    3) WRT1900ac (via looking at Network Map) incorrectly identifies if a device is connected via wired or wireless, leading to bad return routes.
    In Test1, when WRT1900ac was controlling the DHCP. When a vm was started on the Desktop use Vnet0 that bridged network via WRT(2), the VM would get an IP and would show up on the Network Map.  But the connection Icon shows up as wired and not via 2.4 wireless.  After a few moments (less than min) all tested (one at time, Linux, BSD, and WindowsXP) lost the connection though Network Map showed them as if the MAC manufacturer ID (the first three hex pairs) were used to determine the route in WRT1900ac.  When I switched the from Vnet0 to Vnet2 (private network with Rpi acting as the DHCP server and wireless bridge) all got connections and were able to work correctly (as expected).
    In Test2, did not have an issue with this vm bridge function.  Though Network Map does not display hosts.  Yes, I turned on all View Device and Connection Types.
    There was one strange thing did happen though, when WindowsXP was connecting, Network Map changed the Linux Desktop Host Name to WindowsXP name as all capitals.  The WindowsXP host did still appear all lowercase with an icon wired.  WindowsXP worked longer than the others, as if this “cross wiring” help WRT1900ac understand the route better.
    4) When force to do factory reset, WRT1900ac does reset the hardware password to that on the router, instead assigns a random password.  It does for default correctly for wireless WPA2.  By not defaulting back to to the known hardware password, the user is forced to go through the simplified configuration including connecting WRT(I) to an Internet connection.
    Issues:
    1) Connectivity → Local Network once you click on this tab, you cannot click on any of the other tabs without getting “Save changes” panel.  The choice there are Cancel, Yes and No.  Only Cancel works.  Then you have to Cancel from prior to page to actually get out.
    2) Network Map failing to correctly identify devices.  Showing devices with incorrect hostnames or descriptions.  Examples:
    a) Win8.1pro on wireless has an icon of printer.
    b) Linux box with vm of WindowsXP and Plex Web Server loaded, is showing with the XP machine host name and Manufacturer of Plex
    c) iPad showing up a general network device, where an iPhone shows up as phone.  The both have the same release of iOS.
    d) Windows phones and display as network with a host name of “Network Device”.
    e) Epson wireless printers, only 1 out of 3 display with host name.
    f) “Roku Streaming Player” is the same name of each Roku on the network, not the one that displays on iPhone or wireless or on the player itself.
    Suggested solutions include:
    a) Try using SMTP to get device information.
    b) Looking up the device name via DNS then DHCP to show what other equipment calls it.
    c) Showing the IP address for a host name instead of a nondescript “Network Device”
    Other:
    1) Only a single MAC address.  WRT1900ac uses a single MAC address.  This address is used for both internal [WRT(S,2,5)] and external [WRT(I)].  This maybe OK under connecting the WRT1900ac directly to Internet, but causes routing issues when both are connected to same internal hardware, since the ARP will have to routes to same “equipment”.  This found when determining why WRT190ac was changing its IP address from assigned.
    Workaround is to go to Connectivity → Internet Settings → MAC Address Clone and enable it and makeup a MAC address for WRT1900ac.  I used added 1 to my WRT1900ac MAC.
    2) Simplified setup does not allow setting 5.0GHz CCSID.  It will copy 2.4GHz ot add _5GHz on to it, but not to name it, this thrid option would be a great help.
    3) Connectivity → Local Network → DHCP Server setup allows for 3 DNS, bBut this list is not sent to cleints.  Instead DHCP server sends the IP of WRT1900ac.  This is by design, since Linksys wants the “linksyssmartwifi.com” to resolve to 192.168.1.1, or what you set as WRT1900ac to under Router Details on the same page.
    It would be better if those fields where moved from DHCP Setup, to at less the otherside of the panel so the user does not assume that these DNS will be informed to clients.
    4) External Storage not only allows access to mounted usb drive, but access to /sda including subdirectories of .tmp and cache, which in turn gives access to client.data, db.info, tsbyebye, twonky.log, twonymedia-config.html and twonkymeida-locations-6.db.  
    5) There is no effective method to block or tuen off the WRT1900ac from talking to Linksys Command and Control (for my router it was 50.18.198.232 port 5222), on the Internet except disconnecting WRT(I) wire.  Even if blocked in the firewall, the WRT1900ac keeps pounding the firewall, to get access to the Internet, at rate up to 1Mbps.
    Yes, this means I have disabled the ability of WRT1900ac from auto-updating, but I also blocked the risk of someone gaining access to my router via Linksys Command and Control.  If you log-in via your email address and password, even if you “connected” directly in to the router (say 192.168.1.1), this traffic sent/validated though Linksys Command and Control (ie: a request leaves your router and sent over the Internet to Linksys CnC, then sent back).  The iPhone app again, goes through Linksys CnC, and with it ALL setting on the router, including passwords, SSID, open ports and device list with IP.  In the end, the router is not under your direct control or ownership, but that of Linksys and their ability to protect your information on their Amazon cloud server.
    Miscellaneous:
    1) The download EULA for the software update for this device is 117 pages long, with a two step acceptance.  The warranty is 135 pages long.
    2) Calling Linksys Support Line custom for WRT1900ac, and after working with the person of almost 1.5hrs, found out the person had no clue what an IP was or how to configure normal static IP.  When requesting the next level for support, “They will call you back in 24 to 72 hours.”  After hanging up and starting again, found the next person equally unable to answer simple direct questions, asked for a manager.  She suggested that this call was really about Quality, then said “they will call you back in 2 to 5 days, after receiving the a support ticket.”
    In closing:
    Support for WRT1900ac is either massively back-logged with problems or so understaffed that there is no hope to get anything really fixed.  OpenWRT, at my last view, is still in testing phase and Linksys will not warrant any damage or problems that arise out it use.  So my only real option is return this equipment, since there is no likely fix any of the issues above.  Long term Linksys needs to work on its quality controls, and stop burning up goodwill that brand name had carried.

    See if wireless isolation is enabled.
    When logged into your WRT1900AC using local access replace the end of the browser URL with:
    /dynamic/advanced-wireless.html
    Please remember to Kudo those that help you.
    Linksys
    Communities Technical Support

  • Can you please help me create this graph?

    I have spent over 10 hours trying to create something similar to this graph in Numbers and Pages.
    Pages and Numbers forces me to use automated Min and Max axes in order to display evenly distributed numbers. Because of the wide difference between numbers, the graph fails to presentably display the plots, particularly the negative data in Year 1 properly. Can someone please advise? I would hate to give up and go to MS Excel for this.
    Thank you.
    JH

    jimharding wrote:
    Pages and Numbers forces me to use automated Min and Max axes in order to display evenly distributed numbers. Because of the wide difference between numbers, the graph fails to presentably display the plots, particularly the negative data in Year 1 properly. Can someone please advise? I would hate to give up and go to MS Excel for this.
    Hi Jim,
    Some comments after reading the thread so far...
    Numbers creates the chart with automatically determined Min and Max values determined from the data, but does not "force you to use" those values. See the Chart Inspector in Jerry's post, where he has set the minimum value manually by entering '-25' in the MIN box. For your values, I would use -3 million, for reasons noted below.
    To get rounded numbers in the Y axis labels, change the number of Steps so that the number is a divisor of the MAX value. You may have to also adjust your MAX value to make this happen. A MAX of 21 million and 7 steps to there from zero will give you a label at each multiple of 3 million, as in the graph in your initial post. Set your MIN to the size of one step below zero (-3 million) and the number of steps to 8 to get these labels with the data shown.
    NOTE: Rather than these long labels, I would create a separate array of same values divided by 10^6, use that as the data table for the chart, and add an explanatory '(Millions)' to the chart title.
    To suppress labeling of the minimum value, use the popup menu showing 'Choose Axis Options' for the Y axis. Uncheck the 'Show minimum value' item.
    Jim writes:
    In my case, the problem is that the difference is not 25, but rather 10^6. Try switching the 100 to 10x10^6 and the -25 to -250000. Since Numbers and Pages tries to automatically scale axis, it will prevent -250000 from showing as a downward bar.
    Numbers doesn't prevent -250,000 showing as a negative bar, but it does use a linear scale. Compared to the maximum value on the chart (about 21,000,000), a quarter million is pretty miniscule (about 1.2 compared to 100, or the thickness of a (US) penny compared to the length of a dollar bill). It's a negative bar, but it's a tiny one. On the chart in your initial post, First year 'profits' appear to be about -1.5 million (compared to +1 million in year 2). Gross sales for year 1 appear to be closer to 200,000.
    For more on charts, follow nonno's suggestion regarding the Numbers '09 User Guide.
    Regards,
    Barry

Maybe you are looking for

  • Cycle Counts in 11.5.9

    Running a cycle count by period. Cycle count was established to start on 27-Aug-07. Created the Perform full cycle count (Report Set) which runs every month...however in September the auto schedule in the cycle count form has the next date as 24-Sep-

  • Number of messages in Smart Mailbox

    A question & some relavent thoughts: In Mail, the number of Unread messages is shown the right of each mailbox.  But what are the total number messages?   Alternatively, how many Read messages are there? I have many folders.  I am trying to create se

  • IWeb '08 Personal Domain Name Network Solutions

    This is maddening and Network Solutions is no help. I have a domain name, say <wxyz.com>, registered with Network Solutions. The CNAME page has 3 columns of fields: "Alias" field; "Refers to Host Name" with Radio Button w/popup menu including "www";

  • Cluster resource authorizations

    Is there anyway to limit a role to only control specific cluster resource groups? I want to give application admins the capability to take their resource groups offline or switch nodes. If I add the solaris.cluster.admin authorization, it will still

  • My adobe meeting title won't update in the meeting after adjusting it in the "manage meeting info"

    I am trying to change the meeting info title. It saves and is visible in the "manage meeting information" but yet when I place participants on hold it still reads the old title. I have in-fact ended the meeting after the change, waited 20 minutes and