How do I share an internet connection through USB?
I have two Linux boxes. One is running KNOPPIX and the other Ubuntu. I have only one wifi dongle between them, and only one of them has an Ethernet port. They both have free USB ports however. I need the box with the dongle to share the connection through a male-to-male USB cable.
I know it is possible to do a similar setup with a desktop and certain portable devices, but I need it between two normal computers. I cannot buy any additional hardware.
ubuntu debian usb ethernet
add a comment |
I have two Linux boxes. One is running KNOPPIX and the other Ubuntu. I have only one wifi dongle between them, and only one of them has an Ethernet port. They both have free USB ports however. I need the box with the dongle to share the connection through a male-to-male USB cable.
I know it is possible to do a similar setup with a desktop and certain portable devices, but I need it between two normal computers. I cannot buy any additional hardware.
ubuntu debian usb ethernet
USB doesn't work that way and can't be used to network 2 computers directly. Your best bet is to find an USB/Ethernet adapter, or another Wi-Fi dongle.
– Renan
Aug 29 '13 at 17:04
I am already doing this on a window System.Sharing Internet of PC via USB to a my mobile. now m looking for a way to do the same on my linux box.
– user77668
Jul 16 '14 at 4:05
@Gagan Your smartphone can act as both a host and device (USB OTG), your laptop doesn't. It's easier to insert an Ethernet cable in between.
– Lekensteyn
Jul 16 '14 at 8:10
add a comment |
I have two Linux boxes. One is running KNOPPIX and the other Ubuntu. I have only one wifi dongle between them, and only one of them has an Ethernet port. They both have free USB ports however. I need the box with the dongle to share the connection through a male-to-male USB cable.
I know it is possible to do a similar setup with a desktop and certain portable devices, but I need it between two normal computers. I cannot buy any additional hardware.
ubuntu debian usb ethernet
I have two Linux boxes. One is running KNOPPIX and the other Ubuntu. I have only one wifi dongle between them, and only one of them has an Ethernet port. They both have free USB ports however. I need the box with the dongle to share the connection through a male-to-male USB cable.
I know it is possible to do a similar setup with a desktop and certain portable devices, but I need it between two normal computers. I cannot buy any additional hardware.
ubuntu debian usb ethernet
ubuntu debian usb ethernet
edited Aug 28 '13 at 22:13
Joseph R.
28.1k374114
28.1k374114
asked Aug 28 '13 at 22:09
Skylar IttnerSkylar Ittner
223310
223310
USB doesn't work that way and can't be used to network 2 computers directly. Your best bet is to find an USB/Ethernet adapter, or another Wi-Fi dongle.
– Renan
Aug 29 '13 at 17:04
I am already doing this on a window System.Sharing Internet of PC via USB to a my mobile. now m looking for a way to do the same on my linux box.
– user77668
Jul 16 '14 at 4:05
@Gagan Your smartphone can act as both a host and device (USB OTG), your laptop doesn't. It's easier to insert an Ethernet cable in between.
– Lekensteyn
Jul 16 '14 at 8:10
add a comment |
USB doesn't work that way and can't be used to network 2 computers directly. Your best bet is to find an USB/Ethernet adapter, or another Wi-Fi dongle.
– Renan
Aug 29 '13 at 17:04
I am already doing this on a window System.Sharing Internet of PC via USB to a my mobile. now m looking for a way to do the same on my linux box.
– user77668
Jul 16 '14 at 4:05
@Gagan Your smartphone can act as both a host and device (USB OTG), your laptop doesn't. It's easier to insert an Ethernet cable in between.
– Lekensteyn
Jul 16 '14 at 8:10
USB doesn't work that way and can't be used to network 2 computers directly. Your best bet is to find an USB/Ethernet adapter, or another Wi-Fi dongle.
– Renan
Aug 29 '13 at 17:04
USB doesn't work that way and can't be used to network 2 computers directly. Your best bet is to find an USB/Ethernet adapter, or another Wi-Fi dongle.
– Renan
Aug 29 '13 at 17:04
I am already doing this on a window System.Sharing Internet of PC via USB to a my mobile. now m looking for a way to do the same on my linux box.
– user77668
Jul 16 '14 at 4:05
I am already doing this on a window System.Sharing Internet of PC via USB to a my mobile. now m looking for a way to do the same on my linux box.
– user77668
Jul 16 '14 at 4:05
@Gagan Your smartphone can act as both a host and device (USB OTG), your laptop doesn't. It's easier to insert an Ethernet cable in between.
– Lekensteyn
Jul 16 '14 at 8:10
@Gagan Your smartphone can act as both a host and device (USB OTG), your laptop doesn't. It's easier to insert an Ethernet cable in between.
– Lekensteyn
Jul 16 '14 at 8:10
add a comment |
3 Answers
3
active
oldest
votes
Without any deeper knowledge, I would suggest looking at the Linux USB Project, section USB Host-to-Host Cables, and possibly Easy Transfer Cable (although that seems to be mainly a Windows thingy). In any case you are likely to need additional hardware, because the cable probably is not "just wires".
add a comment |
This is impossible, unfortunately. All USB connections must be between a host device (e.g. a computer) and a normal USB device (mouse, etc.). Desktops and laptops are always hosts and therefore cannot connect to each other. Some newer mobile devices implement the USB On-The-Go standard, and can switch between being hosts and normal devices, but this won't be the case for your computers.
I was afraid of that. Thanks for your time though!
– Skylar Ittner
Sep 1 '13 at 1:42
add a comment |
There is no such thing as a USB male-to-male cable, or at least, if some idiot made one it would explicitly violate the USB standard. The closest thing to it is something like a laplink cable, which is a USB device in the middle that has two male cables coming out of it. As far as I know, these use proprietary software to communicate with the device and ask it to relay to the other computer. As such, it won't work as a normal network interface in Linux.
1
Well, I have a male-to-male cable. It came with a cheap digital camera stick thing, which had a full size USB port to connect to the computer.
– Skylar Ittner
Sep 1 '13 at 1:42
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f88609%2fhow-do-i-share-an-internet-connection-through-usb%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Without any deeper knowledge, I would suggest looking at the Linux USB Project, section USB Host-to-Host Cables, and possibly Easy Transfer Cable (although that seems to be mainly a Windows thingy). In any case you are likely to need additional hardware, because the cable probably is not "just wires".
add a comment |
Without any deeper knowledge, I would suggest looking at the Linux USB Project, section USB Host-to-Host Cables, and possibly Easy Transfer Cable (although that seems to be mainly a Windows thingy). In any case you are likely to need additional hardware, because the cable probably is not "just wires".
add a comment |
Without any deeper knowledge, I would suggest looking at the Linux USB Project, section USB Host-to-Host Cables, and possibly Easy Transfer Cable (although that seems to be mainly a Windows thingy). In any case you are likely to need additional hardware, because the cable probably is not "just wires".
Without any deeper knowledge, I would suggest looking at the Linux USB Project, section USB Host-to-Host Cables, and possibly Easy Transfer Cable (although that seems to be mainly a Windows thingy). In any case you are likely to need additional hardware, because the cable probably is not "just wires".
answered Aug 29 '13 at 16:51
peterphpeterph
23.4k24457
23.4k24457
add a comment |
add a comment |
This is impossible, unfortunately. All USB connections must be between a host device (e.g. a computer) and a normal USB device (mouse, etc.). Desktops and laptops are always hosts and therefore cannot connect to each other. Some newer mobile devices implement the USB On-The-Go standard, and can switch between being hosts and normal devices, but this won't be the case for your computers.
I was afraid of that. Thanks for your time though!
– Skylar Ittner
Sep 1 '13 at 1:42
add a comment |
This is impossible, unfortunately. All USB connections must be between a host device (e.g. a computer) and a normal USB device (mouse, etc.). Desktops and laptops are always hosts and therefore cannot connect to each other. Some newer mobile devices implement the USB On-The-Go standard, and can switch between being hosts and normal devices, but this won't be the case for your computers.
I was afraid of that. Thanks for your time though!
– Skylar Ittner
Sep 1 '13 at 1:42
add a comment |
This is impossible, unfortunately. All USB connections must be between a host device (e.g. a computer) and a normal USB device (mouse, etc.). Desktops and laptops are always hosts and therefore cannot connect to each other. Some newer mobile devices implement the USB On-The-Go standard, and can switch between being hosts and normal devices, but this won't be the case for your computers.
This is impossible, unfortunately. All USB connections must be between a host device (e.g. a computer) and a normal USB device (mouse, etc.). Desktops and laptops are always hosts and therefore cannot connect to each other. Some newer mobile devices implement the USB On-The-Go standard, and can switch between being hosts and normal devices, but this won't be the case for your computers.
answered Aug 29 '13 at 2:20
wingedsubmarinerwingedsubmariner
2,233819
2,233819
I was afraid of that. Thanks for your time though!
– Skylar Ittner
Sep 1 '13 at 1:42
add a comment |
I was afraid of that. Thanks for your time though!
– Skylar Ittner
Sep 1 '13 at 1:42
I was afraid of that. Thanks for your time though!
– Skylar Ittner
Sep 1 '13 at 1:42
I was afraid of that. Thanks for your time though!
– Skylar Ittner
Sep 1 '13 at 1:42
add a comment |
There is no such thing as a USB male-to-male cable, or at least, if some idiot made one it would explicitly violate the USB standard. The closest thing to it is something like a laplink cable, which is a USB device in the middle that has two male cables coming out of it. As far as I know, these use proprietary software to communicate with the device and ask it to relay to the other computer. As such, it won't work as a normal network interface in Linux.
1
Well, I have a male-to-male cable. It came with a cheap digital camera stick thing, which had a full size USB port to connect to the computer.
– Skylar Ittner
Sep 1 '13 at 1:42
add a comment |
There is no such thing as a USB male-to-male cable, or at least, if some idiot made one it would explicitly violate the USB standard. The closest thing to it is something like a laplink cable, which is a USB device in the middle that has two male cables coming out of it. As far as I know, these use proprietary software to communicate with the device and ask it to relay to the other computer. As such, it won't work as a normal network interface in Linux.
1
Well, I have a male-to-male cable. It came with a cheap digital camera stick thing, which had a full size USB port to connect to the computer.
– Skylar Ittner
Sep 1 '13 at 1:42
add a comment |
There is no such thing as a USB male-to-male cable, or at least, if some idiot made one it would explicitly violate the USB standard. The closest thing to it is something like a laplink cable, which is a USB device in the middle that has two male cables coming out of it. As far as I know, these use proprietary software to communicate with the device and ask it to relay to the other computer. As such, it won't work as a normal network interface in Linux.
There is no such thing as a USB male-to-male cable, or at least, if some idiot made one it would explicitly violate the USB standard. The closest thing to it is something like a laplink cable, which is a USB device in the middle that has two male cables coming out of it. As far as I know, these use proprietary software to communicate with the device and ask it to relay to the other computer. As such, it won't work as a normal network interface in Linux.
answered Aug 29 '13 at 2:33
psusipsusi
13.5k22439
13.5k22439
1
Well, I have a male-to-male cable. It came with a cheap digital camera stick thing, which had a full size USB port to connect to the computer.
– Skylar Ittner
Sep 1 '13 at 1:42
add a comment |
1
Well, I have a male-to-male cable. It came with a cheap digital camera stick thing, which had a full size USB port to connect to the computer.
– Skylar Ittner
Sep 1 '13 at 1:42
1
1
Well, I have a male-to-male cable. It came with a cheap digital camera stick thing, which had a full size USB port to connect to the computer.
– Skylar Ittner
Sep 1 '13 at 1:42
Well, I have a male-to-male cable. It came with a cheap digital camera stick thing, which had a full size USB port to connect to the computer.
– Skylar Ittner
Sep 1 '13 at 1:42
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f88609%2fhow-do-i-share-an-internet-connection-through-usb%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
USB doesn't work that way and can't be used to network 2 computers directly. Your best bet is to find an USB/Ethernet adapter, or another Wi-Fi dongle.
– Renan
Aug 29 '13 at 17:04
I am already doing this on a window System.Sharing Internet of PC via USB to a my mobile. now m looking for a way to do the same on my linux box.
– user77668
Jul 16 '14 at 4:05
@Gagan Your smartphone can act as both a host and device (USB OTG), your laptop doesn't. It's easier to insert an Ethernet cable in between.
– Lekensteyn
Jul 16 '14 at 8:10