Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203342 > unrolled thread

Debian on Phone as webserver

Started byMarek Mosiewicz <marek.mosiewicz@jotel.com.pl>
First post2018-12-13 18:50 +0100
Last post2018-12-14 15:00 +0100
Articles 10 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  Debian on Phone as webserver Marek Mosiewicz <marek.mosiewicz@jotel.com.pl> - 2018-12-13 18:50 +0100
    Re: Debian on Phone as webserver arne <sp113438@telfort.nl> - 2018-12-13 19:30 +0100
      Re: Debian on Phone as webserver Marek Mosiewicz <marek.mosiewicz@jotel.com.pl> - 2018-12-13 19:40 +0100
        Re: Debian on Phone as webserver deloptes <deloptes@gmail.com> - 2018-12-13 20:50 +0100
          Re: Debian on Phone as webserver arne <sp113438@telfort.nl> - 2018-12-13 21:50 +0100
            Re: Debian on Phone as webserver deloptes <deloptes@gmail.com> - 2018-12-13 23:00 +0100
    Re: Debian on Phone as webserver André Rodier <andre@rodier.me> - 2018-12-13 22:10 +0100
      Re: Debian on Phone as webserver Marek Mosiewicz <marek.mosiewicz@jotel.com.pl> - 2018-12-14 00:00 +0100
        Re: Debian on Phone as webserver André Rodier <andre@rodier.me> - 2018-12-14 10:50 +0100
        Re: Debian on Phone as webserver deloptes <deloptes@gmail.com> - 2018-12-14 15:00 +0100

#203342 — Debian on Phone as webserver

FromMarek Mosiewicz <marek.mosiewicz@jotel.com.pl>
Date2018-12-13 18:50 +0100
SubjectDebian on Phone as webserver
Message-ID<x4Dhw-5rR-17@gated-at.bofh.it>
I'm just about having static IP for my LTE connection.

That brings me to some idea. What about having install Debian on ARM
old phone to have it as web server. They have quite modern hardware and
this is of course depending on web application, but I suspect that
ordinary PHP website could be served quite easily.

It can be connected to web as LTE or be bounded to router location via
WiFi or USB cable (that is for sure can be done)

Battery means that it can monitor easily possible shutdown of system.

Are there any experiences with installing Debian on phones ?


-- 
Gaining from harming others is stricly prohibited.

Marek Mosiewicz
http://marekmosiewicz.pl

[toc] | [next] | [standalone]


#203343

Fromarne <sp113438@telfort.nl>
Date2018-12-13 19:30 +0100
Message-ID<x4DUd-5Uo-11@gated-at.bofh.it>
In reply to#203342
On Thu, 13 Dec 2018 18:31:16 +0100
Marek Mosiewicz <marek.mosiewicz@jotel.com.pl> wrote:

> I'm just about having static IP for my LTE connection.
> 
> That brings me to some idea. What about having install Debian on ARM
> old phone to have it as web server. They have quite modern hardware
> and this is of course depending on web application, but I suspect that
> ordinary PHP website could be served quite easily.
> 
> It can be connected to web as LTE or be bounded to router location via
> WiFi or USB cable (that is for sure can be done)
> 
> Battery means that it can monitor easily possible shutdown of system.
> 
> Are there any experiences with installing Debian on phones ?
> 
> 

The Gemini phone from Planet Computers runs debian and kali.
(Also android, lineageOS on its way, and sailfish).

hope this helps.

[toc] | [prev] | [next] | [standalone]


#203344

FromMarek Mosiewicz <marek.mosiewicz@jotel.com.pl>
Date2018-12-13 19:40 +0100
Message-ID<x4E3T-5Xz-1@gated-at.bofh.it>
In reply to#203343
W dniu 13.12.2018, czw o godzinie 19∶28 +0100, użytkownik arne napisał:
> On Thu, 13 Dec 2018 18:31:16 +0100
> Marek Mosiewicz <marek.mosiewicz@jotel.com.pl> wrote:
> 
> > I'm just about having static IP for my LTE connection.
> > 
> > That brings me to some idea. What about having install Debian on
> > ARM
> > old phone to have it as web server. They have quite modern hardware
> > and this is of course depending on web application, but I suspect
> > that
> > ordinary PHP website could be served quite easily.
> > 
> > It can be connected to web as LTE or be bounded to router location
> > via
> > WiFi or USB cable (that is for sure can be done)
> > 
> > Battery means that it can monitor easily possible shutdown of
> > system.
> > 
> > Are there any experiences with installing Debian on phones ?
> > 
> > 
> 
> The Gemini phone from Planet Computers runs debian and kali.
> (Also android, lineageOS on its way, and sailfish).
> 
> hope this helps.
In fact there is no need for GUI software as it will bloat RAM. SSH
access is enough. Ok you can have fancy GUI for traffic analytics and
system status monitoring just on your "server".

