View Single Post
Posts: 183 | Thanked: 98 times | Joined on Mar 2011 @ Brisbane, Australia
#351
Originally Posted by juiceme View Post
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
just tried setting this, unfortunately still doesnt work. There is a typo with one of the uptables missing a u, which caused ubuntu to not have any network connection. My interfaces looks identical to yours now, but it still doesnt seem to be able to use the network connection.

I just downloaded the repository onto the Alt_Os partition, under /home/nemo/unfreeze. Tried creating a new repository that references that location, and edited all the files I could find that reference the website. I still keep getting:
Download (curl) error for 'http://releases.nemomobile.org/rnd/repos/mer-latest-devel/builds/armv7hl/packages/repodata/repomd.xml':. Which part of the repo files reference this location? If I can find this, then I could just replace that location to be /home/nemo/unfreeze/repodata/repomd.xml . I've been through home:sledge in the root directory, but doesn';t seem anything there.

tried batch installing all the rpm's via rpm -ivh *.rpm, but cockblocked by dependencies qt5core, qt5network, etc

edit: hallelujah. got it working. will upload modified repo soon with instructions. no need for a wifi or routing through usb connection
__________________
N900 | N9 - 64gb | www.EverythingN9.com - Nokia N9 Tips, Tricks, and Reviews

Last edited by Storm_11; 2013-12-05 at 10:19.
 

The Following User Says Thank You to Storm_11 For This Useful Post: