minimal hardware development environment

I searched, but just cant seem to put all the pieces together.
I hope this is something very simple.
I apologize if this was already covered and I just wasn't able to
comprehend.

Given: Angstrom Demo already installed, 2.6.29r37 kernel, beagleboard
rev C3, and one USB mini A or B cable?
(i.e., only one cable connected to the beagleboard)

Is it possible to run ssh from the PC that is powering the
beagleboard?

If so, please point me in the right direction.

Yes.

Make sure you have the g_ether module loaded on the beagleboard, and
the cdc_ether module loaded on the host PC. If you have NetworkManager
v0.7 or better installed on the host PC, this whole thing gets a lot
easier: an Auto usb0 connection profile will appear in the "Edit
Connections" window. If you edit the DHCP setting to say "Shared with
other computers" or something like that, and then restart dhcpcd on
the beagleboard, you will get an IP.

Otherwise, if you don't have a recent enough version of
NetworkManager, you'll have to do basic NAT forwarding:
http://gentoo.openpandora.org/wiki/index.php/Networking_-_USB

Ack. I forgot to finish. When your beagleboard gets its IP address,
run ifconfig on the beagleboard and figure out what IP it received.
You should be able to SSH right into the bb from the host PC (and the
host PC only, if I recall correctly) using that IP.

Thank you for the tips.

I installed the windows XP driver http://www.davehylands.com/linux/gumstix/usbnet/linux.inf
per the gumstix how to.
I loaded the g_ether and related modules from
http://www.angstrom-distribution.org/demo/beagleboard/modules-2.6.29-r37-beagleboard.tgz
(btw: this fixed my ipv6 struct mismatch)

The following is a dump of my current progress.

Please shove me in the right direction again.
Thank you and respectfully,
d1m_bu1b

I was not able to run insmod, modinfo... on g_ether like you can with
other modules
So I supplied the entire pathname:

root@beagleboard:~# insmod /lib/modules/2.6.29-omap1/kernel/drivers/
usb/gadget/g_ether.ko
and got:
[ 414.217651] g_ether gadget: using random self ethernet address
[ 414.223602] g_ether gadget: using random host ethernet address
[ 414.230255] usb0: MAC 66:3e:f5:5e:49:db
[ 414.234191] usb0: HOST MAC ba:50:b0:bf:2b:2c
[ 414.238525] g_ether gadget: Ethernet Gadget, version: Memorial Day
2008
[ 414.245239] g_ether gadget: g_ether ready
[ 414.249298] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 414.255065] musb_hdrc musb_hdrc: new USB bus registered, assigned
bus number
2
[ 414.262969] usb usb2: configuration #1 chosen from 1 choice
[ 414.268798] hub 2-0:1.0: USB hub found
[ 414.273590] hub 2-0:1.0: 1 port detected
[ 414.338470] ADDRCONF(NETDEV_UP): usb0: link is not ready

I went into the Angstrom(enlightenment?) network tool and set usb0 and
usbd0 to dhcp.

root@beagleboard:~# ifconfig -a
lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:600 (600.0 b) TX bytes:600 (600.0 b)

usb0 Link encap:Ethernet HWaddr 66:3E:F5:5E:49:DB
          UP BROADCAST RUNNING 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)

root@beagleboard:~# modinfo /lib/modules/2.6.29-omap1/kernel/drivers/
usb/gadget/g_ether.ko
filename: /lib/modules/2.6.29-omap1/kernel/drivers/usb/gadget/
g_ether.ko
license: GPL
author: David Brownell, Benedikt Spanger
description: RNDIS/Ethernet Gadget
srcversion: B9A1781473E6AA9D4592E2D
depends:
vermagic: 2.6.29-omap1 mod_unload modversions ARMv7
parm: idVendor:USB Vendor ID (ushort)
parm: idProduct:USB Product ID (ushort)
parm: bcdDevice:USB Device version (BCD) (ushort)
parm: iManufacturer:USB Manufacturer string (charp)
parm: iProduct:USB Product string (charp)
parm: iSerialNumber:SerialNumber string (charp)
parm: qmult:queue length multiplier at high speed (uint)
parm: dev_addr:Device Ethernet Address (charp)
parm: host_addr:Host Ethernet Address (charp)

then I plugged the mini-B from my PC into the OTG port, and got:
[ 127.490631] Kernel panic - not syncing: Fatal exception in
interrupt

root@beagleboard:~# [ 125.965850] g_ether gadget: high speed config
#2: RNDIS
[ 125.972778] ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[ 126.852111] Unable to handle kernel NULL pointer dereference at
virtual addre
ss 00000000
[ 126.860290] pgd = cbaa4000
[ 126.863006] [00000000] *pgd=8bb01031, *pte=00000000, *ppte=00000000
[ 126.869323] Internal error: Oops: 17 [#1]
[ 126.873352] Modules linked in: g_ether omaplfb pvrsrvkm ircomm_tty
ircomm ird
a ipv6
[ 126.881134] CPU: 0 Not tainted (2.6.29-omap1 #1)
[ 126.886138] PC is at strlen+0x18/0x2c
[ 126.889892] LR is at rndis_msg_parser+0x3a0/0x7ac [g_ether]
[ 126.895507] pc : [<c01d0a08>] lr : [<bf0e87fc>] psr: 60000193
[ 126.895507] sp : cf087bc0 ip : cf087bd0 fp : cf087bcc
[ 126.907043] r10: cf23d320 r9 : d80ab000 r8 : cf23d334
[ 126.912292] r7 : cf23d34c r6 : cf23d334 r5 : bf0ecdf4 r4 :
00000000
[ 126.918853] r3 : bf0ecdf4 r2 : 00000000 r1 : bf0ece24 r0 :
00000000
[ 126.925445] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM
Segment use
r
[ 126.932708] Control: 10c5387d Table: 8baa4019 DAC: 00000015
[ 126.938476] Process OGLESChameleonM (pid: 1927, stack limit =
0xcf0862e8)
[ 126.945312] Stack: (0xcf087bc0 to 0xcf088000)
[ 126.949676] 7bc0: cf087bf4 cf087bd0 bf0e87fc c01d09fc cf31afa0
ce218260 00000
000 00000000
[ 126.958068] 7be0: d80ab100 d80ab100 cf087c1c cf087bf8 bf0e8c34
bf0e8468 bf0e9
794 bf0e7dc8
[ 126.966461] 7c00: 00000052 ce218260 cf98c1b4 00000000 cf087c4c
cf087c20 c02f0
374 bf0e8c14
[ 126.974853] 7c20: c02f0374 00000000 00000008 cf98c0f0 00000c78
ce218278 cf98c
0f0 ce218260
[ 126.983215] 7c40: cf087ca4 cf087c50 c02ef884 c02f0298 c02f1600
c02f0298 2e93b
90a 00000052
[ 126.991607] 7c60: 2e93b90a cf98c188 cf98c32c 0021c368 00000000
cfac004c 00000
008 40000113
[ 127.000000] 7c80: 00000000 cf98c0f0 00000000 00000000 00000099
00000000 cf087
cec cf087ca8
[ 127.008361] 7ca0: c02ee5a0 c02ef5fc c02f5cc4 c02edb38 c00755b0
cf087cc0 c05bb
808 000000f0
[ 127.016754] 7cc0: cf087cc0 40000113 00000000 00000000 0000005c
bef75a54 cf086
000 00000000
[ 127.025146] 7ce0: cf087d04 cf087cf0 c02eea7c c02eddfc cf086000
cfacc580 cf087
d24 cf087d08
[ 127.033538] 7d00: c00883ac c02eea24 c0585d1c 0000005c bef75a54
cf13cd60 cf087
d3c cf087d28
[ 127.041900] 7d20: c0089830 c008837c 0000005c 00000000 cf087d54
cf087d40 c003a
058 c00897a8
[ 127.050292] 7d40: ffffffff d8200000 cf087db4 cf087d58 c003aa30
c003a00c 00002
53e 0000005c
[ 127.058685] 7d60: 00000760 0007a11f cf13cd60 c01c674f bef75a54
cf13cd60 bef75
a54 cf086000
[ 127.067047] 7d80: 00000000 cf087db4 cf087db8 cf087da0 bf0ad3a0
c01c9f80 20000
013 ffffffff
[ 127.075439] 7da0: f30db790 00000032 cf087dfc cf087db8 bf0b42c8
bf0ad390 00000
000 00000000
[ 127.083831] 7dc0: 00000000 00000001 cb47ee20 d0b46000 cf090ed0
00000001 f30d9
90c 00000050
[ 127.092193] 7de0: cb47ee20 d0d4f090 cb47ee20 d0d4f090 cf087e34
cf087e00 bf0bc
3f0 bf0b41c8
[ 127.100585] 7e00: fff75a8f 00000000 cf1f18c0 cf2bb000 cf2ba000
0000004f bef75
a80 cb47ee20
[ 127.108978] 7e20: cf23d9e0 d0b46000 cf087e84 cf087e38 bf0c011c
bf0bc2f8 00000
010 bf0af0c8
[ 127.117340] 7e40: 00000000 00000000 00000001 00000000 cf087eb0
cf1f18c0 cf3ce
6a0 bf0d85bc
[ 127.125732] 7e60: cf2ba000 cf2bb000 bf0bc2ec 0000004f fffffff2
cf087e5c cf087
eec cf087e88
[ 127.134124] 7e80: bf0b06ac bf0bfe64 00000000 00000001 ffffffff
cf3452c0 bef75
a54 c01c674f
[ 127.142486] 7ea0: cf13cd60 cf0ab610 cf2619c0 cf1f18c0 0000004f
0000001c bef75
a80 00000010
[ 127.150878] 7ec0: bef75a90 00000008 00000001 0000004f bef75a54
00000787 fffff
ff2 00000000
[ 127.159271] 7ee0: cf087f0c cf087ef0 c00c7198 bf0b0500 c0054378
00000005 cf13c
d60 c01c674f
[ 127.167663] 7f00: cf087f7c cf087f10 c00c7678 c00c7138 00000000
00000000 fffff
ffd 00000000
[ 127.176025] 7f20: cf087f54 cf087f30 c0075d94 c004f464 cf26e01c
cf2619c0 00000
015 cfad0e00
[ 127.184417] 7f40: 88db592d c05b5e70 cf087f6c cf087f58 c0075e7c
00000005 bef75
a54 c01c674f
[ 127.192810] 7f60: cf13cd60 c003b004 cf086000 00000000 cf087fa4
cf087f80 c00c7
71c c00c71e0
[ 127.201171] 7f80: c0062cc0 00000000 00000000 00000001 00185f80
00000036 00000
000 cf087fa8
[ 127.209564] 7fa0: c003ae80 c00c76e8 00000000 00000001 00000005
c01c674f bef75
a54 0000001c
[ 127.217956] 7fc0: 00000000 00000001 00185f80 00000036 405782b4
00000000 00000
000 00000000
[ 127.226318] 7fe0: 00000001 bef75a50 404196c8 4039b81c 20000010
00000005 80809
021 80809421
[ 127.234710] Backtrace:
[ 127.237182] [<c01d09f0>] (strlen+0x0/0x2c) from [<bf0e87fc>]
(rndis_msg_parse
r+0x3a0/0x7ac [g_ether])
[ 127.246520] [<bf0e845c>] (rndis_msg_parser+0x0/0x7ac [g_ether])
from [<bf0e8c
34>] (rndis_command_complete+0x2c/0x74 [g_ether])
[ 127.258056] [<bf0e8c08>] (rndis_command_complete+0x0/0x74
[g_ether]) from [<c
02f0374>] (musb_g_giveback+0xe8/0x10c)
[ 127.268615] r6:00000000 r5:cf98c1b4 r4:ce218260
[ 127.273284] [<c02f028c>] (musb_g_giveback+0x0/0x10c) from
[<c02ef884>] (musb_
g_ep0_irq+0x294/0xa5c)
[ 127.282409] r7:ce218260 r6:cf98c0f0 r5:ce218278 r4:00000c78
[ 127.288116] [<c02ef5f0>] (musb_g_ep0_irq+0x0/0xa5c) from
[<c02ee5a0>] (musb_i
nterrupt+0x7b0/0xc28)
[ 127.297180] [<c02eddf0>] (musb_interrupt+0x0/0xc28) from
[<c02eea7c>] (generi
c_interrupt+0x64/0x7c)
[ 127.306304] [<c02eea18>] (generic_interrupt+0x0/0x7c) from
[<c00883ac>] (hand
le_IRQ_event+0x3c/0x74)
[ 127.315551] r4:cfacc580
[ 127.318115] [<c0088370>] (handle_IRQ_event+0x0/0x74) from
[<c0089830>] (handl
e_level_irq+0x94/0xec)
[ 127.327239] r7:cf13cd60 r6:bef75a54 r5:0000005c r4:c0585d1c
[ 127.332977] [<c008979c>] (handle_level_irq+0x0/0xec) from
[<c003a058>] (__exc
eption_text_start+0x58/0x70)
[ 127.342620] r5:00000000 r4:0000005c
[ 127.346252] [<c003a000>] (__exception_text_start+0x0/0x70) from
[<c003aa30>]
(__irq_svc+0x30/0x80)
[ 127.355285] Exception stack(0xcf087d58 to 0xcf087da0)
[ 127.360351]
7d40: 00002
53e 0000005c
[ 127.368743] 7d60: 00000760 0007a11f cf13cd60 c01c674f bef75a54
cf13cd60 bef75
a54 cf086000
[ 127.377136] 7d80: 00000000 cf087db4 cf087db8 cf087da0 bf0ad3a0
c01c9f80 20000
013 ffffffff
[ 127.385498] r5:d8200000 r4:ffffffff
[ 127.389129] [<bf0ad384>] (OSWaitus+0x0/0x24 [pvrsrvkm]) from
[<bf0b42c8>] (SG
X2DQueryBlitsCompleteKM+0x10c/0x288 [pvrsrvkm])
[ 127.400756] [<bf0b41bc>] (SGX2DQueryBlitsCompleteKM+0x0/0x288
[pvrsrvkm]) fro
m [<bf0bc3f0>] (SGX2DQueryBlitsCompleteBW+0x104/0x12c [pvrsrvkm])
[ 127.413879] [<bf0bc2ec>] (SGX2DQueryBlitsCompleteBW+0x0/0x12c
[pvrsrvkm]) fro
m [<bf0c011c>] (BridgedDispatchKM+0x2c4/0x360 [pvrsrvkm])
[ 127.426361] [<bf0bfe58>] (BridgedDispatchKM+0x0/0x360 [pvrsrvkm])
from [<bf0b
06ac>] (PVRSRV_BridgeDispatchKM+0x1b8/0x1f8 [pvrsrvkm])
[ 127.438598] [<bf0b04f4>] (PVRSRV_BridgeDispatchKM+0x0/0x1f8
[pvrsrvkm]) from
[<c00c7198>] (vfs_ioctl+0x6c/0x7c)
[ 127.448913] [<c00c712c>] (vfs_ioctl+0x0/0x7c) from [<c00c7678>]
(do_vfs_ioctl
+0x4a4/0x508)
[ 127.457244] r6:c01c674f r5:cf13cd60 r4:00000005
[ 127.461914] [<c00c71d4>] (do_vfs_ioctl+0x0/0x508) from [<c00c771c>]
(sys_ioct
l+0x40/0x64)
[ 127.470184] [<c00c76dc>] (sys_ioctl+0x0/0x64) from [<c003ae80>]
(ret_fast_sys
call+0x0/0x2c)
[ 127.478607] r7:00000036 r6:00185f80 r5:00000001 r4:00000000
[ 127.484344] Code: e24cb004 e1a02000 ea000000 e2800001 (e5d03000)
[ 127.490631] Kernel panic - not syncing: Fatal exception in
interrupt

this also locked up my pc until I unpluged the USB cable

Quick update.
I can get a network up over the OTG usb connection using an iMac and
manually configuring the subnet.
I assume that would be true for a Linux box as well.
I have not tried DHCP.
So the problem may lie in the PC linux.inf / usb8023.sys driver pair

If anybody has any tips please let me know.
In the mean time I'll see if there is a newer usb8023.sys