Comment 4 for bug 624601

Revision history for this message
Connel Hooley (connelhooley) wrote :

Ok I ran git clone git://git.kernel.org/pub/scm/network/ofono/ofono.git to download the test scripts. I then ran the following but I got an error when running ./activate-context. I've also found that the network menu has stopped connecting on start-up sometimes. I will create a separate report.

connel@connel-laptop:~$ cd /home/connel/ofono/test/

connel@connel-laptop:~/ofono/test$ sudo /etc/init.d/connman stop
• Stopping Connection Manager [ OK ]

connel@connel-laptop:~/ofono/test$ ./list-modems
[ /isimodem0 ]
    Features = sim
    Powered = 1
    Interfaces = org.ofono.Phonebook org.ofono.SimManager org.ofono.VoiceCallManager
    Online = 0
    Model = Nokia N900
    Manufacturer = Nokia
    Serial = 356938032649155
    Revision = RX-51_10.2010.19.1
V 0.0.000
RX-51
(c) NOKIA
    [ org.ofono.Phonebook ]
    [ org.ofono.SimManager ]
        SubscriberNumbers =
        CardIdentifier = 8944110064559156744
        LockedPins =
        PinRequired = none
        SubscriberIdentity = 234105563494527
        Present = 1
    [ org.ofono.VoiceCallManager ]
        EmergencyNumbers = 119 118 999 110 08 000 911 112

connel@connel-laptop:~/ofono/test$ ./online-modem
Setting modem /isimodem0 online...

connel@connel-laptop:~/ofono/test$ ./create-context internet
Setting APN of /isimodem0/context1 to internet

connel@connel-laptop:~/ofono/test$ ./list-contexts
[ /isimodem0 ]
    [ /isimodem0/context1 ]
        Username =
        Protocol = ip
        Name = Internet
        Settings = { }
        Active = 0
        AccessPointName = internet
        Password =
        Type = internet

connel@connel-laptop:~/ofono/test$ ./activate-context
Error activating /isimodem0/context1: org.ofono.Error.Failed: Operation failed