Trying to set fixed ip on LL3.8 - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6) +--- Forum: Network (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=24) +--- Thread: Trying to set fixed ip on LL3.8 (/showthread.php?tid=5494) |
Trying to set fixed ip on LL3.8 - jimc - 07-23-2018 I have done this on different setups but never on LL. Anyway, I looked on the internet and found about three different ways depending on the version of Ubuntu. None of them worked. This what I have done, open /etc/network/interfaces and made it look like this: # interfaces(5) file used by ifup( 8) and ifdown( 8) auto lo iface lo inet loopback iface enp0s10 inet static address 192.168.1.100 network 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255 gateway 192.168.1.1 Then restart the network. That didn't work. Notice the "enp0s10" I normally use "eth0" but found this on a website somewhere. Problem with the internet you can't tell if a thing is true or not. Any help would be appreciated. Re: Trying to set fixed ip on LL3.8 - bitsnpcs - 07-23-2018 Hello jimc, there are instruction on doing this here - https://askubuntu.com/questions/766131/set-static-ip-ubuntu-16-04 Including to get interface name, and flushing old IP before restarting, is spread over two replies. Re: Trying to set fixed ip on LL3.8 - Valtam - 07-23-2018 Please don't edit the config manually. Everything you need is in the Manual - https://www.freecinema2022.gq/manual/network.html#wired Re: Trying to set fixed ip on LL3.8 - jimc - 08-01-2018 At your request I didn't edit "interfaces". I entered them into the "Network Connections" interfaces. It took me a couple days for the changes to take effect on the machine, it seems to me that it did it over night on its own. Can you tell me what file the interface modifies? Re: Trying to set fixed ip on LL3.8 - Valtam - 08-01-2018 (08-01-2018, 04:51 AM)jimc link Wrote: At your request I didn't edit "interfaces". I entered them into the "Network Connections" interfaces. It took me a couple days for the changes to take effect on the machine, it seems to me that it did it over night on its own. Best not to, as you may try to edit that too. Please stick to the GUI way. It is faultless and gives you all the tools you need. Cheers |