Re: Lantronix Matchport and the PIC



murdoc wrote:
I am trying to connect the Lantronix Matchport b/g attached to a 18F452 to
the internet. I know it is meant to be used as a server, but it should be
possible. I am having a couple of problems with the design.

It can be used as a server, but I expect most people use it as a
client.


1.) Im trying to connect to www.google.com and trying to get its homepage.
Im using one of the google IPs and setting the Matchport to connect using
active startup (autostart to 64.233.167.99:80) but its not connecting.
Should I be doing something different? Should I instead use the modem mode
which has "connect to IP" commands?

I used the AT modem commands because it was easy.


2.) The new firmware of the matchport says it "Allows the name of a remote
machine to be resolved automatically". Does anyone know how to use this?

Don't know about this; I never use new software. For starters, why
don't you use the IP address, so you don't have any problems with DNS.


3.) Im using the Microchip PIC18F452 and was going to work backwards from
the microchip TCP/IP stack and implement just the HTTP protocol which
routes commands through the serial port. Is there a better way to do this?
I just cant figure out how to use the HTTP protocol on the matchport.

With matchport you don't need (can't use) a TCP/IP stack. You tell it
to connect to a particular address and port. Once you are connected
http is really easy. You basically just have to send an ascii header
in a particular format.

<http://jmarshall.com/easy/http/>
is a good site. It explains the basics and can get you started.

Alan Nishioka
.



Relevant Pages

  • RE: RPc server is unavailable since SP1
    ... After these commands run successfully, ... RPc server is unavailable since SP1 ... >> when the member server update certificate you get the error message RPC ... >> interface security settings before the installation of SP1 will be lost. ...
    (microsoft.public.windows.server.sbs)
  • [NT] NetWin DMail Authentication Bypass (dlist.exe) and Format String (dsmtp.exe)
    ... either be used as a small personal mail server or as a 10 Million user ISP ... password hash) when sending the administrative commands. ... the DList server using a numeric hash of the administrative password. ...
    (Securiteam)
  • RE: copy permissions from one user to another?
    ... THIS STORED PROCEDURE GENERATES COMMANDS ... -- ADD USER TO SERVER ... -- CREATE TABLE TO HOLD LIST OF USERS IN CURRENT DATABASE ... -- SET COMMAND TO FIND USER PERMISSIONS HAS IN CURRENT DATABASE ...
    (microsoft.public.sqlserver.security)
  • Re: copy permissions from one user to another?
    ... THIS STORED PROCEDURE GENERATES COMMANDS ... -- ADD USER TO SERVER ... -- CREATE TABLE TO HOLD LIST OF USERS IN CURRENT DATABASE ... -- GRANT USER ACCESS TO SERVER ROLES ...
    (microsoft.public.sqlserver.security)
  • Re: how to connect to a remote machine using python........
    ... Some python ssh packages are available if you are wanting to execute ... commands on a machine that has ssh. ... you could run a Python-based web server from a simple ...
    (comp.lang.python)

Loading