LinHES Forums
http://forum.linhes.org/

Webmin? How?
http://forum.linhes.org/viewtopic.php?f=11&t=11151
Page 1 of 1

Author:  tophee [ Sun Aug 13, 2006 10:47 am ]
Post subject:  Webmin? How?

Hi all,
Having a slight problem with using wibmin. I followed the guidance off the wiki http://knoppmythwiki.org/index.php?page=WebminHowTo and did all it said, with the exception of this bit:
Quote:
While you're there change the line that has host=dev.mysettopbox.tv and set it to be your host name rather than Cecil's.
I don't really know what I would be setting my host to, or even what my host is.
So, once I got through the wiki instructions I tried to log onto webmin using myth's default browser. I set the web address and tried ot log on, but an error was returned.
I'm sure I'm missing something extremely obvious, but a nudge in the right direction would be greatly appreciated.
Regards C

Author:  tjc [ Sun Aug 13, 2006 11:08 am ]
Post subject: 

Host name. What did you tell the box it's name was? It's usually right in the shell prompt if you've forgotten. Mine looks like this:
Code:
root@black2:~# grep '^host=' /etc/webmin/miniserv.conf
host=black2

Author:  tophee [ Sun Aug 13, 2006 12:22 pm ]
Post subject: 

Ah, ok. Hostname = name of mythbox = mythtv in my case.
Updated miniserv.conf as appropriate and started webmin. This failed to do anything, but then I realised I should be pointing the browser at the backend. Duh!

So with the browser pointing at 127.0.0.1 I get to a Mythweb page. First time for that. Can't enter mythweb as I can't remember my password.
I'm hoping that once I remember my password I'll get to webmin.

You know... after all the posts I've done I keep thinking 'I'm getting the hang of this' ... famous last words. What do they say? Pride before a fall? Quite.

Thanks so far tjc.

Author:  tjc [ Sun Aug 13, 2006 12:43 pm ]
Post subject: 

Webmin is running under a seperate http sever. To access it you need to point your broswer at: https://<your-hostname-or-ip-here>:10000/

As for forgetting the mythweb password you can always reset it. Using:
Code:
htdigest -c /var/www/htdigest MythTV mythtv

Or turn it off entirely using:
Code:
ToggleWebSecurity.sh -mythweb

Author:  tophee [ Mon Aug 14, 2006 9:20 am ]
Post subject: 

Well, I'm afraid not a resounding success.
The positives: got into mythweb cool. Thanks for the password tips.

On the negative: completely failed to get a connection to webmin.

Ipointed my browser at: https://127.0.0.1:10000

Myth's internal browser adds http:, so I end up with a bookmark like this:
http://https:127.0.0.1:10000
which doesn't produce anything useful.

On modifying the command to http://127.0.0.1:10000
I recieve this message:
Code:
Error - Bad Request
This web server is running in SSL mode.
Try uing the URL https://mythtv:10000/


I click on the link and get a popup box to enter my user name and password.

Good, things improving, but when I type in my password, one of the letters is an 'i' which brings up a popupbox to enter a URL.
How can I turn this function off, or reassign the key? I have already looked in the key bindings bit of setup under browser, but couldn't find it.

Author:  ceenvee703 [ Mon Aug 14, 2006 10:40 am ]
Post subject: 

Is there any way you can either (a) use some other computer on your network other than your MythTV box to access Webmin, or (b) not use the MythWeb browser to access Webmin?

Author:  tophee [ Mon Aug 14, 2006 11:37 am ]
Post subject: 

Unfortunately ceenvee703, my network is not runnig atm. I'm having some problems I've yet to resolve with my wireless card/router. Perhaps I should look into installing firefox. I will look into downloading the package.

Author:  ceenvee703 [ Mon Aug 14, 2006 12:34 pm ]
Post subject: 

tophee wrote:
Perhaps I should look into installing firefox. I will look into downloading the package.


Warning warning warning! Be very careful when apt-get installing things, particularly Firefox...

http://www.knoppmythwiki.org/index.php? ... Repository

PS: which version of KnoppMyth are you working with? It has relevance to this problem.

Given your level of comfort with Linux I would strongly encourage you to not risk wrecking your KnoppMyth install, and just wait until you can use another computer to access Webmin. That, or use lynx, which I think is already installed. Not much fun to navigate a text-only browser, but it's safer.

Author:  tophee [ Tue Aug 15, 2006 9:42 am ]
Post subject: 

Hey Ceenvee703,
I'm currently runnign R5C7. I was looking into downloading the tar ball on my Windows pc and putting it onto either a cd or a flash drive. The downloaded file is called
Code:
firefox-1.5.0.6.tar.gz


I was planning to follow the guide here: http://knoppmythwiki.org/index.php?page=Firefox.

As this isn't apt-get, will I don't think it'll roach the system.
When I upgraded Mplayer and madwifi I didn't get any discernable problems.

Anyhow, until I sort out my wirless network, I can't do an apt-get anyway. (Having another go at that this weekend.)

Author:  tophee [ Mon Aug 21, 2006 3:00 am ]
Post subject: 

Hurrah,

I added firefox by downloading the tarball and it worked perfectly. As I've managed to get my wireless connection working I can now surf the net from Myth too. Very cool. Actually it was a friend of mine who did 'something'. But now it works.

It appears I have entered the password wrongly for webmin and is now saying access is forbidden. Does anyone know how long this is fo, or can i reset it easily?

Author:  tjc [ Mon Aug 21, 2006 5:47 pm ]
Post subject: 

I think if you reset the password it clears it.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/