T1024: Perl5.22 not working properly

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

T1024: Perl5.22 not working properly

1,056 Views
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

Labels (1)
Tags (3)
0 Kudos
2 Replies

957 Views
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 Kudos

957 Views
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