Dan560
asked on
http telnet commands
Hi I cannot seem to get access to my remote lacie drive through my vpn tunnel, I can however connect to the remote router that is on the same subnet and then telnet the lacie drive on port80.But I cannot seem to get it to reboot, because of a username and password issue.
Trying 10.11.1.3, 80 ... Open
GET /cgi-bin/admin/reboot?acti on=shutdow n.cgi
HTTP/1.0 401 Unauthorized
Content-type: text/html
Date: Wed, 22 Oct 2008 17:42:24 GMT
Connection: close
WWW-Authenticate: Basic realm="LaCie Ethernet Disk mini Administration"
<HEAD><TITLE>401 Unauthorized</TITLE></HEAD >
<BODY><H1>401 Unauthorized</H1>
</BOD
Y>
Trying 10.11.1.3, 80 ... Open
GET /cgi-bin/admin/reboot?acti
HTTP/1.0 401 Unauthorized
Content-type: text/html
Date: Wed, 22 Oct 2008 17:42:24 GMT
Connection: close
WWW-Authenticate: Basic realm="LaCie Ethernet Disk mini Administration"
<HEAD><TITLE>401 Unauthorized</TITLE></HEAD
<BODY><H1>401 Unauthorized</H1>
</BOD
Y>
ASKER
There is a problem with the lacie drive, it needs a restart now and then for me to access it through a vpn tunnel. Its not anything to do with the routers firewall because I can access every other device on the same network. I have two tunnels same problem - it works when its restarted.Where can I find valid http commands?
Where did I say anything about firewalls or routers? I asked two questions. Can you answer them?
Part of the problem you will find with attempting to using a telnet client to do HTTP work is that in order to pass the user-id and password when using basic authentication (which is what it appears the lacie device is using) you need to encode the user-id and password and type http header that carries that and type in the encoded value of the user-id and password.
Part of the problem you will find with attempting to using a telnet client to do HTTP work is that in order to pass the user-id and password when using basic authentication (which is what it appears the lacie device is using) you need to encode the user-id and password and type http header that carries that and type in the encoded value of the user-id and password.
ASKER
You didnt, apologies for not answering your questions thoroughly but I felt I needed to pass on this information. I can't even access through telnet going to 10.11.1.3 80
I need to telnet into my router and then telnet into the lacie during the same telnet session.
the lacie drive does not have telnet management interface, but it is listening on port 80.21
I cannot access it through the web from my network,nor can other networks connected through a vpn.
I dont understand you solution of ecoding the user id and password, I need you to elaborate more.
I need to telnet into my router and then telnet into the lacie during the same telnet session.
the lacie drive does not have telnet management interface, but it is listening on port 80.21
I cannot access it through the web from my network,nor can other networks connected through a vpn.
I dont understand you solution of ecoding the user id and password, I need you to elaborate more.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks it worked perfectley, well when I say perfectly, it looks like I told it to shutdown instead of restart.
GET /cgi-bin/admin/reboot?acti on=shutdow n HTTP/1.0
looks like a reboot to me.. ah well,thanks for you advice was much appreciated.
GET /cgi-bin/admin/reboot?acti
looks like a reboot to me.. ah well,thanks for you advice was much appreciated.
Does the lacie drive have a telnet management interface you can use?
Why can't you use a browser to access the http management interface?