BeagleBoard C4 Running Debian Wheezy Snapshot v3.2.7

Hi,

I've installed the March 2nd 2012-03-02 Debian Wheezy snapshot from
the following link:

http://elinux.org/BeagleBoardDebian

Now my board boots fine and I get the console login prompt, however I
can't seem to get my usb ethernet adapter to work. As you can see
below the usb ethernet adapter has been loaded. Its the ASIX item.

[ 4.945465] usb 1-2.1: new high-speed USB device number 3 using
ehci-omap
[ 5.108154] usb 1-2.1: New USB device found, idVendor=0b95,
idProduct=7720
[ 5.119628] usb 1-2.1: New USB device strings: Mfr=1, Product=2,
SerialNumber =3
[ 5.131225] usb 1-2.1: Product: AX88x72A
[ 5.139160] usb 1-2.1: Manufacturer: ASIX Elec. Corp.
[ 5.148254] usb 1-2.1: SerialNumber: 50B219
[ 6.864440] EXT4-fs (mmcblk0p2): INFO: recovery required on
readonly filesyst em
[ 6.876800] EXT4-fs (mmcblk0p2): write access will be enabled
during recovery
[ 9.214599] EXT4-fs (mmcblk0p2): recovery complete
[ 9.458374] EXT4-fs (mmcblk0p2): mounted filesystem with ordered
data mode. O pts: (null)
[ 10.484222] udevd[233]: starting version 175
[ 10.980926] input: gpio-keys as /devices/platform/gpio-keys/input/
input1
[ 11.679626] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 11.914154] OMAP3 Beagle/Devkit8000 SoC init
[ 12.049896] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
[ 12.722930] asix 1-2.1:1.0: eth0: register 'asix' at usb-ehci-omap.
0-2.1, ASI X AX88772 USB 2.0 Ethernet, 00:50:b6:50:b2:19
[ 12.739624] usbcore: registered new interface driver asix

When I run the ifconfig command I don't get any output regarding the
eth0 device. However if I run ifconfig -a then I see the following:

eth0 Link encap:Ethernet HWaddr 00:50:b6:50:b2:19
          BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
          LOOPBACK MTU:16436 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

usb0 Link encap:Ethernet HWaddr 0e:d2:a9:60:61:7b
          BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

The kernel version is as follows:

Linux omap 3.2.7-x5 #1 SMP Sun Feb 26 01:38:27 UTC 2012 armv7l GNU/
Linux

Don't know what to do in order to get it working. As an a side the usb
ethernet adapter was working when I ran the angstrom image found here:

http://www.angstrom-distribution.org/demo/beagleboard/

Regards
Rob

looks fine ^^ so next run ... "sudo dhclient eth0"... to get an ip
from a dhcp server.. then "sudo ifconfig -a" will show an ip for
eth0..

If your just expecting it to work out of the box.. edit
"/etc/network/interfaces" and uncomment the two "eth0" devices lines,
i disable it by default on beagle_bx/cx hardware since there is no
guarantee a user is going to connect an eth0 device..

Regards,

Robert

I tried uncomenting the eth0 lines in the /etc/network/interfaces file
but still can't get the usb ethernet adapter to work.

Also don't appear to have the dhclient command looked in /bin and /
sbin

Regards
Rob

I've manually configured the eth0 settings couldn't get the dhcp side
of things to work.

On a different note I see from reading many entries in the formun
regarding opencv that you managed to install the opencv, could you
point me in the right direction regarding the best way to install
opencv on the BeagleBoard.

Regards
Rob

Ahh crap.. I see the issue:

debian@omap:~$ whereis dhclient
dhclient:
debian@omap:~$ su

Password:
root@omap:/home/debian# whereis dhclient
dhclient:

so, the package "isc-dhcp-client" is no longer installed by default...

http://packages.debian.org/wheezy/isc-dhcp-client

I've now forced it, and starting to rebuild the image.. (it was
suppost to be installed by default, and usually was..)

https://github.com/RobertCNelson/omap-image-builder/commit/54323efd99eaaa9b8e33f43e6cd388d4ad5425de

Regards,

I've manually configured the eth0 settings couldn't get the dhcp side
of things to work.

It actually looks worse now: (neither armhf or s390x have dhclient..)

http://packages.debian.org/search?suite=wheezy&searchon=contents&keywords=dhclient

On a different note I see from reading many entries in the formun
regarding opencv that you managed to install the opencv, could you
point me in the right direction regarding the best way to install
opencv on the BeagleBoard.

in debian: "sudo apt-get install libopencv-dev"

http://packages.debian.org/wheezy/libopencv-dev

Regards,

Thanks for the opencv pointer, has the dhclient package been removed
then?

Just finished testing/uploading a new image...

debian-wheezy-minimal-armhf-2012-03-06.tar.xz

I took debian sid's isc-dhcp-4.2.2 package, rebuilt in a debian wheezy
armhf chroot, and installed those packages in the new image.. At some
point, wheezy will get that exact same package, it's just held up by
'kfreebsd'* according to:

* http://release.debian.org/migration/testing.pl?package=isc-dhcp

Regards,