now it's works. thnx for all your help! i can ping my other server in germany, i can acess to fc4 ftom my lan... edit: yum update still doesn't work but yum update: [[email protected] ~]# yum update Setting up Update Process Setting up repositories Cannot find a valid baseurl for repo: updates-released [[email protected] ~]# it's mybe becouse i canceled it one time?
What does /etc/yum.conf look like? Maybe these links help you: http://www.brandonhutchinson.com/Fedora_apt_and_yum_repositories.html http://www.fedora.us/wiki/FedoraSources#yum http://www.google.com/search?q=yum+...ient=firefox-a&rls=org.mozilla:en-US:official
[main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d /////////// i'll just format and reinstall fedora i guess it will be easier. i'll post here what will be then thanx once again for Your help edit: same sh*t
I found this page: http://utcc.utoronto.ca/~cks/space/blog/2005/07/20/ So please post your /etc/resolv.conf here.
Change it to Code: search localdomain nameserver 145.253.2.75 nameserver 193.174.32.18 nameserver 194.25.0.60
Falko is currently in hollidays, laying at the beach with his girlfriend So better post to the forum.
fc4 said that network is unreachable or something similar edit #1: connect: Network is unreachable look at your inbox
Is this problem only related to yum or cant you connect to the internet at all. try e.g. "ping www.google.com" or "lynx www.google.com". Please post the oitput of the command "ifconfig".
[[email protected] ~]# ping -c4 www.google.com ping: unknown host www.google.com [[email protected] ~]# [[email protected] ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:14:2A:BB:2B:F3 inet addr:192.168.2.103 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::214:2aff:febb:2bf3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:661 errors:0 dropped:0 overruns:0 frame:0 TX packets:337 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:95772 (93.5 KiB) TX bytes:59456 (58.0 KiB) Interrupt:185 Base address:0xc000 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:34 errors:0 dropped:0 overruns:0 frame:0 TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6816 (6.6 KiB) TX bytes:6816 (6.6 KiB) [[email protected] ~]#
Are you sure you changed /etc/resolv.conf? Please double-check. Please post the output of Code: route -nee Also, does Code: ping -c4 64.233.183.99 work?
[[email protected] ~]# route -nee Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0 0 0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0 0 0 [[email protected] ~]# ping -c4 64.233.183.99 connect: Network is unreachable [[email protected] ~]# i'm sure for resolv.conf.. it's like that: search localdomain nameserver 145.253.2.75 nameserver 193.174.32.18 nameserver 194.25.0.60
Your system does not have a gateway. Please try tis again: Code: /sbin/route add -net 0.0.0.0 gw 192.168.2.1 eth0 If it doesn't help, reboot the system.
This behaviour is normal, the routes get deleted when you reboot. Therefor you must set the gateway correctly to 192.168.2.1 as discussed in the prior posts. Sorry, but i dont have an idea what else is wrong, i can only explain the reboot behaviour
If setting the gateway doesn't work for you, you can put the line Code: /sbin/route add -net 0.0.0.0 gw 192.168.2.1 eth0 at the end of the start section in your network init script in /etc/init.d. Then you should have an internet connection even after a reboot.
k, did it now one question (offtopic) [[email protected] ~]# yum install quota Setting up Install Process Setting up repositories updates-released 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Parsing package install arguments Nothing to do [[email protected] ~]# yum install quota Setting up Install Process Setting up repositories updates-released 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 964 kB 00:09 extras : ################################################## 2798/2798 Added 9 new packages, deleted 7 old in 2.84 seconds Parsing package install arguments Nothing to do [[email protected] ~]# i don't get it :=) any ideas?