Aller au contenu

installation tailscale pour un accès a distance sans limite erreur curl et sudo


Messages recommandés

Posté(e)

bonjour et merci d'avance mon problème voila les erreur que je trouve via putty en ssh acces root :

BusyBox v1.27.2 () built-in shell (ash)

 ----------------------------------------------
 Linux (Neptune, 5C1C9C53)
 ----------------------------------------------
root@spad-1858:~# yum install curl
-ash: yum: not found
root@spad-1858:~# # yum install curl
root@spad-1858:~# sudo apt update
-ash: sudo: not found
root@spad-1858:~# apt-get update
-ash: apt-get: not found
root@spad-1858:~# curl -fsSL https://tailscale.com/install.sh | sh
-ash: curl: not found
root@spad-1858:~#

 

je ne comprend pas pourquoi de simple commande linux ne fonctionne pas suis-je dans le bon répertoire seraice un autre type de comande que je ne connais pas.

Pouvez vous m'aidé svp je ne sais plus quoi faire après je ne sais combien de vidéo YouTube et forum

Posté(e) (modifié)

Salutation !

il y a 36 minutes, Julienmau a dit :

BusyBox v1.27.2 () built-in shell (ash)

 ----------------------------------------------
 Linux (Neptune, 5C1C9C53)

Je parle sans savoir car je ne connais pas cette distribution qui semble basé sur du Debian ... et j'ai pas touché a du Debian depuis longtemps.

 

Tu peut donner le contexte ?

  • Sur quoi cela s’exécute comme machine / carte ? un Sonic Pad ?
  • Tu a l'OS d'origine ou modifié ? quel version ?

 

BusyBox c'est pas un genre de mode de rattrapage sur un problème de chargement de l'OS ?

 

Sinon

sudo c'est utile seulement quand on n'est pas déjà root.

yum, apt, curl sont des exécutables et il faut qu'ils soient présent (installé) et que leur répertoire soient listé dans la variable d'environnement PATH (ou il faut donner le chemin complet vers l’exécutable)

A tu regardé ce qu'il y a dans la variable d'environnement PATH avec

echo $PATH

et regardé ce qu'il y a comme exécutables de disponible dans les répertoires listé dans PATH ?

ls `echo $PATH | tr ":" " "`
 

 

Modifié (le) par PPAC
Posté(e) (modifié)

merci de ta réponse et désolé j'ai  pas précisé que c'est un sonic pad et l'instalation de tailscale

 

désolé j'avais pas vue ta deuxième question voila le résultat

adb_shell                        ping6
adbd                             ps
ash                              pwd
bash                             rbash
board_detect                     rm
busybox                          rmdir
cat                              sed
chgrp                            setusbconfig
chmod                            sh
chown                            sleep
config_generate                  su
cp                               sync
cpulimit-ng                      tar
date                             tinyplayer
dd                               touch
df                               traceroute
dmesg                            traceroute6
echo                             true
egrep                            ubus
false                            uclient-fetch
fgrep                            umount
fsync                            uname
grep                             usleep
gunzip                           vi
gzip                             watch
hostname                         wget
iostat                           wifi_connect_ap_test
ipcalc.sh                        wifi_connect_ap_with_netid_test
kill                             wifi_connect_chinese_ap_test
ln                               wifi_daemon
lock                             wifi_disconnect_ap_test
login                            wifi_get_connection_info_test
login.sh                         wifi_get_netid_test
ls                               wifi_list_networks_test
mkdir                            wifi_longtime_scan_test
mknod                            wifi_longtime_test
mktemp                           wifi_off_test
mount                            wifi_on_off_test
mv                               wifi_on_test
netmsg                           wifi_reconnect_ap_test
netstat                          wifi_remove_all_networks_test
nice                             wifi_remove_network_test
opkg                             wifi_scan_results_test
passwd                           wifi_wps_pbc_test
pidof                            wifid
ping                             zcat

/sbin:
askfirst            logd                start-stop-daemon
block               logread             suspendtomem.sh
boot-play           mkfs.ntfs           switch_root
devstatus           mkfs.vfat           swupdate
firstboot           mkswap              swupdate-client
fw_printenv         mount.ntfs-3g       swupdate-progress
fw_setenv           mount_root          swupdate_cmd.sh
halt                mtd                 swupdate_cmd_ab.sh
hotplug-call        music-play          sysctl
hwclock             netifd              sysupgrade
ifconfig            ntpd                ubusd
ifdown              ota-burnboot0       uci
ifstatus            ota-burnuboot       udevadm
ifup                pivot_root          udevd
init                poweroff            udevtrigger
ip                  procd               udhcpc
jffs2mark           read_misc           validate_data
jffs2reset          reboot              wifi
kmodloader          reload_config       write_misc
led.sh              route

