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 3417 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…
Parents
  • 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
Reply
  • 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
Children
No Data
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