Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please describe required lua environment #1

Open
dfc opened this issue Jul 14, 2012 · 2 comments
Open

Please describe required lua environment #1

dfc opened this issue Jul 14, 2012 · 2 comments

Comments

@dfc
Copy link

dfc commented Jul 14, 2012

I know very little about lua so I am not sure if this is obvious for most people. I tried to run the debloat lua script with the three different versions of lua in debian/unstable. I was rewarded with three different errors. Can you describe the suggested lua environment for running this script in the documentation? Thank you.

lua50

root@fob-xray:/home/dfc/0xRepos/Net/deBloat/src# QDEBUG=1 IFACE=eth0 lua50 ./debloat
lua50: ./debloat:44: `}' expected (to close `{' at line 30) near `xfc'

lua5.1

root@fob-xray:/home/dfc/0xRepos/Net/deBloat/src# QDEBUG=1 IFACE=eth0 lua5.1 ./debloat
qdisc del dev eth0 root
lua5.1: ./debloat:694: attempt to index field '?' (a nil value)
stack traceback:
    ./debloat:694: in function 'offloads'
    ./debloat:803: in function 'ethernet_setup'
    ./debloat:1882: in function 'ethernet'
    ./debloat:1922: in main chunk
    [C]: ?

lua5.1

root@fob-xray:/home/dfc/0xRepos/Net/deBloat/src# QDEBUG=1 IFACE=eth0 lua5.2 ./debloat
lua5.2: ./debloat:1098: invalid escape sequence near '\|'
@jgettys
Copy link
Collaborator

jgettys commented Jul 14, 2012

Dave can best answer; he's traveling this instant.

Jim

On Jul 13, 2012, at 9:24 PM, Douglas Calvert
reply@reply.github.com
wrote:

I know very little about lua so I am not sure if this is obvious for most people. I tried to run the debloat lua script with the three different versions of lua in debian/unstable. I was rewarded with three different errors. Can you describe the suggested lua environment for running this script in the documentation? Thank you.

lua50

root@fob-xray:/home/dfc/0xRepos/Net/deBloat/src# QDEBUG=1 IFACE=eth0 lua50 ./debloat
lua50: ./debloat:44: }' expected (to close{' at line 30) near `xfc'

lua5.1

root@fob-xray:/home/dfc/0xRepos/Net/deBloat/src# QDEBUG=1 IFACE=eth0 lua5.1 ./debloat
qdisc del dev eth0 root
lua5.1: ./debloat:694: attempt to index field '?' (a nil value)
stack traceback:
./debloat:694: in function 'offloads'
./debloat:803: in function 'ethernet_setup'
./debloat:1882: in function 'ethernet'
./debloat:1922: in main chunk
[C]: ?

lua5.1

root@fob-xray:/home/dfc/0xRepos/Net/deBloat/src# QDEBUG=1 IFACE=eth0 lua5.2 ./debloat
lua5.2: ./debloat:1098: invalid escape sequence near '|'


Reply to this email directly or view it on GitHub:
#1

@dtaht
Copy link
Owner

dtaht commented Aug 1, 2012

lua 5.1. I have not been closely tracking the differences between the cerowrt version and the debloat version of late.

the syntax of the ethtool wrapper changed on me, on some distros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants