From: Dave H. <dhy...@gm...> - 2006-06-29 14:42:05
|
hi Larry, > I noticed that too, and that's what I've been trying to get to work, but any > time I cross compile busybox, I get that infamous socket error. Everything > else in the crosscompiled busybox works except raw sockets :( I've been using close to the latest buidlroot (1008), which has the 2.6.17 kernel. I did a buildroot with the default options and installed rootfs. I then went into gumstix-buildroot/build_arm_noflup/busybox-1.1.2 and typed make menuconfig I went into the Networking subtree and enabled etherwake, and exited saving the configuration. I then moved back up to gumstix-buildroot, and typed make busybox got rebuilt. I copied busybox from build_arm_nofpu/root/bin to /tmp on my gumstix and did: chmod +x /tmp/busybox /tmp/busybox ether-wake 01:02:03:04:05:06 and it ran without errors. I enabled tcpdump (running make menuconfig from gumstix-buildroot) and installed tcpdump similarly. Running tcpdump followed by ether-wake gave me this packet capture: 00:-11:-42.935902 9a:b6:29:5a:5b:d1 (oui Unknown) > 01:02:03:04:05:06 (oui Unknown), ethertype Unknown (0x0842), length 116: 0x0000: ffff ffff ffff 0102 0304 0506 0102 0304 ................ 0x0010: 0506 0102 0304 0506 0102 0304 0506 0102 ................ 0x0020: 0304 0506 0102 0304 0506 0102 0304 0506 ................ 0x0030: 0102 0304 0506 ..... so it seems to be working. How were you configuring/building busybox? -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |