yashsingh1/xdaforums huggingface dataset:
[General Topics] Almazick:
After thinking a little bit more I believe it is possible to bypass proxy by using tethering. I don't remember right now but I believe when you tether then you are able to connect to your own IP. I don't have time to test that right now but if it works then what we can do just enable tether, and forward traffic from tether to loopback.

---------- Post added at 02:33 AM ---------- Previous post was at 02:28 AM ----------

well, I know how to use iptables but I'm just not an expert with them but to get all the basic routing/forwarding is alright with me. I just hate when it comes to mangle and advance routing. I believe my iptable works on my android even with some error message or maybe not due to kernel. Also when you use android iptable then instead of tcp you must type 6. Even using 6 I'm still getting an error executing the command but when I check my iptables list then everything looks good. Here is for reference http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xml
[General Topics] Almazick:
Looks like you are all done. Upload your website to /home/user_name/domains/your_website/public_html. Connect to your WiFi and enter your IP address in browser and that's it.
[General Topics] S0AndS0:
Allrighty; the "./install" part and "adduser" part is done. Can I make something up for domain or do I nead an external host for that?

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Or

https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
[General Topics] Almazick:
It doesn't really matter. Create any domain that you wish. You can create No-IP or afraid.org for DDNS. I never used any of them because I'm using dyndns.org but Afraid.org should be better than No-IP
[General Topics] S0AndS0:
Cool and thanks for afraid.org that looks like a winner :)

I've set up a test one and will try the rest of the directions... one error I received when running

./domain.sh add <the-newuser-from-previous-command> add <some-thing.com>

but then it reports some sucess... I'll be uploading a full dump of everything once I've finished with the commands and scrubbing...
[General Topics] Almazick:
By the way if you want to run your own website and host it yourself then I'd suggest register a real .COM domain and you can get it on sale for about $1-$2 for a year or just pay the full price around $8 which is not bad. If you want to host a basic website, you have a couple of choices get a shared hosting $1-$5 a month, or your own VPS $15 a month where you can run your own linux. If you have a good router such as E4200, Asus 66u and etc then install Tomato firmware where you can host your own website from your router and it's free. Also a few days ago found android app KSWEB and it can run PHP, MySql, web server. It's a little bit limited and I tried running my existing Joomla site, got a bunch of errors but it kind of works for basic stuff.

---------- Post added at 11:43 PM ---------- Previous post was at 11:40 PM ----------

Strange errors and it looks like you are not logged in as Root. Anyway if you need help I can remote in and set it up for you.

---------- Post added at 11:48 PM ---------- Previous post was at 11:43 PM ----------

Just noticed

./domain.sh add <the-newuser-from-previous-command> add <some-thing.com>

That is a wrong command. Go back to my directions again
[General Topics] S0AndS0:
Well that cost is low enough that I'll likely take the plunge in the near future, however, in the immediate future I've no need for it just yet and no ISP to support it once getting a box to run it on the other side of the router. Really only need it something like this to me intermittent or privet for now so that I can make data available to those that have an account. I keep running across Tomato and the fun things I could do with it if it worked on Belken (last I checked mine wasn't in the list of compatible devices) though if there where a way to do that from Android then it could be fancey, I'll be checking out KSWEB too nice find.

Yeah strange indeed but it kept going, perhaps something didn't install correctly from the "./install" part, sometimes that'll happen when installing a bunch of packages in a row. I was logged in as root and am currently, I'll be posting a link to the dump of the install process shortly.

Yeah I double checked the commands and I put it in right (I think) for /domain.sh add <the-newuser-from-previous-command> add <some-thing.com> instead it was ./domain.sh add <the-newuser-from-previous-command> <some-thing.com>

Next up, trying to connect through wifi to see that it's up, then trying to connect in from a different access point. And trying out "gdebi webmin.deb" GUI thing...
[General Topics] Almazick:
If you just want to run web server off android then lil debi with my script is a perfect solution. Second solution is KSWeb if it works for you. It all depends what's the requirement you need for webserver. For something basic you might not even need php or mysql.
[General Topics] S0AndS0:
Really the end goal will be in making an Openstack multi-node server that runs a VM ontop of many Android prossesors but this is one of many "steping stones" along understanding and scripting that path. If KSWeb takes some of the requirements to the android side of the file system, then I could hybridize some of it and make one of the first android/linux apps that requires both to be running... hmm much to ponder wile I work on this :D

Edit an hour latter or so- oh and if ya PM me an email I'll shair links to google docs that contain full log dumps and notes I've taken on this. Currently on line 3778 and counting.

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Or

https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
[General Topics] S0AndS0:
Dump log notes are bellow for the errors recived. Got to wate till I get to a PC to share the link to the full dump.

Some of the errors are not really causing problems as a re-run fixed some of them.

The ones that may be causing issues ; line numbers - 1163 , 1167 , 1217 , 3959 , 3994 , 4151 , 4185 , 4416 , 4486 , 4582 , 4539

And I'm still unable to connect over wifi yet, but that might be me not doing something right...

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Or

https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
[General Topics] Almazick:
It looks like when you were running the script you didn't have internet access. It shows by an error couldn't fetch files and when I click on these links then they open in my browser. Looks like php5-fpm is not installed at all. Also don't forget on Android linux don't start services on boot so you have to start them manually with the following commands.

service nginx start

service mysql start

service php5-fpm start

service webmin start

My only suggestion rerun my script again and if something is not working then probably the best way would be for you to give me a remote access. If you don't know how, then just ask and I'll tell you how. It's just kind of hard to say what you are doing wrong since I have no idea what you are doing.

Forgot to mention, everything I tested on Lil Debi Wheezy (stable) ArmHF. So try that first with my script and see if it works.
[General Topics] S0AndS0:
That's kinda what I figured, I'll be up and active on this in a few hours (got to sleep sometime :)) and rerun or just manually install the missing packages.

Thankfully ROM toolbox provides a way to boot Debian Kit and "

service nginx start

service mysql start

service php5-fpm start

service webmin start

" at boot for the device so it'll not be a big problem to code around. Thanks for the heads up before I ran into an error later :D

Yep I'll be doing that, hopefully I don't have to reinstall the whole OS too, perhaps on the remote access though it would defeat the goal of learning through hard experience...yeah it's hard to diagnose from just the bit I posted but I've yet to get near my PC for the full log.

Cool, good to know we've one working method. I'll give it a shot if Debain Kit causes errors. Though I don't think my device for testing is hard float compatible, but worth a test to check.

Like I said, few hours for sleep and I'll be on it again; lots of driving for that thing I had to do today.

Update 08262013- Link to full dump that the notes make referance to

https://docs.google.com/document/d/1wUsITxs9oisyIhaWP-Dipyz4M5Z8QeUMOrfxs8-LmFI/edit?usp=sharing

Edit 2pm- still getting errors for php5 related packages; likely this is because squeeze doesn't have these by default in the repos for stable. I'll be adding wheeze and some others to gain access to them and rerun.

Additionally I ran tests locally in icewheezle and the defaults work when viewing under "file:///" in the address bar instead of "http://" and the html's are viable and render fine. Just got to get the kinks out :)

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
[General Topics] Almazick:
I would suggest start first with LiL Debi, install LNMP server. Make sure it's working properly then understand how it works. Once you know how it works then do other tests with Debian Kit and etc. For more info visit installation guide which is more in details https://tuxlite.com/installation/
[General Topics] S0AndS0:
Lil Debi doesn't seem to install anything. Do I provide my own image file?

Currently I'm given one button and three options:

Start Debian

preferences

View install log

delete all

No; install button, install log is blank, and start Debain button results in file not found errors.

I'm deleting all, uninstalling and reinstalling and trying again.

Update after that

So I got to the install screen, filled it out, let it do it's thing, then had my SD unmounted, system files unmounted, and rebooted... Not impressed. The app is friendly and may work for others but my system may not be compatible. I'll be testing more after a full backup.

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
[General Topics] Almazick:
If you have any issues with LiL Debi then you should post a problem here https://github.com/guardianproject/lildebi/issues?page=1&state=open If you want I can upload my image file with just plain linux installed or a full LNMP server image.
[General Topics] S0AndS0:
Good thing I've already the same user name there too :) work is quick today so I'll be on tonight and all day tomorrow. Hey if you're going to upload an image that might be faster on getting me up to exactly the same spot as you, I'll do the same for Debian Kit once I've figured it out on that too... Perhaps an entire section should be dedicated to image files in this thread; I'll see what I can do for that too.

I suppose knowing what this is really doing would help :D no worries I'll catch up quickly.

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
[General Topics] Almazick:
Which image would you want? Clean Linux or a full LNMP server?
[General Topics] S0AndS0:
I'll take LNMP and figure out the clean install in my own time; I figure we've been doing the install dance long enough, it's time to get the 3/4G networking figured out :)

Update 7 pm- Lil Debi is chugging away on what looks to be a good install :D not sure how to replicate the errors I had before but if all goes well I may be up and running your script again tonight.

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
[General Topics] Almazick:
Sometimes Lil Debi gets stuck on install and you have to reboot your phone. I'll be up for the next few hours, gotta get some work done so you can reply and I can answer asap. Sounds good but I'm about to upload the image for you. Do you still need it? By any chance do you have Google instant messanger? My username is Almazick
[General Topics] S0AndS0:
Heh, yeah I was noticing. Thankfully the third time round I teased out a working install. I'll be off tomorrow from normal work duties so I'll be posting updates as regularly as I can, cool I'll be asking as I have questions, so far though it seems fairly strait forward aside from where things didn't seem to work last time :) Sure a modified image that has everything ready to rock and roll will make debugging a bit easier; from what I understand I can just unmount the one I've got running and move it somewhere else or mount from a different directory once I've downloaded your image file and so long as I remember to unmount between switches I should be good :D I'm not sure, I have "hangouts" from google... think it's the same contact info as my google+ profile, go ahead and try to hit me up and it should notify me...

Oh and update to the working install I got up and running with 'Lil Dibi' app

~ running "stable" arm Hard Float

~ 1024MB sized image file

~ only one error during install and that was during the last "apt-get update -fy" part so it mounts and unmounts fine.

~~ next up, I'll be running (line by line) the script that ya set up and testing over 3G and 4G
[General Topics] Almazick:
Yep, you are correct. You can make as many folders with debian.img and point to them from preferences lil debi menu. Hangout is the same as google instant messanger. They just changed the name. I just sent invitation to S0AndS0 at gmail.com I guess that's your email. 1024 image is not enough. You need to make it around 2gb
[General Topics] S0AndS0:
Cool, looked like it would be nice like that, perhaps latter I'll boot up QEMU and Debian Kit at the same time and see if they can all run off the same device at the same time... could be slow but could be interesting for other testing.

Oh that'll be interesting for that person I'm found there by using "strangerthanbland" sorry bout that "S0AndS0" is a younger user name :silly:

Wups I'll be upping that on the next go around, thankfully though I now know one of my devices (Epic 4G SPH-D700) is compatible with the same app as what you're using I'll be testing on the other devices I've got and seeing about adding another section to section one of the guide for Lil Debi users.
[General Topics] Almazick:
Alright, I added you to hangout place. So do you still want my image or will you be doing it yourself? Also for webmin add the following plugin which might help you in a long run http://www.justindhoffman.com/sites/justindhoffman.com/files/nginx-0.07.wbm_.gz Install it from webmin
[General Topics] S0AndS0:
Neat, I'll be checking that shortly; device is on the charger currently...

Yes please, I'll be using the bandwidth anyways.

when you say "Install it from webmin" this would mean to me that I can run a 'wget http://www.justindhoffman.com/sites/justindhoffman.com/files/nginx-0.07.wbm_.gz' and run an install command against the tar or the extracted contents with webmin or does webmin have a spiciffic command for just plugin's?
[General Topics] Almazick:
No, you can install modules within webmin. Anyway I'll upload the image now and I'll pm you the instructions. I created a fresh image for you about an hour ago.
[General Topics] S0AndS0:
Ok, I'll play around with it and likely see what you're talking about. Nice :good: and thank you.

Edit- before you had mentioned resizing the image file. Can this be done on the device or is it better to do that through a PC?
[General Topics] Almazick:
Check your PM

