intermittent connection problems

have Linux 2.6.37.1-1.2-desktop x86_64
System: openSUSE 11.4 (x86_64)
KDE: 4.6.00 (4.6.0) “release 6”.

Im having intermittent connection problems my network manager says i’m connected but i get unable to connect in firefox, firefox cant find the server at google, try again.
it keeps doing that on opensuse but if i go into windows on another hard drive in the same desktop no problems. can someone see if my connection manager is set up correctly? when i first installed opensuse, it wouldnt connect at all with traditional method with ifup, no connection at all. so i switched to network manager. my desktop hs rtl811/8168b PCI expres gigabit ethernet controller.

You only mention firefox so with your network manager saying you’re connected it could just be the network settings in firefox itself

You don’t say whether you’ve tried a simple ping to determine whether you actually have an internet connection or not, if you haven’t try opening konsole (alt & f2 keys, type konsole and hit enter) and type this command to ping google

ping google.com

Hit the Enter key to run the command after typing it, if you then see something like this:

64 bytes from bru01m01-in-f99.1e100.net (209.85.147.99): icmp_req=1 ttl=54 time=110 ms
64 bytes from bru01m01-in-f99.1e100.net (209.85.147.99): icmp_req=2 ttl=54 time=106 m

If you see something like that then you are indeed connected to the internet

If you are connected try this, open firefox and open Edit > Preferences, in the Firefox Preferences screen click the Advanced tab then the Network Tab, In the Connection Settings section click the Settings button, in the Connection Settings screen select No Proxy, click Ok, then Ok again to close the preferences screen and see if you can open pages (might have to close and reopen firefox)

if the ping returns something like ‘unknown host’ or ‘no route to host’ then it’s not even worth trying the firefox settings thing because you don’t have a connection yet, so if it’s not just a misconfigured proxy setting in firefox then it’s time to look into your network card settings

[HR][/HR]

ill try those things but i should have mentioned that it also happens when im in yast doing an online update or adding some program, etc. it stops updating or adding the new program. so the connection stops working

I only just realised it’s intermittent (get tired easy at my age!), It sounded like you’re on a cable connection, if so have you tried another cable? Preferably a ‘known good’ one

It could be something that simple

i think its some setting in opensuse because when i dual boot into another harddrive on my dekstop, its windows, there isnt any problem with a connection in windows its a constant connection unlike the off and on connection in opensuse, i just cant figure it out, and its a pain waiting for the conection to come back. i keep hitting refresh in firefox waiting til the connection cames back…

One thing I can think of that might cause it to drop in and out is if you’re using dhcp under opensuse it might be trying to assign a local ip address that another device (computer/phone/tablet/etc) is using/trying to use

It would be worth trying a static address setup instead of dhcp just as a test to rule that out, I don’t use network manager on any of my machines so I’m not sure of what buttons to press on which screens etc, but here’s an example of the basic settings you need to get a connection up

First find out the address of your internet router, the gateway, by typing sudo /sbin/route in konsole and pressing enter, like this:


 sudo /sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0  
loopback        *               255.0.0.0       U     0      0        0 lo    
link-local      *               255.255.0.0     U     0      0        0 eth0  
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0

From that you can see that my default gateway is 192.168.0.1 so I would need to add settings something like this:

Default Gateway: 192.168.0.1
Dns Server: 192.168.0.1
Subnet Mask: 255.255.255.0

Local IP Address: 192.168.0.99

The local ip address can end anything other than 1 because your router’s already using it, I chose 99 because it’s a number unlikely to be already in use

If your connection still isn’t stable then other than things like whether you have the correct driver for your card right now I can’t think of what else to suggest (1.50am here), can’t say I’ve ever had a connection not be stable on opensuse without some sort of issue that affected any other OS installed on it, issues getting connected to begin with on occasion yeah but usually found once it’s there it stays there

what are my correct network card setting suppose to be? i keep getting bounced online offline, on and off with my instant messenger. im using ifup and my network card is rtl 8111/8168b pci gigabit ethernet

/sbin/lspci -nnk

output would be useful to see what exact hardware have You got and what driver are You using.

Also did You check

/sbin/ifconfig

to see if there are any errors on the interface ?

Best regards,
Greg

Not a huge fan of the network manager so I would say just set it up in Yast. First go into Windows and open a command prompt by typing cmd into the search (I assume Windows Vista or 7) and then click on cmd or cmd.exe that shows up once you get a command prompt type ipconfig and look for the IPV4 of your local area connection. make a note of your IP address, Subnet Mask, and Gateway. Then boot back into openSUSE and go into Yast and choose Network Devices then Network settings your ethernet card should be listed there highlight it and choose edit choose Statically Assigned IP address and enter the IP address that Windows gave you and the Subnet Mask then click next and click on Hostname DNS tab and enter the gateway address from Windows into Name Server 1. Then click on Routing tab and enter the Gateway Address Windows gave you into Default IPV4 Gateway then click ok. Reboot and see if that works. If it does and everything seems stable you can just uninstall the network manager. Good luck

output for /sbin/lspci -nnk

04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard [Realtek RTL8111E] [1043:8432]

Kernel driver in use: r8169
06:00.0 PCI bridge [0604]: Device [1b21:1080] (rev 01)

eth0      Link encap:Ethernet  HWaddr 14:DA:E9:48:36:65  
          inet addr:xxx.xxx.x.xx  Bcast:xxx.xxx.x.xxx  Mask:255.255.255.0
          inet6 addr: fe80::16da:e9ff:fe48:3665/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3581 errors:0 dropped:3581 overruns:0 frame:3581
          TX packets:3093 errors:0 dropped:34 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3934992 (3.7 Mb)  TX bytes:365834 (357.2 Kb)
          Interrupt:48 Base address:0x8000 

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:211 errors:0 dropped:0 overruns:0 frame:0
          TX packets:211 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:21613 (21.1 Kb)  TX bytes:21613 (21.1 Kb)

which is better to use once i get this fixed ifup or network manager?

On 2011-11-12 22:56, diablo1 wrote:
> which is better to use once i get this fixed ifup or network manager?

Depends on your needs.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

There might be some problems with the driver You’re using. At least there where some in the past :

Try to follow that advice or switch to a different kernel version. For example the one from tumbleweed. What kernel are You using at the moment ?

Best regards,
Greg

typed~> uname -r
2.6.37.6-0.9-desktop

openSUSE 11.4 (x86_64)
VERSION = 11.4
CODENAME = Celadon

Name: kernel-desktop
Version: 2.6.37.6-0.9.1
Arch: x86_64

what do i do , downgrade to 8168 then blacklist it or update or change kernel? that is a little out of my leauge but id give it a go with some instructions

12.1 is released in 3 days will that correct the problem if i wait for the new version of opensuse?

thanks

The issue is described here :
https://bugzilla.novell.com/show_bug.cgi?id=709886

Some people report it’s fixed in 12.1 and others it’s not. You might want to try it out yourself once it’s released.

It looks as though compiling the driver from realtek website solves the problem. You can download the driver here :
Realtek

The instructions are in readme file of the tarball. Should be as simple as extracting the archive and running autorun.sh. You need to have devel_basis pattern installed in order for the compilation to work. In case of problems let us know :slight_smile:

Best regards,
Greg

that link goes to audio codecs, i need network drivers… if i search for network drivers what an i looking for? am i looking for 8168 instead of the one i havve installed now 8169

That’s strange for me it goes to network drivers. You need to browse down a bit down the page to see Linux links. The first downloads there are some Windows utilities.
Try the link from here :
SDB:Realtek 8169 driver problem - openSUSE

The name of the tarball I found there is **r8168-8.026.00.tar.bz2

**Best regards,
Greg

I hit the realtek the link still goes to download high defeinition audio codec and ac97 audio codec. it may say 10.100.1000 but then keep following it, i hit PCI THEN goes to download audio.

this link http://software.opensuse.org/download.html?project=drivers:nic&package=r8168

i hit the link Grab binary packages directly then many pop up, which ones do i download from this link? 64 bit
im just finding rpm cant find the tarbal
r8168-8.024.00-1.1.src.rpm
r8168-debugsource-8.024.00-1.1.i586.rpm
r8168-debugsource-8.024.00-1.1.x86_64.rpm
r8168-kmp-default-8.024.00_k2.6.37.1_1.2-1.1.i586.rpm
r8168-kmp-default-8.024.00_k2.6.37.1_1.2-1.1.x86_64.rpm
r8168-kmp-default-debuginfo-8.024.00_k2.6.37.1_1.2-1.1.i586.rpm
r8168-kmp-default-debuginfo-8.024.00_k2.6.37.1_1.2-1.1.x86_64.rpm
r8168-kmp-desktop-8.024.00_k2.6.37.1_1.2-1.1.i586.rpm
r8168-kmp-desktop-8.024.00_k2.6.37.1_1.2-1.1.x86_64.rpm
r8168-kmp-desktop-debuginfo-8.024.00_k2.6.37.1_1.2-1.1.i586.rpm
r8168-kmp-desktop-debuginfo-8.024.00_k2.6.37.1_1.2-1.1.x86_64.rpm
r8168-kmp-pae-8.024.00_k2.6.37.1_1.2-1.1.i586.rpm
r8168-kmp-pae-debuginfo-8.024.00_k2.6.37.1_1.2-1.1.i586.rpm
r8168-kmp-xen-8.024.00_k2.6.37.1_1.2-1.1.i586.rpm
r8168-kmp-xen-8.024.00_k2.6.37.1_1.2-1.1.x86_64.rpm
r8168-kmp-xen-debuginfo-8.024.00_k2.6.37.1_1.2-1.1.i586.rpm
r8168-kmp-xen-debuginfo-8.024.00_k2.6.37.1_1.2-1.1.x86_64.rpm

found it tucked away but it was r8168-8.024.00.tar.bz2 but not the 8.026.00

what do i do with it i always had touble installing rpm files and tarbal

how do i install r8168-8.024.00.tar.bz2 in opensuse 11.4 64 bit

i typed in terminal rpm -qa kernel* gcc* make
got results

kernel-desktop 2.6.37.6-0.9.1x86_64
make -3.82-140.1x86_64

thats as far as i can go dont have a clue where to go from here what to add. kernel source gcc, etc?

have to keep going from one computer to computer another with internet connection cuase opensuse keeps disconnecting

whats a devel_basis pattern installed in order for the compilation to work. i installed gcc