How to use USB connection for Internet from a PC to a cellphone?
I have Ubuntu 16.04 on my PC.
Is there a way to create a wired connection between my PC and smartphone so the smartphone can be connected to internet via the PC?
16.04 smartphone
add a comment |
I have Ubuntu 16.04 on my PC.
Is there a way to create a wired connection between my PC and smartphone so the smartphone can be connected to internet via the PC?
16.04 smartphone
Possible related question android.stackexchange.com/questions/103506/…
– user68186
Jan 26 '18 at 20:15
add a comment |
I have Ubuntu 16.04 on my PC.
Is there a way to create a wired connection between my PC and smartphone so the smartphone can be connected to internet via the PC?
16.04 smartphone
I have Ubuntu 16.04 on my PC.
Is there a way to create a wired connection between my PC and smartphone so the smartphone can be connected to internet via the PC?
16.04 smartphone
16.04 smartphone
edited Jan 26 '18 at 21:32
user68186
15.6k84667
15.6k84667
asked Jan 26 '18 at 15:56
Georgios PapadopoulosGeorgios Papadopoulos
183
183
Possible related question android.stackexchange.com/questions/103506/…
– user68186
Jan 26 '18 at 20:15
add a comment |
Possible related question android.stackexchange.com/questions/103506/…
– user68186
Jan 26 '18 at 20:15
Possible related question android.stackexchange.com/questions/103506/…
– user68186
Jan 26 '18 at 20:15
Possible related question android.stackexchange.com/questions/103506/…
– user68186
Jan 26 '18 at 20:15
add a comment |
1 Answer
1
active
oldest
votes
The answer may not work on your phone. The following worked on my phone
My phone was Google Nexus 6P running factory standard Android 8.x Oreo
This process is called USB reverse tethering. Not all phones support it. Some Android phones have to be rooted for this to work. There are some guides in the links below.
- https://forum.xda-developers.com/showthread.php?t=2287494
https://www.howtogeek.com/214375/how-to-reverse-tether-an-android-smartphone-or-tablet-to-your-pc/
You may need an app on your phone. I didn't need it.
https://medium.com/genymobile/gnirehtet-reverse-tethering-android-2afacdbdaec7
My phone is not rooted. This is what I did:
First, find the MAC address of the USB port you will use
Connect your phone to your PC using an USB cable.
- Turn USB tethering on in your phone. This will use your phone's
mobile data to connect the PC to the Internet. This is not what we
want, but this will give us the device address we will use later. - Open the Network Manager edit window from the Network icon on the
top right corner. - Highlight the USB connection. It may be called
Ethernet Connection
or
1Ethernet Connection 2
. - Click on the Edit button and go to the Ethernet tab.
Copy the information in the Device field:
Press cancel button to get out of the Network Edit menu. Do not
close the Network Connections window yet.- In your phone turn off USB tethering.
Second, setup a new network connection
Click Add in network connections:
Give the new connection a new name if you want.
Go to the Ethernet tab and paste the device information you copied.
Go to the IPv4 Settings tab and select Shared to other computers:
Save and close network connection windows.
Third, Test with your phone
- In your phone, turn off mobile data, and WiFi while connected by
USB to the PC. - Surf the web and use other Internet connected apps.
It looks like the USB port gets a random Ethernet MAC address every time it is plugged in. If this is the case, you will have to first find the MAC address and then edit the saved settings every time you want to do this.
Hope this helps
I'll try it and let you know.
– Georgios Papadopoulos
Jan 27 '18 at 14:32
Unfortunately,it didn't work.
– Georgios Papadopoulos
Jan 27 '18 at 21:14
not working!. I tried with the no rooted phone option
– Nwawel A Iroume
Jan 7 at 12:53
@NwawelAIroume Most phone manufacturers disable this capability. I have added the details of the phone I tried in the answer.
– user68186
Jan 7 at 15:21
Iam using lg g5. I checked the MAC Is not changing everytime i plug usb. So it is supposed to work. How could i enable the feature in case the manufacturer disabled it?
– Nwawel A Iroume
Jan 10 at 14:51
|
show 1 more comment
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000098%2fhow-to-use-usb-connection-for-internet-from-a-pc-to-a-cellphone%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The answer may not work on your phone. The following worked on my phone
My phone was Google Nexus 6P running factory standard Android 8.x Oreo
This process is called USB reverse tethering. Not all phones support it. Some Android phones have to be rooted for this to work. There are some guides in the links below.
- https://forum.xda-developers.com/showthread.php?t=2287494
https://www.howtogeek.com/214375/how-to-reverse-tether-an-android-smartphone-or-tablet-to-your-pc/
You may need an app on your phone. I didn't need it.
https://medium.com/genymobile/gnirehtet-reverse-tethering-android-2afacdbdaec7
My phone is not rooted. This is what I did:
First, find the MAC address of the USB port you will use
Connect your phone to your PC using an USB cable.
- Turn USB tethering on in your phone. This will use your phone's
mobile data to connect the PC to the Internet. This is not what we
want, but this will give us the device address we will use later. - Open the Network Manager edit window from the Network icon on the
top right corner. - Highlight the USB connection. It may be called
Ethernet Connection
or
1Ethernet Connection 2
. - Click on the Edit button and go to the Ethernet tab.
Copy the information in the Device field:
Press cancel button to get out of the Network Edit menu. Do not
close the Network Connections window yet.- In your phone turn off USB tethering.
Second, setup a new network connection
Click Add in network connections:
Give the new connection a new name if you want.
Go to the Ethernet tab and paste the device information you copied.
Go to the IPv4 Settings tab and select Shared to other computers:
Save and close network connection windows.
Third, Test with your phone
- In your phone, turn off mobile data, and WiFi while connected by
USB to the PC. - Surf the web and use other Internet connected apps.
It looks like the USB port gets a random Ethernet MAC address every time it is plugged in. If this is the case, you will have to first find the MAC address and then edit the saved settings every time you want to do this.
Hope this helps
I'll try it and let you know.
– Georgios Papadopoulos
Jan 27 '18 at 14:32
Unfortunately,it didn't work.
– Georgios Papadopoulos
Jan 27 '18 at 21:14
not working!. I tried with the no rooted phone option
– Nwawel A Iroume
Jan 7 at 12:53
@NwawelAIroume Most phone manufacturers disable this capability. I have added the details of the phone I tried in the answer.
– user68186
Jan 7 at 15:21
Iam using lg g5. I checked the MAC Is not changing everytime i plug usb. So it is supposed to work. How could i enable the feature in case the manufacturer disabled it?
– Nwawel A Iroume
Jan 10 at 14:51
|
show 1 more comment
The answer may not work on your phone. The following worked on my phone
My phone was Google Nexus 6P running factory standard Android 8.x Oreo
This process is called USB reverse tethering. Not all phones support it. Some Android phones have to be rooted for this to work. There are some guides in the links below.
- https://forum.xda-developers.com/showthread.php?t=2287494
https://www.howtogeek.com/214375/how-to-reverse-tether-an-android-smartphone-or-tablet-to-your-pc/
You may need an app on your phone. I didn't need it.
https://medium.com/genymobile/gnirehtet-reverse-tethering-android-2afacdbdaec7
My phone is not rooted. This is what I did:
First, find the MAC address of the USB port you will use
Connect your phone to your PC using an USB cable.
- Turn USB tethering on in your phone. This will use your phone's
mobile data to connect the PC to the Internet. This is not what we
want, but this will give us the device address we will use later. - Open the Network Manager edit window from the Network icon on the
top right corner. - Highlight the USB connection. It may be called
Ethernet Connection
or
1Ethernet Connection 2
. - Click on the Edit button and go to the Ethernet tab.
Copy the information in the Device field:
Press cancel button to get out of the Network Edit menu. Do not
close the Network Connections window yet.- In your phone turn off USB tethering.
Second, setup a new network connection
Click Add in network connections:
Give the new connection a new name if you want.
Go to the Ethernet tab and paste the device information you copied.
Go to the IPv4 Settings tab and select Shared to other computers:
Save and close network connection windows.
Third, Test with your phone
- In your phone, turn off mobile data, and WiFi while connected by
USB to the PC. - Surf the web and use other Internet connected apps.
It looks like the USB port gets a random Ethernet MAC address every time it is plugged in. If this is the case, you will have to first find the MAC address and then edit the saved settings every time you want to do this.
Hope this helps
I'll try it and let you know.
– Georgios Papadopoulos
Jan 27 '18 at 14:32
Unfortunately,it didn't work.
– Georgios Papadopoulos
Jan 27 '18 at 21:14
not working!. I tried with the no rooted phone option
– Nwawel A Iroume
Jan 7 at 12:53
@NwawelAIroume Most phone manufacturers disable this capability. I have added the details of the phone I tried in the answer.
– user68186
Jan 7 at 15:21
Iam using lg g5. I checked the MAC Is not changing everytime i plug usb. So it is supposed to work. How could i enable the feature in case the manufacturer disabled it?
– Nwawel A Iroume
Jan 10 at 14:51
|
show 1 more comment
The answer may not work on your phone. The following worked on my phone
My phone was Google Nexus 6P running factory standard Android 8.x Oreo
This process is called USB reverse tethering. Not all phones support it. Some Android phones have to be rooted for this to work. There are some guides in the links below.
- https://forum.xda-developers.com/showthread.php?t=2287494
https://www.howtogeek.com/214375/how-to-reverse-tether-an-android-smartphone-or-tablet-to-your-pc/
You may need an app on your phone. I didn't need it.
https://medium.com/genymobile/gnirehtet-reverse-tethering-android-2afacdbdaec7
My phone is not rooted. This is what I did:
First, find the MAC address of the USB port you will use
Connect your phone to your PC using an USB cable.
- Turn USB tethering on in your phone. This will use your phone's
mobile data to connect the PC to the Internet. This is not what we
want, but this will give us the device address we will use later. - Open the Network Manager edit window from the Network icon on the
top right corner. - Highlight the USB connection. It may be called
Ethernet Connection
or
1Ethernet Connection 2
. - Click on the Edit button and go to the Ethernet tab.
Copy the information in the Device field:
Press cancel button to get out of the Network Edit menu. Do not
close the Network Connections window yet.- In your phone turn off USB tethering.
Second, setup a new network connection
Click Add in network connections:
Give the new connection a new name if you want.
Go to the Ethernet tab and paste the device information you copied.
Go to the IPv4 Settings tab and select Shared to other computers:
Save and close network connection windows.
Third, Test with your phone
- In your phone, turn off mobile data, and WiFi while connected by
USB to the PC. - Surf the web and use other Internet connected apps.
It looks like the USB port gets a random Ethernet MAC address every time it is plugged in. If this is the case, you will have to first find the MAC address and then edit the saved settings every time you want to do this.
Hope this helps
The answer may not work on your phone. The following worked on my phone
My phone was Google Nexus 6P running factory standard Android 8.x Oreo
This process is called USB reverse tethering. Not all phones support it. Some Android phones have to be rooted for this to work. There are some guides in the links below.
- https://forum.xda-developers.com/showthread.php?t=2287494
https://www.howtogeek.com/214375/how-to-reverse-tether-an-android-smartphone-or-tablet-to-your-pc/
You may need an app on your phone. I didn't need it.
https://medium.com/genymobile/gnirehtet-reverse-tethering-android-2afacdbdaec7
My phone is not rooted. This is what I did:
First, find the MAC address of the USB port you will use
Connect your phone to your PC using an USB cable.
- Turn USB tethering on in your phone. This will use your phone's
mobile data to connect the PC to the Internet. This is not what we
want, but this will give us the device address we will use later. - Open the Network Manager edit window from the Network icon on the
top right corner. - Highlight the USB connection. It may be called
Ethernet Connection
or
1Ethernet Connection 2
. - Click on the Edit button and go to the Ethernet tab.
Copy the information in the Device field:
Press cancel button to get out of the Network Edit menu. Do not
close the Network Connections window yet.- In your phone turn off USB tethering.
Second, setup a new network connection
Click Add in network connections:
Give the new connection a new name if you want.
Go to the Ethernet tab and paste the device information you copied.
Go to the IPv4 Settings tab and select Shared to other computers:
Save and close network connection windows.
Third, Test with your phone
- In your phone, turn off mobile data, and WiFi while connected by
USB to the PC. - Surf the web and use other Internet connected apps.
It looks like the USB port gets a random Ethernet MAC address every time it is plugged in. If this is the case, you will have to first find the MAC address and then edit the saved settings every time you want to do this.
Hope this helps
edited Jan 7 at 15:19
answered Jan 26 '18 at 21:21
user68186user68186
15.6k84667
15.6k84667
I'll try it and let you know.
– Georgios Papadopoulos
Jan 27 '18 at 14:32
Unfortunately,it didn't work.
– Georgios Papadopoulos
Jan 27 '18 at 21:14
not working!. I tried with the no rooted phone option
– Nwawel A Iroume
Jan 7 at 12:53
@NwawelAIroume Most phone manufacturers disable this capability. I have added the details of the phone I tried in the answer.
– user68186
Jan 7 at 15:21
Iam using lg g5. I checked the MAC Is not changing everytime i plug usb. So it is supposed to work. How could i enable the feature in case the manufacturer disabled it?
– Nwawel A Iroume
Jan 10 at 14:51
|
show 1 more comment
I'll try it and let you know.
– Georgios Papadopoulos
Jan 27 '18 at 14:32
Unfortunately,it didn't work.
– Georgios Papadopoulos
Jan 27 '18 at 21:14
not working!. I tried with the no rooted phone option
– Nwawel A Iroume
Jan 7 at 12:53
@NwawelAIroume Most phone manufacturers disable this capability. I have added the details of the phone I tried in the answer.
– user68186
Jan 7 at 15:21
Iam using lg g5. I checked the MAC Is not changing everytime i plug usb. So it is supposed to work. How could i enable the feature in case the manufacturer disabled it?
– Nwawel A Iroume
Jan 10 at 14:51
I'll try it and let you know.
– Georgios Papadopoulos
Jan 27 '18 at 14:32
I'll try it and let you know.
– Georgios Papadopoulos
Jan 27 '18 at 14:32
Unfortunately,it didn't work.
– Georgios Papadopoulos
Jan 27 '18 at 21:14
Unfortunately,it didn't work.
– Georgios Papadopoulos
Jan 27 '18 at 21:14
not working!. I tried with the no rooted phone option
– Nwawel A Iroume
Jan 7 at 12:53
not working!. I tried with the no rooted phone option
– Nwawel A Iroume
Jan 7 at 12:53
@NwawelAIroume Most phone manufacturers disable this capability. I have added the details of the phone I tried in the answer.
– user68186
Jan 7 at 15:21
@NwawelAIroume Most phone manufacturers disable this capability. I have added the details of the phone I tried in the answer.
– user68186
Jan 7 at 15:21
Iam using lg g5. I checked the MAC Is not changing everytime i plug usb. So it is supposed to work. How could i enable the feature in case the manufacturer disabled it?
– Nwawel A Iroume
Jan 10 at 14:51
Iam using lg g5. I checked the MAC Is not changing everytime i plug usb. So it is supposed to work. How could i enable the feature in case the manufacturer disabled it?
– Nwawel A Iroume
Jan 10 at 14:51
|
show 1 more comment
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000098%2fhow-to-use-usb-connection-for-internet-from-a-pc-to-a-cellphone%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Possible related question android.stackexchange.com/questions/103506/…
– user68186
Jan 26 '18 at 20:15