Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > need help NIC inactive. Network configuration window
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 11th September 17:58
ama eze
External User
 
Posts: 1
Default need help NIC inactive. Network configuration window



Red hat 9.0
I had my linux box connected to the internet via a router that was connected
to the dsl modem.
it worked for a couple of days. Now I have no internet connection through
the linux box.

when I ifconfig in the terminal eth0 was present with no associated ip
address. lo 27.0.0.1 Mask 255.0.0.0

In the Network Configuration window

eth0 an Ethernet connection is inactive. This used to be active when the
internet worked. when I try to activate it I get the this message Titled
Cannot activate network device eth0:1! "Determining IP information for
eth01...SIOCSIFFLAGS: Cannot assign requested address SIOCSIFFLAGS: cANNOT
ASSIGN REQUESTED ADDRESS FAILED"

How can I change status of eth0 to active?
  Reply With Quote


  sponsored links


2 11th September 17:58
tommy reynolds
External User
 
Posts: 1
Default need help NIC inactive. Network configuration window



The error message doesn't mention "eth0", it talks about "eth0:1"; in
Linux, that's a second IP address to be recognized by your NIC, and
another device altogether.

As root, do a:

# tail -f /var/log/messages

in one window while you do:

# ifup eth0

in another and show us what you get.

Cheers!
  Reply With Quote
3 11th September 18:00
ama eze
External User
 
Posts: 1
Default need help NIC inactive. Network configuration window


Thanks for the responce
# ifup eth0
Determining IP information for eth0:1...SIOCSIFFLAGS: Cannot assign
requested addres SIOCSIFFLGS: Cannot asign requested addres
failed.

# tail -f /var/log/messages I
Apr 26 08:49:30 Localhost dhclient: Bind socket to interface: No such
device
it also reads if you did not get this software from ftp.isc.org please get
the latest from ftp.isc.org and instal that before requesting help.

Thanks
Amaechi
  Reply With Quote
4 11th September 18:00
ama eze
External User
 
Posts: 1
Default need help NIC inactive. Network configuration window


(1)[root@localhost root]# ifup eth0


Determining IP information for eth0:1...SIOCSIFFLAGS: Cannot assign

requested address

SIOCSIFFLAGS: Cannot assign requested address

failed.

(2)[root@localhost root]# tail --follow /var/log/messages

Apr 26 08:49:30 localhost dhclient: If you intend to request help from the
dhcp-server@isc.org

Apr 26 08:49:30 localhost dhclient: mailing list, please read the section on
the README about

Apr 26 08:49:30 localhost dhclient: submitting bug reports and requests for
help.

Apr 26 08:49:30 localhost dhclient:

Apr 26 08:49:30 localhost dhclient: Please do not under any cir***stances
send requests for

Apr 26 08:49:30 localhost dhclient: help directly to the authors of this
software - please

Apr 26 08:49:30 localhost dhclient: send them to the appropriate mailing
list as described in

Apr 26 08:49:30 localhost dhclient: the README file.

Apr 26 08:49:30 localhost dhclient:

(3)[root@localhost root]# /etc/init.d/network restart

Shutting down loopback interface: [ OK ]

Setting network parameters: [ OK ]

Bringing up loopback interface: [ OK ]
  Reply With Quote
5 11th September 18:00
tommy reynolds
External User
 
Posts: 1
Default need help NIC inactive. Network configuration window


We didn't catch enough "/var/log/message" traffic to be very helpful.

I can think of two more places to look:

# ls -l /etc/sysconfig/network-scripts/ifcfg-eth0*

and

# cat /etc/sysconfig/network-scripts/ifcfg-eth0*

and let us see that.

Cheers!
  Reply With Quote
6 11th September 18:00
ama eze
External User
 
Posts: 1
Default need help NIC inactive. Network configuration window


(1)[root@localhost root]# ifup eth0


Determining IP information for eth0:1...SIOCSIFFLAGS: Cannot assign

requested address

SIOCSIFFLAGS: Cannot assign requested address

failed.

(2)[root@localhost root]# tail --follow /var/log/messages

I went to the location an copied the last few lines from Messages

Apr 26 17:01:41 localhost dhclient: Bind socket to interface: No such device

Apr 26 17:01:41 localhost dhclient:

Apr 26 17:01:41 localhost dhclient: If you did not get this software from
ftp.isc.org, please

Apr 26 17:01:41 localhost dhclient: get the latest from ftp.isc.org and
install that before

Apr 26 17:01:41 localhost dhclient: requesting help.

Apr 26 17:01:41 localhost dhclient:

Apr 26 17:01:41 localhost dhclient: If you did get this software from
ftp.isc.org and have not

Apr 26 17:01:41 localhost dhclient: yet read the README, please read it
before requesting help.

Apr 26 17:01:41 localhost dhclient: If you intend to request help from the
dhcp-server@isc.org

Apr 26 17:01:41 localhost dhclient: mailing list, please read the section on
the README about

Apr 26 17:01:41 localhost dhclient: submitting bug reports and requests for
help.

Apr 26 17:01:41 localhost dhclient:

Apr 26 17:01:41 localhost dhclient: Please do not under any cir***stances
send requests for

Apr 26 17:01:41 localhost dhclient: help directly to the authors of this
software - please

Apr 26 17:01:41 localhost dhclient: send them to the appropriate mailing
list as described in

Apr 26 17:01:41 localhost dhclient: the README file.

Apr 26 17:01:41 localhost dhclient:

Apr 26 17:01:41 localhost dhclient: exiting.

(3)[root@localhost root]# /etc/init.d/network restart

Shutting down loopback interface: [ OK ]

Setting network parameters: [ OK ]

Bringing up loopback interface: [ OK ]

(4)[root@localhost root]# ls -l /etc/sysconfig/network-scripts/ifcfg-eth0*

-rw-r--r-- 3 root root 251 Apr 25 17:39
/etc/sysconfig/network-scripts/ifcfg-eth0:1

(5)[root@localhost root]# cat/etc/sysconfig/network-scripts/ifcfg-eth0*

bash: cat/etc/sysconfig/network-scripts/ifcfg-eth0*: No such file or
directory
  Reply With Quote
7 11th September 18:00
tommy reynolds
External User
 
Posts: 1
Default need help NIC inactive. Network configuration window


Having "ifcfg-eth0:1" and not having "ifcfg-eth0" is quite odd.

We are getting closer.


First, you need a space after cat:

# cat /etc/sysconfig/network-scripts/ifcfg-eth0*

Keep the faith ;-)
  Reply With Quote
8 11th September 18:00
ama eze
External User
 
Posts: 1
Default need help NIC inactive. Network configuration window


Thanks

this is the result

root@localhost root]# cat /etc/sysconfig/network-scripts/ifcfg-eth0*
# Please read /usr/share/doc/initscripts-*/sysconfig.txt

# for the do***entation of these parameters.

TYPE=Ethernet

DEVICE=eth0:1

HWADDR=00:06:29:29:34:9f

BOOTPROTO=dhcp

ONBOOT=yes

DHCP_HOSTNAME=192.168.0.1

USERCTL=yes

PEERDNS=yes

GATEWAY=192.168.0.1

Thanks
  Reply With Quote
9 11th September 18:00
tommy reynolds
External User
 
Posts: 1
Default need help NIC inactive. Network configuration window


Here is my "ifcfg-eth0" for a DHCP setup:

# Realtek|RTL-8139/8139C/8139C+
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=08:00:46:BD:1B:55
ONBOOT=yes
TYPE=Ethernet
DHCP_HOSTNAME=lexx.localdomain
USERCTL=yes
PEERDNS=yes

as a reference.

Change your "ifcfg-eth0:1" file and as root:

# ifdown eth0:1 <--- Ignore errors
# ifup eth0:1 <---

P.S.: You don't need to restart the networking service if it is
already running. We just want to reset "eth0:1".

As usual, if any error messages are captured or displayed, please let
us see them.

Cheers!
  Reply With Quote
10 11th September 19:44
ama eze
External User
 
Posts: 1
Default need help NIC inactive. Network configuration window


Thank you sir the problem is solved. I think it was the ifcfg-eth0:1 file

Thanks for all the help.

Amaechi
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666