need help : ifdown interface eth0 not configured

Asked by Vasan

i am new for linuk. i installed ubuntu 8.10 in HP xw4600 intel core2 quad system. In that i can't configure network. with help of internet some thing i tried, but i can't configued it gives the error ifdown interface eth0 not configured. pls help me to fix this issue

some more information

semc@Ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:24:81:92:19:b3
          inet6 addr: fe80::224:81ff:fe92:19b3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:204 (204.0 B) TX bytes:1876 (1.8 KB)
          Interrupt:17

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:276 errors:0 dropped:0 overruns:0 frame:0
          TX packets:276 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:18128 (18.1 KB) TX bytes:18128 (18.1 KB)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu network-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Whiteboard:
Retargeted to Ubuntu; this isn't a Launchpad question.
Revision history for this message
Vasan (seenikcet) said :
#1

hi

Revision history for this message
Vasan (seenikcet) said :
#2

semc@Ubuntu:~$ ps -e
  PID TTY TIME CMD
    1 ? 00:00:01 init
    2 ? 00:00:00 kthreadd
    3 ? 00:00:00 migration/0
    4 ? 00:00:00 ksoftirqd/0
    5 ? 00:00:00 watchdog/0
    6 ? 00:00:00 migration/1
    7 ? 00:00:00 ksoftirqd/1
    8 ? 00:00:00 watchdog/1
    9 ? 00:00:00 migration/2
   10 ? 00:00:00 ksoftirqd/2
   11 ? 00:00:00 watchdog/2
   12 ? 00:00:00 migration/3
   13 ? 00:00:00 ksoftirqd/3
   14 ? 00:00:00 watchdog/3
   15 ? 00:00:00 events/0
   16 ? 00:00:00 events/1
   17 ? 00:00:00 events/2
   18 ? 00:00:00 events/3
   19 ? 00:00:00 khelper
   61 ? 00:00:00 kintegrityd/0
   62 ? 00:00:00 kintegrityd/1
   63 ? 00:00:00 kintegrityd/2
   64 ? 00:00:00 kintegrityd/3
   66 ? 00:00:00 kblockd/0
   67 ? 00:00:00 kblockd/1
   68 ? 00:00:00 kblockd/2
   69 ? 00:00:00 kblockd/3
   71 ? 00:00:00 kacpid
   72 ? 00:00:00 kacpi_notify
  156 ? 00:00:00 cqueue
  160 ? 00:00:00 kseriod
  213 ? 00:00:00 pdflush
  214 ? 00:00:00 pdflush
  215 ? 00:00:00 kswapd0
  257 ? 00:00:00 aio/0
  258 ? 00:00:00 aio/1
  259 ? 00:00:00 aio/2
  260 ? 00:00:00 aio/3
 1185 ? 00:00:00 ksuspend_usbd
 1189 ? 00:00:00 khubd
 1320 ? 00:00:00 ata/0
 1321 ? 00:00:00 ata/1
 1322 ? 00:00:00 ata/2
 1324 ? 00:00:00 ata/3
 1325 ? 00:00:00 ata_aux
 2080 ? 00:00:00 scsi_eh_0
 2081 ? 00:00:00 scsi_eh_1
 2082 ? 00:00:00 scsi_eh_2
 2083 ? 00:00:00 scsi_eh_3
 2085 ? 00:00:00 scsi_eh_4
 2087 ? 00:00:00 scsi_eh_5
 2342 ? 00:00:00 kjournald
 2516 ? 00:00:00 udevd
 3327 ? 00:00:00 kpsmoused
 4341 ? 00:00:00 kjournald
 4608 tty4 00:00:00 getty
 4609 tty5 00:00:00 getty
 4616 tty2 00:00:00 getty
 4617 tty3 00:00:00 getty
 4618 tty6 00:00:00 getty
 4806 ? 00:00:00 acpid
 4841 ? 00:00:00 kondemand/0
 4843 ? 00:00:00 kondemand/1
 4844 ? 00:00:00 kondemand/2
 4845 ? 00:00:00 kondemand/3
 4956 ? 00:00:00 syslogd
 5011 ? 00:00:00 dd
 5013 ? 00:00:00 klogd
 5036 ? 00:00:00 dbus-daemon
 5058 ? 00:00:00 avahi-daemon
 5059 ? 00:00:00 avahi-daemon
 5111 ? 00:00:00 cupsd
 5166 ? 00:00:00 hald
 5169 ? 00:00:00 console-kit-dae
 5170 ? 00:00:00 hald-runner
 5252 ? 00:00:00 hald-addon-inpu
 5268 ? 00:00:00 hald-addon-cpuf
 5269 ? 00:00:00 hald-addon-acpi
 5276 ? 00:00:00 hald-addon-stor
 5302 ? 00:00:00 bluetoothd
 5311 ? 00:00:00 btaddconn
 5312 ? 00:00:00 btdelconn
 5356 ? 00:00:00 krfcommd
 5378 ? 00:00:00 NetworkManager
 5386 ? 00:00:00 wpa_supplicant
 5391 ? 00:00:00 nm-system-setti
 5416 ? 00:00:00 gdm
 5419 ? 00:00:00 gdm
 5423 tty7 00:00:11 Xorg
 5445 ? 00:00:00 system-tools-ba
 5483 ? 00:00:00 atd
 5511 ? 00:00:00 cron
 5584 tty1 00:00:00 getty
 5609 ? 00:00:00 gnome-keyring-d
 5620 ? 00:00:00 x-session-manag
 5698 ? 00:00:00 dbus-launch
 5699 ? 00:00:00 dbus-daemon
 5702 ? 00:00:00 pulseaudio
 5705 ? 00:00:00 gconf-helper
 5707 ? 00:00:00 gconfd-2
 5713 ? 00:00:00 seahorse-agent
 5718 ? 00:00:00 gnome-keyring-d
 5720 ? 00:00:00 gnome-settings-
 5722 ? 00:00:00 gvfsd
 5723 ? 00:00:02 metacity
 5733 ? 00:00:00 gvfs-fuse-daemo
 5755 ? 00:00:03 gnome-panel
 5757 ? 00:00:02 nautilus
 5762 ? 00:00:00 bonobo-activati
 5778 ? 00:00:01 gnome-screensav
 5780 ? 00:00:00 gvfs-hal-volume
 5782 ? 00:00:00 gvfs-gphoto2-vo
 5785 ? 00:00:00 trashapplet
 5788 ? 00:00:00 gvfsd-trash
 5794 ? 00:00:00 gvfsd-burn
 5796 ? 00:00:00 fast-user-switc
 5800 ? 00:00:00 mixer_applet2
 5809 ? 00:00:00 python
 5811 ? 00:00:00 tracker-applet
 5813 ? 00:00:00 trackerd
 5814 ? 00:00:00 nm-applet
 5817 ? 00:00:00 update-notifier
 5820 ? 00:00:00 evolution-alarm
 5821 ? 00:00:00 bluetooth-apple
 5825 ? 00:00:00 gnome-power-man
 5837 ? 00:00:00 evolution-data-
 5841 ? 00:00:00 evolution-excha
 5960 ? 00:00:00 notification-da
 6052 ? 00:00:04 gnome-nettool
 6130 ? 00:00:00 gnome-terminal
 6138 ? 00:00:00 gnome-pty-helpe
 6139 pts/0 00:00:00 bash
 7178 pts/0 00:00:00 ps
