Internet not working in fedora 8 after an overnight yum update
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu 11.04 Natty Narwhal , Fedora Linux
Posts: 43
Rep:
Internet not working in fedora 8 after an overnight yum update
Hello all...My network connection was working fine until one night when I started the usual yum updatesd .Since then I have'nt been able to connect to the internet...the icon in the system tray has turned red and says "No Network Connection" ...When I click activate on eth0 under devices tab I get the following error
SIOCSIFFLAGS: Invalid argument Failed to bring up eth0
Please help me to get internet working...Many thanks in advance.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Lets see some info. Post output of these commands.
/sbin/ifconfig -a
/sbin/lspci -v ( Only need the portion of the network ethernet card in question )
/sbin/lsmod
uname -r
Now the contents of the file /etc/sysconfig/network-scripts/ifcfg-eth0
In the mean time since you mention yum I am guessing the kernel got updated. Boot up with the old kernel and see if networking is working. If it does then post the output of the command
/sbin/lsmod
uname -r
for that session. please mark asked data to whaich kernel they apply too.
wow that is bad because I bet after the update your old eth0 is now eth1. why a serious kernel patch? and this will get a bunch of people telling me I am crazy but it is your eth0 should be your hard line dsl and eth1 should be wireless if you only have two cards if not then old kernel. if you are a DSL then the problem is your eth0 card is not being loaded try doing a direct modprobe In a terminal type lspci as root. this will show your card then insmod or modprobe the module for it. make sure you type dmesg and see if it is being loaded. and look for the errors. good luck. so the up grade changed your init configuration. if that is the problem then reconfigure your net card in yum so yum nows to load it when you boot. it is done with the init
SIOCSIFFLAGS: Invalid argument Failed to bring up eth0 <---this means card module is not loaded Module (driver)
Distribution: Ubuntu 11.04 Natty Narwhal , Fedora Linux
Posts: 43
Original Poster
Rep:
Thanks Brian for your reply..Here I ve given below the details you asked for. I dont know how to boot with the old kernel.Do you want me to do something like a system restore...
[root@localhost ~]# /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST 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:11 Base address:0x2000
//CONTENTS OF /etc/sysconfig/networks-scripts/ifcfg-eth0:1
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
GATEWAY=192.168.1.1
TYPE=Ethernet
DEVICE=eth0:1
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.1.2
USERCTL=no
PEERDNS=yes
IPV6INIT=no
Distribution: Ubuntu 11.04 Natty Narwhal , Fedora Linux
Posts: 43
Original Poster
Rep:
I tried to connect internet in the last working kernel and it works fine...Now I want to know how to configure internet in my updated kernel...Thanks for the help so far.Any suggestions are greatly appreciated...
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Here is the data that pertains to the nic. What is odd it is pointing eth0 as an Alias IP setup. Here is what I would do.
Rename the ifcfg-eth0:1 to ifcfg-eth0.
Edit that file and change the DEVICE=eth0:1 to DEVICE=eth0.
Also add the line ONBOOOT=yes to the ifcfg-eth0 file.
Save and exit.
Reboot
A lot of the things I see is because of NetworkManager service. Some of the glitches the service daemon does. Never can determine anything common between hardware I have seen that it does odd things on. If it was me and all this machine is going to do is this network setup is turn NetworkManager service off. If you wish then as root.
/sbin/service NetworkManager stop
/sbin/chkconfig --level 345 NetworkManager off
Code:
[root@localhost ~]# /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST 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:11 Base address:0x2000
[root@localhost ~]# /sbin/lspci -v
01:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 66, IRQ 11
I/O ports at 1400 [size=256]
Memory at 40000000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 40010000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2
Kernel driver in use: 8139too
Kernel modules: 8139cp, 8139too
It is using this module
8139too 24513 0
[root@localhost ~]# uname -r
2.6.24.3-12.fc8
//CONTENTS OF /etc/sysconfig/networks-scripts/ifcfg-eth0:1
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
GATEWAY=192.168.1.1
TYPE=Ethernet
DEVICE=eth0:1
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.1.2
USERCTL=no
PEERDNS=yes
IPV6INIT=no
Distribution: Ubuntu 11.04 Natty Narwhal , Fedora Linux
Posts: 43
Original Poster
Rep:
I tried exactly as you said..but it seems to be giving the same error. I was able to configure it back and get internet working with the last kernel.I ve turned off the NetworkManager update feature...If there is any other way I could get it working with my updated kernel please suggest...Thanks for your help so far
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Got me to the cause. Seems to be issues with the latest rpm kernels out on networking.
If you get it post back your fix. Might use the search tool and search the kernel version in question.
I've had some problems with networking after updating as well - the 2.6.24 kernel seems to have some problems. The module I'm having problems with is the r8169 module for Realtek, I see you have the 8139 module, (Kernel modules: 8139cp, 8139too). If you are still having problems, I saw a fix somewhere else:
the 2.6.24 kernel is totally different then the 2.6.23. I have been working on the new X86 asm problem but it is better to get a whole system built around it. Slackware was testing it and after talking with a few people and Pat (by the way pat if your reading this the bike is still being built.) I see they have gone to a 12.1 update for slackware the kernel 2.6.24 is good but has some working out to do as a upgrade. i386 is a symlink to x86 and has caused some script issues for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.