[pkg-dhcp-devel] Bug#793064: Bug#793064: Bug#793064: syntax error in dhclient-script

Celejar celejar at gmail.com
Tue Jul 21 03:07:30 UTC 2015


On Tue, 21 Jul 2015 12:25:29 +1000
Andrew Pollock <apollock at debian.org> wrote:

> On Mon, Jul 20, 2015 at 09:00:49PM -0400, Michael Gilbert wrote:
> > On Mon, Jul 20, 2015 at 8:41 PM, Celejar wrote:
> > > /sbin/dhclient-script: 7: [: =: unexpected operator
> > > Listening on xxxx
> > > Sending on   xxxx
> > > Sending on   Socket/fallback
> > > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
> > > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
> > > DHCPREQUEST on wlan0 to 255.255.255.255 port 67
> > > DHCPOFFER from 192.168.1.1
> > > DHCPACK from 192.168.1.1
> > > /sbin/dhclient-script: 7: [: =: unexpected operator
> > > bound to 192.168.1.3 -- renewal in 36450 seconds.
> > 
> > ...
> > 
> > > Versions of packages isc-dhcp-client suggests:
> > > pn  avahi-autoipd  <none>
> > > ii  resolvconf     1.76.1
> > 
> > This might be something in resolveconf.  dhclient-script has no =: operators.
> 
> Yeah line 7 of the main script is a comment. Check around line 7 in all your
> hooks, and let us know so we can reassign this to the right package.

Sorry, I understand very little of shell scripting. Can you tell me
exactly what to look for? I think I checked everything
under /etc/dhcp/dhclient-[enter|exit]-hooks/ for any occurrences of
=:, but couldn't find any.

Celejar



More information about the pkg-dhcp-devel mailing list