1
00:00:06,750 --> 00:00:08,867
- [Instructor] Hey, let's
discuss and demonstrate

2
00:00:08,867 --> 00:00:10,650
USB tethering.

3
00:00:10,650 --> 00:00:12,663
I'll wake up this phone here,

4
00:00:15,900 --> 00:00:17,010
bring it down here.

5
00:00:17,010 --> 00:00:19,420
Go to do not disturb mode

6
00:00:21,600 --> 00:00:23,040
so that we won't get disturbed

7
00:00:23,040 --> 00:00:25,830
with any of the millions of
notifications that come in.

8
00:00:25,830 --> 00:00:28,290
And so I wanna talk about USB tethering.

9
00:00:28,290 --> 00:00:31,140
That's when a mobile device like this

10
00:00:31,140 --> 00:00:34,770
is connected to a desktop
or a laptop computer

11
00:00:34,770 --> 00:00:37,263
via a USB connection.

12
00:00:39,270 --> 00:00:41,610
That other desktop or laptop,

13
00:00:41,610 --> 00:00:45,000
which is running windows or Mac OS

14
00:00:45,000 --> 00:00:49,893
can then share the phone's
mobile internet connection.

15
00:00:50,910 --> 00:00:52,710
As with mobile hotspots,

16
00:00:52,710 --> 00:00:55,680
enabling this will automatically disable

17
00:00:55,680 --> 00:00:58,860
the mobile device's WiFi connection.

18
00:00:58,860 --> 00:01:00,810
And so why might you wanna use this?

19
00:01:00,810 --> 00:01:03,420
Well, first of all, it
works good in a pinch

20
00:01:03,420 --> 00:01:06,870
if you don't have a connection
for your laptop or your PC.

21
00:01:06,870 --> 00:01:11,430
So let's say the WiFi
fails on a PC or laptop,

22
00:01:11,430 --> 00:01:15,990
or there's some type of issue
with the network connection,

23
00:01:15,990 --> 00:01:19,530
then you could connect
via USB directly to this

24
00:01:19,530 --> 00:01:22,260
and use that as a backup

25
00:01:22,260 --> 00:01:24,570
or just as a means of connecting a laptop

26
00:01:24,570 --> 00:01:27,120
if you're on the road and
there's no access to WiFi

27
00:01:28,050 --> 00:01:31,470
or to a wired networking connection.

28
00:01:31,470 --> 00:01:33,870
So to make this work,

29
00:01:33,870 --> 00:01:36,150
what we do is we go to our Settings,

30
00:01:36,150 --> 00:01:40,200
and then go to Network,
and go to Tethering.

31
00:01:40,200 --> 00:01:45,200
And this is also where the
Mobile HotSpot is located.

32
00:01:45,480 --> 00:01:47,680
And then you wanna connect your device

33
00:01:48,540 --> 00:01:52,260
to your PC or your laptop via USB.

34
00:01:52,260 --> 00:01:55,560
So I've connected the other
end to my desktop computer

35
00:01:55,560 --> 00:01:58,053
and connect this end here now.

36
00:02:00,540 --> 00:02:02,190
And once we do that,

37
00:02:02,190 --> 00:02:05,430
we get the option to
actually do USB tethering.

38
00:02:05,430 --> 00:02:08,640
Before it was grayed out,
it was disabled altogether.

39
00:02:08,640 --> 00:02:09,990
It doesn't become enabled

40
00:02:09,990 --> 00:02:12,333
until you actually connect that cable.

41
00:02:13,410 --> 00:02:17,040
Now, let's take a look at
the PC side for a second,

42
00:02:17,040 --> 00:02:18,813
and I'm on the computer.

43
00:02:21,660 --> 00:02:23,340
And we have two networking connections.

44
00:02:23,340 --> 00:02:26,730
Now, this is a desktop
computer, my main workstation,

45
00:02:26,730 --> 00:02:30,000
and it has two wired connections.

46
00:02:30,000 --> 00:02:32,730
It does not have a WiFi connection.

47
00:02:32,730 --> 00:02:35,190
I don't have any space
inside the system for that,

48
00:02:35,190 --> 00:02:36,750
but I have connections to two networks,

49
00:02:36,750 --> 00:02:39,930
main-network and dpro42.

50
00:02:39,930 --> 00:02:42,690
And we can go to the change
adapter settings screen

