But I can get faster access from an either cable. I dont care what is used for an IP for the cable but the wireless should have a static IP.
In order to work on other problems with my network setup, which I will ask in Part 2 after Part 1 is solved.
I have made the following changes from a Raspbian install.
systemctl disable dhcpcd
systemctl stop dhcpcd
apt-get remove openresolv.
I have an:
Code: Select all
pi@camera:~ $ sudo more /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="XXXX"
key_mgmt=NONE
id_str="wireless-static"
}
Code: Select all
pi@camera:~ $ more /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface wireless-static inet static
address 192.168.0.2
gateway 192.168.0.1
broadcast 192.168.0.255
dns-search XXX YYY
dns-servers 127.0.1
Code: Select all
pi@camera:~ $ cat /etc/hostname
camera.XXX
pi@camera:~ $ cat /etc/resolv.conf
domain XXX
search XXX
nameserver 192.168.0.1
Currently the eth0 connect comes up with the router provided IP.
As can be seen the /etc/resolveconf provided dnsserver is provided by dhcp as well.
UPDATE:
When I commented out the "auto wlan0" and left the "allow-hotplug wlan0"
ifconfig shows wlan0 with a inet6 addr:
but no inet addr: