Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #165270

WPA supplicant configured with static IP inside /etc/network/interfaces invokes dhcpcd

From supersonicsnow <supersonicsnow@gmail.com>
Newsgroups linux.debian.user
Subject WPA supplicant configured with static IP inside /etc/network/interfaces invokes dhcpcd
Date 2016-03-12 12:10 +0100
Message-ID <rbPAJ-51S-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

When I try this:

/etc/network/interfaces
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.0.123
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 8.8.8.8 8.8.4.4

*resolvconf makes 2 entries as expected inside the resolv.conf**file*
nameserver 8.8.8.8
nameserver 8.8.4.4

*Alright, but I still need to connect to a network. So I add this stuff 
underneath:*
wpa-scan-ssid 1
wpa-ap-scan 1
wpa-key-mgmt WPA-PSK
wpa-proto RSN WPA
wpa-pairwise CCMP TKIP
wpa-group CCMP TKIP
wpa-ssid "blah"
wpa-psk blahblah

*I get a static IP on the network and connect successfully, but now 
resolv.conf file is polluted with junk created by dhcpcd*
_$ resolvconf -l_
# resolv.conf from wlan0
# Generated by dhcpcd from wlan0
nameserver 192.168.0.1

# resolv.conf from wlan0:ra
# Generated by dhcpcd from wlan0:ra
nameserver fe80::1%wlan0

# resolv.conf from wlan0.inet
# Generated by ifup for wlan0.inet
nameserver 8.8.8.8
nameserver 8.8.4.4

*I expect that dhcpcd should not be involved at all with**my STATIC 
wlan0, is that correct?*
1. Can you please confirm this behavior is a bug.
2. Do you know what package is responsible for the faulty behavior? My 
best guess would be: ifupdown?

Thanks

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

WPA supplicant configured with static IP inside  /etc/network/interfaces invokes dhcpcd supersonicsnow <supersonicsnow@gmail.com> - 2016-03-12 12:10 +0100
  Re: WPA supplicant configured with static IP inside /etc/network/interfaces invokes dhcpcd deloptes <deloptes@gmail.com> - 2016-03-12 12:10 +0100
  Re: WPA supplicant configured with static IP inside /etc/network/interfaces  invokes dhcpcd Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-03-12 12:20 +0100

csiph-web