![]() |
2017-07-27
, 16:03
|
Posts: 701 |
Thanked: 1,984 times |
Joined on Jun 2015
@ Lisbon - Portugal
|
#51
|
The Following User Says Thank You to deutch1976 For This Useful Post: | ||
![]() |
2017-07-27
, 16:31
|
Posts: 1,336 |
Thanked: 3,932 times |
Joined on Jul 2010
@ Brittany, France
|
#52
|
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)?
/ # 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
sudo sysctl net.ipv4.ip_forward=1 sudo iptables -t nat -A POSTROUTING -o wlp2s0 -j MASQUERADE
The Following User Says Thank You to Kabouik For This Useful Post: | ||
![]() |
2017-07-27
, 18:05
|
Posts: 1,297 |
Thanked: 4,322 times |
Joined on Oct 2014
|
#53
|
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:
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:/ # 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
But somehow, something is still perventing it to share internet to the Jolla C, or the Jolla C to pick up.Code:sudo sysctl net.ipv4.ip_forward=1 sudo iptables -t nat -A POSTROUTING -o wlp2s0 -j MASQUERADE
[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.
The Following 2 Users Say Thank You to nieldk For This Useful Post: | ||
![]() |
2017-07-27
, 18:25
|
|
Community Council |
Posts: 1,669 |
Thanked: 10,227 times |
Joined on Nov 2014
@ Lower Rhine
|
#54
|
The Following 2 Users Say Thank You to mosen For This Useful Post: | ||
![]() |
2017-07-27
, 18:52
|
Posts: 816 |
Thanked: 1,594 times |
Joined on Aug 2014
|
#55
|
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 2 Users Say Thank You to aspergerguy For This Useful Post: | ||
![]() |
2017-07-27
, 19:01
|
Posts: 1,336 |
Thanked: 3,932 times |
Joined on Jul 2010
@ Brittany, France
|
#56
|
The Following 3 Users Say Thank You to Kabouik For This Useful Post: | ||
![]() |
2017-07-27
, 20:40
|
Posts: 229 |
Thanked: 725 times |
Joined on Sep 2010
@ Permanent cruiser - either water- or motorways
|
#57
|
The Following User Says Thank You to elastic For This Useful Post: | ||
![]() |
2017-07-27
, 21:39
|
Posts: 1,336 |
Thanked: 3,932 times |
Joined on Jul 2010
@ Brittany, France
|
#58
|
The Following User Says Thank You to Kabouik For This Useful Post: | ||
![]() |
2017-07-28
, 04:06
|
Posts: 509 |
Thanked: 626 times |
Joined on Jul 2012
@ Mexico/Germany
|
#59
|
The Following User Says Thank You to chilango For This Useful Post: | ||
![]() |
2017-07-28
, 06:13
|
Posts: 1,297 |
Thanked: 4,322 times |
Joined on Oct 2014
|
#60
|
The Following 3 Users Say Thank You to nieldk For This Useful Post: | ||