PDA

View Full Version : I cant connect after upgrading from Fedora 8


AndersonNakano
2008-03-30, 10:47 AM CDT
Hello everybody, I've just upgrade my system from Fedora 7 to 8 and after that I can't stablish an Ethernet connection. As usual, I tried:

$ifup eth0

and the terminal returns:

$Determining IP information for eth0...failed

The settings of eth0 (from ifconfig) are:

eth0 Link encap:Ethernet HWaddr 00:16:36:EB:DC:DB
inet6 addr: fe80::216:36ff:feeb:dcdb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 frame:0
collisions:0 txqueuelen:1000
RX bytes:478 (478.0 b) TX bytes:3888 (3.7 KiB)
Interrupt:16

The contents of /etc/sysconfig/networking/devices/ifcfg-eth0 are

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Ethernet
DEVICE=eth0
HWADDR=00:16:36:eb:dc:db
BOOTPROTO=dhcp
ONBOOT=no
IPV6INIT=no
PEERDNS=yes
NM_CONTROLLED=no

Could someone help me please?

Anderson Nakano

Nokia
2008-03-30, 10:56 AM CDT
$ifup isn't supposed to work. Type su -l first.

AndersonNakano
2008-03-30, 11:26 AM CDT
I did $ipup eth0 as root. Why isn't supposed to work?

Nokia
2008-03-30, 11:29 AM CDT
The command is ifup not $ifup. Your writing suggested you tried to issue the command as normal user.

AndersonNakano
2008-03-30, 12:13 PM CDT
i wrote $ because to indicate a command in the shell. I didn't know this could mean i'm trying the command as normal user. Sorry. so, i tried:

ifup

Thanks for help, do you know why am i not being able to connect?

Anderson

stevea
2008-03-30, 12:15 PM CDT
Obviously the ifup command did something.

Determining IP information for eth0...failed


That looks like the DHCP failed *but*
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 frame:0
is about right for a dhcp request & response.
==

As a test, see if you can manually config the interface and make it work. I think that will succeed.
Also go back through the system-config-networ kand see if that looks correct (re-save it anyway.
Hey - perhaps you didn't set your hostname and the dhcp ca nkey off hostname.

AndersonNakano
2008-03-30, 12:18 PM CDT
I've already tried to config manually the interface and it didn't work. I didn't understant your suggestion: "perhaps you didn't set your hostname and the dhcp ca nkey off hostname". What can i do to set my hostname and etc?

AndersonNakano
2008-03-30, 12:39 PM CDT
If i mark the option "Controlled by NetworkManager", I get an IP value out of the range of my network (169.254.185.45). If i put this adress in firefox, it opens a "Fedora Test Page", but only this. I can't navigate throughout other web pages.

AndersonNakano
2008-03-30, 01:04 PM CDT
problem solved. I set the Ip manually and it worked! Thanks for help!

stevea
2008-03-30, 04:03 PM CDT
169.254.x.x means your system tried to use DHCP but didn't receive data.
Again the hostname may be the issue.