View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Dec 24, 2006 6:29 pm 
Offline
Joined: Sat Dec 23, 2006 2:19 pm
Posts: 4
Hi guys,
4 google days have been passed and I still can’t figure out what is wrong. I just can’t login with the web interface! (webmin and mythweb they both reply “login failed” )

I have tried changing passwords, adding new users, reinstalling and so on!
When I disabled authentication by ToggleWebSecurity i could get in the mythweb. Enabling BasicAuth authentication, as described here, had no results yet. (login failure)

Somehow there is no link between the defined users within Knoppmyth and the web interface authentication system!

Using Mythweb with no authentication could be acceptable, but webmin is not!

Any idea’s? :roll:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 25, 2006 11:00 am 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
During the installation, it asks for a password for the web interface, so you log on with "mythtv" user but using this password.
For Webmin, in the Wiki, there are instructions for setting Webmin up, there is a step for setting the password for root, but using a different password than for console access.

Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 25, 2006 4:01 pm 
Offline
Joined: Sat Dec 23, 2006 2:19 pm
Posts: 4
The password for root and webmin is set been chosen as same. (pass root == pass webmin) I renewed the password for webmin to make sure it the one I have in mind. Still no results!

Whatever it is, it affects webmin AND mythweb authorization.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 25, 2006 5:48 pm 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
The obvious question is, have you got your case correct when entering the passwords/usernames? :)
Also have you set up Webmin to be accessable from the the subnet your other PC is on, the default is only the PC that Webmin is running on?

Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 26, 2006 6:06 am 
Offline
Joined: Sat Dec 23, 2006 2:19 pm
Posts: 4
I have checked the password and reset it password zillion-times! To make sure: All the passwords are the same! I am now pretty confident that the password = correct! :)

Quote:
Also have you set up Webmin to be accessible from the subnet your other PC is on

The subnet is been set to 192.168.1.0 - So it should be accessible to every local PC (2x Vista-machines using explorer 7 and Firefox 2).
I do have 2x network-card installed on the Myth-machine. I will remove one and see whether it will do any good.

I will also try to install a virtual-one(VMWare) to see whether the results will be different on a different environment.
Any other suggestions? :(


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 26, 2006 9:41 am 
Offline
Joined: Sat Dec 23, 2006 2:19 pm
Posts: 4
I installed the new R5E50 (released yesterday!) and it worked! :)
ftp://ftp.knoppmyth.net/R5/R5E50/

nice release btw!

greeting,
Farid


Top
 Profile  
 
PostPosted: Sat Dec 30, 2006 6:47 am 
Offline
Joined: Mon Jun 05, 2006 2:33 pm
Posts: 11
oegaoega wrote:
Hi guys,
4 google days have been passed and I still can’t figure out what is wrong. I just can’t login with the web interface! (webmin and mythweb they both reply “login failed” )

I have tried changing passwords, adding new users, reinstalling and so on!
When I disabled authentication by ToggleWebSecurity i could get in the mythweb. Enabling BasicAuth authentication, as described here, had no results yet. (login failure)

Somehow there is no link between the defined users within Knoppmyth and the web interface authentication system!

Using Mythweb with no authentication could be acceptable, but webmin is not!

I had that same problem. This is how i got access. I used mythtv as the user and the password that i used in the installation proccess and i got access
Any idea’s? :roll:


Top
 Profile  
 
 Post subject: webmin_login
PostPosted: Sun Dec 31, 2006 6:22 am 
Offline
Joined: Thu Dec 14, 2006 1:13 pm
Posts: 6
Location: belgium
I have the same problem (on R5D1) = unable to log-in.
In the file README.Debian I have found that the webmin on installation is set to use "root" as a log-in (username) and the current root user password as a webmin log-in password.

I used mythtv as a log-in and as password without success.

I,m sure that my spelling and password is correct beacuse I used it for su log-in, tty log-in and it works every time.

Any suggestions on how to reset this thing to use my root password ?

:?: :? :x


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 31, 2006 6:49 am 
Offline
Joined: Thu Dec 28, 2006 7:58 am
Posts: 8
I did a search for webmin and setup and found some answers. See part 1 of this post to reset your password in webmin to whatever you want. Ignore the parts related to samba:
http://mysettopbox.tv/phpBB2/viewtopic. ... bmin+setup

Did that work for you?

Here is another useful thread. Read tjc's comments:

http://mysettopbox.tv/phpBB2/viewtopic. ... bmin+setup


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 31, 2006 7:28 am 
Offline
Joined: Thu Dec 14, 2006 1:13 pm
Posts: 6
Location: belgium
In the following post I found an answer:

http://mysettopbox.tv/phpBB2/viewtopic. ... ght=webmin

I actually didn't do the echo line; i did.

Code:
nano /etc/webmin/miniserv.conf


and the line allow=127.0.0.1 was already there.

Quote:
2.2) Restoring your webmin setup. This assumes that your LAN is using the 192.168.1.0/255.255.255.0 private network IP range. If you are using a different range (e.g. 192.168.0.0/255.255.255.0) correct the "allow" line below accordingly.

Code:
:# echo "allow=127.0.0.1 192.168.1.0" >>/etc/webmin/miniserv.conf
:# /usr/share/webmin/changepass.pl /etc/webmin root YOURPASSWORDHERE
:# /etc/init.d/webmin start
:# update-rc.d webmin defaults

This may not work until you reboot.


My webmin log-in works fine now; i'm still puzzled with what went wrong first time.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 31, 2006 1:37 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
lord_hammer wrote:
and the line allow=127.0.0.1 was already there.

Yeah, that was the case in R5D1. Those instructions were written specifically for R5E50. In the R5D1 instructions I think there was a sed command to edit the exisiting line. Something like this:
Code:
sed -si.orig \
    -e "/\(host=\)dev\.mysettopbox\.tv/s//\1$(hostname)" \
    -e "/\(allow=127.0.0.1\)/s//\1 192.168.1.0" \
    /etc/webmin/miniserv.conf


Top
 Profile  
 
 Post subject: webmin_password
PostPosted: Mon Jan 01, 2007 10:14 am 
Offline
Joined: Thu Dec 14, 2006 1:13 pm
Posts: 6
Location: belgium
Quote:
Yeah, that was the case in R5D1. Those instructions were written specifically for R5E50. In the R5D1 instructions I think there was a sed command to edit the exisiting line.


I have used this to the letter on R5D1, and it worked perfect.

I gues if you do not have that line"allow=127.0.0.1" you just add one with nano.

For me the grep thing is an overkiill for a single short line (how long does it take you to retype it without mistakes if cut & paste is not an option).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 01, 2007 12:19 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Well "the grep thing" came from a script which does the editting automagically. I've got a whole set of post install setup scripts like this that get run to tweak things after an upgrade. Manual editing might be easier the first 2-3 times, but after that scripts win hands down.

It can also be simply cut and pasted from the browser into a shell session (if you're not already set up so that you can do this, I highly recommend this wiki page RemoteAccessfromWindows ). This avoids a whole class of problems that occur when you ask people to manually edit files. You'll notice that we use sed in a lot of examples like this for exactly that reason. If you've ever tried to talk someone through an editing session on the phone blind, or write foolproof directions for how to do something in a UI, you'll understand.


Top
 Profile  
 
PostPosted: Mon Jan 01, 2007 5:18 pm 
Offline
Joined: Thu Dec 14, 2006 1:13 pm
Posts: 6
Location: belgium
I'll stick with my original view.

Quote:
For me the sed thing is an overkiill for a single short line


For anything else, more serious and tedius, I agree with You; grep, sed, awk is a way to go.

I do not undestand that "Remote Access from Windows" part; are you suggesting that I install "Windows" on my machines ??

- I have one WinPC (dual booted with SUSE 10 and with grub boot loader) that I use for my work and that is more then enough.


Top
 Profile  
 
PostPosted: Mon Jan 01, 2007 5:40 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
lord_hammer wrote:
I do not undestand that "Remote Access from Windows" part; are you suggesting that I install "Windows" on my machines ??

No, I was not. Reread what I said about:
Quote:
cut and pasted from the browser into a shell session (if you're not already set up so that you can do this, ...

If you are running Linux on your machines, you are "already set up ...".


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu