Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi does not enable on Ubuntu 10.04 LTS #1

Closed
antoniusmisfit opened this issue Aug 2, 2010 · 8 comments
Closed

Wifi does not enable on Ubuntu 10.04 LTS #1

antoniusmisfit opened this issue Aug 2, 2010 · 8 comments

Comments

@antoniusmisfit
Copy link

Results of 'cat /dump.log | grep "Wifi"':
root@li103-118:
/diva-r13458/bin# cat ~/dump.log | grep "Wifi"
16:27:55 - [REGIONMODULES]: Found shared region module Diva.Wifi.WifiModule, class Diva.Wifi.WifiModule
16:27:57 - [Wifi Module]: Initializing...
16:27:57 - [Wifi Module]: Could not load configuration. Wifi will be disabled.
16:28:01 - [REGIONMODULE]: Adding scene MetaGridNet 1 to shared module Wifi Service
16:28:03 - [REGIONMODULE]: Adding scene MetaGridNet 2 to shared module Wifi Service
16:28:03 - [REGIONMODULE]: Adding scene MetaGridNet 3 to shared module Wifi Service
16:28:04 - [REGIONMODULE]: Adding scene MetaGridNet 4 to shared module Wifi Service

Everythng else runs normally, and I followed all the instructions correctly in setting it up. When going to http://metagridnet:9000/wifi, I get this page:
Ooops!

The page you requested has been obsconded with by knomes. Find hippos quick!

If you are trying to log-in, your link parameters should have: "-loginpage http:///?method=login -loginuri http:///" in your link

@diva
Copy link
Owner

diva commented Aug 2, 2010

OK, thanks! Looks like you're getting an exception. What mono do you have?

@diva
Copy link
Owner

diva commented Aug 2, 2010

Can you please do me a favor. Get the 2 DLLs here:
http://github.com/diva/diva-distribution/downloads
Replace the ones you have there with these, and try again.

If it still fails, show the same logs you showed above. Actually, try to include the text surrounding "Could not load configuration" even is it doesn't have the word "Wifi".

@antoniusmisfit
Copy link
Author

I have mono 2.4.4. Here's the results after replacing the DLLs:
17:18:44 - [REGIONMODULES]: Found shared region module Diva.Wifi.WifiModule, class Diva.Wifi.WifiModule
17:18:48 - [Wifi Module]: Initializing...
17:18:48 - at Diva.Wifi.WebApp.ReadConfigs (IConfigSource config, System.String configName) [0x00000]
at Diva.Wifi.WebApp..ctor (IConfigSource config, System.String configName, IHttpServer server) [0x00000]
at Diva.Wifi.WifiServerConnector..ctor (IConfigSource config, IHttpServer server, System.String configName) [0x00000]
at Diva.Wifi.WifiModule.Initialise (IConfigSource config) [0x00000]
17:18:48 - [Wifi Module]: Could not load configuration: Can't proceed. Please specify the administrator account in Wifi.ini.
17:18:52 - [REGIONMODULE]: Adding scene MetaGridNet 1 to shared module Wifi Service
17:18:54 - [REGIONMODULE]: Adding scene MetaGridNet 2 to shared module Wifi Service
17:18:55 - [REGIONMODULE]: Adding scene MetaGridNet 3 to shared module Wifi Service
17:18:55 - [REGIONMODULE]: Adding scene MetaGridNet 4 to shared module Wifi Service

It seems to have something to do with Wifi.ini(which does not seem to exist). Also there are no "Could not load configuration" messages other than the ones for Wifi.

@diva
Copy link
Owner

diva commented Aug 2, 2010

oh, I know what's going on.
You are leaving parts of the Administrator account blank. Email, maybe?

Please do this.

Edit config-include/MyWorld.ini
and make sure that all parts of the Admin account are not empty strings. The four parts should be:
;; The Wifi Administrator account
AdminFirst = "..."
AdminLast = "..."
AdminEmail = "..."
AdminPassword = "..."

If that's the problem, I'll make sure to handle this better.

@antoniusmisfit
Copy link
Author

I think I found the problem: In the MyWorld.ini file, the "AdminLast" field is somehow erroneously written out as "*Last" where * is actually the admin last name provided. I fixed that, and now Wifi is working(Yay!).

@diva
Copy link
Owner

diva commented Aug 2, 2010

Yes, I just noticed a a little bug in my Configuration tool that replaces the prefix Admin in AdminLast with whatever you type. Duh.
I'll upload an updated release. Thanks for your input.

@wakawakasnook
Copy link

can you describe/document how to use the access and error logs for this webserver?

Looking good otherwise!

@diva
Copy link
Owner

diva commented Aug 3, 2010

For the moment the Wifi log is the OpenSim log, entries are prefixed with [Wifi]. I'm not logging the IP address of the client, and I'm not logging unsuccessful resource requests. Would that be interesting?

@diva diva closed this as completed Oct 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants