Your hostapd is fine. I suspect your connected interface is not bridged to your wlan0, or you do not have a dhcpd running.
Options:
Install DHCP server(i.e. dnsmasq).
Bridge your wlan0 to ethx.
brctl addbr br0
brctl addif br0 ethx
then add to your hostapd.conf
bridge=br0