Koozali.org: home of the SME Server

Can't access the web-based admin pages

Quade

Can't access the web-based admin pages
« on: September 13, 1999, 01:41:41 PM »
Hey all,

First off, let me just say that the e-smith project is a linix-newbie's dream-come-true.

However, I finally got it installed/accessing the Internet/etc... and I can see the initial XYZ Corp (cute.) home page when i visit the URL (http://www.bleakhouse.com), but when I add /e-smith-manager, i get "Forbidden


You don't have permission to access /e-smith-manager on this server."

So what's a kid supposed to do?  I'm running it as a server only - dedicated on a cable modem, i166MMX with 40MB of RAM with a static IP.

TIA,
Quade


Kim Morrison

RE: Can't access the web-based admin pages
« Reply #1 on: September 14, 1999, 09:03:33 PM »
Quade,

Please refer to our FAQ.  Yesterday we put up an answer to this very question. Talk about synchronicity!!! :-)

Kim

bruce

RE: Can't access the web-based admin pages
« Reply #2 on: September 16, 1999, 06:04:51 PM »
i get a similar message but i have it runnin as a server & gateway through a 33k modem to dialup my isp

that mean i cant use e-smith as a gateway as well as a server on dialup?

Kim Morrison

RE: Can't access the web-based admin pages
« Reply #3 on: September 16, 1999, 06:35:43 PM »
Hi Bruce,

Thanks for the post!!

The e-smith server and gateway is designed to be a gateway for both dedicated and dialup connections.  

The "access denied" error is typically returned when someone is attempting to access the e-smith's web based manager from outside of the local network.  

However, given that you are connecting to your ISP via a modem, I'm assuming that you are accessing the e-smith manager from a client machine on your local network and still getting this message. Is that correct?

The e-smith manger uses the network ID of itself and the client machine to determine if the client machine is on the local network.  If the subnet mask is incorrectly entered into either place, that would account for the e-smith server deducing that the client machine is not on the internal network and returning the "access denied" message.  

I recommend you revisit the configuration parameters entered into the client machine and the e-smith server to look for an entry error, particularly in the subnet mask.

Good luck!

Kim

Quade

Can't access the server through telnet now...
« Reply #4 on: September 17, 1999, 10:45:41 AM »
I rewired the network here at the house, and reinstalled e-smith to run as a gateway and a server (had to had the second nic).  I'm using the built-in DHCP server, and now have the "local" network.  My ISP assigns 2 class C's for their static IPs, but the dynamic IP's are from a different class A entirely.  Hence, I had no "local" connection and was always refused.

Now, here's another problem under the same subject.  
I activated telnet through the web-based admin pages, but when i login as admin, i get a welcome message, and my connection gets dropped.  I get the same thing on the actual box--i log in, get the welcome message, and it drops back to the login prompt.

...and yes, i did change the admin password...

any clues?

bruce

RE: Can't access the web-based admin pages
« Reply #5 on: September 17, 1999, 02:00:04 PM »
kim, thanks for the prompt reply....but :)

my settings are:

server
192.168.0.1 - local ip
255.255.255.0 - subnet
192.168.0.1 - web server
dhcp - off (tried off and on)

client
192.168.0.2 - local ip
255.255.255.0 - subnet

using server/gateway setup to dial via 33k modem

i can access email/web/ftp/icq from client thru server
i can network neighbourhood to server
(picks up /primary/cgi-bin  /primary/html  /primary/files)
i can put in 192.168.0.1 from client and pick up groovy template page
i can even ctrl-alt-f3 to get the linux login

but still cant access http://192.168.0.1/e-smith-manager

i get a username/password prompt but thats all - i saw 'admin' was a id somewhere so i am 'this close' to accessing my server...

hope this helps anyone/someone solve my problem

bruce

Kim Morrison

RE: Can't access the web-based admin pages
« Reply #6 on: September 17, 1999, 06:00:16 PM »
Bruce,

You are truly "this close" to accessing your server.

The admin username is "admin" and the default password is "default" (we're so original!).  So, when you enter those two values in the username/password prompt, are you getting the Permission Denied message?

I'm very curious. Thanks!

Kim

Kim Morrison

RE: Can't access the server through telnet now...
« Reply #7 on: September 17, 1999, 06:57:04 PM »
Quade,

For the telnet issue, the admin account doesn't have a login shell. You must login as root instead. (which is what you want to have total control over the machine anyways). :-) Password is whatever you have set the admin password to be.


Quade wrote:
-------------------------------
I rewired the network here at the house, and reinstalled e-smith to run as a gateway and a server (had to had the second nic).  I'm using the built-in DHCP server, and now have the "local" network.  My ISP assigns 2 class C's for their static IPs, but the dynamic IP's are from a different class A entirely.  Hence, I had no "local" connection and was always refused.

--------------

Quade, if you are using a Class A for your internal network, your e-smith server's local IP address must be one of those Class A addresses and your subnet mask must be:  255.0.0.0

Is that how you have it set up??

If you were using Class A addresses for your client machines but set the local IP address of our e-smith server to some other static iP address, you'll definitely have permissions problems (the e-smith server checks to ensure that it and the client machine accessing it are on the same network ID to establish its eligibility to connect).

Thanks for the post!

Kim

bruce

RE: Can't access the web-based admin pages
« Reply #8 on: September 18, 1999, 11:04:38 AM »
i can get access to e-smith-manager!

um - ive been looking through your resources - is there ANYWHERE! stating that the default user account is 'admin' password is 'default' ?

might be worth putting somewhere handy :)

btw - great software so far - makes my linux guru sad since you have made linux for the masses - hope to have more fun with it once i get a fixed ip :)

bruce

Kim Morrison

RE: Can't access the web-based admin pages
« Reply #9 on: September 19, 1999, 10:16:10 PM »
bruce,

Clearly we need to make it a bit more prominent. It's clear in the manual, but maybe at some point I'll include it in the graphic that explains set up in the download page.  Kim