Change DietPi Wi-Fi Settings Editing the SDcard on a PC Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Change DietPi Wi-Fi Settings Editing the SDcard on a PC

Post by k-plan »

dianakev wrote:

Code: Select all

    #/etc/network/interfaces
    #Please use DietPi-Config to modify network settings.

    # Local
    auto lo
    iface lo inet loopback

    # Ethernet
    #allow-hotplug eth0
    iface eth0 inet dhcp
    address 192.168.0.100
    netmask 255.255.255.0
    gateway 192.168.0.1
    #dns-nameservers 8.8.8.8 8.8.4.4

    # Wifi
    #allow-hotplug wlan0
    iface wlan0 inet dhcp
    address 192.168.0.100
    netmask 255.255.255.0
    gateway 192.168.0.1
    wireless-essid FuzonWifi
    wireless-key abcde12345
    wireless-mode Managed
    wireless-power off
    wpa-ssid FuzonWifi
    wpa-psk abcde12345
    #dns-nameservers 8.8.8.8 8.8.4.4   

btw why it stated dhcp while we want to set it as static?

Code: Select all

    iface wlan0 inet dhcp
    address 192.168.0.100
Answer:

- duplicate ip addresses

and

Code: Select all

#/etc/network/interfaces
    #Please use DietPi-Config to modify network settings.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
Post Reply