[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't parse interface line '#015'



On 07/03/14 17:36, Tom Furie wrote:
> On Fri, Mar 07, 2014 at 11:53:24AM +1100, Scott Ferguson wrote:
>> On 07/03/14 01:59, lina wrote:
>>> Hi,
>>>
>>> >From syslog, it shows me:
>>>
>>> Mar  6 10:47:05 debian NetworkManager[6729]: Error: Can't parse
>>> interface line '#015'
>>>
>>> # cat -n interfaces
>>>      1	# This file describes the network interfaces available on your system
>>>      2	# and how to activate them. For more information, see interfaces(5).
>>>      3	
>>
>> # nano -c /etc/network/interfaces
>> will show line numbers for you
> 
> That's exactly what 'cat -n' does.
> 
<snipped>
> 
> By standard practice #015 doesn't represent decimal 15, but octal 15,
> which equates to decimal 13, the very line that was causing the problem.
> 
> Cheers,
> Tom
> 

Thanks for the correction, and additional information.
I also note that extra blank lines don't seem to cause a problem in that
config file.


Kind regards


Reply to: