PDA

View Full Version : Connection Failed Fedora C5?


fvs
7th April 2006, 22:05
I've been trying to find out why I can't get connect to the Net, I've been all over the linux web forums and I still can't get a fix. I reinsalled my OS twice and followed ever step.
I'm daul booting with XP and that's perfect, I can get onto the web and run every application I have in it, but I thought that I would like to use Linux and choose Fedora Core 5, How erer I can't get past this problem. Here is problem. I go into my system Network and choose to automaticly configure my DHCP and try to actavte, I get the error message it failed, I was told to post the details, here they are;

[root@localhost /]# /sbin/ifconfig
eth0
Link encap:Ethernet HWaddr 00:E0:4C:F1:A3:FE

inet6 addr: fe80::2e0:4cff:fef1:a3fe/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Interrupt:17 Base address:0xe000

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:3553 errors:0 dropped:0 overruns:0 frame:0

TX packets:3553 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0
RX bytes:4405361 (4.2 MiB)
TX bytes:4405361 (4.2 MiB)





root@localhost /]# dmesg | grep eth0
eth0:
forcedeth.c: subsystem: 01565:2501 bound to 0000:00:14.0
eth0:
no IPv6 routers present
[root@localhost /]#:o

falko
8th April 2006, 01:31
I go into my system Network and choose to automaticly configure my DHCP and try to actavte, I get the error message it failed
Do you have a DHCP server in your network?

What's in /etc/sysconfig/network-scripts/ifcfg-eth0?

fvs
8th April 2006, 15:13
root@localhost network-scripts]# cat ifcfg-eth0
#
nVidia Corporation MCP51 Ethernet
Controller
DEVICE=eth0

BOOTPROTO=dhcp
HWADDR=00
:E0:4C:F1:A3:FE
ONBOOT=yes

USERCTL=no
IPV6INIT=no

PEERDNS=yes
TYPE=Ethernet

[root@localhost network-scripts]#

falko
8th April 2006, 17:43
Please put this into /etc/sysconfig/network-scripts/ifcfg-eth0:

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0C:29:46:19:D3
IPADDR=192.168.0.100
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes

Of course, you must replace BROADCAST, HWADDR, IPADDR, NETMASK and NETWORK with your own values. Then restart the network:
/etc/init.d/network restart

fvs
8th April 2006, 20:06
It's working, Thank you. I tried to go to update all packages and it seems to quit after a time, What is the normal way to update packages? How do I go about it? Do I need to do any special thing? Also the screen darkens and then the screen saver come on and I have to log in once more?
But I just want to thank you very much for your help, you did it. Thanks, fvs:)

falko
9th April 2006, 18:36
What is the normal way to update packages?
If you have a desktop installed on the system, you can do it from there, I think the program is called PUP.
If you're working on the shell, you can do it with yum. Have a look at man yum to learn about all options.