We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

How to check WLAN IP addresses retrieved via DHCP? [answered]

asked 2015-02-11 01:12:02 +0200

user100 gravatar image

updated 2015-02-11 15:44:48 +0200

eric gravatar image

Hello,

Is there a way to check what IP addresses my Jolla retrieved from DHCP when connected to a WLAN? I'd like to find out the IP address, subnet, gateway and DNSes.

Thanks.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by eric
close date 2015-02-11 15:44:17.353437

Comments

1

ip addr should not require any su's

tortoisedoc ( 2015-02-11 07:52:21 +0200 )edit

3 Answers

Sort by » oldest newest most voted
4

answered 2015-02-11 12:17:16 +0200

dmnk gravatar image

you could also use the "IP Address" App, available in the store.

edit flag offensive delete publish link more

Comments

Yes, I looked at this app. Unfortunately, it shows only the IP address.

user100 ( 2015-02-12 01:46:42 +0200 )edit
4

answered 2015-02-11 14:44:20 +0200

Philippe De Swert gravatar image

If you have developer mode you can just look into the developer mode UI in settings. The ip is shown there too.

edit flag offensive delete publish link more

Comments

Yes, I saw that. But (1) if I recall correctly it shows only the IP and (2) doesn't it feel strange to check the IP address in the Developer Mode menu (and only after actually enabling the mode)? Thanks for the answer anyway.

user100 ( 2015-02-12 01:45:36 +0200 )edit
0

answered 2015-02-11 01:24:20 +0200

rudi gravatar image

updated 2015-02-11 01:24:55 +0200

IP:
/sbin/ifconfig -a
gateway:
/bin/netstat -rn
in terminal

edit flag offensive delete publish link more

Comments

Is ifconfig still functional? As far as I know its been deprecated for years and was succeeded by 'ip addr' (i have no device with me to check.)

luchmhor ( 2015-02-11 10:59:41 +0200 )edit

yes, ifconfig still works (as far as i can remember, i haven't had a single linux device/os where it didn't)

dmnk ( 2015-02-11 12:18:45 +0200 )edit

On modern Linux OS (this leaves out stable Debian) there should be no more ifconfig, route, etc. and only the Tool ip. See also:

http://serverfault.com/questions/458628/should-i-quit-using-ifconfig

luchmhor ( 2015-02-11 12:25:30 +0200 )edit
1

from terminal run:

ip addr
ip route
pmelas ( 2015-02-11 14:39:28 +0200 )edit

Thanks for your answers guys, but doesn't it feel to you like an overkill to be forced to (1) enable the Developer Mode and (2) run two commands in the terminal, in order to check (imo) some basic info about the network interface? For me using the Terminal always feels like the last resort.

user100 ( 2015-02-12 01:51:21 +0200 )edit

Question tools

Follow
1 follower

Stats

Asked: 2015-02-11 01:12:02 +0200

Seen: 777 times

Last updated: Feb 11 '15