SOLVED Static IP address

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
pc_doc

SOLVED Static IP address

Post by pc_doc »

I'm using mint 8. And I'm trying to set a static IP address using network manager. But it does not save my setting,
Is there a file that i can edit manually to set it.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
abercrombieande

Re: Static IP address

Post by abercrombieande »

Edit

Code: Select all

sudo gedit /etc/network/interfaces 
Add whatever interface you want to make static. Example

Code: Select all

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
pc_doc

Re: Static IP address

Post by pc_doc »

abercrombieande wrote:Edit

Code: Select all

sudo gedit /etc/network/interfaces 
Add whatever interface you want to make static. Example

Code: Select all

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
Thanks i will try this when i get in tonight.
pc_doc

Re: SOLVED Static IP address

Post by pc_doc »

abercrombieande thanks that worked.
Locked

Return to “Software & Applications”