Jump to content

divide

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by divide

  1. Hi all. I want set static ip ethernet and wifi but when i set static ip ethernet. Wifi not working, I can ping to my gateway but can not ping to google.

    this is my setting:  /etc/network/interfaces

     

    source /etc/network/interfaces.d/*
    auto eth0
    #allow-hotplug eth0
    #no-auto-down eth0
    iface eth0 inet static
    address 192.168.20.233
    netmask 255.255.255.0
    gateway 192.168.20.1
    dns-nameservers 8.8.8.8 8.8.4.4

    auto wlan0
    #allow-hotplug wlan0
    #no-auto-down wlan0
    iface wlan0 inet dhcp
    wpa-ssid  "myssid"
    wpa-psk "mypass"

     

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines