Bug #950

Guess local ip address

Added by Giacomo Sanchietti over 9 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:03/29/2012
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:DEV3
Security class: Resolution:
Affected version:DEV1 NEEDINFO:

Description

The system tries to guess the local ip address using the command "hostname -i".

In a fresh installed machine where the ip is configured using dhcp client, the command above return a useless "127.0.0.1".

Associated revisions

Revision 46a8f5a5
Added by Davide Principi over 9 years ago

LocalIP initialization: parsing /sbin/ip command output. Fixes #950 Guess local ip address

NOTE: LocalIP key is duplicated by 10interfaces migration fragment
into LocalInterface->IPAddress prop.

History

#1 Updated by Davide Principi over 9 years ago

  • Target version set to DEV3

#2 Updated by Davide Principi over 9 years ago

  • Category deleted (nethserver-httpd)
  • Affected version set to DEV1

#3 Updated by Davide Principi over 9 years ago

  • Project changed from NethServer 6 to 1

#4 Updated by Davide Principi over 9 years ago

  • Status changed from NEW to MODIFIED
  • % Done changed from 0 to 100

Applied in changeset commit:46a8f5a5e9e9e4ca7c880cd5ee3f6d1aa6dccc92.

#5 Updated by Davide Principi over 8 years ago

  • Project changed from 1 to NethServer 6

#7 Updated by Davide Principi over 8 years ago

  • Assignee set to Giacomo Sanchietti

Also available in: Atom PDF