maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 7 / Leste (https://talk.maemo.org/forumdisplay.php?f=66)
-   -   2G/3G data with Ofono (https://talk.maemo.org/showthread.php?t=101351)

teroyk 2022-08-05 13:01

2G/3G data with Ofono
 
Leste wiki says that 2G/3G data works with ofono, but I feel myself stupid...I did not find anything ralated to ofono from boot image.

teroyk 2022-08-11 09:19

Re: 2G/3G data with Ofono
 
Should ofono be in SD-image? Hard to use App Manager if cannot go 2G/3G net.

teroyk 2022-08-12 10:06

Re: 2G/3G data with Ofono
 
Actually..boot image has ofono . You can check it terminal command:
dpkg -l ofono
But what next to get connected to net?

teroyk 2022-08-16 10:36

Re: 2G/3G data with Ofono
 
...and I don't think that this 12 years old ofono hints help at all to get connected to net with Leste:
https://wiki.maemo.org/User:Jebba/Ofono
so any help would be helpfull.

Maemish 2022-08-16 22:03

Re: 2G/3G data with Ofono
 
You could ask in their iirc channel

teroyk 2022-08-18 11:50

Re: 2G/3G data with Ofono
 
Quote:

Originally Posted by Maemish (Post 1574538)
You could ask in their iirc channel

Yes, but I think this is so basic stuff that would be good, that somebody write something here (or is this the best forum for Maemo?) or better to Leste wiki.

Maemish 2022-08-18 19:10

Re: 2G/3G data with Ofono
 
Yes but Leste is still not published ready for everyday use so I believe you could get answers there.

Wizzup_ 2022-08-18 22:40

Re: 2G/3G data with Ofono
 
Getting 2G/3G working is not well documented and requires enabling the -devel repos.

With the current code and known bugs, you will have to (from memory):

1. enable the -devel repos, apt-get update && apt-get upgrade
2. install hildon-connectivity-mobile
3. restart the phone, wait for 1-2 minutes depending on the phone
4. 'sudo service ofono restart'
5. If your sim has a pin, run "startup-pin-query" as user, fill in the pin
6. run 'sudo service icd2 restart' just to be sure
7. Then touch the status bar, go to internet connections. >>this will currently online your modem<<
8. Wait for the modem to go online, and then if you search for connections again, your data connection should be provisioned.
9. Select the data connection, and it will fail instantly -- but it doesn't actually fail. (this is a known bug and I will fix it next week)
10. Wait 10 seconds and try again, then it should work

Steps 4 - 10 you will have to repeat every time you boot the phone. after that, only 9-10 should be required.

If all of this seems like too much work -- you're right, it is. There's a combination of problems:

1. ofono on the d4 is a bit buggy still - which causes several problems
2. libicd-network-ofono doesn't wait for the connection context to become active, it assumes the call is blocking, which it is not (I know how to fix this)
3. nothing currently is responsible for making the modem online, icd2 does it currently when the user searches for networks, which is not the right place, but it's a start

Nevertheless, I do this all the time, and it's slowly getting easier, more reliable, and less work.

teroyk 2022-08-19 09:04

Re: 2G/3G data with Ofono
 
Quote:

Originally Posted by Wizzup_ (Post 1574547)
Getting 2G/3G working is not well documented and requires enabling the -devel repos.
1. enable the -devel repos, apt-get update && apt-get upgrade
2. install hildon-connectivity-mobile

So needing internet connection another than 2G/3G before you can go internet with it?

EDIT: So that made me start new thread about ethernet connection: https://talk.maemo.org/showthread.php?p=1574550

Wizzup_ 2022-08-19 16:21

Re: 2G/3G data with Ofono
 
Quote:

Originally Posted by teroyk (Post 1574549)
So needing internet connection another than 2G/3G before you can go internet with it?

EDIT: So that made me start new thread about ethernet connection: https://talk.maemo.org/showthread.php?p=1574550

Yes, even on the -devel images currently since they don't install all the cellular packages at the moment. The only reason for the packages not being in the default images is because they're not stable (enough) yet.


All times are GMT. The time now is 11:49.

vBulletin® Version 3.8.8