element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Forum BBB can not access Internet via USB to Win-10
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 6 replies
  • Subscribers 103 subscribers
  • Views 3413 views
  • Users 0 members are here
Related

BBB can not access Internet via USB to Win-10

kenunix
kenunix over 5 years ago

I can SSH to 192.168.7.2 OK.

I can connect to virtual USB COM port OK.

I can connect to virtual serial COM port to JTAG OK.

Above using putty

 

I can Firefox to 192.168.7.2 OK

 

I can not ping off the BBB to an external address. I.E.  ping 23.194.117.73 ping to 192.168.7.1 OK.

 

Destination Gateway     Genmask     Flags Metric RefUse Iface
default     192.168.7.1 0.0.0.0     UG0  0    0 usb0
192.168.6.0 0.0.0.0     255.255.255.252 U 0  0    0 usb1
192.168.7.0 0.0.0.0     255.255.255.252 U 0  0    0 usb0

 

 

Is the Win-10 set up to forward packets? I need some help here. Thanks.

  • Sign in to reply
  • Cancel

Top Replies

  • kenunix
    kenunix over 5 years ago +1 verified
    Actually what I had to do follows for Internet access. Took some trial and error. Out of the box the IP addresses 192.168.7.x are only good between two devices. Example a Laptop and the BBB. If you want…
  • shabaz
    0 shabaz over 5 years ago

    Hi Ken,

     

    It's a Windows issue, not a BBB issue. Once you've got the BBB up-and-running, you can shut it down, and plug it into your home router. Then, you can access it as any normal device, and it will have access to other devices.

    If USB is used in this way, then all the usual nonsense (Internet Connection Sharing, Firewall configuration etc) will need to be attempted to try to get it to work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kenunix
    0 kenunix over 5 years ago in reply to shabaz

    shabaz,

     

    Unfortunately my only Internet access is using my laptops WiFi connection.

     

    Ken

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 5 years ago in reply to kenunix

    Hi Ken,

     

    Another option is a USB-WiFi adaptor - or connect via Ethernet to wherever your WiFi router is.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 5 years ago

    Hi Ken,

    https://www.windowscentral.com/how-turn-your-windows-10-pc-wireless-hotspot  will explain how to let BBB use the laptop.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kenunix
    0 kenunix over 5 years ago

    Actually what I had to do follows for Internet access. Took some trial and error.

     

    Out of the box the IP addresses 192.168.7.x are only good between two devices.

    Example a Laptop and the BBB.

     

    If you want Internet access to do updates or whatever do the following

     

    In /etc/network/interfaces make the following changes

     

    iface usb0 inet static

        address 192.168.137.2    <=== 137 was used because Windows insisted on it to do WiFi sharing 7 no go

        netmask 255.255.0.0

        network 192.168.137.0    <=== 137 was 7 originally

        gateway 192.168.137.1    <=== What Windows assigned to the adapter in Windows-10 19.09 64-bit home

        dns-nameservers 8.8.8.8  <=== Point to nameserver

        post-up route add default gw 192.168.137.1  <== Add default gateway. Auto up.

     

    debian@beaglebone:~$ route

    Kernel IP routing table

    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

    default         192.168.137.1   0.0.0.0         UG    0      0        0 usb0  <== Updated automatic entry

    192.168.0.0     0.0.0.0         255.255.0.0     U     0      0        0 usb0

    192.168.6.0     0.0.0.0         255.255.255.252 U     0      0        0 usb1

    debian@beaglebone:~$

     

    On the Windows side make sure the Network connection for the BBB or Ethernet 2

    that the TCP/IP V4 setting is set to the 137 address from above. Save it then bring

    up the WiFi  settings / Properties / Sharing and allow sharing and choose either BBB

    or Ethernet 2. Whichever is the new one added. Save it and exit.

     

    Do a clean startup of the P.C. and the BBB.

     

    It should work fine.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • kenunix
    0 kenunix over 5 years ago in reply to shabaz

    Hi,

     

    About your nice article on the BBB A1 serial connection what USB TTL 3.3V, 5V cable did you use?

    A particular brand/model?

     

    Is a case available for the BBB A1 that you know of?

     

    This BBB A1 can still be powered over P.C. to USB-C? Or, separate power supply Volts/Amps?

    If using Usb-C to power BBB how to connect to P.C.?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube