Re: Strange message, ifup eth0..............

2014-09-08 Thread The Wanderer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 09/08/2014 at 08:22 AM, Charlie wrote:

 Using Debian Jessie, new install
 
 Ethernet controller: Realtek Semiconductor Co., Ltd.
 RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)
 
 When I type this ifup eth0 into a root terminal get this
 message:
 
 bound to 192.168.2.2 -- renewal in 2147483648 seconds. 
 /etc/network/if-up.d/00check-network-cable: 72: local: detected::
 bad variable name run-parts:
 /etc/network/if-up.d/00check-network-cable exited with return code
 2 Failed to bring up eth0.
 
 But the Ethernet connection works? So really nothing to complain 
 about, it just seems strange.

This is almost certainly bug 758798:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758798

 But what does concern me is when I type ifdown eth0 the Ethernet 
 connection does **not** terminate and I get this message:
 
 ifdown eth0 ifdown: interface eth0 not configured
 
 I wonder if anyone might know what is configuring the Ethernet?

I'd guess that ifup is calling scripts which bring up eth0, but then
another script fails later in the process, so ifupdown decides that eth0
didn't come up - and so it doesn't record eth0 is up in whatever place
it stores that information, and ifdown checks that location and doesn't
see eth0 as up.

 This the ifupdown package installed: ifupdown - high level tools to
 configure network interfaces

The failing script, however, is from ifupdown-extra - which I don't have
installed; it appears to be optional. You can probably avoid the issue
by removing it, although there might be some functionality lost in the
process.

- -- 
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCgAGBQJUDaIlAAoJEASpNY00KDJrgHMP/28b/UyZL5165mq16brqhTze
NrXI+mSTpQQO6Nu+CteYFPJWYdlBiAE+IlxiLrN/qXELt+5s69lNCdCUQ9ypLTQK
gKGMVh9XZLyNamux4lqX3TFG0oS9nCc+lIXDHvIvWj4o0EQ+/uSm8WG5iQMOARxC
dMNuguL3K+ODwlUow5eTnvNN2ul1O5GFcQmzkv1G+9Wkkl/mL+h7rSBJ/KQH2DLr
6Wb2PuiTSmLH3Rc9jrpWlnmQfflsv2vovVHCHR+Sm3UawiMMOrELjdlsxAWadBGP
/rl6e9I0gyeNswOZE48fobfMOo65XSm2NkiuU1zA1XpQqa3W6S3NSvh6X4nKH0n2
mK/mhIhG5P+T80cOJ99YDoq7kpJqU+GuyaWrNHpBRDEulpgAyBb/kyGblgDMznY9
snDC9+bSqCc5sYFS3ufIbPQXbmg3oHSOlENm4KMNdMYZ38/o6vb4RbVQelZwDjWi
c6cQdDk5KFywrLoerYkqulmM6Axz/igw18QoucQOEH9+oFp0DS6/I6YCGjDKljWK
nP/in11jcDf+aVjl3rOy4vIbewUvW2Bad2tWpLQA9AaUpcjkpPSxjBB2rWQQmROL
ESLJYhR1BV1wFKZYilRGou27yBt96wykBCT6bIw5/AmsmRiuXZxwSHLcc52OFYhg
zeA+erPQ0WzqH1QMvg8f
=sTFO
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/540da225.8090...@fastmail.fm



Re: Strange message, ifup eth0..............

2014-09-08 Thread Julien boooo
2014-09-08 14:22 GMT+02:00 Charlie aries...@ipstarmail.com.au:


 Using Debian Jessie, new install

 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E
 PCI Express Fast Ethernet controller (rev 07)

 When I type this ifup eth0 into a root terminal get this message:

 bound to 192.168.2.2 -- renewal in 2147483648 seconds.
 /etc/network/if-up.d/00check-network-cable: 72: local: detected:: bad
 variable name
 run-parts: /etc/network/if-up.d/00check-network-cable exited with
 return code 2 Failed to bring up eth0.

 But the Ethernet connection works? So really nothing to complain about,
 it just seems strange.

 But what does concern me is when I type ifdown eth0 the Ethernet
 connection does **not** terminate and I get this message:

 ifdown eth0
 ifdown: interface eth0 not configured

 I wonder if anyone might know what is configuring the Ethernet?

 My /etc/network/interfaces reads:

 # The primary network interface
 # allow-hotplug eth0
 iface eth0 inet dhcp

 In the past ifup and ifdown have always worked as expected?

 This the ifupdown package installed:
 ifupdown - high level tools to configure network interfaces

 TIA
 Charlie
 --
 Registered Linux User:- 329524
 ***

 If you don't get everything you want, think of the things you
 don't get that you don't want. - Oscar Wilde

 ***

 Debian GNU/Linux - just the best way to create magic

 -


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: https://lists.debian.org/2014090810.2503fb0b@taogypsy


Hello Charlie,

This make me think at this bug :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726816
Have you checked the version of your packages ?

Bests
Julien


Re: Strange message, ifup eth0..............

2014-09-08 Thread Charlie
On Mon, 08 Sep 2014 08:33:41 -0400 The Wanderer sent:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512
 
 On 09/08/2014 at 08:22 AM, Charlie wrote:
 
  Using Debian Jessie, new install
  
  Ethernet controller: Realtek Semiconductor Co., Ltd.
  RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)
  
  When I type this ifup eth0 into a root terminal get this
  message:
  
  bound to 192.168.2.2 -- renewal in 2147483648 seconds. 
  /etc/network/if-up.d/00check-network-cable: 72: local: detected::
  bad variable name run-parts:
  /etc/network/if-up.d/00check-network-cable exited with return code
  2 Failed to bring up eth0.
  
  But the Ethernet connection works? So really nothing to complain 
  about, it just seems strange.
 
 This is almost certainly bug 758798:
 
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758798
 
  But what does concern me is when I type ifdown eth0 the Ethernet 
  connection does **not** terminate and I get this message:
  
  ifdown eth0 ifdown: interface eth0 not configured
  
  I wonder if anyone might know what is configuring the Ethernet?
 
 I'd guess that ifup is calling scripts which bring up eth0, but then
 another script fails later in the process, so ifupdown decides that
 eth0 didn't come up - and so it doesn't record eth0 is up in
 whatever place it stores that information, and ifdown checks that
 location and doesn't see eth0 as up.
 
  This the ifupdown package installed: ifupdown - high level tools to
  configure network interfaces
 
 The failing script, however, is from ifupdown-extra - which I don't
 have installed; it appears to be optional. You can probably avoid the
 issue by removing it, although there might be some functionality lost
 in the process.
 
 - -- 
The Wanderer

It appears as you and Julien suggest to be that bug from October 2013?
Never fixed?

But I don't have ifupdown-extra installed only ifupdown. So I installed
ifupdown-extra version 0.25 just to see if it made any difference, it
didn't.

So purged it again and stayed with ifupdown version 0.7.48.1 as before.

Thanks to you and Julien for pointing me to that bug. It's much
appreciated.

Charlie
-- 
Registered Linux User:- 329524
***

A free society is a place where it is safe to be unpopular.
--Adlai Stevenson

***

Debian GNU/Linux - just the best way to create magic

-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140908230632.34307d23@taogypsy



Re: Strange message, ifup eth0..............

2014-09-08 Thread The Wanderer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 09/08/2014 at 09:06 AM, Charlie wrote:

 On Mon, 08 Sep 2014 08:33:41 -0400 The Wanderer sent:
 
 On 09/08/2014 at 08:22 AM, Charlie wrote:
 
 Using Debian Jessie, new install
 
 Ethernet controller: Realtek Semiconductor Co., Ltd. 
 RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev
 07)
 
 When I type this ifup eth0 into a root terminal get this 
 message:
 
 bound to 192.168.2.2 -- renewal in 2147483648 seconds. 
 /etc/network/if-up.d/00check-network-cable: 72: local: 
 detected:: bad variable name run-parts: 
 /etc/network/if-up.d/00check-network-cable exited with return 
 code 2 Failed to bring up eth0.
 
 But the Ethernet connection works? So really nothing to
 complain about, it just seems strange.
 
 This is almost certainly bug 758798:
 
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758798
 
 But what does concern me is when I type ifdown eth0 the 
 Ethernet connection does **not** terminate and I get this 
 message:
 
 ifdown eth0 ifdown: interface eth0 not configured
 
 I wonder if anyone might know what is configuring the
 Ethernet?
 
 I'd guess that ifup is calling scripts which bring up eth0, but 
 then another script fails later in the process, so ifupdown
 decides that eth0 didn't come up - and so it doesn't record eth0
 is up in whatever place it stores that information, and ifdown
 checks that location and doesn't see eth0 as up.
 
 This the ifupdown package installed: ifupdown - high level
 tools to configure network interfaces
 
 The failing script, however, is from ifupdown-extra - which I 
 don't have installed; it appears to be optional. You can
 probably avoid the issue by removing it, although there might be
 some functionality lost in the process.
 
 It appears as you and Julien suggest to be that bug from October 
 2013? Never fixed?

Actually, the bug I pointed to is a different one, filed August 21st of
this year. The bug Julien pointed to is closed as fixed, but the other
is still open.

I don't have strong evidence that it's involved here, but it does
involve the same script, /etc/ifupdown/00check-network-cable.

 But I don't have ifupdown-extra installed only ifupdown. So I 
 installed ifupdown-extra version 0.25 just to see if it made any 
 difference, it didn't.

That's weird. If you didn't have ifupdown-extra installed, you shouldn't
have had /etc/ifupdown/00check-network-cable.

 So purged it again and stayed with ifupdown version 0.7.48.1 as 
 before.

Do you have that file now? If so, what are its contents, and what does
'dlocate 00check-network-cable' report? (If you have dlocate installed,
which you may not.)

- -- 
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCgAGBQJUDavrAAoJEASpNY00KDJrBvsQAIa8p6P71JHSrt1A/psQaYbY
AOyQsdRUxIVf/2jr2TcAPldly8XDsJyfpHKRtSfDLZjGzeXi5wh6B8/GVcrre16M
w+6AQE0qhWvGij6kL9k/HEDB+5zvxodHWB0G7ukjJ2O/w+0XFXcA1ZpVsMVy5GVI
AGAqPhoDMteRgsMrZy+txZOQfyh61tWiO2S0s5M08YmcPINjJgrqtybcnQC+HerS
8cPfS9gviezjbL6W+VjHjOZItpOKE54EhMyLHXB8JId4AAI7djsWq6YCRqofbeQ2
a6q4zsWbIRr0+ZFCgcl91UUMBjiYTAg5LpsQmhEXBonzyPFlETj7OFKB3szFNj99
Gff4KBl2yAplIcQDYHYULKS3BxH1h0JKQ+GN7iJZ7lfJ8muGhc0/8KlajqJqtvCY
buv/+PhLH620E3c9fIHwfIakSRvxn5d56oC59x3pxkb0LbO3JVcqmsaLAabs5Jrd
moJ4jb/1H4kxF+Ehk7bmIGifTfBkOO8fa2AtRKLJZgkNq7nq0JFeZsL+34mpQ8x4
Mt5Dx+5xWbL2Al18XWdq8LIAvv/tbyZvkQ0xBg7exntEeZeVDmyONDoYKnpaL1AL
9MaOxWDZcjEqjC9FzJqqdG/0furDwuWvsPoH/4/NZoN4n+C33eXvWeXNt2uwFB8C
bFlwRaLTO7Jmr3E7I3HD
=5KVi
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/540dabeb.6000...@fastmail.fm