[Tutorial] - Externe IP Adresse kurz in den TV einblenden
#21
  
Kann es sein das die Box mit "curl" nichts anfangen kann?

Abfrage:
opkg list *curl*


Installation
opkg install curl
Folgende Mitglieder bedankten sich bei mr-von für diesen Beitrag:
  • Rudolf
Zitieren to top
#22
  
(08.09.2023, 22:00)mr-von schrieb: Kann es sein das die Box mit "curl" nichts anfangen kann?
Abfrage:
opkg list *curl*

Zeigt code
curl - 8.0.1-r0 - Command line tool and library for client-side URL transfers
 It uses URL syntax to transfer data to and from servers. curl is a widely
 used because of its ability to be flexible and complete complex tasks.
 For example, you can use curl for things like user authentication, HTTP
 post, SSL connections, proxy support, FTP uploads, and more!
curl-staticdev - 8.0.1-r0 - Command line tool and library for client-side URL tr                   ansfers - Development files (Static Libraries)
 It uses URL syntax to transfer data to and from servers. curl is a widely
 used because of its ability to be flexible and complete complex tasks.
 For example, you can use curl for things like user authentication, HTTP
 post, SSL connections, proxy support, FTP uploads, and more!  This
 package contains static libraries for software development.
curlftpfs - 0.9.2-r0 - This is a filesystem client based on the FTP File Transfer Protocol using FUSE.
 This is a filesystem client based on the FTP File Transfer Protocol using
 FUSE..
enigma2-plugin-extensions-curlytx - 7.3+gitr7566+7969470-r8 - extensions-curlytx
 Fetch and display remote text files via HTTP
gstreamer1.0-plugins-bad-curl - 1.22.5-r0 - GStreamer 1.0 plugin for curl
 GStreamer 1.0 plugin for curl
libcurl4 - 8.0.1-r0 - Command line tool and library for client-side URL transfer                   s
 It uses URL syntax to transfer data to and from servers. curl is a widely
 used because of its ability to be flexible and complete complex tasks.
 For example, you can use curl for things like user authentication, HTTP
 post, SSL connections, proxy support, FTP uploads, and more!
python3-pycurl - 7.45.2-r0 - A Python Interface To The cURL library
 PycURL is a Python interface to libcurl, the multiprotocol file transfer
 library. Similarly to the urllib Python module, PycURL can be used to
 fetch objects identified by a URL from a Python program
strongswan-plugin-curl - 5.9.10-r0 - strongSwan curl plugin
 strongSwan curl plugin
Sollte ich den Install Befehl ausführen?
OpenATV 7.4

Reiselust[url=https://driveandlisten.herokuapp.com/][/url]
Kaum macht man was richtig, funktioniert es!
Zitieren to top
#23
  
Nein alles OK.

Deine IP kannst dir mal anschauen
wget -q -O- http://www.networksecuritytoolkit.org/nst/cgi-bin/ip.cgi
Folgende Mitglieder bedankten sich bei mr-von für diesen Beitrag:
  • Rudolf
Zitieren to top
#24
  
omr-vonNein alles OK.

Deine IP kannst dir mal anschauen
wget -q -O- http://www.networksecuritytoolkit.org/nst/cgi-bin/ip.cgi

Das hat funktioniert, aber meine Box zeigt jedenfalls nix über den crontab nach 60 Minuten.
Der Befehl ist klasse, nur bevor ich die console mit Passwort öffne, ist der Weg über Menü, Information, Standort mit IP, der schnellere Weg.

Danke, war ein nettes Experiment und habe wieder was gelernt
OpenATV 7.4

Reiselust[url=https://driveandlisten.herokuapp.com/][/url]
Kaum macht man was richtig, funktioniert es!
Zitieren to top
#25
  
Ich wollte dir eig das schreiben.

wget -q -O- ipconfig.io

Ob sie dir da angezeigt wird.
Folgende Mitglieder bedankten sich bei mr-von für diesen Beitrag:
  • Rudolf
Zitieren to top
#26
  
(08.09.2023, 22:50)mr-von schrieb: Ich wollte dir eig das schreiben.

wget -q -O- ipconfig.io

Ob sie dir da angezeigt wird.

Wird natürlich in der Console sofort angezeigt
Danke
OpenATV 7.4

Reiselust[url=https://driveandlisten.herokuapp.com/][/url]
Kaum macht man was richtig, funktioniert es!
Zitieren to top
#27
  
@Rudolf nenne mir mal deine Image und version und welchen Style du einsetzt.
Vielleicht kann ich dir was schönes Bauen :)
Folgende Mitglieder bedankten sich bei mr-von für diesen Beitrag:
  • Rudolf
Zitieren to top
#28
Thread Autor  
Ich nochmal kurz.....
ja, ich glaube auf keiner der Linux Boxen ist CURL per default installiert......wget aber schon. Deswegen ist der bessere weg wget für das Ermitteln der IP zu nutzen, ansonsten muss man CURL ja nachinstallieren.
Ist mir nie aufgefallen, weil ich ein haufen Netzwerkkrempel auf meiner Box nachinstalliert hatte. Werde das Tutorial in wget abändern :-)
Warum der Cron aber nicht funktionieren will weiss ich nicht....den muss man nicht extra starten, der läuft im OS von alleine.
Wer im Netz Anstand und Respekt verliert, der ist auch im realen Leben für nichts zu gebrauchen!
Folgende Mitglieder bedankten sich bei robin.maier für diesen Beitrag:
  • Rudolf
Zitieren to top
#29
  
Ich habe es mal so gemacht :)
[Bild:
]

Bei Interesse werde ich mal ein Script schreiben.
Folgende Mitglieder bedankten sich bei mr-von für diesen Beitrag:
  • Rudolf
Zitieren to top
#30
  
@mr-von ich finds intresannt.  ;)
Zitieren to top
« Ein Thema zurück | Ein Thema vor »


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  [Tutorial] Komplette Anleitung CS mr-von 6 0 19.04.2024, 18:03
Letzter Beitrag: Wannundwo
  [Tutorial] DVBAPI für SAT, PYUR und Kabel (Unitymedia, KabelBW, Vodafone usw.) robin.maier 24 0 08.04.2024, 13:30
Letzter Beitrag: tombär
  [Tutorial] Konfigurationsdatei für DVBapi mr-von 36 0 08.04.2024, 13:29
Letzter Beitrag: tombär
  [Tutorial] Oscam selbst unter Windows für euren Receiver bauen scarface 2 0 25.03.2024, 14:08
Letzter Beitrag: scarface
  [Tutorial] OpenVPN unter VTI robin.maier 0 0 30.01.2024, 16:05
Letzter Beitrag: robin.maier



Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste