Page 1 of 1

[SOLVED] Internet Connection Problem

PostPosted: May 12th, '13, 11:09
by vecciora
I'm using Mageia Cauldron right now.

My internet connection has a problem. It could only lasts for a few minutes and then I need to remove the ethernet cable and plug it again to get the internet working again.

The status says that the connection is up when it couldn't connect to anything actually.

I've got this problem before in Fedora 18 but after updating. The problem seems to be the kernel version 3.8.x because after upgrading to 3.9.x the internet connection is fine.

When will Mageia ship 3.9.x kernel?

The output of lspci:
Code: Select all
00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310]
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310]
00:04.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:05.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40)
00:15.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.2 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI bridge (PCIE port 2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7
01:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
02:00.0 Ethernet controller: Qualcomm Atheros AR8152 v2.0 Fast Ethernet (rev c1)
07:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller

Re: Internet Connection Problem

PostPosted: May 12th, '13, 11:43
by djennings
Try this
In Mageia Control Centre>Network>NetworkCentre select the ethernet connection>Configure>Advanced and untick the box labelled 'Network Hotplugging'

That will stop the interface listening for 'link beat'. It sounds like you are getting link beat timeouts.

Re: Internet Connection Problem

PostPosted: May 12th, '13, 13:49
by vecciora
Sorry but seems like that doesn't help. My internet connection is still problematic.

EDIT: I'm not sure but it seems it does help.

EDIT: Now I'm sure it doesn't help.

Re: Internet Connection Problem

PostPosted: May 12th, '13, 16:12
by djennings
Do you see any messages in syslog or dmesg when you lose the connection?

Re: Internet Connection Problem

PostPosted: May 12th, '13, 17:18
by doktor5000
Please provide the output of
Code: Select all
lspcidrake -v | grep -i net
as the lspci output doesn't give the pci ids.

Maybe you want to have a look at http://askubuntu.com/questions/127151/e ... 2-os-12-04

Re: Internet Connection Problem

PostPosted: May 18th, '13, 04:41
by vecciora
doktor5000 wrote:Please provide the output of
Code: Select all
lspcidrake -v | grep -i net
as the lspci output doesn't give the pci ids.

Maybe you want to have a look at http://askubuntu.com/questions/127151/e ... 2-os-12-04


I'm not sure but
Code: Select all
[  252.676198] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Down
[  254.156194] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
[  419.112551] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Down
[  420.595783] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>


Well the link is down because I put off the connector.

Code: Select all
atl1c           : Qualcomm Atheros|AR8152 v2.0 Fast Ethernet [NETWORK_ETHERNET] (vendor:1969 device:2062 subv:1043 subd:8468) (rev: c1)
bcma            : Broadcom Corporation|BCM4313 802.11b/g/n Wireless LAN Controller [NETWORK_OTHER] (vendor:14e4 device:4727 subv:1a3b subd:2047) (rev: 01)


Sorry for the late reply.

Re: Internet Connection Problem

PostPosted: May 18th, '13, 16:32
by vecciora
Kernel 3.9 doesn't help too.

Re: Internet Connection Problem

PostPosted: May 18th, '13, 22:53
by doktor5000
Have you tried what was suggested on the linked page?

doktor5000 wrote:Maybe you want to have a look at http://askubuntu.com/questions/127151/e ... 2-os-12-04

Re: Internet Connection Problem

PostPosted: May 19th, '13, 14:13
by vecciora
I've just installed Mageia 3 and it seems like my wifi connection doesn't have problems. I'll try the suggested page and see the result.

Hm ..., your suggested page seems like it is about wireless connection. My wireless connection is fine, but the ethernet one is problematic.

Re: Internet Connection Problem

PostPosted: May 19th, '13, 14:59
by doktor5000
If you read more thoroughly, it's about ethernet connection. The driver is for wireless, but also supports other Atheros chipsets.
Don't know why you mentioned your wireless connection now ...

Re: Internet Connection Problem

PostPosted: May 19th, '13, 15:26
by vecciora
Code: Select all
make -C /lib/modules/3.8.13-desktop-1.mga3/build M=/home/boby/Downloads/compat-wireless-2012-12-18 modules
make[1]: Entering directory `/usr/src/linux-3.8.13-desktop-1.mga3'
  CC [M]  /home/boby/Downloads/compat-wireless-2012-12-18/drivers/gpu/drm/i915/i915_drv.o
/home/boby/Downloads/compat-wireless-2012-12-18/drivers/gpu/drm/i915/i915_drv.c:881:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘i915_pci_probe’
/home/boby/Downloads/compat-wireless-2012-12-18/drivers/gpu/drm/i915/i915_drv.c:1070:11: error: ‘i915_pci_probe’ undeclared here (not in a function)
make[4]: *** [/home/boby/Downloads/compat-wireless-2012-12-18/drivers/gpu/drm/i915/i915_drv.o] Error 1
make[3]: *** [/home/boby/Downloads/compat-wireless-2012-12-18/drivers/gpu/drm/i915] Error 2
make[2]: *** [/home/boby/Downloads/compat-wireless-2012-12-18/drivers/gpu/drm] Error 2
make[1]: *** [_module_/home/boby/Downloads/compat-wireless-2012-12-18] Error 2
make[1]: Leaving directory `/usr/src/linux-3.8.13-desktop-1.mga3'
make: *** [modules] Error 2


That is what I got when compiling.

Re: Internet Connection Problem

PostPosted: May 19th, '13, 15:58
by vecciora
Thank you for your help! It's working now!

I found this article http://jevans.herpderp.ca/blog/2013/04/ ... slackware/ by searching. And then I downloaded the driver https://www.kernel.org/pub/linux/kernel ... -u.tar.bz2.

And then
Code: Select all
$tar-jxvf  compat-drivers-2013-03-04-u.tar.bz2
$cd compat-drivers-2013-03-04-u
$scripts/driver-select atl1c
$make
$su -
#make install


And reboot.