Not Impressed - Network Issues

So far after spending 4 days trying to get my BBB connected to the internet I still have not had any success. Shouldn’t I just be able to plug in my network cable, turn the BBB on and have internet access as I would on any other device? I plugged in my RPi and it immediately obtained an ip address and had internet access.

Why on earth is my BBB obtaining an ip from an external source when connected via eth0???

Internally dhcp is distributing 192.168 something, but the BBB is getting 169. something. I’m not able to get internet access from the BBB, but if I visit the ip address I can see my BBB’s website… WTF??? This is total insanity!!!

Any suggestions???

I just looked at my settings for connman and they do not appear to be correct.

[ /net/connman/service/ethernet_9059af6b1cec_cable ]
IPv6.Configuration = { Method=auto Privacy=disabled }
AutoConnect = true
Name = Wired
Nameservers = [ ]
Provider = { }
Favorite = true
Domains.Configuration = [ ]
Timeservers.Configuration = dbus.Array([], signature=dbus.Signature(‘s’), variant_level=1)
State = ready
Proxy = { Method=direct }
Nameservers.Configuration = [ ]
IPv4 = { Netmask=255.255.0.0 Method=dhcp Address=169.254.35.27 }
Timeservers = dbus.Array([], signature=dbus.Signature(‘s’), variant_level=1)
IPv6 = { }
Domains = [ ]
Ethernet = { Interface=eth0 MTU=1500 Method=auto Address=XX:XX:XX:XX:XX }
Security = [ ]
Proxy.Configuration = { }
Type = ethernet
Immutable = false
IPv4.Configuration = { Method=dhcp }

Why on earth is my BBB obtaining an ip from an external source when
connected via eth0???

It's not. It's providing it's own address. You likely want it to get an
address from an external source - the DHCP server on your router..

Internally dhcp is distributing 192.168 something, but the BBB is getting
169. something. I'm not able to get internet access from the BBB, but if I
visit the ip address I can see my BBB's website........ WTF??? This is
total insanity!!!

169.254.x.x are IPv4 link-local autoconfigured addresses. i.e. the BBB
didn't get a DHCP response and picked a random 169.254.x.x address itself
instead.
It should still broadcast for DHCP, so if your DHCP server ever starts
handing out addresses it should pick one up and start working.

See RFC 3927 - Dynamic Configuration of IPv4 Link-Local Addresses for an explanation of IPv4 link local
addresses.

This sounds like an issue that some other people are having. Take a look at the postings with a subject of “BeagleBone Rev. A4 ethernet issue

Scott,

That link gives me a missing article error.

To me that seems like something that is being done by the usb connection. Is it possible the usb is disrupting the cat5 connection?

I do hope that's not the same issue, everything I find with that subject is two
years old and on a different board.

It shouldn't. The USB RNDIS gadget interface and the actual RJ45 ethernet
interface are totally seperate. There's no reason for them to conflict.

As with anything else, there could be a bug or misconfiguration causing it.

My suggestion would be to get a proper serial console connected to J1, don't
connect anything to USB/P4. Connect to your network via the RJ45 connector
only. That should eliminate any possible conflict.

If you still have problems then you need to do all the normal things like
verifying the network cable works, that your router is handing out IP
addresses via DHCP etc.

If all else fails, it might be worth trying one of Robert Nelsons Debian images.
Details here:
http://article.gmane.org/gmane.comp.hardware.beagleboard.user/61900

Lets try this again → http://article.gmane.org/gmane.comp.hardware.beagleboard.user/27473/match=beaglebone+rev+a4+ethernet+issue

“Lets try this again → http://article.gmane.org/gmane.comp.hardware.beagleboard.user/27473/match=beaglebone+rev+a4+ethernet+issue

No luck with this.

This doesn’t look good:

ifup eth0
ifup: can’t open ‘/etc/network/interfaces’: No such file or directory

I tried searching for that error message quickly and only found it in regards to WIFI which usually meant the person was using the wrong WIFI driver or some setup issue.

  1. When this happens is anything plugged into the USB port on your BBB?

  2. Is your BBB connected to a computer … I seem to remember seeing a post about having either the eth0 plugged in or hooking up to a computer but not both.

  3. The only other thought is to check the bootup messages and see what eth0 related messages pop up.

Yeah, I’ve noticed that recent Angstrom builds have been missing an interfaces file, but if you create a proper one, networking comes up with no problems. A simple version of that file is this:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

This doesn’t seem to do anything. eth0 still will not obtain an IP address.