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

WebServer on Zipit ? #8

Open
janekska opened this issue Jun 19, 2022 · 7 comments
Open

WebServer on Zipit ? #8

janekska opened this issue Jun 19, 2022 · 7 comments

Comments

@janekska
Copy link

Hi,

I finally got working my Zipit with

BusyBox v1.24.2 () multi-call binary.
BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

Usage: busybox [function [arguments]...]
or: busybox --list
or: function [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.

Currently defined functions:
[, [[, ash, awk, basename, bunzip2, bzcat, cat, chgrp, chmod, chown,
chroot, chvt, clear, cmp, cp, crond, crontab, cut, date, dd, deallocvt,
depmod, df, dirname, dmesg, dnsdomainname, du, echo, egrep, env, expr,
false, fgconsole, fgrep, find, free, fsync, fuser, getty, grep, gunzip,
gzip, halt, head, hexdump, hostname, hwclock, ifconfig, init, insmod,
ip, kill, killall, less, ln, loadfont, loadkmap, lock, logger, login,
losetup, ls, lsmod, lsusb, md5sum, mdev, mkdir, mkfifo, mknod, mkswap,
mktemp, modprobe, mount, mv, nc, netstat, nice, nslookup, openvt,
passwd, pgrep, pidof, ping, pivot_root, poweroff, printf, ps, pwd,
readlink, reboot, reset, rm, rmdir, rmmod, route, sed, sh, showkey,
sleep, strings, swapoff, swapon, switch_root, sync, sysctl, tail, tar,
tee, test, top, touch, tr, traceroute, true, tty, udhcpc, umount,
uname, uptime, vconfig, vi, watchdog, wc, which, xargs, yes, zcat

The question is how could I get them working as small web server?
Some loong time ago I saw that somebody got it working so.

Another question:
I would not need gmenu and would like to free some resources, but I would like to use bigger fonts on terminal/startup screens - could you drop some direction where to search configs for them?

@deeice
Copy link
Member

deeice commented Jun 20, 2022 via email

@janekska
Copy link
Author

Thanks @deeice!
It could work for my static site (I am used Hugo static site generator).
When I'll get hands on it I'll report back.

Some looong time ago I used to compile some programs too on ZipIt.
I.e. could you point to some link etc. I am yet failing to get something from web search engines.
Mostly there are info about how to compile busybox itself.

@deeice
Copy link
Member

deeice commented Jun 22, 2022 via email

@janekska
Copy link
Author

Hmm, could it be that there was a version of debian for Z2?
Could this
https://web.archive.org/web/20200110094339/https://mozzwald.com/zipit/index.php?dir=z2buntu%2F
be usable?
I barely remember, that it looked something with package management, but I could be wrong.
At least, I think that I got working mc on z2...

@deeice
Copy link
Member

deeice commented Jun 22, 2022 via email

@deeice
Copy link
Member

deeice commented Oct 11, 2022 via email

@janekska
Copy link
Author

Webserver --------- There might be a ligttpd package, if it compiled... https://github.com/openwrt-zipit/openwrt-packages/tree/master/net/lighttpd You could try searching for it with opkg. https://github.com/openwrt-zipit/openwrt-pxa-target/wiki/opkg Otherwise, you can try to compile one, but it's probably a lot of work. You could try the openwrt cross compiler toolchain described in the wiki. Or try to install the native compiler package and build it on the zipit.

Hmm, tried to add opkg source, but failed:

 opkg update
Downloading http://github.com/openwrt-zipit/openwrt-packages/Packages.gz.
Downloading http://github.com/openwrt-zipit/openwrt-packages/Packages.sig.
Signature check failed.
Remove wrong Signature file.

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

2 participants