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


Groups > linux.debian.user > #174508

Re: wheezy, cannot change the address of eth1

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: wheezy, cannot change the address of eth1
Date 2016-11-11 19:40 +0100
Message-ID <sCoU1-7Vj-3@gated-at.bofh.it> (permalink)
References <sCoAF-7P3-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Nov 11, 2016 at 01:13:56PM -0500, Gene Heskett wrote:
> The output on screen for an /etc/init.d/networking restart for eth1 is:
> Configuring interface eth1=eth1 (inet)
> run-parts --verbose /etc/network/if-pre-up.d
> run-parts: executing /etc/network/if-pre-up.d/wireless-tools
> run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
> ip addr add 192.168.0.25/255.255.255.0 broadcast 192.168.0.255 	 dev eth1 
> label eth1
> ip link set dev eth1   up
>  ip route add default via 192.168.0.1  dev eth1 
> RTNETLINK answers: File exists
> Failed to bring up eth1.

Start by showing the contents of /etc/network/interfaces.

Then find out whether a DHCP client daemon is already running.  If you
installed with DHCP (the default) and then edited /e/n/i but didn't stop
dhclient beforehand, then ifdown won't know to kill dhclient and you'll
have to kill it by hand (or reboot).

ps auxw | egrep 'dhclient|dhcpcd'
kill if necessary
ifdown eth1
edit /etc/network/interfaces if necessary
ifup eth1

If this doesn't work, then show the output of "ip addr show eth1"
and the network-relevant parts of dmesg (e.g. "dmesg | grep eth" is
often a good start).

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


Thread

wheezy, cannot change the address of eth1 Gene Heskett <gheskett@shentel.net> - 2016-11-11 19:20 +0100
  Re: wheezy, cannot change the address of eth1 Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-11 19:40 +0100
    Re: wheezy, cannot change the address of eth1 Gene Heskett <gheskett@shentel.net> - 2016-11-12 02:00 +0100
      Re: wheezy, cannot change the address of eth1 Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-14 14:40 +0100
        Re: wheezy, cannot change the address of eth1 Gene Heskett <gheskett@shentel.net> - 2016-11-14 15:50 +0100
  Re: wheezy, cannot change the address of eth1 David Wright <deblis@lionunicorn.co.uk> - 2016-11-11 20:30 +0100
    Re: wheezy, cannot change the address of eth1 Gene Heskett <gheskett@shentel.net> - 2016-11-12 04:00 +0100
  Re: wheezy, cannot change the address of eth1 Darac Marjal <mailinglist@darac.org.uk> - 2016-11-11 22:20 +0100
    Re: wheezy, cannot change the address of eth1 Andy Smith <andy@strugglers.net> - 2016-11-12 05:50 +0100
      [SOLVED]Re: wheezy, cannot change the address of eth1 Gene Heskett <gheskett@shentel.net> - 2016-11-12 11:00 +0100

csiph-web