T1024: Perl5.22 not working properly

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

T1024: Perl5.22 not working properly

2,519件の閲覧回数
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,420件の閲覧回数
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,420件の閲覧回数
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