Comment 3 for bug 624601

Revision history for this message
Kalle Valo (kvalo) wrote : Re: [Bug 624601] Re: I cannot use my Nokia N900 as a 3G modem using the Network Menu

Connel Hooley <email address hidden> writes:

> I am currently using ofono version 0.26-0ubuntu0~ind2+r3200+201008260449
> (updated to this earlier this morning).

Ok, so connman won't work with this version of ofono due to bug #624643,
but we knew this already.

> I'm sorry but I will need instructions on how to use ofono manually to
> confirm that the bug is fixed in ofono if that is ok.

Here are the instructions, there might mistakes but I hope you get the
general idea:

1. Get the necessary test scripts from the ofono git. Either use 'git
   clone git://git.kernel.org/pub/scm/network/ofono/ofono.git' or
   download the manually here (using the raw link in the page):

http://git.kernel.org/?p=network/ofono/ofono.git;a=tree;f=test;h=155d6e80d56850918b222d62dc549976cc81f099;hb=HEAD

2. Better to disable connman during this test so that we have full
   control of ofono:

sudo /etc/init.d/connman stop

3. Plugin N900 and enable PC Suite mode

4. Run ./list-modem to see that ofono has detected N900.

5. N900 should be in offline mode and you should see "Online = 0" in the
   output. Put the modem to online:

./online-modem

6. Check that the modem is in online state ("Online = 1"):

./list-modem

7. Find out your APN name for your 3G network. For example, my Elisa
   operator in Finland with my dataplan uses 'internet' as the APN name.
   The xml file in mobile-broadband-provider-info package might help
   you.

8. Create gprs context. Replace myapnname with the correct APN, for
   example I used internet:

./create-context myapnname

9. Then check that you see the context with the apn name:

./list-context

10. Then activate the context:

./activate-context

11. And then you should see an active context with IP address, interface
gprs0 etc:

./list-context

Actually now you can use the connection. You just need to manually set
all IP settings provided by ofono. For example, you can use ip or
ifconfig commands to set them.

> I will also create a separate report about the notification I'm getting
> when I plug in my Nokia N900.

Thanks.

> Thanks your help once again :)

No, thank you for your efforts! :) I appreaciate this a lot, this is
very valuable.

--
Kalle Valo