Re: [CentOS] Forgetting network settings
So you're saying that your default gateway is an IP address that's part of a *different* network/subnet? I don't know how this network has been designed, but typically I would expect that your default gateway would be something like 188.72.255.1 rather than 217.20.117.1 that you've mentioned earlier. Take a look at mine for example: [~]ifconfig eth0 Link encap:Ethernet HWaddr FE:FD:6D:4A:C1:69 inet addr:109.xx.xxx.105 Bcast:109.74.193.255 Mask:255.255.255.0 inet6 addr: fe80::fcfd:6dff:fe4a:c169/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:78742 errors:0 dropped:0 overruns:0 frame:0 TX packets:67114 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:35442733 (33.8 MiB) TX bytes:12607832 (12.0 MiB) loLink 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:8292 errors:0 dropped:0 overruns:0 frame:0 TX packets:8292 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1195297 (1.1 MiB) TX bytes:1195297 (1.1 MiB) [~]netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 109.xx.xxx.00.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 109.xx.xxx.10.0.0.0 UG0 0 0 eth0 So you can see my host has .105 assigned to eth0, and the default gateway is .1 of the same network/subnet. You might want to check that your addressing is correct. On Mon, 29 Mar 2010, cahit Eyig?nl? wrote: there is no problem with my internet connection i just want that to do this cent os automatically :route add default gw 217.20.117.1 before typing this my netstat -rn looks like this : r...@lin3 [~]# netstat -rn (that is not able to connect to internet) Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 217.20.117.10.0.0.0 255.255.255.255 UH0 0 0 eth0 188.72.255.00.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 after adding gateway : (this works perfect) r...@lin3 [~]# netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 217.20.117.10.0.0.0 255.255.255.255 UH0 0 0 eth0 188.72.255.00.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 217.20.117.10.0.0.0 UG0 0 0 eth0 i just want to add bold line automatically and this is my ifconfig : r...@lin3 [~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:0C:29:83:21:44 inet addr:188.72.255.189 Bcast:188.72.255.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe83:2144/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9653 errors:0 dropped:0 overruns:0 frame:0 TX packets:458 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:876648 (856.1 KiB) TX bytes:50814 (49.6 KiB) Base address:0x2000 Memory:d892-d894 loLink 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:483 errors:0 dropped:0 overruns:0 frame:0 TX packets:483 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:75305 (73.5 KiB) TX bytes:75305 (73.5 KiB) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 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:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) 2010/3/29 Matt Iavarone matt.iavar...@gmail.com 2010/3/29 cahit Eyig?nl? cahit.eyigu...@gmail.com: This is my two line on route-eth0 address0=217.20.117.1 subnet0=255.255.255.255 but what should be next line for default gateway the only thing that i could not complete is default gateway setting and my netstat table must looklike this : Destination Gateway Genmask Flags MSS Window irtt Iface 217.20.117.10.0.0.0 255.255.255.255 UH0 0 0 eth0 xx.xx.xx.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 217.20.117.10.0.0.0 UG0 0 0 eth0 and now i see
Re: [CentOS] Upgrading Centos 5.3 - 5.4
Thanks for your help Bart. I had to download the device-mapper RPMs and manually upgrade them first. Once I'd done that, the upgrade went fine. Bart Schaefer wrote: The mirrors that are being selected for you must not be fully up to date. I don't know why that would be the case, but from a not-yet-updated (actually still 5.2) system I get: Loading priorities plugin Loading fastestmirror plugin Loading mirror speeds from cached hostfile * rpmforge: ftp-stud.fht-esslingen.de * base: mirror.facebook.net * updates: mirror.facebook.net * addons: mirror.facebook.net * extras: centos-distro.cavecreek.net 444 packages excluded due to repository priority protections Installed Packages device-mapper.i386 1.02.24-1.el5 installed device-mapper-event.i386 1.02.24-1.el5 installed device-mapper-multipath.i386 0.4.7-17.el5 installed Available Packages device-mapper.i386 1.02.32-1.el5 base device-mapper-event.i386 1.02.32-1.el5 base device-mapper-multipath.i386 0.4.7-30.el5 base ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading Centos 5.3 - 5.4
Thanks Bart, When I issue that command, I get the following: yum list device-mapper device-mapper-multipath device-mapper-event Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.skiplink.com * base: centosv.centos.org * extras: mirror.newnanutilities.org * updates: mirror.ubiquityservers.com Excluding Packages in global exclude list Finished Installed Packages device-mapper.i386 Rohan Bart Schaefer wrote: On Mon, Oct 26, 2009 at 12:49 PM, Rohan Gilchrist ro...@gilchrist.me wrote: Still the same problems I'm afraid. I read the release notes and followed them to the letter. I'm now seeing: Finished Dependency Resolution lvm2-2.02.46-8.el5.i386 from base has depsolving problems -- Missing Dependency: device-mapper = 1.02.32-1 is needed by package lvm2-2.02.46-8.el5.i386 (base) What do you see if you run yum list device-mapper device-mapper-multipath device-mapper-event ?? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Upgrading Centos 5.3 - 5.4
Still the same problems I'm afraid. I read the release notes and followed them to the letter. I'm now seeing: Finished Dependency Resolution lvm2-2.02.46-8.el5.i386 from base has depsolving problems -- Missing Dependency: device-mapper = 1.02.32-1 is needed by package lvm2-2.02.46-8.el5.i386 (base) mkinitrd-5.1.19.6-54.i386 from base has depsolving problems -- Missing Dependency: device-mapper-multipath = 0.4.7-9 is needed by package mkinitrd-5.1.19.6-54.i386 (base) lvm2-2.02.46-8.el5.i386 from base has depsolving problems -- Missing Dependency: device-mapper-event is needed by package lvm2-2.02.46-8.el5.i386 (base) Error: Missing Dependency: device-mapper-multipath = 0.4.7-9 is needed by package mkinitrd-5.1.19.6-54.i386 (base) Error: Missing Dependency: device-mapper-event is needed by package lvm2-2.02.46-8.el5.i386 (base) Error: Missing Dependency: device-mapper = 1.02.32-1 is needed by package lvm2-2.02.46-8.el5.i386 (base) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest I've installed package cleanup and tried the suggested combinations, except the --skip-broken option. Any thoughts are appreciated. Rohan. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading CentOS 5.3 to 5.4 errors
Hmm no. Time to read the notes. Thanks for your help! On Sat, 24 Oct 2009, Robert wrote: Rohan Gilchrist wrote: Hello, I thought I'd wait a little while before upgrading to 5.4, but am running into the following errors: - Finished Dependency Resolution lvm2-2.02.46-8.el5.i386 from base has depsolving problems -- Missing Dependency: device-mapper = 1.02.32-1 is needed by package lvm2-2.02.46-8.el5.i386 (base) mkinitrd-5.1.19.6-54.i386 from base has depsolving problems -- Missing Dependency: device-mapper-multipath = 0.4.7-9 is needed by package mkinitrd-5.1.19.6-54.i386 (base) lvm2-2.02.46-8.el5.i386 from base has depsolving problems -- Missing Dependency: device-mapper-event is needed by package lvm2-2.02.46-8.el5.i386 (base) Error: Missing Dependency: device-mapper-multipath = 0.4.7-9 is needed by package mkinitrd-5.1.19.6-54.i386 (base) Error: Missing Dependency: device-mapper-event is needed by package lvm2-2.02.46-8.el5.i386 (base) Error: Missing Dependency: device-mapper = 1.02.32-1 is needed by package lvm2-2.02.46-8.el5.i386 (base) It would appear that these packages do exist, although earlier versions: # rpm -q device-mapper device-mapper-1.02.13-1.el5 Any thoughts would be appreaicated. Regards, Rohan. 1. Did you follow the procedure in the 5.4 Release Notes (repeated in the release announcement)? 2. Perhaps the repo(s) you're using is/are broken. My DVD contains (among otherstuf) lvm2-2.02.46-8.el5.i386.rpm and device-mapper-1.02.13.1.el5.i386.rpm so that that particular dependency would be resolved easily enough. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Upgrading CentOS 5.3 to 5.4 errors
Hello, I thought I'd wait a little while before upgrading to 5.4, but am running into the following errors: - Finished Dependency Resolution lvm2-2.02.46-8.el5.i386 from base has depsolving problems -- Missing Dependency: device-mapper = 1.02.32-1 is needed by package lvm2-2.02.46-8.el5.i386 (base) mkinitrd-5.1.19.6-54.i386 from base has depsolving problems -- Missing Dependency: device-mapper-multipath = 0.4.7-9 is needed by package mkinitrd-5.1.19.6-54.i386 (base) lvm2-2.02.46-8.el5.i386 from base has depsolving problems -- Missing Dependency: device-mapper-event is needed by package lvm2-2.02.46-8.el5.i386 (base) Error: Missing Dependency: device-mapper-multipath = 0.4.7-9 is needed by package mkinitrd-5.1.19.6-54.i386 (base) Error: Missing Dependency: device-mapper-event is needed by package lvm2-2.02.46-8.el5.i386 (base) Error: Missing Dependency: device-mapper = 1.02.32-1 is needed by package lvm2-2.02.46-8.el5.i386 (base) It would appear that these packages do exist, although earlier versions: # rpm -q device-mapper device-mapper-1.02.13-1.el5 Any thoughts would be appreaicated. Regards, Rohan. -- Ruadhán Gillecroisd (Rohan Gilchrist) 07780 675 038 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS Beer event London
I'd love to attend, but tomorrow is my birthday and I've already made plans. Regards, Rohan. Geerd-Dietger Hoffmann wrote: From Karan's blog: A few of us are going to be getting together for drinks on the Tuesday 29th Oct 2009, everyone is welcome to come along. I'll get there for about 18:15hrs and plan on being around till about 20:00 - Depending on how many people are around and what the feeling is - we might nip around to Ragam ( mostly authentic South Indian food ), a few doors down. There will be a demo for CentOS-5.4 as well! If there is anything specific you might want to see, let me know a bit in advance. The full address is : King Queens, 1 Foley St, London, W1W 6DLâ Here [1] is a Google Street view of the place. If you email me, I'll get back with my mobile number - although it should be mostly easy to spot the 'CentOS Guys'. Hope to see you there, then! Karan + Didi [1] http://maps.google.co.uk/maps?f=qsource=s_qhl=engeocode=q=cleveland+street,+londonsll=54.525475,-1.188697sspn=1.059963,1.947327g=clevelandie=UTF8ll=51.520388,-0.138603spn=0.00111,0.001902z=19layer=ccbll=51.520304,-0.138508panoid=-gbEysT71vRhFMeDk-ap2Qcbp=12,257.64,,0,11.85 My www page: www.ribalba.de Email / Jabber: riba...@gmail.com Skype : ribalba ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Strange connectivity problem from linux.
I could only connect 3 times out of 10. This was from my Mac laptop running Leopard. It would appear that something abnormal is happening on this host. On Thu, 27 Aug 2009, Tharun Kumar Allu wrote: Hi I have been facing a strange connectivity problem from CentOS and Fedora boxes. When I telnet to $ telnet adp.eease.com 443 it works fine some times and every 5-10 tries or so it says connection refused. And this does not happen from my windows box. Can anyone from this list try this on their linux installation and see if they get the same behaviour? Thanks Tharun ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos