Are there plans to allow an end user to setup a static IP for a wireless adapter? I’m using RC3. I have no issues with doing the updates via a terminal window and Putty, but would appreciate the ability to do it on my own if the option is there.
What was the reasoning from going away from using etc/network/interfaces as a means to modify network adapter settings? The settings below worked just fine on Raspbmc.
auto lo
iface lo inet loopback
iface eth0 inet static
address 10.1.1.x
netmask 255.255.255.0
network 10.1.x.x
broadcast 10.1.x.255
gateway 10.1.x.x
allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
address 10.1.x.x
netmask 255.255.255.0
network 10.1.x.x
broadcast 10.1.x.255
gateway 10.1.x.x
wpa-ssid “myssid”
wpa-psk “mypassword”
Raspbmc did not use /etc/network/interfaces. It used NetworkManager. Similarly, OSMC does not use this file, it uses ConnMan. Of course you can use this way of configuration but OSMC does not support or recommend it. We abandoned this method of configuration because it is not very dynamic and does not provide an easy enough interface for modifying network settings.
You can configure a static IP address for your WiFi dongle via My OSMC -> Network. You should remove the interfaces file if you do this
S
If I use an interfaces file I can’t get the wireless card to be recognized in OSMC. I have to exit OSMC and make the changes via its terminal window as I could not use PUTTY to access the device. Are you saying that when I setup my wireless via OSMC setup that the IP is static?
Indeed, because we will consider it preconfigured and out of the scope of ConnMan
If you specify an IP address (i.e. not DHCP), then yes, it’s static
S
I didn’t realize that the greyed out IP section was editable. I have modified the DHCP information and have rebooted my OSMC and the settings did stick. Thanks for the heads up.
We have changed the colour in future versions (I believe) to make it a little more obvious to users.
@gezb can confirm that.
Sam