Reply
Thread Tools
Posts: 57 | Thanked: 4 times | Joined on May 2010
#1
Hi

I have the N900 connected to my intranet wirelessly.

Now in the maemo browser i type "http://wiki" and i changes it to "http://www.wiki.com".

No matter what intranet site i type (i have many apache virtual hosts setup) it doesn't work.

how do you get the browser to resolve the url as typed?

thanks,
 
Posts: 117 | Thanked: 44 times | Joined on Dec 2009
#2
On MicroB open up about:config
Search for the value browser.fixup.alternate.enable and set it to false.
 

The Following User Says Thank You to depu For This Useful Post:
Posts: 57 | Thanked: 4 times | Joined on May 2010
#3
hi i tried that and even restarted the browser but no luck.

For a moment i see "http://wiki/" but it still goes ahead and passes that to the google search.

I can definitely reach "http://wiki" from my old E71 also without tweaking browser settings ;-)

EDIT: could this be related to https://bugs.maemo.org/show_bug.cgi?id=995 ? if i put a ".local" my 'intranet domain suffix' it tries to hit my webserver. I am sure my router is handing out the correct dns settings. how can i check? ifconfig on the n900 ?

EDIT2: https://bugs.maemo.org/show_bug.cgi?id=7239 ??

thanks

Last edited by gurpal2000; 2010-05-27 at 07:38.
 
Posts: 57 | Thanked: 4 times | Joined on May 2010
#4
hmm.. comparing the /etc/resolv.conf with my Ubuntu Lucid desktop:

desktop dynamic setting:

Code:
domain local
search local
nameserver 192.168.0.200
n900:

Code:
nameserver 127.0.0.1

Is there a bug here ? i have the latest firmware/maemo5 as of now.

thanks
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#5
Originally Posted by gurpal2000 View Post
hi i tried that and even restarted the browser but no luck.
Reopen the about:config after you've restarted the browser and see if the change has been made. Sometime the browser is running in the background that causes any change in prefs.js reloaded.
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#6
It should not be a solution but rather a workaround. You may define the mapping in /etc/hosts so that typing 'wiki' in MicroB will send you to correct intranet website:

(as root)
Code:
echo 192.168.1.10 wiki >> /etc/hosts
(192.168.1.10 is an example)

I'm not sure if this can be considered a bug anyway.
 
Posts: 117 | Thanked: 44 times | Joined on Dec 2009
#7
Originally Posted by gurpal2000 View Post
hmm.. comparing the /etc/resolv.conf with my Ubuntu Lucid desktop:

desktop dynamic setting:

Code:
domain local
search local
nameserver 192.168.0.200
n900:

Code:
nameserver 127.0.0.1

Is there a bug here ? i have the latest firmware/maemo5 as of now.

thanks
Its a bug allright.
--
Can you first add the nameserver which you see on the ubuntu machine to the n900's resolv.conf file and see if that works?
--
Have you tried running the script mentioned in the bug? You'll need to update the script to change the path to /var/run/resolv.conf.*
Run the script after you have connected to the network and verify that the resolv.conf file has been updated with entires for domain and search if your network has them.

Last edited by depu; 2010-05-27 at 07:33.
 
Posts: 117 | Thanked: 44 times | Joined on Dec 2009
#8
Originally Posted by 9000 View Post
It should not be a solution but rather a workaround. You may define the mapping in /etc/hosts so that typing 'wiki' in MicroB will send you to correct intranet website:

(as root)
Code:
echo 192.168.1.10 wiki >> /etc/hosts
(192.168.1.10 is an example)

I'm not sure if this can be considered a bug anyway.
Thats one way of handling, but you really cant expect to create a hosts entry for all the intranet servers.
The name resolution should have been handled by the resolv.conf file which apparently is not being updated correctly.
 
Posts: 57 | Thanked: 4 times | Joined on May 2010
#9
Originally Posted by 9000 View Post
It should not be a solution but rather a workaround. You may define the mapping in /etc/hosts so that typing 'wiki' in MicroB will send you to correct intranet website:

(as root)
Code:
echo 192.168.1.10 wiki >> /etc/hosts
(192.168.1.10 is an example)

I'm not sure if this can be considered a bug anyway.
@9000 Thanks for your help, i restarted but it still doesn't work.

I agree with this bug thing though (https://bugs.maemo.org/show_bug.cgi?id=7239 ??). Clearly the n900 is working differently to all my other devices on my home intranet my Nokia E71, 2 desktops, 2 laptops (linux and windows) are not displaying this behaviour.

I understand that the Internet profile for N900 would change when you say select 3G from your operator vs your own WiFi router settings. it should be able to switch seamlessly no ?

Last edited by gurpal2000; 2010-06-02 at 20:59.
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#10
Originally Posted by gurpal2000 View Post
Thanks for your help, i restarted but it still doesn't work.

I disagree with the bug thing though, clearly the n900 is working differently to all my other devices on my home intranet my Nokia E71, 2 desktops, 2 laptops (linux and windows) are not displaying this behaviour.

I understand that the Internet profile for N900 would change when you say select 3G from your operator vs your own WiFi router settings. it should be able to switch seamlessly no ?
N900 doesn't have the same user experience as others doesn't make it a bug. I'd have to speak like a Microsoft sales the behavior is a feature for convenience rather than a bug. You wants to do things differently, you need to tinker the configuration yourself. Besides, insisting it as a bug wouldn't help you, especially when it's not a bug reporting channel.

Please set aside the definition of a bug atm. You have yet to check whether the change you've made as been committed to prefs.js. If the change is committed to the prefs.js and you still get redirected to internet domain, you can look at somewhere else.

Also, while you're checking the about:config, may I ask whether you've tried other browser?

Last edited by 9000; 2010-05-27 at 07:48.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:54.