51
00:02:42,690 --> 00:02:44,130
to see those.

52
00:02:44,130 --> 00:02:47,910
The screens are blue, so we
know that they are active,

53
00:02:47,910 --> 00:02:51,420
but let's say we lost
our internet connection.

54
00:02:51,420 --> 00:02:53,730
And for example, this kind of thing

55
00:02:53,730 --> 00:02:56,340
can work great as a backup
for somebody like me

56
00:02:56,340 --> 00:02:57,570
when I'm running webinars

57
00:02:57,570 --> 00:03:00,330
and everything runs through
the internet connection.

58
00:03:00,330 --> 00:03:02,880
Well, let's take a look
in the command prompt.

59
00:03:02,880 --> 00:03:05,100
I'm gonna do an ipconfig

60
00:03:05,100 --> 00:03:08,280
and take a look at my
networking connections.

61
00:03:08,280 --> 00:03:10,080
I like to show these things in the GUI

62
00:03:10,080 --> 00:03:11,370
and in the command line.

63
00:03:11,370 --> 00:03:13,350
So here's main-network,

64
00:03:13,350 --> 00:03:16,470
the main ethernet adapter,
that's the wired connection.

65
00:03:16,470 --> 00:03:21,470
It connects on the 192.168.41 network.

66
00:03:22,860 --> 00:03:25,470
And then we have the dpro 42.

67
00:03:25,470 --> 00:03:28,500
That's on the 10.252 network.

68
00:03:28,500 --> 00:03:30,270
So two different network connections.

69
00:03:30,270 --> 00:03:31,740
And one of the reasons I have that

70
00:03:31,740 --> 00:03:34,050
is so I can connect to a test network

71
00:03:34,050 --> 00:03:35,910
and also for a secondary
internet connection,

72
00:03:35,910 --> 00:03:39,123
but the idea here is that the
internet connections fail.

73
00:03:40,200 --> 00:03:42,840
So let's go back to our
network connections,

74
00:03:42,840 --> 00:03:46,260
and to simulate that I'm
going to disable these.

75
00:03:46,260 --> 00:03:48,870
Right click and disable each of them

76
00:03:48,870 --> 00:03:51,720
so they're grayed out, okay?

77
00:03:51,720 --> 00:03:55,290
I have just lost connectivity
to a whole ton of stuff.

78
00:03:55,290 --> 00:03:56,340
So these are grayed out.

79
00:03:56,340 --> 00:03:58,420
If we go back to the command prompt

80
00:03:59,580 --> 00:04:04,080
and do another ipconfig and take a look,

81
00:04:04,080 --> 00:04:05,610
we will have nothing.

82
00:04:05,610 --> 00:04:07,350
Now, we have a lot of virtual connections.

83
00:04:07,350 --> 00:04:10,230
We've got VirtualBox,
VMware, that kind of thing,

84
00:04:10,230 --> 00:04:12,480
but without those wired
network connections,

85
00:04:12,480 --> 00:04:14,553
we really can't do anything.

86
00:04:15,390 --> 00:04:17,070
And so, for example,
let's say I want to go

87
00:04:17,070 --> 00:04:18,363
to another page,

88
00:04:23,490 --> 00:04:25,890
and let's say I wanted
to go to D Pro Computer.

89
00:04:25,890 --> 00:04:27,960
It'll say no internet cannot connect.

90
00:04:27,960 --> 00:04:30,600
So we have proven this
computer cannot connect.

91
00:04:30,600 --> 00:04:34,470
Now we wanna go and check
out the backup option

92
00:04:34,470 --> 00:04:36,780
so that we can connect.

93
00:04:36,780 --> 00:04:41,013
And so we'll go back to our
phone here, our smartphone.

94
00:04:42,060 --> 00:04:44,100
We've already connected the cable.

95
00:04:44,100 --> 00:04:47,580
So now we'll go ahead
and tap on USB tethering.

96
00:04:47,580 --> 00:04:50,010
Just tap on it to turn it on.

97
00:04:50,010 --> 00:04:52,500
And in most cases, that's
all you have to do.

98
00:04:52,500 --> 00:04:56,220
Now, it tells you WiFi is
turned off automatically

99
00:04:56,220 --> 00:05:01,170
when you turn on mobile
hotspots or USB tethering.

100
00:05:01,170 --> 00:05:03,210
So WiFi gets turned off automatically.

101
00:05:03,210 --> 00:05:08,210
So I'll just OK that and cancel
out of the learning option.

102
00:05:08,370 --> 00:05:12,540
And now we see that it is
blue, so it is enabled.

103
00:05:12,540 --> 00:05:13,950
And that's really all you have to do.

104
00:05:13,950 --> 00:05:16,080
Now, in some cases on older devices,

105
00:05:16,080 --> 00:05:18,450
you'd have to do a little
bit more configuration.

106
00:05:18,450 --> 00:05:22,230
And on older operating
systems on a PC or the laptop,

107
00:05:22,230 --> 00:05:24,300
you'd have to install a driver

108
00:05:24,300 --> 00:05:25,830
or something special like that,

109
00:05:25,830 --> 00:05:28,830
but in most cases now,
you don't have to do that.

110
00:05:28,830 --> 00:05:32,340
Let's go back to the computer.

111
00:05:32,340 --> 00:05:34,470
And I didn't do anything on this desktop.

112
00:05:34,470 --> 00:05:35,910
I'm doing this in real time.

113
00:05:35,910 --> 00:05:38,040
And if we refresh,

114
00:05:38,040 --> 00:05:42,213
it'll go right to the page that you want.

115
00:05:44,460 --> 00:05:45,990
Internet access will start to work.

116
00:05:45,990 --> 00:05:49,500
Here's my A+ Study Page
from the 900 series.

117
00:05:49,500 --> 00:05:50,610
And so a little bit slower

118
00:05:50,610 --> 00:05:54,518
than the regular internet
connection, but it works.

119
00:05:54,518 --> 00:05:57,063
23,000 visits to this page.

120
00:05:59,010 --> 00:06:00,780
So that is functioning

121
00:06:00,780 --> 00:06:02,250
and it worked right off the bat.

122
00:06:02,250 --> 00:06:05,460
But again, sometimes you'd
have to go and install

123
00:06:05,460 --> 00:06:07,260
some type of driver

124
00:06:07,260 --> 00:06:10,290
or something for an
older operating system.

125
00:06:10,290 --> 00:06:13,113
Today's systems should
see it automatically.

126
00:06:15,120 --> 00:06:17,490
And if we take a look at our
network connection screen,

127
00:06:17,490 --> 00:06:20,430
well, our main wired connections,
they're still disabled,

128
00:06:20,430 --> 00:06:23,223
but now we have this, Ethernet 2,

129
00:06:24,180 --> 00:06:26,160
which has the blue screens.

130
00:06:26,160 --> 00:06:28,510
And if we go to our command prompt

131
00:06:30,510 --> 00:06:32,590
and do another ipconfig

132
00:06:33,720 --> 00:06:35,700
and take a look

133
00:06:35,700 --> 00:06:40,080
we will see Ethernet 2,
bring this to the top here.

134
00:06:40,080 --> 00:06:44,250
192.168.42 network.

135
00:06:44,250 --> 00:06:47,280
Well, previously we had
the main network connection

136
00:06:47,280 --> 00:06:49,560
on 192.168.41

137
00:06:49,560 --> 00:06:51,810
And in fact, that's what the smartphone

138
00:06:51,810 --> 00:06:53,550
was connecting with as well

139
00:06:53,550 --> 00:06:54,840
on its WiFi.

140
00:06:54,840 --> 00:06:56,940
When it was connecting via WiFi.

141
00:06:56,940 --> 00:06:59,760
That was on the 192.168.41 network.

142
00:06:59,760 --> 00:07:01,320
So what did the smartphone do?

143
00:07:01,320 --> 00:07:03,570
It took the next network number in line

144
00:07:03,570 --> 00:07:08,160
and created 192.168.42 as a network

145
00:07:08,160 --> 00:07:10,410
for the phone and for this computer

146
00:07:10,410 --> 00:07:13,320
to communicate out to the internet,

147
00:07:13,320 --> 00:07:14,730
and it calls this Ethernet 2.

148
00:07:14,730 --> 00:07:17,313
This is a Windows 10 Pro
computer, by the way.

149
00:07:19,650 --> 00:07:20,483
And we're good.

150
00:07:20,483 --> 00:07:21,840
We can connect on the internet now.

151
00:07:21,840 --> 00:07:25,260
We can go where we need to
go and do what we need to do.

152
00:07:25,260 --> 00:07:28,773
So USB tethering is
functioning as it should.

153
00:07:31,650 --> 00:07:32,483
And when you're done,

154
00:07:32,483 --> 00:07:33,783
and by the way,

155
00:07:34,890 --> 00:07:36,660
when you're doing this type of thing,

156
00:07:36,660 --> 00:07:40,650
if you're on the PC or laptop,

157
00:07:40,650 --> 00:07:43,170
quite often you will get issues

158
00:07:43,170 --> 00:07:46,050
trying to work with anything networking.

159
00:07:46,050 --> 00:07:48,540
You're gonna get a lot
of problems with this.

160
00:07:48,540 --> 00:07:50,640
Connecting to anything
on the local area network

161
00:07:50,640 --> 00:07:52,470
that you might have access to,

162
00:07:52,470 --> 00:07:55,743
working with programs like the
network and sharing center,

163
00:07:56,580 --> 00:08:00,060
viewing connections,
say viewing connections

164
00:08:00,060 --> 00:08:02,970
in the command prompt with
something like netstat,

165
00:08:02,970 --> 00:08:06,060
all of these things are
either gonna be very slow,

166
00:08:06,060 --> 00:08:07,950
they're gonna get hung up or
they're not gonna work at all

167
00:08:07,950 --> 00:08:10,923
'cause we have a totally new
network configuration here.

168
00:08:11,760 --> 00:08:14,010
And so when we're done

169
00:08:14,010 --> 00:08:17,490
and we no longer need
that temporary connection,

170
00:08:17,490 --> 00:08:20,490
'cause that's really what
this should be, temporary,

171
00:08:20,490 --> 00:08:21,693
then we can disable it,

172
00:08:24,240 --> 00:08:25,920
turns it off.

173
00:08:25,920 --> 00:08:29,400
Go back to our main system here,

174
00:08:29,400 --> 00:08:31,830
and that is gone from the
networking connections.

175
00:08:31,830 --> 00:08:33,273
That has disappeared.

176
00:08:34,200 --> 00:08:38,310
And likewise, we will lose connectivity

177
00:08:38,310 --> 00:08:40,560
to the internet once again.

178
00:08:40,560 --> 00:08:41,393
Right?

179
00:08:45,030 --> 00:08:46,620
And so that works as a good backup

180
00:08:46,620 --> 00:08:49,560
until we get our main
network connection back,

181
00:08:49,560 --> 00:08:53,223
or really our main internet
connection back for these guys.

182
00:08:54,540 --> 00:08:57,210
All right, I've just re-enabled those.

183
00:08:57,210 --> 00:08:59,490
And so just to check,

184
00:08:59,490 --> 00:09:00,330
we should be good.

185
00:09:00,330 --> 00:09:03,543
F5 and we're back on the page, all right?

186
00:09:04,380 --> 00:09:06,960
And there's so much cool
stuff you could do with USB

187
00:09:06,960 --> 00:09:10,293
when it comes to Android.

188
00:09:12,030 --> 00:09:13,800
And so for example,
you might be interested

189
00:09:13,800 --> 00:09:16,320
in the Android to Debug Bridge,

190
00:09:16,320 --> 00:09:20,340
which allows your PC to talk to the device

191
00:09:20,340 --> 00:09:21,510
and you can do debugging.

192
00:09:21,510 --> 00:09:24,780
You can install, apps, you
can run all kinds of commands,

193
00:09:24,780 --> 00:09:28,590
adb for working with the device directly.

194
00:09:28,590 --> 00:09:30,240
And if you're interested
in that kind of thing,

195
00:09:30,240 --> 00:09:31,940
you're gonna wanna be a developer.

196
00:09:32,850 --> 00:09:35,400
And so when you connect via USB

197
00:09:35,400 --> 00:09:37,353
with that USB connection here,

198
00:09:40,290 --> 00:09:43,080
you get some different options with USB.

199
00:09:43,080 --> 00:09:44,850
And if we swipe down from the top,

200
00:09:44,850 --> 00:09:48,930
we'll see some options here.

201
00:09:48,930 --> 00:09:51,513
And we see that it's set to charging,

202
00:09:52,830 --> 00:09:55,200
but we can do different
things with these USB options.

203
00:09:55,200 --> 00:09:56,070
If we tap on that,

204
00:09:56,070 --> 00:09:58,860
we can have charging,
we can do file transfer,

205
00:09:58,860 --> 00:10:01,410
just photo transfer, connect with MIDI.

206
00:10:01,410 --> 00:10:04,620
So in fact, if you wanted
to transfer files to a PC,

207
00:10:04,620 --> 00:10:07,170
you might have to select file transfer.

208
00:10:07,170 --> 00:10:08,850
But it goes past this.

209
00:10:08,850 --> 00:10:11,700
We can become a developer
and do more with USB,

210
00:10:11,700 --> 00:10:13,050
a lot more,

211
00:10:13,050 --> 00:10:15,000
by going to our Settings,

212
00:10:15,000 --> 00:10:16,023
go to General,

213
00:10:16,860 --> 00:10:18,633
go to about phone,

214
00:10:20,250 --> 00:10:21,573
software info,

215
00:10:23,370 --> 00:10:24,720
and then the build number.

216
00:10:24,720 --> 00:10:27,000
And to become a developer,
you tap the build number.

217
00:10:27,000 --> 00:10:29,460
Generally it's like
seven times in Android,

218
00:10:29,460 --> 00:10:30,750
depends on the version,

219
00:10:30,750 --> 00:10:32,010
but we start tapping it.

220
00:10:32,010 --> 00:10:34,200
You tap it seven times and
you become a developer.

221
00:10:34,200 --> 00:10:37,147
I've already done this so it says,

222
00:10:37,147 --> 00:10:39,390
"No need, you're already a developer."

223
00:10:39,390 --> 00:10:44,390
When you do that, you get this
additional option here above

224
00:10:44,700 --> 00:10:47,610
about phone called developer options.

225
00:10:47,610 --> 00:10:49,620
And then from here, you can
do all kinds of cool stuff

226
00:10:49,620 --> 00:10:53,370
with the device just from
a configuration standpoint

227
00:10:53,370 --> 00:10:56,733
and then from a debugging and
a programmatical standpoint,

228
00:11:00,480 --> 00:11:02,043
All right, bug reports,

229
00:11:03,480 --> 00:11:06,450
USB debugging, which you can turn on.

230
00:11:06,450 --> 00:11:08,850
That'll work with adb very well.

231
00:11:08,850 --> 00:11:11,013
You could do all kinds of stuff with this.

232
00:11:11,940 --> 00:11:13,380
Different types of screen sharing

233
00:11:13,380 --> 00:11:15,630
and all kinds of
programmatical and testing

234
00:11:15,630 --> 00:11:17,613
and debugging types of things.

235
00:11:19,500 --> 00:11:23,310
Now, if you're using,
say an iPad for that,

236
00:11:23,310 --> 00:11:26,880
it's gonna vary depending
on the generation of iPad,

237
00:11:26,880 --> 00:11:29,100
but you might have to go to the Settings

238
00:11:29,100 --> 00:11:32,760
and then go to, it's Personal Hotspot.

239
00:11:32,760 --> 00:11:37,350
And that's only if you
have a cellular connection

240
00:11:37,350 --> 00:11:38,220
for this device.

241
00:11:38,220 --> 00:11:39,660
This one actually doesn't.

242
00:11:39,660 --> 00:11:42,270
So you'd go to Settings
and go to Personal Hotspot,

243
00:11:42,270 --> 00:11:43,800
turn it on from there,

244
00:11:43,800 --> 00:11:46,110
connect the USB cable,

245
00:11:46,110 --> 00:11:48,390
and then it'll begin
tethering to a computer.

246
00:11:48,390 --> 00:11:52,290
Older devices, you would
do it within iTunes, okay?

247
00:11:52,290 --> 00:11:54,370
But the concept's about the same

248
00:11:55,650 --> 00:11:59,100
and works basically in the same way

249
00:11:59,100 --> 00:12:01,260
as with an Android device.

250
00:12:01,260 --> 00:12:04,500
All right, so that's a
little bit of USB tethering.

251
00:12:04,500 --> 00:12:06,300
So once again, that's when a mobile device

252
00:12:06,300 --> 00:12:08,760
connects to your desktop
or laptop computer,

253
00:12:08,760 --> 00:12:11,700
and that desktop or laptop can then share

254
00:12:11,700 --> 00:12:16,170
the internet connection
of that phone or tablet.

255
00:12:16,170 --> 00:12:17,853
And so that's it for this video.
