You are not logged in.

#1 2024-01-30 19:37:42

traibr
Member
From: United Kingdom
Registered: 2024-01-29
Posts: 35

Integration - ifconfig.io

Hey Guy's,

This is my first post smile

I've moved to Arch & would like to install or add "ifconfig.io" to my system: https://github.com/georgyo/ifconfig.io.git

The following package doesn't seem to follow the same rules as a AUR package methodology.

What would be the best way to integrate this package into my system?

Richard

Offline

#2 2024-01-30 21:06:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Integration - ifconfig.io

You're wanting to run this webservice for...what? The request doesn't make a lot of sense to me, it's not a package. Just seems like an odd question if you're actually looking at running a public web service.

Last edited by Scimmia (2024-01-30 21:11:58)

Online

#3 2024-01-30 21:40:35

traibr
Member
From: United Kingdom
Registered: 2024-01-29
Posts: 35

Re: Integration - ifconfig.io

Scimmia wrote:

You're wanting to run this webservice for...what? The request doesn't make a lot of sense to me, it's not a package. Just seems like an odd question if you're actually looking at running a public web service.

Thanks for the response.

In Debian, I could run this command from terminal basically, output would be my public IP. Sorry if my original question wasn't coherent enough.

Last edited by traibr (2024-01-30 21:42:22)

Offline

#4 2024-01-30 21:41:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,034

Re: Integration - ifconfig.io

It's not a "package" but they ship docker images, https://wiki.archlinux.org/title/Docker

That being said, I'm with Scimmia and not sure whether you actually know what you want here.
It'll allow you to host a service like https://ifconfig.me where *others* can check *their* WAN IP
a) is this seriously what you want
b) do you feel competent to host a WAN facing service to the internets most evil players?

I rather assume this is an https://en.wikipedia.org/wiki/XY_problem - what do you ultimately want to achieve here?

Offline

#5 2024-01-30 21:42:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Integration - ifconfig.io

The link you gave is not a command you run from a terminal.

You're looking for ifconfig? See https://wiki.archlinux.org/title/Pacman … cific_file but really, you don't want that. ifconfig was deprecated a very long time ago, you want to run `ip`.

Online

#6 2024-01-30 21:44:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,034

Re: Integration - ifconfig.io

The OP in editing wrote:

I could run this command from terminal basically, output would be my public IP.

curl ifconfig.me/ip

Offline

#7 2024-01-30 21:45:47

traibr
Member
From: United Kingdom
Registered: 2024-01-29
Posts: 35

Re: Integration - ifconfig.io

seth wrote:

It's not a "package" but they ship docker images, https://wiki.archlinux.org/title/Docker

That being said, I'm with Scimmia and not sure whether you actually know what you want here.
It'll allow you to host a service like https://ifconfig.me where *others* can check *their* WAN IP
a) is this seriously what you want
b) do you feel competent to host a WAN facing service to the internets most evil players?

I rather assume this is an https://en.wikipedia.org/wiki/XY_problem - what do you ultimately want to achieve here?

Again, sorry if the question is ambitious.

I could run the following in terminal: ifconfig.io

& this would show my public facing IP address.

Hope that makes more sense.

Offline

#8 2024-01-30 21:47:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,034

Re: Integration - ifconfig.io

I doubt that was actually the case but you can easily alias the curl command to that token and

curl ifconfig.io/ip

will work as well

Offline

#9 2024-01-30 21:47:59

traibr
Member
From: United Kingdom
Registered: 2024-01-29
Posts: 35

Re: Integration - ifconfig.io

seth wrote:
The OP in editing wrote:

I could run this command from terminal basically, output would be my public IP.

curl ifconfig.me/ip

Dam, forgot to put curl at the front.... DOH!!!

Offline

#10 2024-01-30 21:48:53

traibr
Member
From: United Kingdom
Registered: 2024-01-29
Posts: 35

Re: Integration - ifconfig.io

Thanks guy's! Having senior moments these days...

Last edited by traibr (2024-01-30 21:51:27)

Offline

#11 2024-01-30 21:49:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Integration - ifconfig.io

I don't see any reference to a command ifconfig.io in debian. You likely set up an alias at some point for the command seth is talking about

Online

#12 2024-01-30 21:54:24

traibr
Member
From: United Kingdom
Registered: 2024-01-29
Posts: 35

Re: Integration - ifconfig.io

Scimmia wrote:

I don't see any reference to a command ifconfig.io in debian. You likely set up an alias at some point for the command seth is talking about

Senior moment bud, was on gentoo for 7+ years, & moved to Debian for a couple, where I think I've become complacent (no thinking involved)... now just got on to Arch, so I'm a bit rusty lol

Offline

#13 2024-01-30 21:59:44

traibr
Member
From: United Kingdom
Registered: 2024-01-29
Posts: 35

Re: Integration - ifconfig.io

Scimmia wrote:

The link you gave is not a command you run from a terminal.

You're looking for ifconfig? See https://wiki.archlinux.org/title/Pacman … cific_file but really, you don't want that. ifconfig was deprecated a very long time ago, you want to run `ip`.

I installed it, but I've removed net-tools now, good shout & completely agree.

Again thanks guys!

Offline

#14 2024-01-30 22:32:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,034

Re: Integration - ifconfig.io

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB