We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2014-01-25 16:05:32 +0200 |
Hey !
For some reason (3G stops working after reboot), I'd like to try to turn on a network from the terminal.
I've been able to turn the interface on, but I haven't been able to get an IP. This is where I am now:
$ devel-su
Password:
$ ifconfig rmnet0 up
$ # Looking for an ip here ?
I've found someone doing something similar on Android: http://stackoverflow.com/questions/11326645/use-ifconfig-to-turn-on-network-in-android-but-it-doesnt-work He solved this problem by using netcfg, which isn't what Jolla uses (neither that or netctl for that matter).
Does someone knows what I should use ?
2 | No.2 Revision |
Hey !
For some reason (3G stops working after reboot), I'd like to try to turn on a network from the terminal.
I've been able to turn the interface on, but I haven't been able to get an IP. This is where I am now:
$ devel-su
Password:
$ ifconfig rmnet0 up
$ # Looking for an ip here ?
I've found someone doing something similar on Android:
http://stackoverflow.com/questions/11326645/use-ifconfig-to-turn-on-network-in-android-but-it-doesnt-work
http://stackoverflow.com/questions/11326645/use-ifconfig-to-turn-on-network-in-android-but-it-doesnt-work.
He solved this problem by using netcfg, which isn't what Jolla uses (neither that or netctl for that matter).
Does someone knows know what I should use ?
3 | No.3 Revision |
Hey !
For some reason (3G stops working after reboot), I'd like to try to turn on a network from the terminal.
I've been able to turn the interface on, but I haven't been able to get an IP. This is where I am now:
$ devel-su
Password:
$ ifconfig rmnet0 up
$ # Looking for an ip here ?
I've found someone doing something similar on Android: http://stackoverflow.com/questions/11326645/use-ifconfig-to-turn-on-network-in-android-but-it-doesnt-work. He solved this problem by using netcfg, which isn't what Jolla uses (neither that or netctl for that matter).
Does someone know what I should use ?
EDIT: I found out about connman. I haven't found a lot of documentation about how to interact with connman from the cli, and this seemed like the only thing I could do:
$ connmand -i rmnet0 -d -n
Name already in use
I'm almost certain connman is the guy handling this, but I'm starting to think maybe connmand isn't the command I need.
4 | No.4 Revision |
Hey !
For some reason (3G stops working after reboot), I'd like to try to turn on a network from the terminal.
I've been able to turn the interface on, but I haven't been able to get an IP. This is where I am now:
$ devel-su
Password:
$ ifconfig rmnet0 up
$ # Looking for an ip here ?
I've found someone doing something similar on Android: http://stackoverflow.com/questions/11326645/use-ifconfig-to-turn-on-network-in-android-but-it-doesnt-work. He solved this problem by using netcfg, which isn't what Jolla uses (neither that or netctl for that matter).
Does someone know what I should use ?
EDIT: I found out about connman. I haven't found a lot of documentation about how to interact with connman from the cli, and this seemed like the only thing I could do:
$ connmand -i rmnet0 -d -n
Name already in use
I'm almost certain connman is the guy handling this, but I'm starting to think maybe connmand isn't the command I need.need.
I installed the connman-test package, which I figured is probably the one containing the tools I seek. But I haven't been able to set up any connexion with the commands the package provides.