Тёмный

Beaglebone: Getting Started - Windows USB Network Adapter Setup Tutorial 

Derek Molloy
Подписаться 53 тыс.
Просмотров 127 тыс.
50% 1

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

Опубликовано:

 

14 ноя 2013

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 72   
@AdrianCroftCrank
@AdrianCroftCrank 5 лет назад
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 ....
@a.a.patrick
@a.a.patrick 7 месяцев назад
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.
@learnfromatharv7121
@learnfromatharv7121 9 лет назад
Dear Derek Sir I must say, You are the best teacher I ever had. :)
@ak2b
@ak2b 10 лет назад
Thanks, that was a big help. I just got my BBB today
@DkMark-pu8hi
@DkMark-pu8hi 7 лет назад
This works very well. Thank you for your contribution here!!!
@SrinathBeldona
@SrinathBeldona 8 лет назад
Excellent tutorial. Thanks Derek
@aradanielyan4130
@aradanielyan4130 10 лет назад
Thank you very much for the great tutorial! It worked for me very well.
@HobbyBots
@HobbyBots 10 лет назад
Lots of great info. Thanks for posting.
@MohsenMajnoon
@MohsenMajnoon 8 лет назад
You're a real lifesaver! Thank you sir!
@wesmurrell7430
@wesmurrell7430 10 лет назад
Thanks for the video!
@XinWongDigital
@XinWongDigital 10 лет назад
good stuff as always, thanks for sharing...
@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!
@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!
@tastelesstouch
@tastelesstouch 10 лет назад
Thank you so much this was a life saver!!!!
@hjagaty
@hjagaty 9 лет назад
Thanks a lot. You really solved my problem and made my day/night ;-)
@eeramzi
@eeramzi 10 лет назад
That's great reference, Many thanks.
@jbexplosionTV
@jbexplosionTV 5 лет назад
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.
@littletcox
@littletcox 9 лет назад
You're a lifesaver thank you
@ashash8881
@ashash8881 3 года назад
YES. FINALLY. WOOHO! THANKS!
@janeleona5979
@janeleona5979 9 лет назад
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?
@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
@JukkaAakula
@JukkaAakula 10 лет назад
Thank you very much - I also did not manage to ping the windows machine from the beagle bone but maybe tomorrow.
@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?
@garyc.4079
@garyc.4079 10 лет назад
Excellent Thank you.
@kevinvanlandingham8938
@kevinvanlandingham8938 10 лет назад
These are really great videos. Do you have any on Linux administration?
@IMWiseGuy4u
@IMWiseGuy4u 7 лет назад
I still get unknown host after following your steps. Any help (I can post logs etc. if needed)? Thanks.
@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...
@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 ?
@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.
@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.
@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
@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
@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 !
@Remington4779
@Remington4779 8 лет назад
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 лет назад
+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 :)
@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
@lusher00
@lusher00 6 лет назад
Any chance you can show us how to share network interfaces in Ubuntu?
@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
@KpecterAlmeida
@KpecterAlmeida 8 лет назад
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 лет назад
Never mind! looks like i have a beast of Firewall... thank for the help!
@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!
@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
@tanmaychaturvedi8267
@tanmaychaturvedi8267 9 лет назад
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?
@user-dv1zg1yk7t
@user-dv1zg1yk7t 3 года назад
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.
@adenintriphosphat520
@adenintriphosphat520 2 месяца назад
Big Thanks
@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.
@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.
@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.
@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
Далее
Каха и калЪян
00:46
Просмотров 86 тыс.
How to use GPIO pins on the Beaglebone Black
12:21
Просмотров 41 тыс.
BeagleBone Black specs | Just Board
5:08
Просмотров 11 тыс.
Beaglebone Black LESSON 2: Getting Started
26:22
Просмотров 109 тыс.
The ULTIMATE Raspberry Pi 5 NAS
32:14
Просмотров 1,6 млн
Getting Started with the Beagle Bone Black
14:15
Просмотров 287 тыс.
Beaglebone: Adding USB Wi-Fi & Building a Linux Kernel
56:44
BeagleBone Blue | Getting Started
10:21
Просмотров 34 тыс.
How-To: Get Started with the BeagleBone
6:22
Просмотров 117 тыс.
Каха и калЪян
00:46
Просмотров 86 тыс.