Author |
Message |
oegaoega
|
Posted: Sun Dec 24, 2006 6:29 pm |
|
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? 
|
|
Top |
|
 |
bruce_s01
|
Posted: Mon Dec 25, 2006 11:00 am |
|
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 |
|
 |
oegaoega
|
Posted: Mon Dec 25, 2006 4:01 pm |
|
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 |
|
 |
bruce_s01
|
Posted: Mon Dec 25, 2006 5:48 pm |
|
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 |
|
 |
oegaoega
|
Posted: Tue Dec 26, 2006 6:06 am |
|
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 |
|
 |
oegaoega
|
Posted: Tue Dec 26, 2006 9:41 am |
|
Joined: Sat Dec 23, 2006 2:19 pm
Posts: 4
|
|
Top |
|
 |
riversma
|
Posted: Sat Dec 30, 2006 6:47 am |
|
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? 
|
|
Top |
|
 |
lord_hammer
|
Posted: Sun Dec 31, 2006 6:22 am |
|
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 ?

|
|
Top |
|
 |
snet_siteop
|
Posted: Sun Dec 31, 2006 6:49 am |
|
Joined: Thu Dec 28, 2006 7:58 am
Posts: 8
|
|
Top |
|
 |
lord_hammer
|
Posted: Sun Dec 31, 2006 7:28 am |
|
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 |
|
 |
tjc
|
Posted: Sun Dec 31, 2006 1:37 pm |
|
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 |
|
 |
lord_hammer
|
Posted: Mon Jan 01, 2007 10:14 am |
|
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 |
|
 |
tjc
|
Posted: Mon Jan 01, 2007 12:19 pm |
|
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 |
|
 |
lord_hammer
|
Posted: Mon Jan 01, 2007 5:18 pm |
|
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 |
|
 |
tjc
|
Posted: Mon Jan 01, 2007 5:40 pm |
|
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 |
|
 |