Announcement

Collapse
No announcement yet.

Looking for how to setup wifi with static IP address

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [CONFIGURATION] Looking for how to setup wifi with static IP address

    I have tried editing under netplan the .yaml for it, but nothing seems to work. I can't find any information for kubuntu 18.04 to setup wifi with a static IP address. I want it to use a specific 192.168.1.xx address, and use a given set of DNS servers.

    It connects with wifi, but as DHCP which I don't want. I tried editing the connection at the bottom, and setting the IP address and DNS but then it doesn't work for any connections.

    Is there some good documentation on how to setup wifi with static ip address and dns servers that work for kubuntu 18.04?

    Thanks.

    #2
    https://www.lifewire.com/how-to-conf...plasma-4683939

    have you set the netmask and gateway?

    Comment


      #3
      The new standard is Netplan. Here's my /etc/netplan/01-netcfg.yaml for my server: Static IP to my router. Note I'm using a netmask of 255.255.254.0 instead of 255.255.255.0;

      Code:
      # This file describes the network interfaces available on your system
      # For more information, see netplan(5).
      network:
        version: 2
        renderer: networkd
        ethernets:
          eno1:
            dhcp4: no
            dhcp6: no
            addresses: [192.168.1.250/23]
            gateway4: 192.168.1.1
            nameservers:
              addresses: [8.8.8.8,8.8.4.4]
      or you can use the Network Manager like I did here on my desktop:
      Click image for larger version

Name:	Screenshot_20200106_140743.jpg
Views:	1
Size:	61.2 KB
ID:	644489

      My server has no GUI so I couldn't use NM for that.

      If you;re using a normal 255.255.255.0 netmask, replace the /23 with /24 in the above examples.
      Last edited by oshunluvr; Jan 06, 2020, 01:16 PM.

      Please Read Me

      Comment

      Working...
      X