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

SAm0815 rev 460df50: module 'luci.model.ipkg' not found #668

Closed
everloop2 opened this issue Mar 5, 2019 · 1 comment
Closed

SAm0815 rev 460df50: module 'luci.model.ipkg' not found #668

everloop2 opened this issue Mar 5, 2019 · 1 comment

Comments

@everloop2
Copy link
Contributor

clean build: SAm0815 rev 460df50 (05.03.2019)

http://frei.funk/cgi-bin/luci/

/usr/lib/lua/luci/controller/assistent/assistent.lua:5: module 'luci.model.ipkg' not found:
no field package.preload['luci.model.ipkg']
no file './luci/model/ipkg.lua'
no file '/usr/share/lua/luci/model/ipkg.lua'
no file '/usr/share/lua/luci/model/ipkg/init.lua'
no file '/usr/lib/lua/luci/model/ipkg.lua'
no file '/usr/lib/lua/luci/model/ipkg/init.lua'
no file './luci/model/ipkg.so'
no file '/usr/lib/lua/luci/model/ipkg.so'
no file '/usr/lib/lua/loadall.so'
no file './luci.so'
no file '/usr/lib/lua/luci.so'
no file '/usr/lib/lua/loadall.so'
stack traceback:
[C]: in function 'require'
/usr/lib/lua/luci/controller/assistent/assistent.lua:5: in main chunk
[C]: in function 'require'
/usr/lib/lua/luci/dispatcher.lua:586: in function 'createindex'
/usr/lib/lua/luci/dispatcher.lua:613: in function 'createtree'
/usr/lib/lua/luci/dispatcher.lua:279: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:144: in function </usr/lib/lua/luci/dispatcher.lua:143>

seen this for a while, last build i got LuCI working: 2018.12.31_freifunk-berlin-dev-sam0815-2ea4f03-arcadyan_arv752dpw22-sysupgrade

-> workaround:
for linux 4.14.x kernel, use workig branch e.g. Freifunk Berlin Dev-daily 6b8eb95 (https://github.com/freifunk-berlin/firmware/tree/daily/upstream-master)

flash firmware using ssh, linux way:

boot up router & connect via LAN (dhcp should be working)
hostPC: open terminal, send firmware via LAN -> cat [working_firmware].bin | nc -l -p 3333
hostPC: open terminal, log in to router -> ssh root@frei.funk
ssh@router: get firmware from hostPC -> nc [hostPC IP] 3333 > /tmp/1.bin
ssh@router: flash firmware -> sysupgrade -i /tmp/1.bin

@everloop2
Copy link
Contributor Author

thanks, solved by: freifunk-berlin/firmware-packages@c76c35b

freifunk-berlin-dev-sam0815-11afd3d-arcadyan_arv8539pw22 up and running:
http://monitor.berlin.freifunk.net/host.php?h=cottbus-lausi36-2

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

1 participant