Beaglebone: Getting Started - Windows USB Network Adapter Setup Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ย. 2013
  • This video looks at getting started with the Beaglebone Black using the USB network adapter that allows you to use the BBB without having to install it within a network. So, the BBB can be connected to the desktop PC using only one USB cable, which provides power and Internet connectivity. This is a video for students that are taking my EE402 module in Dublin City University. A USB network adapter is much more straightforward than trying to custom configure routers/switches within a university infrastructure. The video also briefly deals with the date/time problem in a very basic way.
    Further information on the videos on this channel can be found at the website www.derekmolloy.ie/ including update blogs, source code, text guides and structured instruction.
    www.derekmolloy.ie

ความคิดเห็น • 72

  • @AdrianCroftCrank
    @AdrianCroftCrank 5 ปีที่แล้ว +1

    Brilliant, I used 'ip route add default via 192.168.6.1' on my BBBB (I have a Bela cape) and enabled file print echo for v4 and v6 along with Derek's other instructions and finally (after much cursing at my tying) got a connection through Windows / USB / Wifi. This video is Essential viewing ....

  • @learnfromatharv7121
    @learnfromatharv7121 9 ปีที่แล้ว +1

    Dear Derek Sir I must say, You are the best teacher I ever had. :)

  • @a.a.patrick
    @a.a.patrick 7 หลายเดือนก่อน +1

    Thank you so much.
    Windows seems to a big trouble.
    I got my BBB on the network with no issue using Ubuntu.
    but untill I watched your video before i could get it work.
    Thanks once more.

  • @DkMark-pu8hi
    @DkMark-pu8hi 7 ปีที่แล้ว

    This works very well. Thank you for your contribution here!!!

  • @ak2b
    @ak2b 10 ปีที่แล้ว

    Thanks, that was a big help. I just got my BBB today

  • @SrinathBeldona
    @SrinathBeldona 8 ปีที่แล้ว

    Excellent tutorial. Thanks Derek

  • @aradanielyan4130
    @aradanielyan4130 10 ปีที่แล้ว

    Thank you very much for the great tutorial! It worked for me very well.

  • @MohsenMajnoon
    @MohsenMajnoon 8 ปีที่แล้ว

    You're a real lifesaver! Thank you sir!

  • @HopWorksET
    @HopWorksET 10 ปีที่แล้ว

    Fabulous tutorial about enabling a feature I could only dream of. Works great and very well explained. I learned more than just the target task. Nice job Derek and I subscribed. I can't wait to find out what else I can learn about my new BBB.
    I do have a question: Is it possible in Windows 7 to share a connection with more than one adapter? I already shared connection with my second wireless adapter so I could share with local wireless devices. Doing what you illustrated here disables that ability for me. Not that big of a deal but it would be nice to have it all shared. Thank you again sir for your great contribution!

  • @hjagaty
    @hjagaty 9 ปีที่แล้ว

    Thanks a lot. You really solved my problem and made my day/night ;-)

  • @HobbyBots
    @HobbyBots 10 ปีที่แล้ว

    Lots of great info. Thanks for posting.

  • @XinWongDigital
    @XinWongDigital 10 ปีที่แล้ว

    good stuff as always, thanks for sharing...

  • @wesmurrell7430
    @wesmurrell7430 10 ปีที่แล้ว +2

    Thanks for the video!

  • @tastelesstouch
    @tastelesstouch 10 ปีที่แล้ว

    Thank you so much this was a life saver!!!!

  • @eeramzi
    @eeramzi 10 ปีที่แล้ว

    That's great reference, Many thanks.

  • @littletcox
    @littletcox 9 ปีที่แล้ว

    You're a lifesaver thank you

  • @JukkaAakula
    @JukkaAakula 10 ปีที่แล้ว

    Thank you very much - I also did not manage to ping the windows machine from the beagle bone but maybe tomorrow.

  • @kevinvanlandingham8938
    @kevinvanlandingham8938 10 ปีที่แล้ว

    These are really great videos. Do you have any on Linux administration?

  • @yapadqoi
    @yapadqoi 10 ปีที่แล้ว

    A guy calls "Daddy" at 12:01 ;-) which means that Mr Molloy uses his personal rest time to make us these wonderful videos. Thanks a lot for that!

  • @qzorn4440
    @qzorn4440 9 ปีที่แล้ว

    Greetings! I enjoy watching the OpenCV videos and reading your new Beaglebone Black textbook. I was wondering if it would be beneficial to create some videos of your students doing different projects and showing the thought process in correcting their mistakes? Many videos show how to do a task with no problems. Followed by several comments help me troubleshoot. Thank you and best regards.

  • @garyc.4079
    @garyc.4079 10 ปีที่แล้ว

    Excellent Thank you.

  • @ashash8881
    @ashash8881 3 ปีที่แล้ว

    YES. FINALLY. WOOHO! THANKS!

  • @jbexplosionTV
    @jbexplosionTV 5 ปีที่แล้ว +3

    I did all the steps you mentioned but when I pinged 8.8.8.8 it said i was transmitting packages but none of them were received.

  • @pmvanker
    @pmvanker 7 ปีที่แล้ว

    thank you very much
    What to do if Client machine is not windows?
    how to share internet ? in beaglebone ?
    i hv installedd Ubuntu MATE in my Laptop and bbb hv angstrom

  • @janeleona5979
    @janeleona5979 9 ปีที่แล้ว +4

    Hey, I do "/sbin/route add default gw 192.168.7.1 " and change the resolv.conf in /etc as follows:
    # Generated by Connection Manager
    nameserver 192.168.1.1
    nameserver 8.8.8.8
    But my BBB still cannot ping 8.8.8.8 or google.com. Can anyone help me out?

  • @MohsenMajnoon
    @MohsenMajnoon 8 ปีที่แล้ว

    Derek! How can I do the same thing in Linux? I'm using a Debian OS on my pc and want the Beaglebone Black connected to it uses the network, but I can't find "sharing" anywhere...

  • @dhowser2008
    @dhowser2008 6 ปีที่แล้ว

    If the ROM fails how do I reflash it, is there anyway to do it through windows? And what if I only have the bin file?

  • @bessrourmohamedaziz5823
    @bessrourmohamedaziz5823 9 ปีที่แล้ว

    Hi derek,
    i'm running angstrom like you and i don't find the file resolv.config in the directroy /etc..
    what should i do ?

  • @IMWiseGuy4u
    @IMWiseGuy4u 7 ปีที่แล้ว

    I still get unknown host after following your steps. Any help (I can post logs etc. if needed)? Thanks.

  • @katemoon7476
    @katemoon7476 4 ปีที่แล้ว

    Hi, I’ve followed the instructions to the letter. I can get my laptop talking to the BeagleBone, pinging back and forth on the local network using Putty. I changed my settings on my home Wifi to allow sharing. But, when I look at my BeagleBone status on Control Panel >> Network and Internet >> Network Connections >> Linux USB Ethernet/RNDIS Gadget it says, “IPv4 Connectivity: No network access”.
    I don’t see too many people talking about this. Why would it say that? My home Wifi says: “IPv4 Connectivity: Internet”, and that works for my laptop. "Connected" or something like that is what I would want it to say. What would I have to do to change that status? This might be a problem other people are having too. I think it might be a driver issue. I've read up on as much stuff as I can. There are a lot of things it could be.

  • @SamFugarino
    @SamFugarino 10 ปีที่แล้ว

    If you just accept the ip address windows assigns the network adapter and don't set it to dhcp, you don't have to run any scripts on the beaglebone. You will need to use something like wireshark to find out the bone's ip address. After you find it, ssh in and set up a static address on the bone. I did this using an Ethernet cable and got rid of the usb cable all together. Of course you need a power source in that case. After thinking about it, over usb it would be better to follow Dr, Molloy's tutorial. It's much easier.

  • @lusher00
    @lusher00 6 ปีที่แล้ว

    Any chance you can show us how to share network interfaces in Ubuntu?

  • @TroubledTimes2024
    @TroubledTimes2024 9 ปีที่แล้ว

    As usual I can get beyond a point LOL
    Is putty to be installed on the PC or the BBB ?
    Thanks

    • @TroubledTimes2024
      @TroubledTimes2024 9 ปีที่แล้ว

      maratt88
      OK, that's where it is at, I'll try again.
      Thanks

  • @nekhrist
    @nekhrist 9 ปีที่แล้ว

    Derek, my computer doesn't have an ethernet port (it just has the Wi-Fi - It's a ASUS T100). Is there any ways of sharing the Wi-Fi connection to the BeagleBone USB Ethernet?

    • @nekhrist
      @nekhrist 9 ปีที่แล้ว

      btw, I am using Windows 8.1 32-bit

  • @Evan842Complex
    @Evan842Complex 10 ปีที่แล้ว

    So, how do I enable ping on beaglebone black via Win7? I tried to make a custom rule of IPv4 but I still cannot ping 8.8.8.8 . I am rrunning Angstorm, btw. I know that Win7 firewall is blocking the ping

  • @kathiac3299
    @kathiac3299 5 ปีที่แล้ว

    Hello, I have been working with the pocketbeagle. When I connect it to my windows 10 machine and boot it up, it does not show up as a local area connection, I have been trying to share my network wifi with my pocketbeagle, with no luck. Please help!. When I ssh into it using putty and I cannot sign in as root, It asks me for a password (I have tried everything from none to beagle to root with no luck) and then access it denied. I have been able to login by using debian as username and then beagle as the password. Any advice or help I receive would be greatly appreciated. Thanks !

  • @thekingdonecome
    @thekingdonecome 10 ปีที่แล้ว

    Hi Derek, I've gotten all of the drivers installed and can successfully access the 192.168.7.2 webserver on the beaglebone, as well as connect to it through putty. It allows me to login as root and lets me navigate through the file structure and execute commands. The trouble I am having is with the ping command, more specifically no traffic seems to be coming back into the beagle bone. I'll send a ping to 192.168.7.1 and it will not show anything until i hit Ctrl + C, then it will show that 'X packets transmitted, 0 received, 100% packet loss, time XXXms". At first i thought it might be a network configuration issue that would be fixed later on in the video, but I still seem to be having that issue. Any ideas what could be causing the packets to be dropped? Also the 8.8.8.8 DNS server is working as I can ping www.google.ca, but it still has the same result as pinging anything else. Thank you!

    • @MA-dn9fp
      @MA-dn9fp 6 ปีที่แล้ว

      Did you ever resolve this? I have the exact same issue on mine

  • @tanmaychaturvedi8267
    @tanmaychaturvedi8267 9 ปีที่แล้ว +1

    Hey all, if you are facing the problem with PING 192.168.7.1, disable your Anti-Virus and try again, it would work.
    It generally happens because our anti-virus/firewall doesn't allow this communication at first place.

    • @askinc102
      @askinc102 10 หลายเดือนก่อน

      Should I disable firewall too? Isnt that a bad idea?

  • @LeTruong-ry6dv
    @LeTruong-ry6dv 2 หลายเดือนก่อน

    Excuse me, could anyone help me fix an issue when I plug BB in my latop, but I see that Beaglebone don't shows-up in File Explorer. How can I fix it? Thank you so much!

  • @Remington4779
    @Remington4779 8 ปีที่แล้ว +1

    Having internet connection problems over USB. Pinging 192.168.7.1 and 192.168.7.2 works. Pinging 8.8.8.8 (google) doesn't. Connection worked fine yesterday, but not today. I was able to "sudo apt-get update" on the BBB yesterday and installed Qt.
    On my PC (Surface Pro 3 running Windows 10), I've enabled networking sharing on my Wi-Fi, and under the LAN connection, set iPv4 to find automatic instead of manual. Over PuTTY SSH to the BBB, under root user, I've entered the line:
    "/sbin/route add default gw 192.168.7.1" I've read other guides on how to fix this but to no avail. Any help would be great.

    • @B100dyH311
      @B100dyH311 8 ปีที่แล้ว

      +Remi Taylor the video is not up to date i assume, i ran in to the same problem and now i am trying to follow this guide instead derekmolloy.ie/set-ip-address-to-be-static-on-the-beaglebone-black/ which is updated April 2015 by Sir Molley

    • @Remington4779
      @Remington4779 8 ปีที่แล้ว +1

      +B100dyH311 I was able solve my problem. Maybe my thread in reddit could help you:
      www.reddit.com/r/BeagleBone/comments/3osc2f/internet_connection_problems_over_usb_pinging/

    • @burakdemirer71
      @burakdemirer71 7 ปีที่แล้ว

      Thx Remi :)

  • @KpecterAlmeida
    @KpecterAlmeida 8 ปีที่แล้ว +1

    Hi, I have a problem.
    I cant ping from 192.168.7.2 to 192.168.7.1 however i can ping from 192.168.7.1 to 192.168.7.2.
    what can i do?

    • @KpecterAlmeida
      @KpecterAlmeida 8 ปีที่แล้ว +1

      Never mind! looks like i have a beast of Firewall... thank for the help!

  • @user-dv1zg1yk7t
    @user-dv1zg1yk7t 3 ปีที่แล้ว +2

    In SSH port 22 (PuTTY):
    Login:debian
    Password:temptwd
    :~$su -
    passward:root
    :~#/sbin/route add default gw 192.168.7.1 {192.168.6.1 on Macor Linux}
    nano /etc/resolv.conf {nano is an editor enter two lines below, exit, save}
    nameserver 192.168.1.1
    nameserver 8.8.8.8
    {give it a sec to propagate the routing tables.}
    {done}
    Might need to mess with advanced windows firewall settings and make the exception rule for inbound IPs. Good luck, or use a more practical OS.

  • @pariyanshah
    @pariyanshah 10 ปีที่แล้ว

    How do I choose which platform to work on?
    Ångström Linux
    Android
    Ubuntu
    Cloud9 IDE
    I know C/C++, JAVA lang....but i m ready to learn another if needed
    I intend to use OpenCV for real time image processing. I have never used anything other than Windows platform. So guide me accordingly.
    I want to build real time OCR project using BBB as processing device.....

    • @pariyanshah
      @pariyanshah 10 ปีที่แล้ว

      1. How do i choose which platform to work on? I intend to use OpenCV for real time image processing. I have never used anything other than Windows platform. So guide me accordingly.
      2. I have gone through several tutorials, projects on the internet. What I see is the BBB is connected via ethernet/USB to a computer.(I am not talking about the power supply, an adapter will work too). In some projects there is BBB working as the only processing device, no computer is connected. I want the same for my project. Is there any tutorial describing a way how to go about making a project independent of computer? Or I am lacking some basic knowledge on this issue?
      3. I find tutorials on based specifically on Beagleboard, Beagleboard xM or Beaglebone. What are general changes/precautions I should take before implementing for Beaglebone Black? Or should I stick to only those tutorials that have information solely for BBB?
      Thankyou in advance

  • @IMWiseGuy4u
    @IMWiseGuy4u 7 ปีที่แล้ว

    Why didn't you just bridge connections with the bridge connections option when right clicking the Local Area Connection Network 2 at 7:35.

    • @user-dv1zg1yk7t
      @user-dv1zg1yk7t 3 ปีที่แล้ว

      Attempted that too, and now I can not telnet or ping from any machine. Now I am contemplating what would be faster setting up NAT and PAT or just booting Linux from USB. The last resort would be getting up and plugging BBB into the router... Funny how all these options entail going around windows (-.-') or the unwieldy windows firewall; already tried IP exceptions for the little sub-network... I guess a VLAN tunnel might work too; tunneling from the development board to the router -- yeah, my hardware isn't that fancy though... lol Just deleted the bridge and it wouldn't let me telnet into BB, but it had that IPv4 Internet. After resetting the network adapters a bit it started moving. Suspect that Windows and my DHCP (router) don't always chat from the start.
      In SSH port 22 (PuTTY):
      Login:debian
      Password:temptwd
      :~$su -
      passward:root
      :~#/sbin/route add default gw 192.168.7.1 {192.168.6.1 on Macor Linux}
      nano /etc/resolv.conf {nano is an editor enter two lines below, exit, save}
      nameserver 192.168.1.1
      nameserver 8.8.8.8
      {give it a sec to propagate the routing tables.}
      {done}
      Might need to mess with advanced windows firewall settings and make the exception rule for inbound IPs. Good luck, or use a more practical OS.

  • @JaySharma1994
    @JaySharma1994 9 ปีที่แล้ว

    Hey all, my BBB is pinging successfully to 8.8.8.8 but unable to ping to www.google.com though i have added the gateway and the nameserver to resolv.cnf. Please someone help me out.

    • @learnfromatharv7121
      @learnfromatharv7121 9 ปีที่แล้ว

      Jay Sharma did you try to run the script he mentioned at the end. Try it.

  • @ordie2011
    @ordie2011 8 ปีที่แล้ว

    how do i change the date to be us
    and i get this
    root@beaglebone:~# ./StartUSBNetwork
    -sh: ./StartUSBNetwork: Permission denied

  • @avocado_battles
    @avocado_battles 10 ปีที่แล้ว

    Hi derek, I am not able to ping 192.168.7.1 from BBB. What could be the problems..please direct me..

    • @dorianlevy9249
      @dorianlevy9249 10 ปีที่แล้ว

      I had this problem at first. Make sure you allow sharing on your network.

  • @Cosmos142857
    @Cosmos142857 10 ปีที่แล้ว

    Has anyone figured out how to ping your windows(7) computer from the Beaglebone? I have the same issues as below. When I ping 192.168.7.1 nothing is returned.

    • @aradanielyan4130
      @aradanielyan4130 10 ปีที่แล้ว

      Make sure your Windows firewall is not blocking beaglebone's ping.

    • @Cosmos142857
      @Cosmos142857 10 ปีที่แล้ว

      Thanks

  • @maheshmurugan5527
    @maheshmurugan5527 4 ปีที่แล้ว

    Please help me out friend ! How can I get root password .. iam totally new to this board and it is challenging to access root. I have tried many passwords but I can't find out the correct one . Save me out from this problem friend

  • @nibzlegend99
    @nibzlegend99 5 ปีที่แล้ว

    When I type the password as root. It says access denied. The address is right

    • @calebprovost7264
      @calebprovost7264 5 ปีที่แล้ว

      If you're using the latest image from BeagleBone, root is locked. Use usr:pwrd -> debian:temppwd

    • @nibzlegend99
      @nibzlegend99 5 ปีที่แล้ว

      @@calebprovost7264 I am using a Linux sdk image and not debian , would that still be the password?

    • @calebprovost7264
      @calebprovost7264 5 ปีที่แล้ว

      @@nibzlegend99 It really depends. I would check what the distribution is and research what the default account:password is for it and try that.
      The only other thing I could think of would be what he has in his version 2 book:
      "The default login details for Debian are username debian with the password temppwd. Under Ubuntu use ubuntu/temppwd. Ångström and Arch Linux have
      username root and no password (just press Enter)"
      Hopefully one of those help.

    • @nibzlegend99
      @nibzlegend99 5 ปีที่แล้ว

      What if I am using putty on windows. Would the username still be root? I appreciate it

  • @ordie2011
    @ordie2011 8 ปีที่แล้ว

    figured it out
    root@beaglebone:~/ee402/scripts# nano StartUSBNetwork