epooch Posted February 4, 2015 Author Report Share Posted February 4, 2015 Your video is great. I am glad somebody is using it! Quote Link to post Share on other sites
68kMLA Supporter mactjaap Posted February 5, 2015 68kMLA Supporter Report Share Posted February 5, 2015 Another test on a Macintosh 128K. Now with a rock bottom System 1.0 and Finder 1.0. Works!! One strange thing..... It comes up with a 404 ...not with the index.html as you should expect. What could be the explanation? See for yourself: http://youtu.be/Wu2uu8qvQ1M Quote Link to post Share on other sites
epooch Posted February 5, 2015 Author Report Share Posted February 5, 2015 Did you use your own html or the ones that came with the program? Double check the http header of the html, and make sure it is 200 report code. Telnet to port 80, and GET / enter, enter Quote Link to post Share on other sites
68kMLA Supporter mactjaap Posted February 5, 2015 68kMLA Supporter Report Share Posted February 5, 2015 HMMMMMMMMMMMMMM simpel and stupid mistake!!! The index.html was not copied...... So I will correct that....now........ Quote Link to post Share on other sites
68kMLA Supporter mactjaap Posted February 5, 2015 68kMLA Supporter Report Share Posted February 5, 2015 30 seconds later... YES!!! WORKS!!!! So System 1.0 and Finder 1.0....running FINE! Quote Link to post Share on other sites
68kMLA Supporter mactjaap Posted February 6, 2015 68kMLA Supporter Report Share Posted February 6, 2015 I connected my 128K to the Internet. You can see ElWhip up and running at this address: http://128k.macip.net/ If you have seen the page...honk! Works in a "normal" browser....not in lynx. Probably something with the port forwarding. Please don't hammer it....... Will be up today. Quote Link to post Share on other sites
epooch Posted February 6, 2015 Author Report Share Posted February 6, 2015 Nice Job! This has been a 2 month project of mine, so it is really great to see it up and running on a real Mac 128K. FYI: Safari is stalling about 3/4 way through that page and keeping the connection open. If I use TELNET, it looks correct, except I do not see the HTTP header (which may be the problem with Safari). You should consider putting a fan on it it you are running it full time, like a Kensington System Saver or a Fanny Mac. Quote Link to post Share on other sites
68kMLA Supporter mactjaap Posted February 6, 2015 68kMLA Supporter Report Share Posted February 6, 2015 Going offline now. Bed time. Won't leave it on at night. Quote Link to post Share on other sites
68kMLA Supporter mactjaap Posted February 7, 2015 68kMLA Supporter Report Share Posted February 7, 2015 And online again on: http://128k.macip.net/ Quote Link to post Share on other sites
68kMLA Supporter mactjaap Posted February 7, 2015 68kMLA Supporter Report Share Posted February 7, 2015 I will close down the 128K web server. My 128K is having trouble to start. Sometimes the screen stays black. A slap helps..... I did some soldering this afternoon. It is more stable now but, I had to boot more then ones, so it is not over. I'm afraid I have to do this soldering over and the very carefully..... So I'm giving it some rest for now. I have a log on the port forwarding and can see that my web server is visited 160 times. But...half of the visits are mine... It was a nice project and hope to see more of these TCP/IP Mac stuff. It is really my peace of cake! Quote Link to post Share on other sites
techknight Posted February 8, 2015 Report Share Posted February 8, 2015 (edited) Looks like you got bitten by the hardware failure related to age bug. Time to service the analog board. This is one bug that not 1 person in this entire world collecting these machines will avoid. Edited February 8, 2015 by techknight Quote Link to post Share on other sites
epooch Posted February 8, 2015 Author Report Share Posted February 8, 2015 I had a very similar problem with my 128k a while back. A slap would make it work for a while. The transistor (?) at CR-1 had a cracked solder joint. Quote Link to post Share on other sites
68kMLA Supporter mactjaap Posted February 8, 2015 68kMLA Supporter Report Share Posted February 8, 2015 (edited) Thank you guys! I have been soldering the three connectors and it seems to do the trick. I'm not that good in it but.....it works! I will give the machine some rest now! Edited February 8, 2015 by mactjaap Quote Link to post Share on other sites
epooch Posted February 10, 2015 Author Report Share Posted February 10, 2015 I shifted a bunch more PPP code into a segment that I can unload. I will see if I can fit dynamic headers in. This will make serving images easier. I also have an idea for fixing the crash on quit on 128k. Any other requests? I may have enough memory to fit a small web browser. Quote Link to post Share on other sites
68kMLA Supporter mactjaap Posted February 10, 2015 68kMLA Supporter Report Share Posted February 10, 2015 I have a wish list..... - Make it possible to do a HEAD request, so you can check if a file is there - Name and version of the server in this HEAD request.- Some kind of server status; amount of requests, uptime,etc - Make some interaction with the OS possible, like time and date showing, file listing, etc - A big one....Make it possible to upload files..... Quote Link to post Share on other sites
uridium Posted February 15, 2015 Report Share Posted February 15, 2015 Love yer work. Well done Also an enjoyable read. Quote Link to post Share on other sites
epooch Posted February 16, 2015 Author Report Share Posted February 16, 2015 OK, I added some features including HEAD requests. http://apple-crapple.blogspot.com/2015/02/elwhip-007-with-new-features.html A server status window is probably next, but it may take a while... Quote Link to post Share on other sites
68kMLA Supporter mactjaap Posted February 17, 2015 68kMLA Supporter Report Share Posted February 17, 2015 Version 0.7 really works beautiful! I now get correct headers and can read a head request! I put it on the Internet and tested http://128k.macip.net/ GET / HTTP/1.1 Host: 128k.macip.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive Cache-Control: max-age=0 HTTP/1.0 200 OK Server: lwIP/1.3.1 (http://savannah.nongnu.org/projects/lwip) Content-Type: text/html Can't get it going on minivmac with serial support.... Don't know how to get the pppd started well on my virtual Debian.... Quote Link to post Share on other sites
epooch Posted February 18, 2015 Author Report Share Posted February 18, 2015 minivmac should start pppd if your ttyprog.sh is configured correctly. do you get any errors in syslog? also, I noticed that I am not seeing all of the html.: This is made possible by the lightweight TCP/IP stack <a href="htt[Connection closed by foreign host.] Does the file really stop there or is the server stopping early? Quote Link to post Share on other sites
epooch Posted February 18, 2015 Author Report Share Posted February 18, 2015 I found a bug that can cause an incomplete file read on certain size files, which was causing your index.html to not load correctly. I updated the download : http://apple-crapple.blogspot.com/p/blog-page_19.html Quote Link to post Share on other sites
68kMLA Supporter mactjaap Posted February 18, 2015 68kMLA Supporter Report Share Posted February 18, 2015 YES!!!!!!!!!! 07.1 does the trick! Now the whole page loads. Thanks for the update. Server is live at: http://128k.macip.net/ I will PM you about my ppp setup for minivmac. It is driving me mad..... I'm debugging now and it seems that the pppd is restarting over and over... Als when I just ask which tty I'm on( remove the pppd part and just run command tty ) it loops between /dev/pts/2 and /dev/pts/4. Now way of binding it to just one pts.... Maybe I ca start pppd with one ling command? Like: pppd /dev/pts/2 9600 etc etc I asked the maker of this minivmac version, but he just uses slirp and don't know what to do.... OK I come back on this by PM. Quote Link to post Share on other sites
68kMLA Supporter mactjaap Posted February 19, 2015 68kMLA Supporter Report Share Posted February 19, 2015 I'm testing new possibilities with El Whip now. Connected the 512K Mac with LocalTalk and mounted a share. I'm running it from a mounted drive on my MacIPgw virtual machine. This has Netatalk on board. The .html files are on this share so there is endless space and... the possibility of using scripting. As an example I generate a simple page every minute which gives the current date and time. Just to understand the idea. The server is still running on the 512K Macintosh Have a look at: http://128k.macip.net/date.html This is the simple script, date.sh: echo "<html>" > "/AppleShare/ElWhip 0.071/date.html" echo "<body>" >> "/AppleShare/ElWhip 0.071/date.html" echo "`date`">> "/AppleShare/ElWhip 0.071/date.html" echo "</body>" >> "/AppleShare/ElWhip 0.071/date.html" echo "</html>" >> "/AppleShare/ElWhip 0.071/date.html" Run it in crontab * * * * * /bin/sh "/AppleShare/ElWhip 0.071/date.sh" Quote Link to post Share on other sites
epooch Posted February 19, 2015 Author Report Share Posted February 19, 2015 Cool! The lwip http server does have some support for SSI (server side includes), which I disabled due to memory issues. However, I have saved a lot of ram since I started, so I will give it a try it again. Date/ time would be a good first test. Quote Link to post Share on other sites
gavo Posted April 27, 2015 Report Share Posted April 27, 2015 wow, sorry, I meant WOW!! Well done, that is an awesome achievement. I havent been around here for a while so have only just learnt of your awesomeness today. I was truly blown away. I'm pretty sure that in past discussion about being able to do something like this on a 128k Mac using Mac OS, the idea was dumped in the "impossible" basket. Excellent work. I look forward to taking some time to read through your blog (not that I'll be able to understand all the technical bits!). Cheers, Quote Link to post Share on other sites
68k family Posted May 15, 2015 Report Share Posted May 15, 2015 This is very impressive! Best I have ever done was running Eudora on a workgroup server 60 in the late 90's to provide email for almost 1,000 users. I massaged that machine to run it flawlessly until I just couldn't expand the ram to keep up with the traffic - much less have enough storage or disk speed. I wound up converting that machine into a web server with web star and used it for that purpose into the early 2000's - without any trouble. Never occurred to me to try it on a machine still old. I do know of a company with over 150 workstations that still uses a IIci as a DNS and print server. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.