Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: Database of Common Telnet commands for Linux based STB's

  1. #1

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    Database of Common Telnet commands for Linux based STB's

    Hi guys here i am going to try a formulate a general Telnet command database for LInux boxes so that all commands are in one place.

    Anybody can add a command here but please keep it to commands and not disscussions or command help requests

    Please remember to also put in the commands use and a small description of some sort just so we know what that command is used for

    If when navigating the forum you come accross a post with command posted then please paste it here as well with its common use

    Thanks Guys...
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  2. The Following 3 Users Say Thank You to silverfox0786 For This Useful Post:

    robta (14-03-15),Sicilian (17-11-10)

  3. #2

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    Command for installing a tar.gz file into the box

    send tar.gz file to folder /tmp

    log in via telnet to the box,

    change with "cd /tmp to the folder and type (without "" and changing filename to actual filename)
    "tar -xzvf filename.tar.gz -C /" and press enter
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  4. The Following 2 Users Say Thank You to silverfox0786 For This Useful Post:

    Sicilian (17-11-10),victoriahenri (13-11-16)

  5. #3

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    Common command for telent IPK install

    FTP the .ipk file to /tmp

    tenet into box,

    type:

    ipkg install /tmp/*.ipk

    this will install all and any .ipk files that reside in tmp folder

    once the box is rebooted the .ipk file will be auto deleted
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  6. The Following User Says Thank You to silverfox0786 For This Useful Post:

    Sicilian (17-11-10)

  7. #4

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    IPK package removal command

    Disclamer: this has been used by a few users without error but i recomend getting a backup of your image first just incase you get green screen after.

    Thanks to pooface:

    log into box via telnet

    type:

    ipkg list

    This will list all installed packages
    Find the package name of the item you want to remove then

    type:

    ipkg remove package (changing package to actual package name without the .ipk)
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  8. The Following User Says Thank You to silverfox0786 For This Useful Post:

    Sicilian (17-11-10)

  9. #5

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    Screen Grabs/Dumps

    Here is the command for doing Sceen Grabs/Dumps.

    Thanks again to Pooface:

    If you wish to do a screen grab without the image of the channel you are watching.
    Usefull for when you want to only grap the current screen of a menu item

    grab -o -p /tmp/grab.png [change grab to the file name you want it to be]

    If you wish to do a screen grab with the image of the channel you are watching
    Usefull for when you want to show a channel or an error in the channel/program

    grab -d -p /tmp/grab.png [change grab to the file name you want it to be]

    your png files will be sent to /tmp retreive via FTP
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  10. The Following User Says Thank You to silverfox0786 For This Useful Post:

    Larry-G (23-06-11)

  11. #6

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    Telnet Update/Upgrade

    Thanks to Speed007 and Andyblac

    to update your image and plgins vis telnet

    Telnet into box [password on box must be set]

    For image update

    'opkg update' without ' '

    For Plugin Upgrade

    'opkg upgrade' without ' '
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  12. #7

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    Looking at free space

    to look at the free space in memory that you have on your box it nice and simple

    telent into box and type in free thats it

    you will see something like this


    Code:
                total      used         free       shared      buffers
    Mem:       141304      135064     6240            0          392
    Swap:      98296        2712        95584
    Total:      239600      137776     101824
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  13. #8

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    CPU Information

    To look at the info and specs of your Box

    Telnet into box and type

    cat /proc/cpuinfo

    all your Box Specs will be displayed
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  14. #9

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2010
    Posts
    471
    Thanks
    207
    Thanked 101 Times in 66 Posts

    Find Files

    Find Files

    Code:
    find . -name <name of file>
    Example for looking for swapfile

    Code:
    root@bm750:/# find . -name swapfile
    ./media/usb/swapfile
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    Edision OS Mega
    TUNER A: - Stab HH-90Motor, Inverto Black LNB, Cheapo Lidl 80cm Supermarket Dish, 15W to 42E
    TUNER B: - (Nothing Connected) Will be used a 2nd Cable from Motor
    TUNER C: - Fixed 28.2E (on Sky Q Hybrid LNB)
    Sky Q and 2 Mini's

    Lots of Old Dead Equipment...

  15. #10

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    Linux Kernal Version

    To find the kernal version of yr LINUX Machine

    Telnet into box and type

    Code:
    uname -r
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  16. #11

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    Safe way to shutdown

    A safe way to shutdown LINUX Machines via Telnet

    Telnet into box and type

    Code:
    shutdown -r now
    not reboot, as its not considered safe
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  17. #12

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    Running Processes

    Thanks to DIGIDUDE for original post

    to find what prosses are running telnet in and Type

    Code:
    ps
    handy to check of things like cams or scripts are actually running in you are having problems
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  18. #13

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    Extended Kernal Info

    Thanks to Alias1 for this

    To get extended kernal version telnet in and type

    Code:
    cat /proc/version
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  19. #14

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    Mount Information

    Thanks to Alias1 for this

    To get all your mount information

    Telnet in and type

    Code:
    mount
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  20. #15

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    USB Locations

    To find what USB Devices and what bus they are on

    Telnet in and type

    Code:
    lsusb
    the result will be like this

    Code:
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 003: ID dead:beef
    Bus 002 Device 002: ID 1a40:0101 TERMINUS TECHNOLOGY INC.
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0951:1642 Kingston Technology
    Bus 001 Device 002: ID 2040:7060 Hauppauge Nova-T Stick 2
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.