GermanyUSACanadaUKFranceEspanaItaliaNederlandsIndiaJapanChina
Logo 中国

挂号 | 登录 

EnerGenie EG-PM2-LAN (Programmable, 6x Outlet Socket, LAN)

输入/输出 控制, EnerGenie, LAN, 电源板, 电源

EnerGenie EG-PM2-LAN (Programmable, 6x Outlet Socket, LAN)
Linux兼容: 只有Linux兼容的额定此页面上,而不是产品的总体质量。如果您使用本产品使用Linux,请率和分享您的经验,在此页(底部)的注释区域支持其他的Linux用户。
2 投票, 平均: 4.0 出最多 52 投票, 平均: 4.0 出最多 52 投票, 平均: 4.0 出最多 52 投票, 平均: 4.0 出最多 52 投票, 平均: 4.0 出最多 5
  ( 4 2 等级)


价格走势
EnerGenie EG-PM2-LAN 
-
Minimum: ¥ 0.00 
Maximum: ¥ 0.00  
更新: 09/08/2015 09:42

回顾Linux的兼容性

The EnerGenie EG-PM2-LAN is a programmable 6-times multiple socket outlet, which can be accessed via Ethernet. In contrast to the USB version there is no dedicated tool available for this LAN version. However, it is possible to send commands to the Web interface, which is embedded in the EG-PM2-LAN. In the following it is described how these commands can be sent via “curl”.

First, the web server needs a login with a password (“PASSWORD” is used in the following)

curl -sd 'pw=PASSWORD' http://EG-PM2-LAN-IP-Adress | fgrep -q Status

The return value should be “true”. As one can see, the password is sent unencrypted, which shows the low safety measures of the EG-PM2-LAN and could be a drawback for certain scenarios.

The integrated web server does not support sessions. Instead, after transmitting the password each process from the same IP address of this login can access the EG-PM2-LAN. Furthermore, all other IPs are blocked, while this login is still active. After some minutes of idling the login times out and a new login is necessary to access the web frontend.

Now, it is possible to switch via shell command one of the sockets (X = 1 … 4) on (Y=1) or off (Y=0). E.g., if socket 3 should be powered on, this is done by the command:

curl -sd 'cte3=1' http://EG-PM2-LAN-IP-Adresse | fgrep -q Status

or in general by

curl -sd 'cteX=Y' http://EG-PM2-LAN-IP-Adresse | fgrep -q Status

The logout is achieved by:

curl -s http://EG-PM2-LAN-IP-Adresse | fgrep -q password

Hardware specification: http://www.gembird.be/item.aspx?id=6668


类似Linux的硬件

scroll left scroll right

 评论

请使用注释部分提出更正的文章,以及相关的摘录 lspci -nnv, lsusb -v, lshw, dmesg ... 此外,使用一节的经验与此硬件组件或搜索该硬件的其他业主配置帮助交流。
 

电子邮件地址不会被公开。

率的Linux兼容性


使用下面的 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


允许的文件类型: txt, jpg, png, gif, 最大文件大小 : 2MB.