LinuxMCE Forums

General => Installation issues => Topic started by: plodge on September 26, 2007, 11:53:17 am

Title: Assistance as Wiki doesnt match whats on screen
Post by: plodge on September 26, 2007, 11:53:17 am
Appears the Wiki docs are confusing as they dont match what Im seeing on screen using the 0704 DVD install.

So for now, I want to get to the WebAdmin. If I hit the IP I get nothing back. Local LAN, 192 network, etc. Does WebAdmin have to be enabled ? Seems odd.

Also, I want to add an RS232 device to control my alarm panel. How on earth you do this escapes me

Any ideas ?

Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Zaerc on September 26, 2007, 12:00:44 pm
Yeah I got an idea, try being less insulting when you ask for help.  And who knows someone actually might take some of their spare time to help you out.  :P
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: plodge on September 26, 2007, 01:45:46 pm
:-)

Easy tiger !

Is the webadmin enablement hidden around somewhere ?
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Hagen on September 26, 2007, 03:11:26 pm
Webadmin should be enabled by default.
Are you sure it's the right IP address?
(you can use either the internal or external IP, in my experience it doesn't matter).

RS232 devices I don't know about.
Sorry if that didn't help you much.
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: plodge on September 26, 2007, 03:18:15 pm
I'[m getting the IP off the LinuxMCE screen - shows internal ip (192.168.1 addy) then IP from my DHCP, etc.

is it just http://ipaddress ?

As for RS232 - there's mention of adding a generic device but the options it mentions just dont exist on 0704 as far as I can tell.
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Hagen on September 26, 2007, 03:27:48 pm
You don't need "http" in front, Firefox/IE/Opera/K will figure it out.
However, what is the IP of your router?
My guess is 192.168.1.1, same as your LMCE box
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: tschak909 on September 26, 2007, 03:43:47 pm
i left mine at default and I get http://192.168.80.1/

-Thom
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: teedge77 on September 26, 2007, 03:53:18 pm
Quote
Yeah I got an idea, try being less insulting when you ask for help.  And who knows someone actually might take some of their spare time to help you out. 

i think someone needs a 5 minute time out.
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Hagen on September 26, 2007, 03:55:04 pm
Quote
Yeah I got an idea, try being less insulting when you ask for help.  And who knows someone actually might take some of their spare time to help you out. 

i think someone needs a 5 minute time out.
I think someone edited their post after Zaerk pointed something out  ;)
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: teedge77 on September 26, 2007, 04:08:47 pm
ohhhhh....yeah...it didnt seem that bad to me when i read it....sorry zaerc ;)
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Zaerc on September 26, 2007, 06:09:29 pm
ohhhhh....yeah...it didnt seem that bad to me when i read it....sorry zaerc ;)

I think somebody is being a huge dumbass again.  But don't worry I'm used to that from you by now.  ::)

Just keep trying... who knows, one day you might actually succeed not to make yourself look stupid while attacking me.
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: teedge77 on September 26, 2007, 06:10:46 pm
 :D

ok. go play with samme and trout and have a good time. ill know better than to apologize to a douche for being mistaken next time.
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: plodge on September 26, 2007, 06:11:21 pm
Sage advice indeed.

The router here is irrelevant. The LinuxMCE box IP on the LAN is 192.168.0.20 dished out by the router. Install downloaded a load of stuff from t'internet.

Is there a LinuxMCE net config to check ? Or is it low level linux ?



You don't need "http" in front, Firefox/IE/Opera/K will figure it out.
However, what is the IP of your router?
My guess is 192.168.1.1, same as your LMCE box

Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Zaerc on September 26, 2007, 06:32:29 pm
:D

ok. go play with samme and trout and have a good time. ill know better than to apologize to a douche for being mistaken next time.
Nope, failed again, you still look like a stupid jackass.  :-*

Back on topic:

Search the forum for eth0:0 and you should be able to find a thread with a lot of info on changing the network settings, it often has to be done in several places (depending on what you're trying to achieve).
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: teedge77 on September 26, 2007, 06:35:03 pm
 :D
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Zaerc on September 26, 2007, 06:38:51 pm
:D

I guess you finaly found a way not to look like the idiot you are, by keeping your mouth shut.  ;D
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: tschak909 on September 26, 2007, 06:42:35 pm
plodge, sorry for missing it.. for best effect, you REALLY should be using your LinuxMCE box (core) as the internet router, otherwise you lose a lot of functionality (network plug-n-play etc)... as it stands, you'll need to disable the dhcp server from the admin, because you now have two dhcp servers running on your network.

Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: teedge77 on September 26, 2007, 06:44:28 pm
thats another zinger zeark. youve substantially hurt my feelings.
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: plodge on September 26, 2007, 10:27:48 pm
The network settings (ie IP) per se dont need to be changed - as it has a valid IP address.

The http daemon just aint responding

:D

ok. go play with samme and trout and have a good time. ill know better than to apologize to a douche for being mistaken next time.
Nope, failed again, you still look like a stupid jackass.  :-*

Back on topic:

Search the forum for eth0:0 and you should be able to find a thread with a lot of info on changing the network settings, it often has to be done in several places (depending on what you're trying to achieve).
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: teedge77 on September 26, 2007, 10:30:36 pm
sorry, just to make sure. you have no trouble pinging the IP but its not accepting web requests? what kind of error does the page give? not found, access denied...something like that?
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: plodge on September 27, 2007, 09:09:12 am
Just nothing - not a 'not found', just no server will respond.

Didnt realise this has it's own DHCP - cant see why on earth it would need to - thought it was a media center.

sorry, just to make sure. you have no trouble pinging the IP but its not accepting web requests? what kind of error does the page give? not found, access denied...something like that?
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Hagen on September 27, 2007, 10:20:49 am
thought it was a media center.
Many make that assumption, but this is not an MSVistaMCE. The reason for the DHCP server is that LMCE is more than a "normal" media center, it can also be used as a "smart home" controller. Running temperature, alarm systems, lighting, phones... basicly everything you can access trough LAN/IR/USB/Bluetooth or RS232.
Hence DHCP server for the LAN devices. If you have a LAN enabled system LMCE lets you control it trough LMCE/the living room TV.
It also uses the DHCP to find all connected devices from Xbox, NATs and windows/Mac/Linux computers and lets you decide how to use them with LMCE.
Thirdly it allows you to network boot any (almost any) computer with LMCE regardless of the installed OS.

If you take away the DHCP server you have to set up every file share and system manually, and every MD you use will need to be a local install, possibly even a core (I haven't tried, so I'm not entirely certain).

That is why it needs DHCP.

There are ways around this however, if you only want to use the Core as an MD and it's the only one in the house you can switch of the DHCP in the router, let the DHCP in LMCE find all the necessary IPs and machines (this requires the core to be set up to the same IP range as your original router) the IPs of the connected devices woun't change as they are just renewing their IP lease.
Then after that you can swithc off DHCP on the Core and back on uin the router and your media should still be available.
Mind you it woun't find any new machines you plug in and you can't network boot or install local MDs.
I did it this way at first, but it is too cumbersome if you want more MDs. So I went for the DHCP on the core...
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Hagen on September 27, 2007, 10:29:52 am
So in order to get to the admin site in the first place you need to turn one of the DHCPs off.
You can turn it off in the LMCE only if you connect locally or connect to the router only if you disconnect LMCE.
That seems to be the trick, but you allready figured it out by now I guess.

By the way, the Core does not have to be your gateway, there are several succesful "single NIC" installs that uses a router as the gateway and the Core as the DHCP server. Mine is among them.
My only "boggle" was that the Core want's the xxx.xxx.xxx.1 IP, and my router allready had that IP, but in the admin site (once you do get in) all of this can be easily configured. My Core now is xxx.xxx.xxx.10 (internal) and xxx.xxx.xxx.100 (external eth0:0) and routers are still xxx.xxx.xxx.1 and xxx.xxx.xxx.2
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: plodge on September 27, 2007, 11:40:22 am
Plan was to try this as a touchscreen for the Alarm and Integrated lighting/mains control system. So I only need a single RS232 connection to my panel. Nothing else at the moment.

At the moment, I cant get to anything to configure this thing - no web admin access whatsoever. It's got a valid lan ip on a valid subnet. I presume this can all be config'ed from the webadmin ?
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Hagen on September 27, 2007, 12:14:42 pm
Ok, how are you trying to connect to the LMCE box?
locally on a crossed network cable, or trough the router/LAN?
Did you in the case of the LAN approach disable the DHCP in the router?
Are you connecting with a windows machine? have you tried running ipconfig on it? what did IP config tell you? if the gateway on the windows machine (I assume windows) set to the LMCE IP or the router IP? If everything is working the gateway should be the same as the LMCE external IP. what you can do is try to put the IP you get as gateway into your browser.

Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Hagen on September 27, 2007, 12:31:47 pm
Sage advice indeed.

The router here is irrelevant. The LinuxMCE box IP on the LAN is 192.168.0.20 dished out by the router. Install downloaded a load of stuff from t'internet.
This tells us you are still using the router as DHCP. Now there is an option I did overlook, is the Core equipped with two NICs?
in that case you can't connect to the core from the "external" NIC that get's the IP (correctly) from the router. You have to be on the internal LMCE to connect (the first time), then you can change the configs to allow connections from the external network (but i haven't done it).
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Zaerc on September 27, 2007, 01:11:02 pm
Have you tried the "Web bookmark" for the "Pluto admin" on the "computing screen?  Or else in KDE the "lmce launch manager" also has a button called "Open admin website".  Those should open a browser and point it in the right direction.
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: plodge on September 27, 2007, 02:52:34 pm
Hi - one NIC - it's a ThinkPad

OK, i loaded up the pluto admin - I found that - didnt work - so replaced dcerouter with the loopback and I got in.

Turned off DHCP and disabled the firewall - now I can admin remotely on the LAN. Will have a play about. As long as I can get this thing to emulate my alarm keypad and fire off the RS232 commands down the wire, it's an option.

If not, format is-a-coming :-)

Thnx Hagen - appreciated. Pointed me in the direction of the bleeding obvious - which I obviously didnt bleeding see !
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: Hagen on September 27, 2007, 03:23:40 pm
No problem, now someone else needs to tell you how to set up the RS232 as I haven't got the foggiest.
But it would help if you tell us what it is, manufacturer and model.
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: tschak909 on September 27, 2007, 03:29:41 pm
more than likely, you'll need to create a GSD device template to control the model.

-Thom
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: plodge on September 27, 2007, 05:08:05 pm
Cytech Comfort Alarm system. Just need keys 0-9,* and # - each one just send a simple command. Doing this simulates a keypad.

So presing 1234# in sequence would actually log you into the system then you can do more things, etc. Useful for arming/disarming plus more.

Had a play with MainLobby a while back - worked all right - but slow as a dog and no use for an alarm panel login system. Hence trying LinuxMCE - basically cause it's linux based.

So if any bright spark knew how to add some simple RS232 commands as above, you'd get a lot of Comfort users around the world very interested indeed.



No problem, now someone else needs to tell you how to set up the RS232 as I haven't got the foggiest.
But it would help if you tell us what it is, manufacturer and model.

Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: tschak909 on September 27, 2007, 05:16:20 pm
dude, seriously. look on the linuxmce wiki under GSD (Generic Serial Device).. it provides a web-based interface for sending commands to any serial port based device... all of what I mention below is done via the web interface...

basically, you need to create a device template, that is a climate device (use the pull-downs to select the appropriate device type)..

at which point, you will be walked through a series of checkboxes etc to pick which commands you want to implement, and you'll be given boxes to enter commands to send down the serial port. You can check each command to make sure they work properly, and when you're ready, you can save the device template, and add the device to your system, again using the web based interface.. If it is possible to detect the device over the serial port (say, a specific sequence of commands etc), a plug-and-play script can be created to automatically detect the device as it is plugged into the serial port (this part is manual).

-Thom
Title: Re: Assistance as Wiki doesnt match whats on screen
Post by: plodge on September 28, 2007, 09:17:10 am
Dude, seriously - I did :-)

Those docs appear to be lacking some padding - either hard to follow or they dont match what I see on screen.