Reply
Thread Tools
Posts: 697 | Thanked: 1,980 times | Joined on Jun 2015 @ Lisbon - Portugal
#51
Is it already possible, after a phone flash, to update directly to 2.1.1 or do we still have to update one by one? Thanks
 

The Following User Says Thank You to deutch1976 For This Useful Post:
Posts: 1,335 | Thanked: 3,931 times | Joined on Jul 2010 @ Brittany, France
#52
Originally Posted by ejjoman View Post
Can you ping your computer from your recovery shell? Can you try to ping the IP of some public service, like the Google DNS (8.8.8.8)?
No, I get "permission denied" when trying to ping an IP, and unknown host when pinging a url. This is from chroot, but ping works better when ran out of chroot (just going into Recovery shell and using ping immediately without the mount points and the chroot), I mean I don't get permission issues, but there is still no internet access.

Here is an output of what I get when trying to follow the guide on TJC:

Code:
/ # mkdir /mnt/rootfs
 
/ # mount /dev/mapper/sailfish-root /mnt/rootfs
 
/ # chroot /mnt/rootfs
 
bash-3.2# mount /proc
 
bash-3.2# mount /sys
 
bash-3.2# mount /dev/pts
 
bash-3.2# echo "nameserver 8.8.8.8" >> /etc/resolv.conf
 
bash-3.2# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.42.66.64     *               255.255.255.248 U     0      0        0 rndis0
192.168.2.0     *               255.255.255.0   U     0      0        0 rndis0
 
bash-3.2# route add default gw 10.42.66.67
 
bash-3.2# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.42.66.67     0.0.0.0         UG    0      0        0 rndis0
10.42.66.64     *               255.255.255.248 U     0      0        0 rndis0
192.168.2.0     *               255.255.255.0   U     0      0        0 rndis0
 
bash-3.2# su
 
[root@(none) /]# ip -4 addr
3: rndis0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    inet 10.42.66.66/29 brd 10.42.66.255 scope global rndis0
       valid_lft forever preferred_lft forever
    inet 192.168.2.15/24 brd 192.168.2.255 scope global rndis0:0
       valid_lft forever preferred_lft forever
 
[root@(none) /]# ip route
default via 10.42.66.67 dev rndis0 
10.42.66.64/29 dev rndis0  proto kernel  scope link  src 10.42.66.66 
192.168.2.0/24 dev rndis0  proto kernel  scope link  src 192.168.2.15
 
[root@(none) /]# tracepath -n 8.8.8.8
 1:  send failed
     Resume: pmtu 65535
 
[root@(none) /]# ping -c 5 google.com
ping: unknown host google.com

[root@(none) /]# exit
exit

bash-3.2# ifconfig
rndis0    Link encap:Ethernet  HWaddr B6:23:76:8C:DC:63  
          inet addr:10.42.66.66  Bcast:10.42.66.255  Mask:255.255.255.248
          inet6 addr: fe80::b423:76ff:fe8c:dc63/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1188 errors:0 dropped:0 overruns:0 frame:0
          TX packets:505 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:91017 (88.8 KiB)  TX bytes:60383 (58.9 KiB)

rndis0:0  Link encap:Ethernet  HWaddr B6:23:76:8C:DC:63  
          inet addr:192.168.2.15  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
The computer can ping the Jolla C at 10.42.66.66, and I have run this from it and it returned no error:
Code:
sudo sysctl net.ipv4.ip_forward=1 
sudo iptables -t nat -A POSTROUTING -o wlp2s0 -j MASQUERADE
But somehow, something is still perventing it to share internet to the Jolla C, or the Jolla C to pick up.

[Edit] Finally reset to factory state, I love my original Jolla and I largely prefer it over my Jolla C for its form factor actually so it was nice to reuse it in the meantime. However, there is an Android application requiring 4.4.4 that I need to run, and I can't on the Jolla due to its older version of Aliendalvik. So fixing the Jolla C could not wait.

Last edited by Kabouik; 2017-07-27 at 19:00.
 

The Following User Says Thank You to Kabouik For This Useful Post:
Posts: 1,289 | Thanked: 4,318 times | Joined on Oct 2014
#53
Originally Posted by Kabouik View Post
No, I get "permission denied" when trying to ping an IP, and unknown host when pinging a url. This is from chroot, but ping works better when ran out of chroot (just going into Recovery shell and using ping immediately without the mount points and the chroot), I mean I don't get permission issues, but there is still no internet access.

Here is an output of what I get when trying to follow the guide on TJC:

Code:
/ # mkdir /mnt/rootfs
 
/ # mount /dev/mapper/sailfish-root /mnt/rootfs
 
/ # chroot /mnt/rootfs
 
bash-3.2# mount /proc
 
bash-3.2# mount /sys
 
bash-3.2# mount /dev/pts
 
bash-3.2# echo "nameserver 8.8.8.8" >> /etc/resolv.conf
 
bash-3.2# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.42.66.64     *               255.255.255.248 U     0      0        0 rndis0
192.168.2.0     *               255.255.255.0   U     0      0        0 rndis0
 
bash-3.2# route add default gw 10.42.66.67
 
bash-3.2# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.42.66.67     0.0.0.0         UG    0      0        0 rndis0
10.42.66.64     *               255.255.255.248 U     0      0        0 rndis0
192.168.2.0     *               255.255.255.0   U     0      0        0 rndis0
 
bash-3.2# su
 
[root@(none) /]# ip -4 addr
3: rndis0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    inet 10.42.66.66/29 brd 10.42.66.255 scope global rndis0
       valid_lft forever preferred_lft forever
    inet 192.168.2.15/24 brd 192.168.2.255 scope global rndis0:0
       valid_lft forever preferred_lft forever
 
[root@(none) /]# ip route
default via 10.42.66.67 dev rndis0 
10.42.66.64/29 dev rndis0  proto kernel  scope link  src 10.42.66.66 
192.168.2.0/24 dev rndis0  proto kernel  scope link  src 192.168.2.15
 
[root@(none) /]# tracepath -n 8.8.8.8
 1:  send failed
     Resume: pmtu 65535
 
[root@(none) /]# ping -c 5 google.com
ping: unknown host google.com

[root@(none) /]# exit
exit

bash-3.2# ifconfig
rndis0    Link encap:Ethernet  HWaddr B6:23:76:8C:DC:63  
          inet addr:10.42.66.66  Bcast:10.42.66.255  Mask:255.255.255.248
          inet6 addr: fe80::b423:76ff:fe8c:dc63/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1188 errors:0 dropped:0 overruns:0 frame:0
          TX packets:505 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:91017 (88.8 KiB)  TX bytes:60383 (58.9 KiB)

rndis0:0  Link encap:Ethernet  HWaddr B6:23:76:8C:DC:63  
          inet addr:192.168.2.15  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
The computer can ping the Jolla C at 10.42.66.66, and I have run this from it and it returned no error:
Code:
sudo sysctl net.ipv4.ip_forward=1 
sudo iptables -t nat -A POSTROUTING -o wlp2s0 -j MASQUERADE
But somehow, something is still perventing it to share internet to the Jolla C, or the Jolla C to pick up.

[Edit] Finally reset to factory state, I love my original Jolla and I largely prefer it over my Jolla C for its form factor actually, but there is an Androdi application that requires 4.4.4 that I need to run and I can't on the Jolla due to its older version of Aliendalvik.
Is wlp2s0 your internet device on your computer?
Not wlan0?
 

The Following 2 Users Say Thank You to nieldk For This Useful Post:
mosen's Avatar
Community Council | Posts: 1,669 | Thanked: 10,225 times | Joined on Nov 2014 @ Lower Rhine
#54
Originally Posted by nieldk View Post
Is wlp2s0 your internet device on your computer?
Not wlan0?
I guess he is either using Arch or some systemd naming policy in an other distro.
 

The Following 2 Users Say Thank You to mosen For This Useful Post:
Posts: 803 | Thanked: 1,585 times | Joined on Aug 2014
#55
Originally Posted by deutch1976 View Post
Is it already possible, after a phone flash, to update directly to 2.1.1 or do we still have to update one by one? Thanks
Presumably referring to AquaFish rather than Jolla 1 otherwise you would have your work cut out: https://jolla.zendesk.com/hc/en-us/articles/201836347

Which version are you offered under "Sailfish OS Updates"?
 

The Following 2 Users Say Thank You to aspergerguy For This Useful Post:
Posts: 1,335 | Thanked: 3,931 times | Joined on Jul 2010 @ Brittany, France
#56
Yes, wlp2s0 would be the equivalent of wlan0 on my distribution (Solus).
 

The Following 3 Users Say Thank You to Kabouik For This Useful Post:
Posts: 229 | Thanked: 725 times | Joined on Sep 2010 @ Permanent cruiser - either water- or motorways
#57
Grmblfx - Update bricked my Jolla1 - recovery mode, reset - currently downloading update to 1.1.2.16 - is there any shortcut or do I have to go version by version again ... - btw Sailfish 1.x hat a quite simple and intuitive user interface compared to 2.x - already forgot that ...
 

The Following User Says Thank You to elastic For This Useful Post:
Posts: 1,335 | Thanked: 3,931 times | Joined on Jul 2010 @ Brittany, France
#58
So after factory reset, my Jolla C is back to 2.0.2.43, and readily sees the 2.1.1.23 update (I thought there would be intermediate updates). However, it can't seem to download the update. I've tried more than 8 or 10 times now, I initiated the download with the pulley menu and wait for tens of minutes while the Jolla is busy trying to download (pulley is deactivated), but at some point the phone stopped trying and I can use the pulley menu again to download. There is no download progress visible in the update banner. I'm on wifi with a pretty good internet connexion.

Also, restoring a backup made before I bricked my device two days ago fails.
 

The Following User Says Thank You to Kabouik For This Useful Post:
Posts: 509 | Thanked: 626 times | Joined on Jul 2012 @ Mexico/Germany
#59
Originally Posted by elastic View Post
Sailfish 1.x hat a quite simple and intuitive user interface compared to 2.x - already forgot that ...
i completely agree with you in that
 

The Following User Says Thank You to chilango For This Useful Post:
Posts: 1,289 | Thanked: 4,318 times | Joined on Oct 2014
#60
Jolla1 updated without issues, remotely using SSH and Even my repo (merproject, not ooenrepos) enabled. Obviously commandline update.
 

The Following 3 Users Say Thank You to nieldk For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 02:58.