Network Conflict problem ?

Hello list;

I am having problems getting my wired interface eth0 and my wireless interface wlan0 to play nice together.

I have a wireless adapter connected to a powered hub along with a USB camera.

I have a network dome camera connected to the BBB ethernet port with a static IP of 192.168.4.2

The WiFi has a static IP of 192.168.4.1

The BBB has a static IP of 192.168.4.3

I have included some information.

There appears to be a conflict between the “/etc/network/interfaces” file and “hostapd.conf”.

hostapd.conf:

Wireless network name

interface=wlan0

Set your bridge name

#bridge=br0

#driver

driver=nl80211

country_code=US

The name of your server##

ssid=Gaucho Robot

Channel to use

channel=7

hw_mode=g

#############Security Starts Here########################

# Static WPA2 key configuration

#1=wpa1, 2=wpa2, 3=both

#wpa=2

wpa_passphrase=yourpassword

Key management algorithms

wpa_key_mgmt=WPA-PSK