How to share my wireless internet connection to the BBB ethernet port?

Installed Ubuntu (+ desktop) on BBB

`
root@ubuntu-armhf:~# uname -a

Linux ubuntu-armhf 3.8.13-bone30 #1 SMP Thu Nov 14 11:19:20 UTC 2013 armv7l armv7l armv7l GNU/Linux
`

Installed Linux Driver for Netis WF2190 (my wireless dongle connected to the BBB)

I am able to connect to my wireless network. Now I am trying to share this connection with the BBB ethernet port. I succeeded with a PC + Ubuntu, so I am now trying to do the same using the BeagleBone.

I have tried the usual way using the GUI, Edit Connection and select “Shared to other computers”. At this stage I’d be expecting the eth0 port to acquire the 10.42.0.1 … it never does on the BeagleBone Black.

wlan0 is well connected to the Internet, eth0 never gets an IP.

`
root@ubuntu-armhf:~# ifconfig

eth0 Link encap:Ethernet HWaddr 78:a5:04:df:d9:03
inet6 addr: fe80::7aa5:4ff:fedf:d903/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:309 errors:0 dropped:0 overruns:0 frame:0
TX packets:418 errors:1 dropped:3 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:64045 (64.0 KB) TX bytes:86009 (86.0 KB)
Interrupt:56

eth0:avahi Link encap:Ethernet HWaddr 78:a5:04:df:d9:03
inet addr:169.254.7.190 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:56

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:65536 Metric:1
RX packets:44 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4586 (4.5 KB) TX bytes:4586 (4.5 KB)

wlan0 Link encap:Ethernet HWaddr 04:8d:38:11:21:07
inet addr:192.168.2.109 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::68d:38ff:fe11:2107/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4774 errors:0 dropped:22 overruns:0 frame:0
TX packets:875 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:1000

RX bytes:651142 (651.1 KB) TX bytes:140149 (140.1 KB)
`

I have tried

root@ubuntu-armhf:~# ifdown eth0 <==== OK root@ubuntu-armhf:~# ifup eth0 <==== HANGS FOREVER

I have a ethernet cable plugged from BBB to a PC with Debian.

Ethernet port on the Debian PC is on DHCP, is should acquire an IP 10.42.0.x .

Again this setup worked with 2 PCs, Only trying to do it with BBB.

`
root@ubuntu-armhf:~# lsmod

Module Size Used by
iptable_filter 1504 0
ip_tables 11013 1 iptable_filter
x_tables 16848 2 iptable_filter,ip_tables
bnep 10299 2
rfcomm 30945 0
bluetooth 190961 10 bnep,rfcomm
rfkill 18295 3 bluetooth
8812au 11515600
Saisissez le code ici...

`

Also I don’t understand what is this eth0:avahi, it seems to show up at times.

Any suggestions / tips to troubleshoot/fix this?

Joël