semc@Ubuntu:~$

Revision history for this message
Shang Wu (shangwu) said :
#3

1. What exactly are you trying to configure?
2. What command did you run?
3. Is "ifdown interface eth0 not configured" the exact error message? If not, can you provide the exact error message?

Revision history for this message
Vasan (seenikcet) said :
#4

Now i am reinstalling the Ubuntu 8.10. i want ot connect to internet. how can i know my Ethernet driver is installed correctly?

Revision history for this message
Jeruvy (jeruvy) said :
#5

Simply type

$ ifconfig

Should show you all your network adapters working or not. If they do not work try posting the output of that command here also:

$ lspci

Good luck,

Revision history for this message
Vasan (seenikcet) said :
#6

semc@Ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:24:81:92:19:b3
          inet6 addr: fe80::224:81ff:fe92:19b3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:136 (136.0 B) TX bytes:8450 (8.4 KB)
          Interrupt:17

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:222 errors:0 dropped:0 overruns:0 frame:0
          TX packets:222 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13904 (13.9 KB) TX bytes:13904 (13.9 KB)

semc@Ubuntu:~$ lshw -C network
WARNING: you should run this program as super-user.
  *-network
       description: Ethernet interface
       product: NetXtreme BCM5755 Gigabit Ethernet PCI Express
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:3f:00.0
       logical name: eth0
       version: 02
       serial: 00:24:81:92:19:b3
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical
       configuration: broadcast=yes driver=tg3 driverversion=3.94 firmware=5755-v3.29 latency=0 module=tg3 multicast=yes
  *-network DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: pan0
       serial: 1a:23:c3:4d:50:42
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A multicast=yes
semc@Ubuntu:~$ lspci
00:00.0 Host bridge: Intel Corporation 82X38/X48 Express DRAM Controller
00:01.0 PCI bridge: Intel Corporation 82X38/X48 Express Host-Primary PCI Express Bridge
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation Quadro FX 370 (rev a1)
3f:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5755 Gigabit Ethernet PCI Express (rev 02)

i think these information is enough for you to help me:)

Revision history for this message
Jeruvy (jeruvy) said :
#7

Try to bring eth0 up:

$ sudo ifup eth0

If this fails go ahead and edit the interfaces file to see if it needs to be configured.

$ gksudo gedit /etc/network/interfaces

It should have the following, feel free to add if its missing:

auto eth0
iface eth0 inet dhcp

If you made any changes to this file, save it and quit, then restart the network

$ sudo /etc/init.d/networking restart

Good luck,

Revision history for this message
Wade Holen (holenwade) said :
#8

I am having the same problem! :(
i tried your solution there.... but idk what happened
when i brought up the gedit screen it looked like this:

auto lo
iface lo inet loopback

*after i edited it i made it look like this:

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp

*and then i saved the file and closed. you can see what hapend below

wade@wade-MM061:~$ ifconfig
lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:156 errors:0 dropped:0 overruns:0 frame:0
          TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11824 (11.8 KB) TX bytes:11824 (11.8 KB)

wlan0 Link encap:Ethernet HWaddr 00:1a:92:7f:5d:57
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:3236 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3939 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2591854 (2.5 MB) TX bytes:751985 (751.9 KB)
          Interrupt:16 Memory:efdfc000-efe00000

wade@wade-MM061:~$ sudo ifup eth0
[sudo] password for wade:
Ignoring unknown interface eth0=eth0.
wade@wade-MM061:~$ gksudo gedit /etc/network/interfaces

(gedit:10311): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.XI4AYV': No such file or directory

(gedit:10311): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:10311): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.8MQJYV': No such file or directory

(gedit:10311): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
wade@wade-MM061:~$ sudo /etc/init.d/networking restart
 * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
 * Reconfiguring network interfaces... Ignoring unknown interface wlan0=wlan0.
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
                                                                         [ OK ]
wade@wade-MM061:~$

Revision history for this message
Wade Holen (holenwade) said :
#9

I am having the same problem! :(
i tried your solution there.... but idk what happened
when i brought up the gedit screen it looked like this:

auto lo
iface lo inet loopback

*after i edited it i made it look like this:

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp

*and then i saved the file and closed. you can see what hapend below

wade@wade-MM061:~$ ifconfig
lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:156 errors:0 dropped:0 overruns:0 frame:0
          TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11824 (11.8 KB) TX bytes:11824 (11.8 KB)

wlan0 Link encap:Ethernet HWaddr 00:1a:92:7f:5d:57
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:3236 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3939 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2591854 (2.5 MB) TX bytes:751985 (751.9 KB)
          Interrupt:16 Memory:efdfc000-efe00000

wade@wade-MM061:~$ sudo ifup eth0
[sudo] password for wade:
Ignoring unknown interface eth0=eth0.
wade@wade-MM061:~$ gksudo gedit /etc/network/interfaces

(gedit:10311): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.XI4AYV': No such file or directory

(gedit:10311): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:10311): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.8MQJYV': No such file or directory

(gedit:10311): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
wade@wade-MM061:~$ sudo /etc/init.d/networking restart
 * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
 * Reconfiguring network interfaces... Ignoring unknown interface wlan0=wlan0.
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
                                                                         [ OK ]
wade@wade-MM061:~$

Revision history for this message
Jeruvy (jeruvy) said :
#10

Wade,

This question is very old and likely not seen by many folks. Please post a NEW question with your issue. Also try not to click the buttons below more than once as it creates duplicate posts. Be patient as launchpad can take a bit to process your reply, it's very very busy here.

Cheers.

Revision history for this message
Anil Jaleel (aney2020) said :
#11

Setting your IP manually

We will first set up the networking manually. In the following example we will assume the following addresses and their purpose:

1) - In order to set these up we will run the following commands:
root@aj:~# ifconfig eth0 192.168.1.121/24
root@aj:~# route add default gw 192.168.1.1
root@aj:~# echo nameserver 192.168.1.1 > /etc/resolv.conf

Getting a static IP to stick between reboots

2) - These settings however will only last until you reboot, so if we want to save them between reboots we need to edit the /etc/network/interfaces file like this: open it with any editor u like

nano /etc/network/interfaces
"
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.1.112
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1
"
save the file using ctrl +o or any way you like

3) - Getting an IP from DHCP
root@aj:~# dhclient eth0

its done now check if you are able to access internet

Can you help with this problem?

Provide an answer of your own, or ask Vasan for more information if necessary.

To post a message you must log in.