I would like to know the steps to connect to internet thru a Debian 9.4 PC.
ssh is working thru USB.
1- at PC side i set:
ifconfig enp0s19f2u2c2i2 192.168.100.2
ssh 192.168.100.1 password "fa" works.
my network is 192.168.1.0/24
my router: 192.168.1.1
should i set NAT at PC side ? how ?
2- at Nanopi side, what should i do ?
root@nanopi:/etc# uname -a
Linux nanopi 4.1.2-FriendlyARM #125 PREEMPT Wed Sep 9 10:59:46 CST 2015 armv5tejl GNU/Linux
route, gateway, /etc/resolv.conf ?
btw, is this sources.list OK ?
root@nanopi:/etc# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian jessie main non-free contrib
deb-src http://ftp.us.debian.org/debian jessie main non-free contrib
deb http://wiki.friendlyarm.com/debian jessie main
I appreciate any help.
thx.
ssh is working thru USB.
1- at PC side i set:
ifconfig enp0s19f2u2c2i2 192.168.100.2
ssh 192.168.100.1 password "fa" works.
my network is 192.168.1.0/24
my router: 192.168.1.1
should i set NAT at PC side ? how ?
2- at Nanopi side, what should i do ?
root@nanopi:/etc# uname -a
Linux nanopi 4.1.2-FriendlyARM #125 PREEMPT Wed Sep 9 10:59:46 CST 2015 armv5tejl GNU/Linux
route, gateway, /etc/resolv.conf ?
btw, is this sources.list OK ?
root@nanopi:/etc# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian jessie main non-free contrib
deb-src http://ftp.us.debian.org/debian jessie main non-free contrib
deb http://wiki.friendlyarm.com/debian jessie main
I appreciate any help.
thx.