anyone know how to connect to internet through a given interface.
by SegFault1 from LinuxQuestions.org on (#566W0)
Code:~ $ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether d0:bf:9c:9d:41:46 brd ff:ff:ff:ff:ff:ff
3: wwp0s20u2: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 2e:ec:91:fa:ed:46 brd ff:ff:ff:ff:ff:ff
5: enp0s20u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 3a:92:c2:e9:cd:77 brd ff:ff:ff:ff:ff:ffI want to connect through the interface "wwp0s20u2", so I type
Code:ip link set dev wwp0s20u2 upand then nothing happens. I am still not connected to the internet. How to fix?


1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether d0:bf:9c:9d:41:46 brd ff:ff:ff:ff:ff:ff
3: wwp0s20u2: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 2e:ec:91:fa:ed:46 brd ff:ff:ff:ff:ff:ff
5: enp0s20u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 3a:92:c2:e9:cd:77 brd ff:ff:ff:ff:ff:ffI want to connect through the interface "wwp0s20u2", so I type
Code:ip link set dev wwp0s20u2 upand then nothing happens. I am still not connected to the internet. How to fix?