Skip to content

Commit 18ec038

Browse files
vanyasembhush9
authored andcommitted
Fix usbnet typos (#94)
1 parent 837c44d commit 18ec038

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

porting/debug-build/usbnet.rst

+8-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,15 @@ You'll need them for the following commands::
1818
sudo iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
1919
sudo iptables -A FORWARD -i [USBNETWORK] -o [INTERNET] -j ACCEPT
2020

21-
Then, run the following command using your telnet connection on your phone::
21+
Then, run the following command as root on your phone:
2222

23-
route add default gw 192.168.2.1
23+
If you're in initrd debug (telnet)::
24+
25+
ip route add default gw 192.168.2.1
26+
27+
If you're in the real rootfs (ssh)::
28+
29+
ip route add default gw 10.15.19.100
2430

2531
Then try ``ping 8.8.8.8`` from the phone. The pings should go through.
2632

0 commit comments

Comments
 (0)