/usr/bin:
MPEG2TransportStreamIndexer           lsusb
[                                     make
[[                                    md5sum
ai_engine                             meshctl
alsamixer                             mjson_fetch
alsaucm                               mkfifo
amixer                                monitor
aplay                                 mpris-proxy
arecord                               mr813cameratest
avahi-browse                          nc
avahi-browse-domains                  nslookup
avahi-publish                         ntfs-3g
avahi-publish-address                 ntfs-3g.probe
avahi-publish-service                 ntfscat
avahi-resolve                         ntfscluster
avahi-resolve-address                 ntfscmp
avahi-resolve-host-name               ntfsfix
avahi-set-host-name                   ntfsinfo
avrdude                               ntfsls
awk                                   obexd
basename                              ocl_unit_test
bccmd                                 openRTSP
bdaddr                                opengles_demo
bluealsa                              pgrep
bluealsa-aplay                        pip
bluemoon                              pip2
bluetooth-meshd                       pip2.7
bluetoothctl                          pip3
bluetoothd                            pip3.7
brightness                            pit_server
brightnesstester                      playSIP
bt_gatt_client_test                   printf
bt_gatt_server_test                   pvrsrvctl
bt_test                               python
btattach                              python2
btmgmt                                python2.7
btmon                                 python3
bunzip2                               python3-config
bzcat                                 python3.7
cameraInfo                            python3.7m-config
camerademo                            qt-browser
can_logger.py                         rctest
can_player.py                         readlink
can_viewer.py                         registerRTSPStream
capture                               reset
ciptool                               restore
clear                                 rfcomm
cmp                                   rtsp_demo
crontab                               sapWatch
cut                                   sbcdec
cygdb                                 sbcenc
cython                                sbcinfo
cythonize                             scp
dbclient                              sdptool
dbus-cleanup-sockets                  sec_key_test
dbus-launch                           seq
dbus-launch.real                      setup_vars_opencv4.sh
dbus-monitor                          sha256sum
dbus-send                             signify
dbus-uuidgen                          sort
dfu-util                              ssh
diff                                  stm32flash
dirname                               strace
dropbearkey                           stress
du                                    stress.sh
easy_install                          strings
easy_install-2.7                      sysinfo
easy_install-3.7                      tail
easy_install3                         task
env                                   tdownfile
etf                                   tee
expr                                  test
f2py                                  testAMRAudioStreamer
f2py2                                 testDVVideoStreamer
f2py2.7                               testH264VideoStreamer
fc-cache                              testH264VideoToTransportStream
fc-cat                                testH265VideoStreamer
fc-list                               testH265VideoToTransportStream
fc-match                              testMKVStreamer
fc-pattern                            testMP3Receiver
fc-query                              testMP3Streamer
fc-scan                               testMPEG1or2AudioVideoStreamer
fc-validate                           testMPEG1or2ProgramToTransportStream
ffmpeg                                testMPEG1or2Splitter
fileop                                testMPEG1or2VideoReceiver
find                                  testMPEG1or2VideoStreamer
flock                                 testMPEG2TransportReceiver
free                                  testMPEG2TransportStreamTrickPlay
fuser                                 testMPEG2TransportStreamer
gatttool                              testMPEG4VideoStreamer
gdb                                   testOggStreamer
get_boot_media                        testOnDemandRTSPServer
get_kernel_version                    testRTSPClient
get_target                            testRelay
getevent                              testReplicator
git                                   testWAVAudioStreamer
git-receive-pack                      time
git-shell                             tinatest
git-upload-archive                    top
git-upload-pack                       tplayerdemo
gsensor_test                          tr
hciattach                             trecorderdemo
hciconfig                             ts_calibrate
hcidump                               ts_finddev
hcidump_xr                            ts_harvest
hcitool                               ts_print
head                                  ts_print_mt
hex2hcd                               ts_print_raw
hexdump                               ts_test
htop                                  ts_test_mt
id                                    ts_verify
iozone                                tshowimg
jshn                                  tt
jsonfilter                            ttips
killall                               ttrue
klipper_mcu                           tupfile
klipper_service_test.init             uniq
l2ping                                uptime
l2test                                usign
last                                  valgrind
lcd_display                           valgrind-di-server
ldd                                   valgrind-listener
less                                  vobStreamer
libinput-debug-events                 wc
libinput-list-devices                 wget
live555MediaServer                    which
live555ProxyServer                    xargs
logger                                yes
lsof

/usr/sbin:
7z                   fsck.fat             ntfsresize
7z.so                insmod               ntfsundelete
Codecs               lsmod                ntpd.hotplug-helper
alsactl              memory_used_tool.sh  ntpdc
audio_setting.sh     memtester            ntpq
avahi-daemon         mke2fs               ntptime
brctl                mkfs.ext2            opkg-key
chroot               mkfs.ext3            rfkill
crond                mkfs.ext4            rmmod
dbus-daemon          mkfs.fat             swapoff
dropbear             mkntfs               swapon
e2fsck               modinfo              tcpdump
fatlabel             modprobe             usb_rest
fbtest               nginx                wpa_cli
fsck.ext2            ntfsclone            wpa_supplicant
fsck.ext3            ntfscp
fsck.ext4            ntfslabel

/usr/share/avr-gcc/bin:
avr-addr2line   avr-g++         avr-gcov-tool   avr-objdump
avr-ar          avr-gcc         avr-gprof       avr-ranlib
avr-as          avr-gcc-5.4.0   avr-ld          avr-readelf
avr-c++         avr-gcc-ar      avr-ld.bfd      avr-size
avr-c++filt     avr-gcc-nm      avr-man         avr-strings
avr-cpp         avr-gcc-ranlib  avr-nm          avr-strip
avr-elfedit     avr-gcov        avr-objcopy

/usr/share/gcc-arm-none-eabi/bin/:
arm-none-eabi-addr2line   arm-none-eabi-gcc-ar      arm-none-eabi-nm
arm-none-eabi-ar          arm-none-eabi-gcc-nm      arm-none-eabi-objcopy
arm-none-eabi-as          arm-none-eabi-gcc-ranlib  arm-none-eabi-objdump
arm-none-eabi-c++         arm-none-eabi-gcov        arm-none-eabi-ranlib
arm-none-eabi-c++filt     arm-none-eabi-gcov-dump   arm-none-eabi-readelf
arm-none-eabi-cpp         arm-none-eabi-gcov-tool   arm-none-eabi-size
arm-none-eabi-elfedit     arm-none-eabi-gdb         arm-none-eabi-strings
arm-none-eabi-g++         arm-none-eabi-gprof       arm-none-eabi-strip
arm-none-eabi-gcc         arm-none-eabi-ld
arm-none-eabi-gcc-6.3.1   arm-none-eabi-ld.bfd
 

Modifié (le) par Julienmau
Posté(e) (modifié)
il y a 48 minutes, Julienmau a dit :

wget

pour télécharger le script ?

genre

wget https://tailscale.com/install.sh

 

et si c'est bien un script compatible pour ta distrib et que tu lui fait confiance alors il n'y aura plus qu'a lui donner les droits pour être exécutable et l’exécuter

chmod u+x ./install.sh

./install.sh

Modifié (le) par PPAC
Posté(e)

PPAC mon sauveur sa fonctionne je vais maintenant passé a la suite voir si tout fonctionne et je reviens mètre un commentaire pour confirmé tout sa mais un grand merci a toi même si je me sen con car je connais toute ses commande mais comme toi sa fait longtemps mais beaucoup plus que j'ai pas jouer sur linux

bon bas finalemetnj'ai parler trops vite jai sa comme reponse sa a instalé mais je crois pas que cela fonction car je devrais recevoir un lien a recuperé pour lier le serveur tailscale a linux et je ne l'est pas mis j'ai sa a la place

 

BusyBox v1.27.2 () built-in shell (ash)

 ----------------------------------------------
 Linux (Neptune, 5C1C9C53)
 ----------------------------------------------
root@spad-1858:~# wget https://tailscale.com/install.sh
Connecting to tailscale.com (13.248.141.131:443)
install.sh           100% |*******************************| 13961   0:00:00 ETA
root@spad-1858:~# chmod u+x ./install.sh
root@spad-1858:~# ./install.sh
Couldn't determine what kind of Linux is running.
You could try the static binaries at:
https://pkgs.tailscale.com/stable/#static

If you'd like us to support your system better, please email support@tailscale.c                                                                                                                                                             om
and tell us what OS you're running.

Please include the following information we gathered from your system:

OS=other-linux
VERSION=
PACKAGETYPE=
UNAME=Linux spad-1858 4.9.191 #72 SMP PREEMPT Thu Mar 9 08:16:43 UTC 2023 aarch6                                                                                                                                                             4 GNU/Linux

No /etc/os-release

Posté(e) (modifié)
il y a 57 minutes, Julienmau a dit :

Couldn't determine what kind of Linux is running.
You could try the static binaries at:
https://pkgs.tailscale.com/stable/#static

Donc le script ne sais pas quoi installer sur cette distribution / architecture matériel et te dit d’éventuellement prendre une version pour une architecture spécifique.

Mais là comme je ne connais pas l'architecture matériel sur un Sonic pad, je ne vais pas pouvoir te dire si il y a ou non un truc compatible dans la liste https://pkgs.tailscale.com/stable/#static

Citation

si tu tape la commande

arch

cela te retourne quoi ?

aarch64 

?

si oui alors je ne sais pas quoi y correspond.

Modifié (le) par PPAC
Posté(e)

@Julienmau

Le système d'exploitation des SonicPad (Tina Linux) est un dérivé d'OpenWRT, il est difficile (mais pas impossible) d'ajouter des composants 😉

Si tu veux en savoir plus sur cette tablette, je te recommande la lecture de cet excellent dépôt gituhb 😄

🙂

  • Merci ! 1

Créer un compte ou se connecter pour commenter

Vous devez être membre afin de pouvoir déposer un commentaire

Créer un compte

Créez un compte sur notre communauté. C’est facile !

Créer un nouveau compte

Se connecter

Vous avez déjà un compte ? Connectez-vous ici.

Connectez-vous maintenant
  • Sur cette page :   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
  • YouTube / Les Imprimantes 3D .fr

×
×
  • Créer...