Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Add IP address manually.

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Add IP address manually.

#1 Post by hack3rcon »

Hello.
I added my IP address by "Network Connections" program but it not added to "interfaces" file:

Code: Select all

$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback
Thank you.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Add IP address manually.

#2 Post by Head_on_a_Stick »

hack3rcon wrote:"Network Connections" program
^ What is this?

Do you mean network-manager?

If so then it is not supposed to add anything to /etc/network/interfaces and if any interface is listed in that file then it will cease to be managed by that program.
deadbang

hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Re: Add IP address manually.

#3 Post by hack3rcon »

Head_on_a_Stick wrote:
hack3rcon wrote:"Network Connections" program
^ What is this?

Do you mean network-manager?

If so then it is not supposed to add anything to /etc/network/interfaces and if any interface is listed in that file then it will cease to be managed by that program.
I mean is:
Image

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Add IP address manually.

#4 Post by Head_on_a_Stick »

Are you using Ubuntu?

Anyway, that program won't change the interfaces file, as I already explained.
deadbang

hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Re: Add IP address manually.

#5 Post by hack3rcon »

Head_on_a_Stick wrote:Are you using Ubuntu?

Anyway, that program won't change the interfaces file, as I already explained.
No, Forum not allow me to upload any photo here and I found a similar photo in Google. How this program adds IP address?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Add IP address manually.

#6 Post by p.H »

NetworkManager has its own config files. You should not mess with them directly. Why do you want to know ? What is your goal ?

hack3rcon
Posts: 746
Joined: 2015-02-16 09:54
Has thanked: 48 times

Re: Add IP address manually.

#7 Post by hack3rcon »

p.H wrote:NetworkManager has its own config files. You should not mess with them directly. Why do you want to know ? What is your goal ?
I changed my IP address by this program and looked at "/etc/network/interfaces" file, but never see any change and it was odd for me.

Post Reply