maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Annoying bug in MeeGo but triggered by NITDroid. (https://talk.maemo.org/showthread.php?t=84727)

bandora 2012-06-06 21:17

Annoying bug in MeeGo but triggered by NITDroid.
 
Hi all,

I am experiencing this really weird bug in MeeGo Harmattan 1.2 (on my N9) that I believe is triggered by installing NITDroid...

The problem is that my N9 connects to my home's wifi.. But _nothing_ actually connects to the internet (not even the xterminal)..

What makes this problem so odd.. Is that the _only_ wifi that doesn't work after installing NITDroid is my home's wifi.. It connects properly in every other wifi.

I've tried changing the encryption on my router and that didn't help.. I tried doing the three rm -rf's and that didn't work either.. I tried turning off wifi power saving mode via N9Tweak and that didn't work either...

I have also posted the same thread in nitdroid's forum located here: http://forum.nitdroid.com/index.php?topic=425.0

But I thought that since this problem only happens in MeeGo maybe someone here has an idea how to fix it.

Any help would be appreciated.

P.S.: The reason why I'm saying that this is triggered by NITDroid is because I reflashed my N9 (rootfs and eMMC) and my home's wifi worked with no problems what-so-ever... Then I reinstalled NITDroid aagain and the problem came back again.

bandora 2012-06-07 13:54

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
*BUMP*

Anyone? Help plz? :)

bandora 2012-06-08 17:39

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
Ok, I think the problem might be that MeeGo suddenly has a problem with gateways that has a 2 instead of 1??? As in 192.168.2.1 instead of 192.168.1.1

The reason why I'm saying that because my N9 won't connect to my router which has the gateway 192.168.2.1 that is connected to my wifi enabled modem.. But I enabled the wifi on my modem which has the gateway of 192.168.1.1 and that worked..

An9 2012-06-16 07:50

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
I encountered this problem with wi-fi router JoikuSpot on nokia n97mini where i was not able to see joikuspot, but on nitdroid it was okay.
There is bad wi-fi perception on n9...how to turn it on for long distances...sens there is dificult to connect to any router farther than 50m in distance...im very disapointed with this device...is there anuthing to do with product code settings that i have is 005?

nicolai 2012-07-01 20:17

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
Quote:

Originally Posted by bandora (Post 1219571)
Ok, I think the problem might be that MeeGo suddenly has a problem with gateways that has a 2 instead of 1??? As in 192.168.2.1 instead of 192.168.1.1

The reason why I'm saying that because my N9 won't connect to my router which has the gateway 192.168.2.1 that is connected to my wifi enabled modem.. But I enabled the wifi on my modem which has the gateway of 192.168.1.1 and that worked..

I had the same problem and solve it that way

/sbin/ifconfig usb0 down

(http://opensmartpad.org/forum/meego-...-nitdroid.html)

soryuuha 2012-07-02 02:30

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
which means NITdroid unexpectedly brings up usb0 int aka sdk mode

bandora 2012-07-02 04:08

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
This worked!! Do you have to do it after every reboot?

nicolai 2012-07-02 05:38

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
yes. there are two workarounds.
- change your home network
- edit /sbin/preinit to use a different network for usb0

bandora 2012-07-02 07:19

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
I will try to PM e-yes about this hopefully it will be fixed in alpha 4 of NITDroid.

nicolai 2012-07-02 07:40

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
Well, this isn't a bug. It is actually quite helpful otherwise
you can not use adb for nitdroid over usb.
The problem is, e-yes choose the same network address
that you use for your home network.
I let my home network address 192.168.2.1 and changed
the usb0 network to 192.168.3.15 in /sbin/preinit.
Now, I use adb connect 192.168.3.15:5039
for connecting nitdroid over usb

bandora 2012-07-04 18:39

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
And I only would have to change it once?

Also what's the command to change it to 192.168.3.1?

Thanks in advance nicolai!

nicolai 2012-07-04 23:51

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
just change the line
/sbin/ifconfig usb0 192.168.2.15 up
to
/sbin/ifconfig usb0 192.168.3.15 up

bandora 2012-07-05 02:41

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
Thanks nicolai.

afropanda 2012-08-31 14:43

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
Quote:

Originally Posted by nicolai (Post 1229890)
I had the same problem and solve it that way

/sbin/ifconfig usb0 down

(http://opensmartpad.org/forum/meego-...-nitdroid.html)

sir i tried this and it worked.but when i go to nitdroid and switched back to meego again, the problem shows again, and i need to enter that command again..any work arounds?

juiceme 2012-08-31 19:32

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
Quote:

Originally Posted by afropanda (Post 1258579)
sir i tried this and it worked.but when i go to nitdroid and switched back to meego again, the problem shows again, and i need to enter that command again..any work arounds?

Well permanent workaround is of course you should change your home wlan network to 192.168.200.0/24 or something ;)
Then you do not need to bother with the wlan settings in N9

afropanda 2012-09-01 03:39

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
how about the routers of other establishments?lol

juiceme 2012-09-01 10:15

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
I thought you had the problem only at your home network... :)
Well if you really need to get away from that, permanently, go and comment out the following three lines from your /sbin/preinit:

Code:

.....
modprobe g_ether
sleep 1
/sbin/ifconfig usb0 192.168.2.15 up
.....

But, BE CAREFUL when editing the file or you WILL BRICK your device. You have been warned. :D

afropanda 2012-09-01 12:12

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
what im trying to say is it has problems on routers that are 192.168.2

karthik.cak 2012-09-01 21:21

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
Hi I have changed it from /sbin/ifconfig usb0 192.168.2.15 up
to /sbin/ifconfig usb0 192.168.3.15 up in the preinit file. But im facing the problem still... any other solution?

juiceme 2012-09-01 21:41

Re: Annoying bug in MeeGo but triggered by NITDroid.
 
Oh? That is odd, can you tell me what does "/sbin/ifconfig -a" and "/sbin/route -n" show on your device, when the problem is active?


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

vBulletin® Version 3.8.8