> 
> 

[toc] | [prev] | [next] | [standalone]


#203347

Fromdeloptes <deloptes@gmail.com>
Date2018-12-13 20:50 +0100
Message-ID<x4F9E-6Ax-9@gated-at.bofh.it>
In reply to#203344
Marek Mosiewicz wrote:

> In fact there is no need for GUI software as it will bloat RAM. SSH
> access is enough. Ok you can have fancy GUI for traffic analytics and
> system status monitoring just on your "server".

Come on, you again with brilliant ideas :)
I can not give you a few lines introduction to the complexity hidden in your
idea. But let me try to put it short. To run somethign on a hardware, you
need drivers. Most of the OEMs (still) do not provide sufficient
information or right to develop drivers ... so you see - you can not just
run debian on something that does not work with linux.

I give you some homework: Do some research on this topic including nokia N9
and the mer project and other projects from the past (i.e. ubuntu and
mozilla). All of them tried to do OS for a phone and were killed -
basically failed miserably and no one wanted to use those devices.

There are many community efforts to run FSOS on some phones. I am aware of
couple of such from the Mer project (Sailfish).

Please do some research and try to build up background on the topic. I read
exciting discussion with pleasure.

So why don't you get yourself a Raspberry with whatever extention you want
(i.e. WiFi) and your idea becomes reality with very little effort. You can
even have a gui on it - it runs debian just fine.

PLS, don't take it personal. I am trying to move you to start
reading/researching by yourself before you start asking, well let me say it
politely, rhetoric questions.

kind regards

[toc] | [prev] | [next] | [standalone]


#203350

Fromarne <sp113438@telfort.nl>
Date2018-12-13 21:50 +0100
Message-ID<x4G5H-7ar-1@gated-at.bofh.it>
In reply to#203347
On Thu, 13 Dec 2018 20:45:26 +0100
deloptes <deloptes@gmail.com> wrote:

> it runs debian just fine

I am sorry, it is called raspbian, not debian, for a reason.

[toc] | [prev] | [next] | [standalone]


#203361

Fromdeloptes <deloptes@gmail.com>
Date2018-12-13 23:00 +0100
Message-ID<x4Hbs-7Oa-7@gated-at.bofh.it>
In reply to#203350
arne wrote:

> I am sorry, it is called raspbian, not debian, for a reason.

I don't know about you, but I have native debian running on Raspberry. The
trick is to make it boot properly - and there are docs therefor.


I ended up putting the boot loader and firmware on an old 215MB SD card and
doing root over NFS, cause it is much easier for testing ;-). It was many
moons ago before RPI3 came out when jessie ruled the world, so memories are
scared, but notes are still around.

$ cat /opt/remote/nfsroot/raspberry/etc/debian_version
8.0

# du -sh /opt/remote/nfsroot/raspberry/
779M    /opt/remote/nfsroot/raspberry/


So I was definitely talking about debian.

regards

[toc] | [prev] | [next] | [standalone]


#203353

FromAndré Rodier <andre@rodier.me>
Date2018-12-13 22:10 +0100
Message-ID<x4Gp4-7wF-21@gated-at.bofh.it>
In reply to#203342
On 2018-12-13 17:31, Marek Mosiewicz wrote:
> I'm just about having static IP for my LTE connection.
> 
> That brings me to some idea. What about having install Debian on ARM
> old phone to have it as web server. They have quite modern hardware and
> this is of course depending on web application, but I suspect that
> ordinary PHP website could be served quite easily.
> 
> It can be connected to web as LTE or be bounded to router location via
> WiFi or USB cable (that is for sure can be done)
> 
> Battery means that it can monitor easily possible shutdown of system.
> 
> Are there any experiences with installing Debian on phones ?

Hello Marek,

Interesting, thanks for the feedback.

- In which country you are ?
- Is the static IP address is IPv4 or IPv6 ?
- Are the ports 25 and 587 are open, or there are restrictions?
- Do you have access to reverse DNS
- How much you pay per month

Thanks for your answer.

Kind regards,
André

-- 
https://github.com/progmaticltd/homebox

[toc] | [prev] | [next] | [standalone]


#203362

FromMarek Mosiewicz <marek.mosiewicz@jotel.com.pl>
Date2018-12-14 00:00 +0100
Message-ID<x4I7w-8nL-3@gated-at.bofh.it>
In reply to#203353
W dniu 13.12.2018, czw o godzinie 20∶55 +0000, użytkownik André Rodier
napisał:
> On 2018-12-13 17:31, Marek Mosiewicz wrote:
> > I'm just about having static IP for my LTE connection.
> > 
> > That brings me to some idea. What about having install Debian on
> > ARM
> > old phone to have it as web server. They have quite modern hardware
> > and
> > this is of course depending on web application, but I suspect that
> > ordinary PHP website could be served quite easily.
> > 
> > It can be connected to web as LTE or be bounded to router location
> > via
> > WiFi or USB cable (that is for sure can be done)
> > 
> > Battery means that it can monitor easily possible shutdown of
> > system.
> > 
> > Are there any experiences with installing Debian on phones ?
> 
> Hello Marek,
> 
> Interesting, thanks for the feedback.
> 
> - In which country you are ?
Poland
> - Is the static IP address is IPv4 or IPv6 ?
I have dynamic IP4 address 
> - Are the ports 25 and 587 are open, or there are restrictions?
I have mail server on OVH server. I bought there VPS (I had is sometime
before, even root server time ago). But realizing how much RAM requires
java CMS I liked I just thought maybe there is something different.
On my machine ports are closed. Router should also have no this port
open
By the way such phone server could also hold mailbox. Just have some
good backup tool 
> - Do you have access to reverse DNS
There is no reverse DNS set. Actually I have no experience with reverse
DNS. How it is set if there is many web virtual hosts on same machine.
> - How much you pay per month
I pay about $30 a year for mail hosting. $15 monthly for VPS and $10
and $15 monthly for LTE
> 
> Thanks for your answer.
> 
> Kind regards,
> André
> 

[toc] | [prev] | [next] | [standalone]


#203367

FromAndré Rodier <andre@rodier.me>
Date2018-12-14 10:50 +0100
Message-ID<x4Sgx-6g0-1@gated-at.bofh.it>
In reply to#203362
On 2018-12-13 22:13, Marek Mosiewicz wrote:
> W dniu 13.12.2018, czw o godzinie 20∶55 +0000, użytkownik André Rodier
> napisał:
>> On 2018-12-13 17:31, Marek Mosiewicz wrote:
>> > I'm just about having static IP for my LTE connection.
>> >
>> > That brings me to some idea. What about having install Debian on
>> > ARM
>> > old phone to have it as web server. They have quite modern hardware
>> > and
>> > this is of course depending on web application, but I suspect that
>> > ordinary PHP website could be served quite easily.
>> >
>> > It can be connected to web as LTE or be bounded to router location
>> > via
>> > WiFi or USB cable (that is for sure can be done)
>> >
>> > Battery means that it can monitor easily possible shutdown of
>> > system.
>> >
>> > Are there any experiences with installing Debian on phones ?
>> 
>> Hello Marek,
>> 
>> Interesting, thanks for the feedback.
>> 
>> - In which country you are ?
> Poland
>> - Is the static IP address is IPv4 or IPv6 ?
> I have dynamic IP4 address
>> - Are the ports 25 and 587 are open, or there are restrictions?
> I have mail server on OVH server. I bought there VPS (I had is sometime
> before, even root server time ago). But realizing how much RAM requires
> java CMS I liked I just thought maybe there is something different.
> On my machine ports are closed. Router should also have no this port
> open
> By the way such phone server could also hold mailbox. Just have some
> good backup tool
>> - Do you have access to reverse DNS
> There is no reverse DNS set. Actually I have no experience with reverse
> DNS. How it is set if there is many web virtual hosts on same machine.
>> - How much you pay per month
> I pay about $30 a year for mail hosting. $15 monthly for VPS and $10
> and $15 monthly for LTE
>> 
>> Thanks for your answer.
>> 
>> Kind regards,
>> André
>> 

Sorry, I am interested in the details of the static IP address with your 
mobile broadband.

Kind regards,
André

-- 
https://github.com/progmaticltd/homebox

[toc] | [prev] | [next] | [standalone]


#203373

Fromdeloptes <deloptes@gmail.com>
Date2018-12-14 15:00 +0100
Message-ID<x4Wau-8w9-11@gated-at.bofh.it>
In reply to#203362
Marek Mosiewicz wrote:

>> - Do you have access to reverse DNS
> There is no reverse DNS set. Actually I have no experience with reverse
> DNS. How it is set if there is many web virtual hosts on same machine.
>> - How much you pay per month
> I pay about $30 a year for mail hosting. $15 monthly for VPS and $10
> and $15 monthly for LTE

did you know that you can use your phone as a modem (via USB or Bluetooth)?
I don't know how or what you can configure to make it work on android, but
there are sure howtos.
Androids and others now have also the tethering fefature.

So one Raspberry behind your phone would work in theory perfectly well.

You wouldn't need a phone, but just the LTE module on top of Raspberry,
which is what I would do:

https://sixfab.com/product/raspberry-pi-3g-4glte-base-shield-v2/
https://www.antratek.de/lte-cat-1-pi-hat-with-lara-r211-europe?gclid=EAIaIQobChMIrv3567uf3wIVR4XVCh0-RQoXEAQYAiABEgLcYPD_BwE

regards

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web