Disagree with who TSCHAK? Because I have 3 systems in different houses currently running with disabled DHCP servers and everything has been detected perfectly so far. MD's work after some tinkering with my other DHCP server to point clients to the right server for the remote filesystems, etc... I even have OpenVPN setup on all 3, and all 3 houses share each others media shares... even the remote shares at the other houses are automatically detected once I configured OpenVPN for encrypted tunnel method (not bridging) and adding the appropiate routes to each network gateway...
So, what deetection scripts rely on DHCP? I have also looked through all the scripts, most detection happens through NetBIOS names, not the DHCP server. Are there other devices that depend on it? Like i said, my MD's work fine after some tinkering with my other DHCP server. Let's see, network shares all work and detected just fine without dhcp. It never detected my IP camera with dhcp enabled, so I assume that is a manual setup only deal. Am I missing any other kind of network related devices that are autodetected other than network shares and MDs? Maybe those cisco phones, since i'm never going to mess with that, my wireless plan can beat any hardwired or voip plan i've seen so far so thats pointless unless i want to waste a bunch of money on an orbiter/phone hybrid device... seems like a waste... All the automation stuff isn't network related.... I admit I have not gotten very far with all the equipment lmce supports. the only stuff I plan on messing with, i've already got running so far. network shares, ip camera with motion detection, openvpn, bluetooth phone orbiter, lighting control, and 1 MD.
I seriously don't understand you guys... I mean, I come in here because I liked the product and wanted to contribute my troubleshooting skills. For starters my file shares didn't work correctly out of the box, but you guys defend it as if there was something wrong with my setup. It turned out to be a different in how the wizard asks for user/pass between UI1 and UI2/3... later to find out if you use !@#...etc symbols in the pass, lmce won't mount that either. I had to resolve this issue with some guidance from the community, and after reviewing the huge post, it had nothing to do with my setup or hardware, it was the unreliable nature of the detection scripts and device wizards.
Then myth would lock up, and from what I understand this was a big problem among alot of users. It happen to be the way mythtv was called from the MythTV_Player plugin, I had to modify and recompile the code, and it was accepted as an official fix and applied to the code.
Do I need to write the guide now, so you guys can see how it's done? It's nothing special, with only 1 network card, you give both eth0 and eth0:0 different IP addresses but in the same subnet, for example 192.168.0.100 for eth0 and 192.168.0.101 for eth0:0, then disable dhcp server and everything works perfectly.
But i've got people telling me it's not possible?
You guys are kind of hostile when it comes to what you "think" is right... the word of the day should be "open-minded" and not "i'm right all the time because i've got green stars on my name"....
tschak, I found this comment you made in another post...
(b) use the Single NIC configuration defined in the wiki. However, if you turn off DHCP, you lose network plug and play, and will have to define all of your network resources in the Web Admin manually.
Except this was a response to another person posts saying this
3. All my media is stored on a network file server. I have read on the forums here that this is supported out of the box. I wish this was correct. In order to even get the MC to even detect the file server, I had to disable the DHCP server and Firewall (already have one, at a loss as to why there is one installed by default). Now the MC detects the server and the shares,
Did you miss the part where he said he disabled his DHCP server and then it was detected? His share still didn't work, but he says it picked it up.
and in the same post, he repeated
Once I disable the DHCP Server and the Firewall the system, the system stops trying to act as a router and automatically detects the file server and all of the network shares
You guys crack me up, i'm searching through other threads as i'm writing this, and I see soooooo many people talking about how lmce HAS to have dhcp running to detect anything, and it HAS to be setup as it was intended.... this is total bullshit... have any of you guys even tried? wow this is ridiculus, I can't believe so many of the contributing devs believe this, is there something i'm missing? I mean seriously... i'm sitting here, watching my shit work perfectly fine without dhcp ont he lmce box. If I am wrong, then please explain/elaborate because i'd love to know why i have 3 boxes and 2 virtual machines detecting shit just fine without a dhcp server running.
Look, I have 3 production lmce box's, and 2 boxes in a vmware machine, and all 5 of these has dhcp disabled and all 5 of them also detect all my network shares AND configures them perfectly.
Here is another set of quotations from a thread where I solved the guys problem for him. He started off saying
How do I open the external interface on the core for file sharing?
My core is on our internal network. I have the external interface obtaining an address from our router and the internal interface connected to an independant switch that all the MD's are connected to.
I advised him to disable his firewall and he responds with
Works beautifully, thanks.
now in retrospect, he says his automatic detection of network shares on his external interface works beautifully now... well his externel interface certainly isn't serving DHCP address, so why did his network shares get detected? simple, because it used Netbios names not the DHCP server to find shares.
here is a thread where they discussed disabling dhcp, and never showed back up to report problems...
Go to the webadmin page, then go to Advanced > Network > Network Settings. From there you can unselect the DHCP server and save the page to finish the job. Had the same problem, the installer seemed to ignore my request that it not be a dhcp server.
here is another
I just didnt understand why MCE is trying to setup 2 IPs with one card, especially since I turned off DHCP server on the MCE machine.
I think im good though.
this thread also discussed disabling dhcp, and they appeared to be satisfied also.
Then I found this in /usr/pluto/bin the file Dhcpd-Plugin.sh and in that file I see
/usr/bin/tail -F /var/log/syslog | grep --line-buffered 'dhcpd: ' | bash -x /usr/pluto/bin/Dhcpd-Plugin-Parser.sh
So I understand how dhcp is SUPPOSED to help the pnp functions... by calling dhcpd-plugin-parses.sh when it sees a new dhcpd request from the syslog. So to make sure i'm not making myself look like a fool here, I deleted all my network shares (by the way, to get them fully deleted so they'll be detected again and not ignored, I have to manually use somthing like phpmyadmin to delete the shares/fileservers ip address from plut_main -> pnpqueue table.) enabled my dhcp server, and watching /var/log/pluto/dhcp_pnp.log, this file remained empty as I was adding my automatically deteced network share... so with my next fileserver I watched the syslog for dhcpd entries just like the script is, when I saw a dhcpd entry for my second fileserver that booted up, I checked the /var/log/pluto/dhcp_pnp.log and again still empty, so I watched top, and never even saw the script being called... is this an old feature or something? Maybe this is just to help determine if a device is online or not? Or is it used for detecting other kinds of network devices like I mentioned earlier.
For the normal user who will probably only want to use the TVTuner, Remote Network Shares, this configuration of mine will work perfectly. Beyond that, as I said to start with, i'm not sure. But the basics... network share detection, works great. In fact, after reviewing /usr/pluto/bin/StorageDevices_SambaRadar.sh and /usr/plut/bin/StorageDevices_Radar.sh reveal no depencies on the dhcp server... and in fact, it's using netbios names, and a for loop using the current subnet to ping ip's. Not dhcp.
Besides, after research all this, I already see a very simple way to enable an external DHCP server AND retain lmce pnp function as you guys claim.
If those scripts are operating the way I think, then using an NFS share exported from the machine where the DHCP server is running, with the dhcp configuration files, the lease file, and the syslog all residing on this exported share... then mount it under lmce, create symbolic links for the dhchp server config files and leases file... then point the script I mentioned to the nfsmountedshare/syslog instead of it's own.... eh.. just a wild stab in the dark...
back on subject... this is neither a rant or a rave, this is a plea for you guys to understand the most common function of network shares is NOT affected by the dhcp server... and I would honestly like to know what is, in case I run into this problem in the future with other network based devices.