You can resize on device but I don't know how but you can resize it using this guide http://www.techpository.com/?page_id=1142. Instead of mkfs.ext2 use mkfs.ext3
[General Topics] S0AndS0:
Update 10242013- so it's been a little wile; I've been working to make a NoFlo install script and it's nearly ready to share (de-bugging status) and been working to refinance my car (lame stuff I know) but I'll be online daily for Q&A if anyone runs into issues with the current info/scripts posted here.

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
[General Topics] ppmendonca:
Debian on Limbo without external access

As a noob I probably was incopetent to find the answers I need, but I honestly tried for days before asking.

I installed Limbo and gotten Debian to run on an Asus TF300TL w/o rooting it. Unfortunately I can't access the internet (mount only shows lo) via my wifi router or access the usb pen drive or internal memory. This precludes any package installation etc. Everything I've tried ends up saying "network innaccessible" sonner or later.

So I'm in an unknown dark (command line) room with no doors or windows. I'm not even sure if I'm asking the right questions in my searches.

My ultimate goal is to run Moneydance in my Android tablet as part of getting rid of Windows. (Android is still shy of replacing it but I'm getting close.)

All help is much appreciated.
[General Topics] S0AndS0:
I'll see if I can't replicate the network issues with Limbo.

Some things you might want to try:

~ try rooting your device (if possible)

~ try a different distribution (Ubuntu 12.04 was a bit tricky to get installed but worked on my Epic 4G)

~ try a computer assisted install... its covered in part of the guide here; short story, use a PC running a virtual machine and install the distro you want to use on your device to the VM's hard drive (image file), convert the image file to the file format understood by Limbo, transfer the converted image file over to your device and boot with Limbo... this took me more than 5 hours to do but was the best method for getting a "clean install" of Linux running with Limbo.

~ if you do achieve root perhaps try Debian Kit app (runs armel) or lildebi (runs armel or armhf) as these are designed to perform an over network install of Linux.

I've the day off from normal work for this Friday and Saturday and will be back with more help soon :)

Update 11pm myTime- checked with a few Google searches related to your device, looks like support and documentation is a bit sparse, did find one helpful link if ya end up in a bricked situation-

Un-brick instructions

http://xdaforums.com/showpost.php?p=44244313&nocache=1&z=9056634965818376

And from what I've read the next link has a guide for root-

http://xdaforums.com/showthread.php?t=1706588

On the moneydance side of things... Found that Java is bundled into the normal install and has had issues because of this, however, there be a guide already for where to download a Java free version-

http://help.infinitekind.com/kb/frequently-asked-questions-2/moneydance-2011-on-ubuntu-1110-and-1204

Note though that if using a distro not designed for PC (like those from apps other than Limbo) you'll want to use the methods for installing arm compatible forms of Java instead of the directions given in the above link.

Update 11/22/2013- so got Limbo up and running on my device again and have some help for your network issues.

When first opening the app (limbo) on the "main screen" scroll down to "network configuration" and check that it says "user" and not "none", then just under that you'll see "network card" here I use "ne2k_pci" but you may find that another card setting works better. Try fiddling with those settings and then booting into Linux.

And let me know if ya need me to load up screen shots or a working hard drive image.

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
[General Topics] ppmendonca:
I haven't had issues with using the TF300 keyboard (removable) or the touch screen in the VM environment. So I' don't see a need to use my phone to control the tablet. But I'm amazed you could do it!

I tried to use the DSL but got no where too. I should mention that although I started my computer life on Apple Basic it's been so long I've bben in a GUI that command line usage is a liability for me. Couple that with a total lack of knowlegde of the underling softwares and standards and you get the worst kind of noob.

I'm not even sure what kind of screen shots would be useful. There were times when I recorded video of the tablet screen with my phone when booting just so I could read what was going on before the screen scroled up.

I don't have a PC at home any more. If I need to prepare a disk image (or anything else) outside of Android I'll have to do it at work (behind a hefty firewall) or borrow a PC. If that is the case please let me know so I can prepare for it in advance.
[General Topics] ppmendonca:
I've recorded 4 videos of the 4 softwares I tried to run Linux in and am uploading it to Google Drive (link). Two seem identical and the Limbo one seems like the one that is working the best (Debian).

Regarding the flavor I don't know enough to choose. It seems it would either be Ubuntu (generic) or DSL (smallest), but I leave it up to you. I greatly appreciate your attention and effort in trying to help me.

I'll try to PM you for an e-mail.