T1024: Perl5.22 not working properly

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

T1024: Perl5.22 not working properly

2,474 次查看
gouravjain
Contributor IV

Hi,

In my custom board based on T1024rdb, i have ported SDK2.0 which by-default provides perl5.22.

When i'm trying to run test.pl on board (running boa as a web server on the card) and getting following output,

root@CDOT-HAP:/var/www/cgi-bin# perl test.pl
lo no wireless extensions.

br0 no wireless extensions.

eth2 no wireless extensions.

eth1 no wireless extensions.

eth0 no wireless extensions.

Content-type: text/html

<h1>The output of iwconfig is wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on

But when i tried to tun on browser [screenshot is attached].,

its showing only "The output of iwconfig is

Pls let me know what could be the issue ?? Any perl related file am i missing ?? 

Thanks in advance..

Gourav Jain

标签 (1)
标记 (3)
0 项奖励
回复
2 回复数

2,375 次查看
gouravjain
Contributor IV

Hi guys,

can any one pls help me out here ?? Why test.pl file output is not coming on browser ?? Any perl related issue ??

--

gourav

0 项奖励
回复

2,375 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello gourav,

It seems that the brower user doesn't have sudo permission to run the perl script, the command "$buff = `sudo iwconfig`" returns nothing.

Thanks,

Yiping