Page 1 of 1

Static IP address

PostPosted: 21 Jan 2014, 20:10
by npejcic
I use LAN cable connection, and Raspberry PI.
In new version 0.2Beta I set static IP address, but regardless it work in DHCP mode... Show correct setting, but use DHCP. After reboot, same. After Power cycle same.

Note: It worked correctly in previous version 0.1beta, but strange thing is that it have double IP addresses: static and also DHCP assigned??!! Maybe router thing?

Debug with 0.2 beta:
###### SESSION DATA ######

Array
(
[orionprofile] => RuneAudio
[cmediafix] => 0
[playmod] => 0
[ramplay] => 0
[sessionid] => 2dkonndi032i1smt42vjfe8tm5
[mpdconfhash] => 6365a4f344e7f0c09f3d8b10d29cd952
[lastfm_apikey] => ba8ad00468a50732a3860832eaed0882
[netconfhash] => 65c3c8129ba84ab8d94a34948d52363b
[mpdconf_advanced] => 1
[netconf_advanced] => 0
[dev] =>
[sourceconfhash] => d41d8cd98f00b204e9800998ecf8427e
[sourceconf_advanced] => 1
[debug] => 3
[hiddendebug] => 0
[opcache] => 1
[playerid] => 016ef15f7674dc1b7862cbd17955d7ac52
[hwplatform] => RaspberryPi
[hwplatformid] => 01
[airplay] => 1
[scrobbling_lastfm] => 0
[scrobbling_librefm] => 0
[scrobbling_jamendo] => 0
[spotify] => 0
[db_version] => 1.2
[udevil] => 1
[coverart] => 1
[volume] => 0
[ao] => 0
[ntpserver] => ntp.inrim.it
[hostname] => runeaudio
[w_queue] =>
[w_queueargs] =>
[w_lock] => 0
[w_active] => 0
[w_jobID] =>
[debugdata] =>
[netconf] => Array
(
[eth0] => Array
(
[ip] => 192.168.1.248
)

)

[state] => play
)

//.....................

### table CFG_LAN ###
Array
(
[0] => Array
(
[id] => 1
[0] => 1
[name] => eth0
[1] => eth0
[dhcp] => false
[2] => false
[ip] => 192.168.1.8
[3] => 192.168.1.8
[netmask] => 255.255.255.0
[4] => 255.255.255.0
[gw] => 192.168.1.1
[5] => 192.168.1.1
[dns1] => 192.168.1.1
[6] => 192.168.1.1
[dns2] => 8.8.8.8
[7] => 8.8.8.8
)

[1] => Array
(
[id] => 2
[0] => 2
[name] => wlan0
[1] => wlan0
[dhcp] => 1
[2] => 1
[ip] =>
[3] =>
[netmask] =>
[4] =>
[gw] =>
[5] =>
[dns1] =>
[6] =>
[dns2] =>
[7] =>
)

)

Re: Static IP address

PostPosted: 22 Jan 2014, 23:45
by tux
I confirm I have the exact same problem.

Re: Static IP address

PostPosted: 23 Jan 2014, 23:55
by Orion
npejcic wrote:I use LAN cable connection, and Raspberry PI.
In new version 0.2Beta I set static IP address, but regardless it work in DHCP mode... Show correct setting, but use DHCP. After reboot, same. After Power cycle same.

Note: It worked correctly in previous version 0.1beta, but strange thing is that it have double IP addresses: static and also DHCP assigned??!! Maybe router thing?


Hi npejcic, tux
thanks for your detailed reports. This is a known bug of this release. I will fix it in few days.

Stay tuned (and on DHCP for a few days).
Bye.

Simone

Re: Static IP address

PostPosted: 05 Feb 2014, 16:01
by ugo
hello, could you give me some help? but as you set the static IP address?