-2

I have an embedded device (runs linux) that is connected to my Windows 7 workstation via ethernet. My Windows 7 computer is connected to the internet via usb modem (ppp protocol).

Can I connect my device to the internet somehow without connecting the modem directly to the device? Thanks for helpers!

DhP
  • 306
  • 1
  • 11
Shlomi
  • 119
  • 7
  • It's not likely – Software Engineer Apr 19 '18 at 14:42
  • Stack Overflow is a site for programming and development questions. This question appears to be off-topic because it is not about programming or development. See [What topics can I ask about here](http://stackoverflow.com/help/on-topic) in the Help Center. Perhaps [Super User](http://superuser.com/) or [Unix & Linux Stack Exchange](http://unix.stackexchange.com/) would be a better place to ask. – jww Apr 20 '18 at 01:15

1 Answers1

-1

If i understand your question or issue correctly:

Yes, definetly . You could set up your workstation to act as the network gateway for the device. That way your device could access the internet trough the shared modem connection of your workstation.

It's a bit hard to give more details than that without knowing the operating system of your workstation. But most modern operating systems have made sharing internet connections relatively easy.

EDIT: You mention you're using Windows 7, so the steps should be fairly easy. The following steps should work for ethernet, wifi and dial-up connections.

  1. Choose Start→Control Panel→Network and Internet. Click the Network and Sharing Center link.
  2. In the resulting Network and Sharing Center window, click the Manage (Wireless) Network's link.
  3. Click a connection and then click the Adapter Properties link.
  4. Click the Sharing tab.
  5. Select the Allow Other Network Users to Connect through This Computer’s Internet Connection check box.
  6. Click OK and then close the Manage (Wireless) Networks window to save the shared connection settings.
  7. Set the IP of the workstation your device is connected to as the gateway/DHCP in the devices network settings.

(from : http://www.dummies.com/computers/operating-systems/windows-7/how-to-share-an-internet-connection-in-windows-7/ )

DhP
  • 306
  • 1
  • 11
  • 1
    I am using windows 7 – Shlomi Apr 19 '18 at 14:09
  • @Shlomi check out e.g http://www.dummies.com/computers/operating-systems/windows-7/how-to-share-an-internet-connection-in-windows-7/ – DhP Apr 19 '18 at 14:12
  • 1
    that means that I need to enable sharing and change the default gateway of my device to my computer's IP? – Shlomi Apr 19 '18 at 14:13
  • @Shlomi From what i can remember (i have not used Windows since Vista); But, yes. It should be as simple as that i think. Also google "Windows Internet Connection Sharing" or more specifically "Windows Internet Connection Sharing ICS" for more details. – DhP Apr 19 '18 at 14:17
  • Thanks! I will try! – Shlomi Apr 19 '18 at 14:18
  • @Shlomi for more about ICS https://en.wikipedia.org/wiki/Internet_Connection_Sharing – DhP Apr 19 '18 at 14:24