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
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