ilteris kaplan blog

Archive of blog posts since 2005

April 5, 2008

Wiki

Networkedobjects Class_5

#wiki

Lantronix Tester Code for Processing

Media Equation (book). Troubleshooting for Xport. Telnet: opening TC-IP socket connection, and any byte that passed between them getting displayed on the screen. ASCII alphanumeric characters, they display on the screen. SSH differs in a way they handshake on a encription on top of the protocol. Difference between Java Ajax and Flash is they open only one socket connection and do their stuff in terms of that. But HTTP is different in a sense that, it opens socket connection for each objects. Telnet happens on network port, screen or hyperterminal happens on serial port.

  • Bluetooth is a serial protocol. IT uses radio connection.
  • A register is nothing more than a space in a memory.
  • I/F mode 4C means 01001100 and in datasheet we can see that in the user table for interface mode options we set it like that in binary that’s converted to C4.
  • Xport’s data can take 5 volts becauseit is low in amperage. But voltage should be 3.3v for the power. To manually reset it, long blue wire is attached to the reset pin, when we put it background and take it off it resets.
  • LM1086 DataSheet explains the capacitors we need to put between those.
  • LAntronx tester processing program works, because we have full control over sending/getting. Screen doesn’t return some characters and in our case enter was sending more characters to the server and that’s why we didn’t get anything back since we were sending too many characters.
  • To get the actual IP address you should connect to the server through the serial of Xport, if you just go ahead and do a telnet only through OS, your IP is going to be taken from the WIFI and thus would be the same IP address of the router.
  • It is good for controlling things, rather than having a movieclip and scraping it, it is good to control remote things. We are dealing with tangible things.
  • ls /var/log/httpd/access_log - this is a really long file. we need last few lines. we can do: tail -10(last $lines) /var/log/httpd/access_log. So this is an access log that we can see who’s hitting the server, we can look for IP numbers, and to do this we can use grep command which will grab certain pattern: tail -10(last $lines) /var/log/httpd/access_log | grep 128.122.151.122

Continue Reading

Back to Archive