i am new to beagle bone black board. just after getting new board i connected that board to my PC using USB cable and checked it is showing BEAGLE BONE like mass storage drive on system(linux ubuntu), i clicked and entered in to drive and got one START.HMT file clicked on it, it went to website and showed next step install drivers…
i downloaded the mkudevrule.sh file and run it by using chmod + x(for permission) , sudo command , it completed…
i got 73-beagle bone.rules file is created in /etc/udev/rules.d/… after this i concluded drivers are installed properly…
i am trying to get ip address of BBB , but not able to get?? please suggest me what is problem:
i am using a PC with Linux Ubuntu and version is 16.04LTS (64-bit) Ubuntu as a native operating system.
As u suggested i used tail -n 100 /var/log/syslog in to command line(terminal). i got much data not able to understand and i stored the data in to one file please check it i am attaching the same data…
one more thing u told about the local LAN can u explain it once??
OK. I have no experience using Ubuntu 16.04LTS, but I’d assume it contains all necessary drivers for BBB out of the box.
The 2 minute log snippet does not contain anything which I would recognize as a BBB being plugged into USB. Perhaps you did it earlier?
Anyway, your computer appears to try getting an IP from the BBB-s DHCP server, but there’s no response. No idea why. Usually my computer gets a 192.168.6.1 or 192.168.7.1 (actually both, on two separate virtual interfaces) address from the BBB (as described in https://beagleboard.org/static/beaglebone/latest/README.htm).
The BBB has an Ethernet port. Connect it to your LAN (a router with a DHCP server and other standard services is required, obviously). Then you can connect to it from the same LAN. It should respond to name “beaglebone.local” by default. If this name doesn’t resolve then install avahi packages in Ubuntu. Then use your favourite ssh client to connect. Not much more to explain there.
Well, there's nothing to "see" as such. Hopefully the BBB is now reachable via your local network. Your next steps depend on what are you planning to do with it, and this only you know. I assumed you wanted to log into it via ssh and hack away.
You can perform some basic network diagnostics using your PC (it must be connected to the same LAN, obviously).
To check if name resolution works (returns the IPv4 or IPv6 address of the BBB):
$ avahi-resolve -n beaglebone.local
To check if the BBB is reachable from your computer
$ ping beaglebone.local
Hii,
yes , you are true i am going to login to the board using ssh command and trying with one simple hello world program.
once that is fine means i am going to load new Debian image in to board.after that same steps as earlier
Your computer can't reach the beaglebone. I'm out of simple advice. Assuming your LAN setup is OK, it's rather suspicious that neither USB nor Ethernet gives you access to it.
The USB connection also creates a virtual serial port through which a serial console is available (which is nearly is as good as an ssh connection). On my machine it appears as device /dev/ttyACM0. I use it by installing the package "screen" and running:
$ screen /dev/ttyACM0 115200
Pressing Enter causes a login prompt to appear, where you can log in using the default credentials (debian/debian, IIRC). If this doesn't work, I would try re-flashing the board. Follow the instructions here: https://beagleboard.org/Support/BoneScript/updates/
Note that you're debugging it blindly which makes everything more difficult. If you attach a USB-Serial adapter to the debug header, you'll get the bootloader debug output and a serial console. If you don't have one at hand, search aliexpress for "FTDI USB to TTL" and get the first thing that pops up.
using LAN cable to Ethernet it is working fine… i am able to login to board.
with old image on board using ssh and ip address i logged in it is showing root@beaglebone…
I flashed the board with new Debian image, here i am using login user as Debian and password as temppwd, here i tried with LED blinking code