maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Porting Sailfish to N9 (https://talk.maemo.org/showthread.php?t=90761)

Morpog 2013-12-04 23:10

Re: Porting Sailfish to N9 (or other)
 
that image is x11 still iirc.
Freezing bug solution is in nemo wiki.

join irc #nemomobile if you need help on networking to ssh into device, or read nemo wiki :D

Or even better, help sledges fixing the freezing bug.

Storm_11 2013-12-05 02:24

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by Morpog (Post 1392720)
that image is x11 still iirc.
Freezing bug solution is in nemo wiki.

freezing bug solution assumes you can connect to wifi to even grab the packages via wifi in the first instance. As mentioned, cant even establish a wifi connection, so even though i can ssh, i cant download the required packages via zypper...

traysh 2013-12-05 04:16

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by Storm_11 (Post 1392733)
freezing bug solution assumes you can connect to wifi to even grab the packages via wifi in the first instance. As mentioned, cant even establish a wifi connection, so even though i can ssh, i cant download the required packages via zypper...

I had this problem. I rebooted a few times and it worked, totally random. So I was able to install the fix.

flotron 2013-12-05 04:28

Re: Porting Sailfish to N9 (or other)
 
http://martinbrook.blogspot.co.uk/20...-been.html?m=1

traysh 2013-12-05 04:39

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by flotron (Post 1392742)

Very nice, is it working already?

flotron 2013-12-05 04:41

Re: Porting Sailfish to N9 (or other)
 
Dont know :S

flotron 2013-12-05 04:56

Re: Porting Sailfish to N9 (or other)
 
I really dont understand the procedure

traysh 2013-12-05 05:27

Re: Porting Sailfish to N9 (or other)
 
I followed this and managed to boot into Sailfish and ssh to the phone, but now I got a bluescreen. The only thing working is a 'peek' that tells me there are no notifications. Anyone knows how to fix this?

juiceme 2013-12-05 06:10

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by Storm_11 (Post 1392733)
freezing bug solution assumes you can connect to wifi to even grab the packages via wifi in the first instance. As mentioned, cant even establish a wifi connection, so even though i can ssh, i cant download the required packages via zypper...

You don't need WLAN for accessing repos, you can of course use the same USB connection that you are ssh'ing in from :)

Just set your PC as the default gateway for Nemo, and set up your PC to act as the nexthop router.

For example, I have this in my /etc/network/interfaces, but of course you can do stuff manually too:
auto usb0
iface usb0 inet static
address 192.168.2.14
netmask 255.255.255.0
up iptables -A FORWARD -o eth0 -i usb0 -s 192.168.2.0/24 -m conntrack --ctstate NEW -j ACCEPT
up ptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
up echo 1 > /proc/sys/net/ipv4/ip_forward
down iptables -F FORWARD
down iptables -F -t nat
down echo 0 > /proc/sys/net/ipv4/ip_forward

billranton 2013-12-05 09:16

Re: Porting Sailfish to N9 (or other)
 
Quote:

Originally Posted by Morpog (Post 1392720)
that image is x11 still iirc.
Freezing bug solution is in nemo wiki.

join irc #nemomobile if you need help on networking to ssh into device, or read nemo wiki :D

Or even better, help sledges fixing the freezing bug.

Thanks! That helped me get to the bottom of why I couldn't get a screen after reboot. A little too much upgrading. Luckily the first time I tried booting with the later image I was unfrozen.

I'm trying to do this on Windows 8 here, and the network sharing isn't what it used to be, so I'm not sure it'll be possible. I haven't got desperate enough to look into it yet though.

For other people wading through this on Windows, you won't get the Alt_OS partition mounted, so you'll need to mount that from ubiboot's telnet prompt. If you put the Nemo image on your eMMC, you can mount that and untar directly on the phone. I found the best driver for the USB Networking was the same one the Nemo SDK uses, the Acer "USB Ethernet/RNDIS Gadget", though both that and the MS one intermittently cause bluescreens on reconnection, so uninstall them after you're done each time.


All times are GMT. The time now is 23:37.

vBulletin® Version 3.8.8