LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-22-2008, 05:57 AM   #1
sugantha
Member
 
Registered: Feb 2008
Distribution: Ubuntu 11.04 Natty Narwhal , Fedora Linux
Posts: 43

Rep: Reputation: 15
Smile 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.
 
Old 03-22-2008, 08:14 AM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
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.

Brian
 
Old 03-22-2008, 08:38 AM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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)
 
Old 03-22-2008, 08:50 AM   #4
sugantha
Member
 
Registered: Feb 2008
Distribution: Ubuntu 11.04 Natty Narwhal , Fedora Linux
Posts: 43

Original Poster
Rep: Reputation: 15
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

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:1475 errors:0 dropped:0 overruns:0 frame:0
TX packets:1475 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2896588 (2.7 MiB) TX bytes:2896588 (2.7 MiB)

[root@localhost ~]# /sbin/lspci -v
00:00.0 Host bridge: Intel Corporation 82810E DC-133 (GMCH) Graphics Memory Controller Hub (rev 03)
Flags: bus master, fast devsel, latency 0
Kernel driver in use: agpgart-intel

00:01.0 VGA compatible controller: Intel Corporation 82810E DC-133 (CGC) Chipset Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Compaq Computer Corporation Unknown device b165
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 3
Memory at 44000000 (32-bit, prefetchable) [size=64M]
Memory at 40100000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [dc] Power Management version 1
Kernel driver in use: i810_smbus
Kernel modules: i2c-i810

00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 00001000-00001fff
Memory behind bridge: 40000000-400fffff

00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
Flags: bus master, medium devsel, latency 0
Kernel modules: iTCO_wdt, intel-rng

00:1f.1 IDE interface: Intel Corporation 82801AA IDE Controller (rev 02) (prog-if 80 [Master])
Subsystem: Intel Corporation 82801AA IDE Controller
Flags: bus master, medium devsel, latency 0
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
I/O ports at 2020 [size=16]
Kernel driver in use: ata_piix
Kernel modules: ata_piix

00:1f.2 USB Controller: Intel Corporation 82801AA USB Controller (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corporation 82801AA USB Controller
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at eec0 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:1f.3 SMBus: Intel Corporation 82801AA SMBus Controller (rev 02)
Subsystem: Intel Corporation 82801AA SMBus Controller
Flags: medium devsel, IRQ 5
I/O ports at eee0 [size=16]
Kernel driver in use: i801_smbus
Kernel modules: i2c-i801

01:05.0 Multimedia audio controller: ESS Technology ES1988 Allegro-1 (rev 12)
Subsystem: Compaq Computer Corporation Unknown device b19d
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at 1000 [size=256]
Capabilities: [c0] Power Management version 2
Kernel driver in use: Maestro3
Kernel modules: snd-maestro3

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

[root@localhost ~]# /sbin/lsmod
Module Size Used by
rfcomm 33233 0
l2cap 21953 9 rfcomm
bluetooth 48165 4 rfcomm,l2cap
sunrpc 149213 3
nf_conntrack_ipv4 11589 7
ipt_REJECT 7361 2
iptable_filter 6337 1
ip_tables 14085 1 iptable_filter
nf_conntrack_ftp 10721 0
nf_conntrack_ipv6 16329 7
xt_state 5953 14
nf_conntrack 51713 4 nf_conntrack_ipv4,nf_conntrack_ftp,nf_conntrack_ipv6,xt_state
xt_tcpudp 6849 18
ip6t_ipv6header 6081 2
ip6t_REJECT 8001 2
ip6table_filter 6209 1
ip6_tables 14981 2 ip6t_ipv6header,ip6table_filter
x_tables 14149 7 ipt_REJECT,ip_tables,xt_state,xt_tcpudp,ip6t_ipv6header,ip6t_REJECT,ip6_tables
loop 16197 0
dm_multipath 18505 0
ipv6 228357 24 nf_conntrack_ipv6,ip6t_REJECT
snd_usb_audio 79681 0
snd_usb_lib 18241 1 snd_usb_audio
snd_hwdep 10693 1 snd_usb_audio
snd_maestro3 24517 3
snd_ac97_codec 93413 1 snd_maestro3
ac97_bus 5825 1 snd_ac97_codec
snd_seq_dummy 6725 0
snd_seq_oss 31553 0
snd_seq_midi_event 9665 1 snd_seq_oss
snd_seq 48945 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_mpu401 11241 1
snd_mpu401_uart 10305 1 snd_mpu401
parport_pc 26725 0
snd_rawmidi 22465 2 snd_usb_lib,snd_mpu401_uart
snd_pcm_oss 44353 0
ns558 7745 0
snd_seq_device 10317 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_mixer_oss 17217 3 snd_pcm_oss
parport 32393 1 parport_pc
gameport 14153 2 ns558
8139cp 21441 0
snd_pcm 70981 4 snd_usb_audio,snd_maestro3,snd_ac97_codec,snd_pcm_oss
snd_timer 21317 2 snd_seq,snd_pcm
floppy 52741 0
8139too 24513 0
pcspkr 6465 0
snd 48453 20 snd_usb_audio,snd_usb_lib,snd_hwdep,snd_maestro3,snd_ac97_codec,snd_seq_dummy,snd_seq_oss,snd_seq,sn d_mpu401,snd_mpu401_uart,snd_rawmidi,snd_pcm_oss,snd_seq_device,snd_mixer_oss,snd_pcm,snd_timer
mii 8257 2 8139cp,8139too
soundcore 9505 3 snd
snd_page_alloc 11593 1 snd_pcm
button 10321 0
iTCO_wdt 13797 0
iTCO_vendor_support 6981 1 iTCO_wdt
i2c_i801 11985 0
i2c_i810 8133 0
i2c_algo_bit 9029 1 i2c_i810
i2c_core 21057 3 i2c_i801,i2c_i810,i2c_algo_bit
sg 32209 0
sr_mod 17381 0
cdrom 33761 1 sr_mod
dm_snapshot 17765 0
dm_zero 5697 0
dm_mirror 21441 0
dm_mod 48773 9 dm_multipath,dm_snapshot,dm_zero,dm_mirror
pata_acpi 8641 0
ata_generic 8773 0
ata_piix 17861 2
libata 128561 3 pata_acpi,ata_generic,ata_piix
sd_mod 26689 3
scsi_mod 123341 4 sg,sr_mod,libata,sd_mod
ext3 111945 2
jbd 40533 1 ext3
mbcache 10049 1 ext3
uhci_hcd 23633 0
ohci_hcd 22725 0
ehci_hcd 32333 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
 
Old 03-22-2008, 09:56 AM   #5
sugantha
Member
 
Registered: Feb 2008
Distribution: Ubuntu 11.04 Natty Narwhal , Fedora Linux
Posts: 43

Original Poster
Rep: Reputation: 15
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...
 
Old 03-22-2008, 10:40 AM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
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
 
Old 03-22-2008, 12:46 PM   #7
sugantha
Member
 
Registered: Feb 2008
Distribution: Ubuntu 11.04 Natty Narwhal , Fedora Linux
Posts: 43

Original Poster
Rep: Reputation: 15
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
 
Old 03-22-2008, 01:41 PM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
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.

Brian
 
Old 04-11-2008, 12:18 AM   #9
nifund9
Member
 
Registered: Oct 2004
Distribution: Slackware 12.1, FreeBSD 7.0, UbuntuStudio 8.10
Posts: 32

Rep: Reputation: 15
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:

rmmod 8139too
insmod 8139too media=0x01 (might try modprobe 8139too media=0x01)

Also, a quick fix for the r8139 module is to uninstall and reinstall

rmmod r8139
modprobe r8139

and networking (internet) will work-this is only temporary though, and needs to done after every bootup.

Last edited by nifund9; 04-11-2008 at 12:20 AM.
 
Old 04-12-2008, 11:52 AM   #10
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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.
 
Old 04-12-2008, 07:30 PM   #11
wangberg
LQ Newbie
 
Registered: Jan 2007
Location: PRC
Distribution: Ubuntu 9.04
Posts: 24

Rep: Reputation: 15
I am showing issues after a yum update with my wireless card. If i try and activate wlan0, my box crashes. Completely stuck.

However, the machine was unplugged before it could reboot after the yum update. Could this have any effect on the problem?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update not working right royeo Linux - Newbie 2 09-20-2006 01:01 AM
vncserver not working after yum update rvilarl Fedora 2 05-04-2006 04:11 PM
FC4: Screen Locked crash during yum -y update overnight PlanetPHP Linux - General 1 10-24-2005 05:55 AM
yum update stopped working hakukani Fedora 3 10-09-2005 05:25 AM
yum update not working, fedora core 1 glider7rgs Fedora 2 07-11-2004 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration