• no package management tool

    From tim wade@21:1/5 to All on Thu Feb 20 05:50:01 2025
    Hello

    I have logged in a router system which is linux.
    The provider said it's based on debian OS.

    But there is not any package tool in it.

    root@myd-lt527:/# apt
    -bash: apt: command not found
    root@myd-lt527:/#
    root@myd-lt527:/# dpkg
    -bash: dpkg: command not found
    root@myd-lt527:/#
    root@myd-lt527:/# make
    -bash: make: command not found
    root@myd-lt527:/#
    root@myd-lt527:/# gcc
    -bash: gcc: command not found

    For this case do you know how I can install the software?

    Thank you.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to tim wade on Thu Feb 20 07:50:01 2025
    On Thu, 20 Feb 2025 12:40:07 +0800
    tim wade <discu@openmbox.net> wrote:

    I have logged in a router system which is linux.
    The provider said it's based on debian OS.

    But there is not any package tool in it.

    root@myd-lt527:/# apt
    -bash: apt: command not found
    root@myd-lt527:/#

    I take it you didn't find any useful information on the manufacturer's
    web site.

    Since you didn't mention the manufacturer or model of your router, I
    searched on that host name, "myd-lt527". That turned up a number of
    development boards from https://www.myirtech.com. I conjecture
    that your router uses one of those boards or custom hardware
    based on it. Surfing some of those suggests that you don't have any
    packaging or development tools. Apparently the development boards come
    with tools for developers for building a minimal environment for their
    users.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yassine Chaouche@21:1/5 to All on Thu Feb 20 10:30:01 2025
    Le 2/20/25 à 05:40, tim wade a écrit :
    Hello

    I have logged in a router system which is linux.
    The provider said it's based on debian OS.
    [...]


    Hi Tim!

    Out of curiosity,
    did you check any of the /etc/ files for the distro name?
    I use this alias:


    $ sys.distro
    Debian GNU/Linux 12 \n \l


    $ type sys.distro
    sys.distro is aliased to `for file in /etc/{*issue*,*version*,*release*}; do [[ -f "$file" ]] && cat "$file" && break; done;'
    $


    Also, since you mention this is a router,
    I can only imagine the manufacturer wants the installation to be minimal
    in order to close as many security holes as possible,
    and they wouldn't let you (easily) add or change anything to it.

    Best,


    --
    yassine -- sysadm
    http://about.me/ychaouche
    Looking for side gigs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Monnier@21:1/5 to All on Thu Feb 20 16:20:01 2025
    I can only imagine the manufacturer wants the installation to be minimal

    Agreed.

    in order to close as many security holes as possible,

    Oh, that's a very charitable way to look at it. 🙂


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yassine Chaouche@21:1/5 to All on Thu Feb 20 16:30:01 2025
    Le 2/20/25 à 16:13, Stefan Monnier a écrit :
    I can only imagine the manufacturer wants the installation to be minimal
    [...]
    in order to close as many security holes as possible,

    Oh, that's a very charitable way to look at it. 🙂

    That was my honest opinion but now I feel gullible :)
    I don't see how the manufacturer could profit from this?
    if the product is intentionaly closed my immediate thought isn't to buy more services or an upgrade but to switch to competition,
    if profit (or trying to cover up on something?) was the main reason.

    What were your thoughts about this?

    Best,

    --
    yassine -- sysadm
    http://about.me/ychaouche
    Looking for side gigs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Hasler@21:1/5 to All on Thu Feb 20 17:00:02 2025
    Most likely they simply removed everything not necessary for the thing
    to run in order to minimize memory requirements and gave it no more
    thought than that. They would see no reason that any end user would
    ever need any of those tools. To them it's an appliance, not a
    computer.
    --
    John Hasler
    john@sugarbit.com
    Elmwood, WI USA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Hasler@21:1/5 to Charles Curley on Thu Feb 20 22:40:02 2025
    Charles Curley writes:
    Spyware? Snoopware? A back door to allow hostile crackers to bypass the router's security?

    All of which would be hard to detect, and not allowing the user to add anything would help disguise such shenanigans.

    I doubt that anyone seriously looking for such shenanigans would be much inconvenienced by the absence of some commands.
    --
    John Hasler
    john@sugarbit.com
    Elmwood, WI USA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Monnier@21:1/5 to All on Thu Feb 20 22:40:02 2025
    Charles Curley [2025-02-20 14:12:10] wrote:
    On Thu, 20 Feb 2025 16:27:31 +0100
    Yassine Chaouche <a.chaouche@algerian-radio.dz> wrote:
    in order to close as many security holes as possible,
    Oh, that's a very charitable way to look at it. 🙂
    That was my honest opinion but now I feel gullible :)
    I don't see how the manufacturer could profit from this?

    "Profit" might not be the right word, but I think the point of removing
    things that aren't indispensable is to reduce resource use. The upside
    for end users is that it can improve performance (and/or leave more room
    for other things), the upside for the company is that they may be able
    to use a cheaper flash memory, thus lowering the production costs.


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Yassine Chaouche on Thu Feb 20 22:20:02 2025
    On Thu, 20 Feb 2025 16:27:31 +0100
    Yassine Chaouche <a.chaouche@algerian-radio.dz> wrote:

    in order to close as many security holes as possible,

    Oh, that's a very charitable way to look at it. 🙂

    That was my honest opinion but now I feel gullible :)
    I don't see how the manufacturer could profit from this?

    Spyware? Snoopware? A back door to allow hostile crackers to bypass the router's security?

    All of which would be hard to detect, and not allowing the user to add
    anything would help disguise such shenanigans.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yassine Chaouche@21:1/5 to All on Sun Feb 23 10:20:02 2025
    On Thu, 20 Feb 2025 16:27:31 +0100
    Yassine Chaouche <a.chaouche@algerian-radio.dz> wrote:
    [...]>>> I don't see how the manufacturer could profit from this?
    [...]
    The upside for end users is that it can improve performance (and/or leave more room
    for other things), the upside for the company is that they may be able
    to use a cheaper flash memory, thus lowering the production costs.

    Seems a legit win/win to me.

    Best,


    --
    yassine -- sysadm
    http://about.me/ychaouche
    Looking for side gigs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)