Intel 3945ABG, openSUSE 11.3,11.4, repeating DL speed drop-offs

I’ve tried your script and created 4 files with informations:
1 - wireless working,
2 - slow download,
3 - reset the network by network manager(click on the SSID of my network),
4 - again slow download.
How can I put them here on the forum or which informations should I post?

Thank you.
Basically, you highlight, then copy the text from your file or screen and then paste it into a code field in your message. You need to switch to the advanced message editor, paste in the text, highlight the pasted text only and press the code button # just above the message editor Windows on the right. It will produce a code field that looks like this:

This is a code field test ...

This should allow you to post a lot of information in a small area. There is a limit to the total message size and so you can leave out things that don’t seem important or post more than one message.

Thank You,

I don’t see any difference between the two files(when wireless was working and when not) so I post one when wireless doesn’t work:

* Hostname: linux-c5w1.site
* Run date and time: St máj  4 10:28:08 CEST 2011
---------------------------------------------------
Linux Distro
---------------------------------------------------
Linux kernel: Linux 2.6.37.6-0.5-default i686
LSB Version:	n/a
Distributor ID:	SUSE LINUX
Description:	openSUSE 11.4 (i586)
Release:	11.4
Codename:	Celadon
---------------------------------------------------
/usr/sbin/hwinfo --network_ctrl
---------------------------------------------------
22: PCI 200.0: 0200 Ethernet controller
  [Created at pci.318]
  Unique ID: rBUF.LPWfVxAKt5B
  Parent ID: z8Q3.wyBbeF8M_TA
  SysFS ID: /devices/pci0000:00/0000:00:1c.0/0000:02:00.0
  SysFS BusID: 0000:02:00.0
  Hardware Class: network
  Model: "ASUSTeK A6J-Q008"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8168 "RTL8111/8168B PCI Express Gigabit Ethernet controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x11f5 "A6J-Q008"
  Revision: 0x01
  Driver: "r8169"
  Driver Modules: "r8169"
  Device File: eth0
  I/O Ports: 0xc800-0xc8ff (rw)
  Memory Range: 0xfe0ff000-0xfe0fffff (rw,non-prefetchable)
  Memory Range: 0xfe0e0000-0xfe0effff (ro,non-prefetchable,disabled)
  IRQ: 40 (no events)
  HW Address: 00:17:31:94:ab:21
  Link detected: no
  Module Alias: "pci:v000010ECd00008168sv00001043sd000011F5bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #11 (PCI bridge)

23: PCI 300.0: 0282 WLAN controller
  [Created at pci.318]
  Unique ID: y9sn.xDGkhUDfcCA
  Parent ID: Z7uZ.69Og7fkiPQ2
  SysFS ID: /devices/pci0000:00/0000:00:1c.3/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: network
  Model: "Intel PRO/Wireless 3945ABG Network Connection"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x4222 "PRO/Wireless 3945ABG [Golan] Network Connection"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x1001 "PRO/Wireless 3945ABG Network Connection"
  Revision: 0x02
  Driver: "iwl3945"
  Driver Modules: "iwl3945"
  Device File: wlan0
  Features: WLAN
  Memory Range: 0xfe1ff000-0xfe1fffff (rw,non-prefetchable)
  IRQ: 42 (1011779 events)
  HW Address: 00:13:02:4a:51:89
  Link detected: yes
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 34 36 38 40 42 44 46 48 52 56 60 64 100 104 108 112 116 120 124
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 5.17 5.18 5.19 5.2 5.21 5.22 5.23 5.24 5.26 5.28 5.3 5.32 5.5 5.52 5.54 5.56 5.58 5.6 5.62
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v00008086d00004222sv00008086sd00001001bc02sc80i00"
  Driver Info #0:
    Driver Status: iwl3945 is active
    Driver Activation Cmd: "modprobe iwl3945"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #12 (PCI bridge)
---------------------
PCI Devices
---------------------
...
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
	Subsystem: ASUSTeK Computer Inc. A6J-Q008
	Flags: bus master, fast devsel, latency 0, IRQ 40
	I/O ports at c800 [size=256]
	Memory at fe0ff000 (64-bit, non-prefetchable) [size=4]
	Expansion ROM at fe0e0000 [disabled] [size=64]
	Capabilities: [40] Power Management version 2
	Capabilities: [48] Vital Product Data
	Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
	Capabilities: [60] Express Endpoint, MSI 00
	Capabilities: [84] Vendor Specific Information: Len=4c <?>
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [12c] Virtual Channel
	Capabilities: [148] Device Serial Number 0b-00-00-00-00-00-00-00
	Capabilities: [154] Power Budgeting <?>
	Kernel driver in use: r8169

03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
	Subsystem: Intel Corporation PRO/Wireless 3945ABG Network Connection
	Flags: bus master, fast devsel, latency 0, IRQ 42
	Memory at fe1ff000 (32-bit, non-prefetchable) [size=4]
	Capabilities: [c8] Power Management version 2
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [e0] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number 00-13-02-ff-ff-4a-51-89
	Kernel driver in use: iwl3945
...
-----------------------

[/size][/size][/size][/size]

and second part of the information from the generated file related to networks:

---------------------------------------------------
/sbin/ifconfig Output
---------------------------------------------------
eth0      Link encap:Ethernet  HWaddr 00:17:31:94:AB:21  
          UP 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:40 Base address:0x4000 

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

wlan0     Link encap:Ethernet  HWaddr 00:13:02:4A:51:89  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::213:2ff:fe4a:5189/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:565012 errors:0 dropped:0 overruns:0 frame:0
          TX packets:314817 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:848931897 (809.6 Mb)  TX bytes:29072761 (27.7 Mb)

---------------------------------------------------
Kernel Routing Table
---------------------------------------------------
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
---------------------------------------------------
DNS Client /etc/resolv.conf Configuration
---------------------------------------------------
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
search site
nameserver 192.168.1.1
---------------------------------------------------
Network Configuration File
---------------------------------------------------
** /etc/sysconfig/network/ifcfg-eth0 **
BOOTPROTO='dhcp'
MTU=''
REMOTE_IPADDR=''
STARTMODE='onboot'
---------------------------------------------------
IP4 Firewall Configuration
---------------------------------------------------
Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           ctstate ESTABLISHED 
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           ctstate RELATED 
input_ext  all  --  0.0.0.0/0            0.0.0.0/0           
input_ext  all  --  0.0.0.0/0            0.0.0.0/0           
input_ext  all  --  0.0.0.0/0            0.0.0.0/0           
LOG        all  --  0.0.0.0/0            0.0.0.0/0           limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-IN-ILL-TARGET ' 
DROP       all  --  0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy DROP)
target     prot opt source               destination         
LOG        all  --  0.0.0.0/0            0.0.0.0/0           limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-FWD-ILL-ROUTING ' 

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           

Chain forward_ext (0 references)
target     prot opt source               destination         

Chain input_ext (3 references)
target     prot opt source               destination         
DROP       all  --  0.0.0.0/0            0.0.0.0/0           PKTTYPE = broadcast 
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 4 
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 8 
DROP       all  --  0.0.0.0/0            0.0.0.0/0           PKTTYPE = multicast 
DROP       all  --  0.0.0.0/0            0.0.0.0/0           PKTTYPE = broadcast 
LOG        tcp  --  0.0.0.0/0            0.0.0.0/0           limit: avg 3/min burst 5 tcp flags:0x17/0x02 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT ' 
LOG        icmp --  0.0.0.0/0            0.0.0.0/0           limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT ' 
LOG        udp  --  0.0.0.0/0            0.0.0.0/0           limit: avg 3/min burst 5 ctstate NEW LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT ' 
DROP       all  --  0.0.0.0/0            0.0.0.0/0           

Chain reject_func (0 references)
target     prot opt source               destination         
REJECT     tcp  --  0.0.0.0/0            0.0.0.0/0           reject-with tcp-reset 
REJECT     udp  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable 
REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-proto-unreachable 
---------------------------------------------------
IP6 Firewall Configuration
---------------------------------------------------
Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all      ::/0                 ::/0                
ACCEPT     all      ::/0                 ::/0                ctstate ESTABLISHED 
ACCEPT     icmpv6    ::/0                 ::/0                ctstate RELATED 
input_ext  all      ::/0                 ::/0                
input_ext  all      ::/0                 ::/0                
input_ext  all      ::/0                 ::/0                
LOG        all      ::/0                 ::/0                limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-IN-ILL-TARGET ' 
DROP       all      ::/0                 ::/0                

Chain FORWARD (policy DROP)
target     prot opt source               destination         
LOG        all      ::/0                 ::/0                limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-FWD-ILL-ROUTING ' 

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all      ::/0                 ::/0                
ACCEPT     icmpv6    ::/0                 ::/0                

Chain forward_ext (0 references)
target     prot opt source               destination         

Chain input_ext (3 references)
target     prot opt source               destination         
ACCEPT     icmpv6    ::/0                 ::/0                ipv6-icmp type 128 
ACCEPT     icmpv6    ::/0                 ::/0                ipv6-icmp type 133 
ACCEPT     icmpv6    ::/0                 ::/0                ipv6-icmp type 134 
ACCEPT     icmpv6    ::/0                 ::/0                ipv6-icmp type 135 
ACCEPT     icmpv6    ::/0                 ::/0                ipv6-icmp type 136 
ACCEPT     icmpv6    ::/0                 ::/0                ipv6-icmp type 137 
LOG        tcp      ::/0                 ::/0                limit: avg 3/min burst 5 tcp flags:0x17/0x02 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT ' 
LOG        icmpv6    ::/0                 ::/0                limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT ' 
LOG        udp      ::/0                 ::/0                limit: avg 3/min burst 5 ctstate NEW LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT ' 
DROP       all      ::/0                 ::/0                

Chain reject_func (0 references)
target     prot opt source               destination         
REJECT     tcp      ::/0                 ::/0                reject-with tcp-reset 
REJECT     udp      ::/0                 ::/0                reject-with icmp6-port-unreachable 
REJECT     all      ::/0                 ::/0                reject-with icmp6-addr-unreachable 
DROP       all      ::/0                 ::/0                
---------------------------------------------------
Network Stats
---------------------------------------------------
Ip:
    565309 total packets received
    7 with invalid addresses
    0 forwarded
    0 incoming packets discarded
    565226 incoming packets delivered
    315190 requests sent out
    1 dropped because of missing route
Icmp:
    0 ICMP messages received
    0 input ICMP message failed.
    ICMP input histogram:
    0 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
Tcp:
    602 active connections openings
    27 passive connection openings
    17 failed connection attempts
    7 connection resets received
    10 connections established
    564907 segments received
    314727 segments send out
    48 segments retransmited
    0 bad segments received.
    465 resets sent
Udp:
    331 packets received
    0 packets to unknown port received.
    0 packet receive errors
    406 packets sent
    RcvbufErrors: 0
    SndbufErrors: 0
UdpLite:
    InDatagrams: 0
    NoPorts: 0
    InErrors: 0
    OutDatagrams: 0
    RcvbufErrors: 0
    SndbufErrors: 0
TcpExt:
    ArpFilter: 0
    231 TCP sockets finished time wait in fast timer
    5331 delayed acks sent
    Quick ack mode was activated 190 times
    154384 packets directly received from backlog
    522979 packets header predicted
    110 packets header predicted and directly queued to user
    TCPPureAcks: 1275
    TCPHPAcks: 242
    TCPRenoRecovery: 0
    TCPSackRecovery: 0
    TCPSACKReneging: 0
    TCPFACKReorder: 0
    TCPSACKReorder: 0
    TCPRenoReorder: 0
    TCPTSReorder: 0
    TCPFullUndo: 0
    TCPPartialUndo: 0
    TCPDSACKUndo: 0
    TCPLossUndo: 10
    TCPLoss: 1
    TCPLostRetransmit: 0
    TCPRenoFailures: 0
    TCPSackFailures: 1
    TCPLossFailures: 1
    TCPFastRetrans: 0
    TCPForwardRetrans: 0
    TCPSlowStartRetrans: 7
    TCPTimeouts: 16
    TCPRenoRecoveryFail: 0
    TCPSackRecoveryFail: 0
    TCPSchedulerFailed: 0
    TCPRcvCollapsed: 0
    TCPDSACKOldSent: 152
    TCPDSACKOfoSent: 0
    TCPDSACKRecv: 3
    TCPDSACKOfoRecv: 0
    TCPAbortOnSyn: 0
    TCPAbortOnData: 14
    TCPAbortOnClose: 6
    TCPAbortOnMemory: 0
    TCPAbortOnTimeout: 3
    TCPAbortOnLinger: 0
    TCPAbortFailed: 0
    TCPMemoryPressures: 0
    TCPSACKDiscard: 0
    TCPDSACKIgnoredOld: 0
    TCPDSACKIgnoredNoUndo: 2
    TCPSpuriousRTOs: 0
    TCPMD5NotFound: 0
    TCPMD5Unexpected: 0
    TCPSackShifted: 0
    TCPSackMerged: 0
    TCPSackShiftFallback: 5
    TCPBacklogDrop: 0
    TCPMinTTLDrop: 0
    TCPDeferAcceptDrop: 0
    IPReversePathFilter: 2
    TCPTimeWaitOverflow: 0
IpExt:
    InNoRoutes: 0
    InTruncatedPkts: 0
    InMcastPkts: 74
    OutMcastPkts: 96
    InBcastPkts: 0
    OutBcastPkts: 0
    InOctets: 841060179
    OutOctets: 18396496
    InMcastOctets: 17067
    OutMcastOctets: 17947
    InBcastOctets: 0
    OutBcastOctets: 0
---------------------------------------------------
Network Tweaks via /etc/sysctl.conf
---------------------------------------------------
# Disable response to broadcasts.
# You don't want yourself becoming a Smurf amplifier.
net.ipv4.icmp_echo_ignore_broadcasts = 1
# enable route verification on all interfaces
net.ipv4.conf.all.rp_filter = 1
# disable IPv6 completely
# net.ipv6.conf.all.disable_ipv6 = 1
# enable IPv6 forwarding
#net.ipv6.conf.all.forwarding = 1
# increase the number of possible inotify(7) watches
fs.inotify.max_user_watches = 65536
# avoid deleting secondary IPs on deleting the primary IP
net.ipv4.conf.default.promote_secondaries = 1
net.ipv4.conf.all.promote_secondaries = 1

I hope you’ll see something strange there. I post all the information, that I think are
related to networks. Maybe too many, but I rather post all of them.

Thank you.

If you are using KDE & NetworkManager and Network Manager does not work, but you have had wireless working, it is possible to remove your settings, including those used by Kwallet and start over, causing Network Manager to start working again. If you have anything else placed into Kwallet, be careful with this fix. I have a script file that can delete existing configurations which often are recreated, allowing your wireless to work again.

#!/bin/bash

#: Title       : /home/james/bin/knetfix
#: Date Created: Sun Nov 28 10:18:13 CST 2010
#: Last Edit   : Wed May 04 17:53:00 CST 2011
#: Author      : J. McDaniel
#: Version     : 1.01
#: Description : Removes KNEtworkManager & KWallet Configurations
#: Options     : None

TITLE="Kde NetworkManager Fixer - Version 1.01 - Removes all KNetworkManager Settings"

#
# Function Code Blocks go here *************************************
#

#
#Display One or More Line(s) with different foreground and background colors
# $1=foreground color $2=background color 
# $3=Number of Lines to Display 
# $4 and higher are lines text to display
#    * 0: Black
#    * 1: Blue
#    * 2: Green
#    * 3: Cyan
#    * 4: Red
#    * 5: Magenta
#    * 6: Yellow
#    * 7: White
#
function print_color {
  fgrd=$1
  bgrd=$2
  maxnum=$3
  counter=1
  while  $(( counter )) -lt $(( maxnum + 1 )) ] ; do
  tput bold
  tput setf $(( fgrd ))
  tput setb $(( bgrd ))
    echo "$4$(tput sgr0)"
    let counter=counter+1
    shift
  done
}

#
# Prompt for user input in bold while, set $CHOICE for use if needed
#
function enter_prompt {
  echo
  tput bold
  tput setf 7
  echo -n "$1$(tput sgr0)"
  read CHOICE
  echo
}

if  "$DESKTOP_SESSION" == "kde4" ] ||  "$KDE_SESSION_VERSION" == "4" ] ; then
    KDE="KDE4"
else
  echo "knetfix only works with KDE4 and not $DESKTOP_SESSION, Sorry!"
  exit 1
fi

kwallet="$(pidof kwalletmanager)"
knetwork="$(pidof knetworkmanager)"

if  "$kwallet" == "" ] ; then
  kwalletloaded="No "
else
  kwalletloaded="Yes"
fi

if  "$knetwork" == "" ] ; then
  knetworkloaded="No "
else
  knetworkloaded="Yes"
fi

tput clear

print_color 7 2 1 "$TITLE"

l1="Desktop Loaded: $KDE  KNetworkManager Running: $knetworkloaded  KWalletManager Loaded: $kwalletloaded"
l2=""
print_color 7 2 2 "$l1" "$l2"

print_color 7 1 1 "knetfix will run the following Terminal Commands:      " 

l1=" sudo /etc/init.d/network stop, requires root password "
l2=" sudo killall -9 kwalletemanager, if running           "
l3=" sudo killall -9 knetworkmanager, if running           "
l4=" rm -rf ~/.kde4/share/config/networkmanagementrc       "
l5=" rm -rf ~/.kde4/share/apps/networkmanagement           "
l6=" rm -rf ~/.kde4/share/config/kwalletrc                 "
l7=" rm -rf ~/.kde4/share/apps/kwallet                     "
print_color 7 0 7 "$l1" "$l2" "$l3" "$l4" "$l5" "$l6" "$l7"

print_color 7 1 2 " You should reboot your computer when complete, then..." ""

l1="Load Required Programs using: YaST for KNetworkManager & KDE menu for Kwallet "
l2=""
print_color 7 0 2 "$l1" "$l2"

l1=" You Must run: YaST / Network Devices / Network Settings / Global Options Tab "
l2=" and select the bullet option for: User Controlled with NetworkManager        " 
l3=" To use Kwallet open:  KDE Menu / System / Desktop Applet / KwalletManager    "
l4=""
print_color 7 1 4 "$l1" "$l2" "$l3" "$l4"

l1=" If You Can Not get your wireless connection working using the 'Traditional   "
l2=" Method with ifup', it is very likely this Knetfix script file will not help  "
l3=" you out.  Make sure that your wireless hardware is working first.            "
print_color 7 4 3 "$l1" "$l2" "$l3"

#
# Determine if you wish to perform the listed commands
#

enter_prompt "Do you wish to perform the above commands? (y/N)"

if  "$CHOICE" == "y" ] ||  "$CHOICE" == "Y" ] ; then

  sudo /etc/init.d/network stop

  if  "$kwallet" != "" ] ; then
    sudo killall -9 kwalletmanager
  fi

  if  "$knetwork" != "" ] ; then
    sudo killall -9 knetworkmanager
  fi

  rm -rf ~/.kde4/share/config/networkmanagementrc
  rm -rf ~/.kde4/share/apps/networkmanagement
  rm -rf ~/.kde4/share/config/kwalletrc
  rm -rf ~/.kde4/share/apps/kwallet

  print_color 7 4 2 " The Commands as listed above were performed, please restart openSUSE now!" ""

else

  print_color 7 4 2 " As Requested, No Changes Were made to your KNetworkManager Settings. " ""

fi

exit 0

# End Of Script

Copy and past the following text into a program like KWRITE and save the text as the file I called knetfix into the folder ~/bin (your home area bin folder as in /home/yourname/bin). Then, open up a terminal session and run the command:

chmod +x ~/bin/knetfix

This will mark the bash script file as executable. Then, run knetfix in the same terminal session:

knetfix

You then will see the following text:

Kde NetworkManager Fixer - Version 1.01 - Removes all KNetworkManager Settings
Desktop Loaded: KDE4  KNetworkManager Running: Yes  KWalletManager Loaded: No 

knetfix will run the following Terminal Commands:      
 sudo /etc/init.d/network stop, requires root password 
 sudo killall -9 kwalletemanager, if running           
 sudo killall -9 knetworkmanager, if running           
 rm -rf ~/.kde4/share/config/networkmanagementrc       
 rm -rf ~/.kde4/share/apps/networkmanagement           
 rm -rf ~/.kde4/share/config/kwalletrc                 
 rm -rf ~/.kde4/share/apps/kwallet                     
 You should reboot your computer when complete, then...

Load Required Programs using: YaST for KNetworkManager & KDE menu for Kwallet 

 You Must run: YaST / Network Devices / Network Settings / Global Options Tab 
 and select the bullet option for: User Controlled with NetworkManager        
 To use Kwallet open:  KDE Menu / System / Desktop Applet / KwalletManager    

 If You Can Not get your wireless connection working using the 'Traditional   
 Method with ifup', it is very likely this Knetfix script file will not help  
 you out.  Make sure that your wireless hardware is working first.            

Do you wish to perform the above commands? (y/N)

The commands shown above can also be ran manually if you prefer to do so.

Thank You,

I’ve tried your knetfix script, but even after reset things didn’t change. Still the same problem. I’ve tried netinfo script in openSUSE 11.2 and there is some differences. Please look at them, maybe you’ll see something.


---------------------------------------------------
/sbin/ifconfig Output
---------------------------------------------------
eth0      Link encap:Ethernet  HWaddr 00:17:31:94:AB:21  
          UP 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:27 Base address:0xc000 

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

wlan0     Link encap:Ethernet  HWaddr 00:13:02:4A:51:89  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::213:2ff:fe4a:5189/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4050 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2981 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5159203 (4.9 Mb)  TX bytes:388013 (378.9 Kb)

wmaster0  Link encap:UNSPEC  HWaddr 00-13-02-4A-51-89-34-61-00-00-00-00-00-00-00-00  
          UP RUNNING  MTU:0  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)

---------------------------------------------------
Kernel Routing Table
---------------------------------------------------
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
---------------------------------------------------
DNS Client /etc/resolv.conf Configuration
---------------------------------------------------
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
nameserver 192.168.1.1
---------------------------------------------------
Network Configuration File
---------------------------------------------------
** /etc/sysconfig/network/ifcfg-eth0 **
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='RTL8111/8168B PCI Express Gigabit Ethernet controller'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
---------------------------------------------------
IP4 Firewall Configuration
---------------------------------------------------
Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state ESTABLISHED 
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           state RELATED 
input_ext  all  --  0.0.0.0/0            0.0.0.0/0           
input_ext  all  --  0.0.0.0/0            0.0.0.0/0           
input_ext  all  --  0.0.0.0/0            0.0.0.0/0           
input_ext  all  --  0.0.0.0/0            0.0.0.0/0           
input_ext  all  --  0.0.0.0/0            0.0.0.0/0           
input_ext  all  --  0.0.0.0/0            0.0.0.0/0           
LOG        all  --  0.0.0.0/0            0.0.0.0/0           limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-IN-ILL-TARGET ' 
DROP       all  --  0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           PHYSDEV match --physdev-is-bridged 
LOG        all  --  0.0.0.0/0            0.0.0.0/0           limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-FWD-ILL-ROUTING ' 

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state NEW,RELATED,ESTABLISHED 
LOG        all  --  0.0.0.0/0            0.0.0.0/0           limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-OUT-ERROR ' 

Chain forward_ext (0 references)
target     prot opt source               destination         

Chain input_ext (6 references)
target     prot opt source               destination         
DROP       all  --  0.0.0.0/0            0.0.0.0/0           PKTTYPE = broadcast 
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 4 
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 8 
DROP       all  --  0.0.0.0/0            0.0.0.0/0           PKTTYPE = multicast 
DROP       all  --  0.0.0.0/0            0.0.0.0/0           PKTTYPE = broadcast 
LOG        tcp  --  0.0.0.0/0            0.0.0.0/0           limit: avg 3/min burst 5 tcp flags:0x17/0x02 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT ' 
LOG        icmp --  0.0.0.0/0            0.0.0.0/0           limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT ' 
LOG        udp  --  0.0.0.0/0            0.0.0.0/0           limit: avg 3/min burst 5 state NEW LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT ' 
DROP       all  --  0.0.0.0/0            0.0.0.0/0           

Chain reject_func (0 references)
target     prot opt source               destination         
REJECT     tcp  --  0.0.0.0/0            0.0.0.0/0           reject-with tcp-reset 
REJECT     udp  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable 
REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-proto-unreachable 
---------------------------------------------------
IP6 Firewall Configuration
---------------------------------------------------
Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all      ::/0                 ::/0                
ACCEPT     all      ::/0                 ::/0                state ESTABLISHED 
ACCEPT     icmpv6    ::/0                 ::/0                state RELATED 
input_ext  all      ::/0                 ::/0                
input_ext  all      ::/0                 ::/0                
input_ext  all      ::/0                 ::/0                
input_ext  all      ::/0                 ::/0                
input_ext  all      ::/0                 ::/0                
input_ext  all      ::/0                 ::/0                
LOG        all      ::/0                 ::/0                limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-IN-ILL-TARGET ' 
DROP       all      ::/0                 ::/0                

Chain FORWARD (policy DROP)
target     prot opt source               destination         
ACCEPT     all      ::/0                 ::/0                PHYSDEV match --physdev-is-bridged 
LOG        all      ::/0                 ::/0                limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-FWD-ILL-ROUTING ' 

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all      ::/0                 ::/0                
ACCEPT     icmpv6    ::/0                 ::/0                
ACCEPT     all      ::/0                 ::/0                state NEW,RELATED,ESTABLISHED 
LOG        all      ::/0                 ::/0                limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-OUT-ERROR ' 

Chain forward_ext (0 references)
target     prot opt source               destination         

Chain input_ext (6 references)
target     prot opt source               destination         
ACCEPT     icmpv6    ::/0                 ::/0                ipv6-icmp type 128 
ACCEPT     icmpv6    ::/0                 ::/0                ipv6-icmp type 133 
ACCEPT     icmpv6    ::/0                 ::/0                ipv6-icmp type 134 
ACCEPT     icmpv6    ::/0                 ::/0                ipv6-icmp type 135 
ACCEPT     icmpv6    ::/0                 ::/0                ipv6-icmp type 136 
ACCEPT     icmpv6    ::/0                 ::/0                ipv6-icmp type 137 
LOG        tcp      ::/0                 ::/0                limit: avg 3/min burst 5 tcp flags:0x17/0x02 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT ' 
LOG        icmpv6    ::/0                 ::/0                limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT ' 
LOG        udp      ::/0                 ::/0                limit: avg 3/min burst 5 state NEW LOG flags 6 level 4 prefix `SFW2-INext-DROP-DEFLT ' 
DROP       all      ::/0                 ::/0                

Chain reject_func (0 references)
target     prot opt source               destination         
REJECT     tcp      ::/0                 ::/0                reject-with tcp-reset 
REJECT     udp      ::/0                 ::/0                reject-with icmp6-port-unreachable 
REJECT     all      ::/0                 ::/0                reject-with icmp6-addr-unreachable 
DROP       all      ::/0                 ::/0                
---------------------------------------------------
Network Stats
---------------------------------------------------
Ip:
    4156 total packets received
    1 with invalid addresses
    0 forwarded
    0 incoming packets discarded
    4138 incoming packets delivered
    3063 requests sent out
Icmp:
    0 ICMP messages received
    0 input ICMP message failed.
    ICMP input histogram:
    0 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
Tcp:
    42 active connections openings
    7 passive connection openings
    21 failed connection attempts
    0 connection resets received
    1 connections established
    4100 segments received
    3006 segments send out
    0 segments retransmited
    0 bad segments received.
    114 resets sent
Udp:
    56 packets received
    0 packets to unknown port received.
    0 packet receive errors
    73 packets sent
    RcvbufErrors: 0
    SndbufErrors: 0
UdpLite:
    InDatagrams: 0
    NoPorts: 0
    InErrors: 0
    OutDatagrams: 0
    RcvbufErrors: 0
    SndbufErrors: 0
TcpExt:
    ArpFilter: 0
    15 TCP sockets finished time wait in fast timer
    33 delayed acks sent
    Quick ack mode was activated 59 times
    3191 packets header predicted
    TCPPureAcks: 182
    TCPHPAcks: 0
    TCPRenoRecovery: 0
    TCPSackRecovery: 0
    TCPSACKReneging: 0
    TCPFACKReorder: 0
    TCPSACKReorder: 0
    TCPRenoReorder: 0
    TCPTSReorder: 0
    TCPFullUndo: 0
    TCPPartialUndo: 0
    TCPDSACKUndo: 0
    TCPLossUndo: 0
    TCPLoss: 0
    TCPLostRetransmit: 0
    TCPRenoFailures: 0
    TCPSackFailures: 0
    TCPLossFailures: 0
    TCPFastRetrans: 0
    TCPForwardRetrans: 0
    TCPSlowStartRetrans: 0
    TCPTimeouts: 0
    TCPRenoRecoveryFail: 0
    TCPSackRecoveryFail: 0
    TCPSchedulerFailed: 0
    TCPRcvCollapsed: 0
    TCPDSACKOldSent: 0
    TCPDSACKOfoSent: 0
    TCPDSACKRecv: 0
    TCPDSACKOfoRecv: 0
    TCPAbortOnSyn: 0
    TCPAbortOnData: 2
    TCPAbortOnClose: 0
    TCPAbortOnMemory: 0
    TCPAbortOnTimeout: 0
    TCPAbortOnLinger: 0
    TCPAbortFailed: 0
    TCPMemoryPressures: 0
    TCPSACKDiscard: 0
    TCPDSACKIgnoredOld: 0
    TCPDSACKIgnoredNoUndo: 0
    TCPSpuriousRTOs: 0
    TCPMD5NotFound: 0
    TCPMD5Unexpected: 0
    TCPSackShifted: 0
    TCPSackMerged: 0
    TCPSackShiftFallback: 0
IpExt:
    InNoRoutes: 0
    InTruncatedPkts: 0
    InMcastPkts: 17
    OutMcastPkts: 19
    InBcastPkts: 0
    OutBcastPkts: 0
    InOctets: 5112801
    OutOctets: 291967
    InMcastOctets: 4334
    OutMcastOctets: 4414
    InBcastOctets: 0
    OutBcastOctets: 0
---------------------------------------------------
Network Tweaks via /etc/sysctl.conf
---------------------------------------------------
# Disable response to broadcasts.
# You don't want yourself becoming a Smurf amplifier.
net.ipv4.icmp_echo_ignore_broadcasts = 1
# enable route verification on all interfaces
net.ipv4.conf.all.rp_filter = 1
# enable ipV6 forwarding
#net.ipv6.conf.all.forwarding = 1
# increase the number of possible inotify(7) watches
fs.inotify.max_user_watches = 65536
# avoid deleting secondary IPs on deleting the primary IP
net.ipv4.conf.default.promote_secondaries = 1
net.ipv4.conf.all.promote_secondaries = 1

Thank you.

Today I’ve found some connection between the DL speed and FreeRapidDownloader(JDownloader acts same). From the morning the speed was ok untill I run FreeRapid and start to download 3 files - links, at around 3:00PM - so I’ve hoped it is already OK. A few minutes later the DL speed decrease to that problematic 150-160 KBps. I wonder if there would be some connection between the speed the system provides and the Java Application. What do you think about it? I’m really confused and disapointed.

Thanks.

Today I’ve found some connection between the DL speed and FreeRapidDownloader(JDownloader acts same). From the morning the speed was ok untill I run FreeRapid and start to download 3 files - links, at around 3:00PM - so I’ve hoped it is already OK. A few minutes later the DL speed decrease to that problematic 150-160 KBps. I wonder if there would be some connection between the speed the system provides and the Java Application. What do you think about it? I’m really confused and disapointed.

Thanks.
I certainly would consider uninstalling it and go without any such “speed ups”. I don’t use them myself, though I seldom try to download more than one file at a time. I must say though I do download a lot of files over time and without any such oddities, so go for it is what I suggest, remove the FreeRapidDownloader file and see what happens.

Thank You,

Thanks jdmcdaniel3 that you still take care of my problem.

Today I’ve tried it again without FreeRapid(it’s not a download manager/“speed enhancer” as we know it from windows, it’s just a download helper for servers like rapidshare, fileserve, filesonic, … it’s monitoring clipboard and put links(copied from browser) into the queue and when the time needed for waiting(between 2 downloads from the same server) expires, it asks you to input the code to start download. It’s not installed, it’s running from the folder in your home dir.

But back to the problem - until I start download 3 files at the same time in firefox(tried also opera) the speed was unrestricted, but few minutes after max 160KBps download speed. Like the screenshots on the first page. When I click on the SSID of my network, network manager reloads IP address and for a while it is OK and then again poor download speed.
Couldn’t be there some problem with WPA2, when the computer and router communicate to authenticate sended passphrase? There is always some time of troublefree behaviour till the speed falls back down.

I begin to be sceptical if this is solvable problem in openSUSE on my machine. I can solve many linux related problems, but this would be, sad to say, probably my end with openSUSE.

Thank You.

Thanks jdmcdaniel3 that you still take care of my problem.

Today I’ve tried it again without FreeRapid(it’s not a download manager/“speed enhancer” as we know it from windows, it’s just a download helper for servers like rapidshare, fileserve, filesonic, … it’s monitoring clipboard and put links(copied from browser) into the queue and when the time needed for waiting(between 2 downloads from the same server) expires, it asks you to input the code to start download. It’s not installed, it’s running from the folder in your home dir.

But back to the problem - until I start download 3 files at the same time in firefox(tried also opera) the speed was unrestricted, but few minutes after max 160KBps download speed. Like the screenshots on the first page. When I click on the SSID of my network, network manager reloads IP address and for a while it is OK and then again poor download speed.
Couldn’t be there some problem with WPA2, when the computer and router communicate to authenticate sended passphrase? There is always some time of troublefree behaviour till the speed falls back down.

I begin to be sceptical if this is solvable problem in openSUSE on my machine. I can solve many linux related problems, but this would be, sad to say, probably my end with openSUSE.

Thank You.
First off we want to help and we want you to succeed in using openSUSE. When we talk about your download speed problem, even I see a variance in speed while downloading files which oddly start off fast, slow down some in the middle and speed up towards the end. The end is really odd as how would an unknown end make any difference. I don’t see anything odd as you see, but my issues, if any, are the same in Windows and openSUSE and therefore part of my Road Runner Cable service I am getting. In your case, you declare Windows to work fine and only openSUSE to have a problem and there is no doubt you could have a problem in Linux that you do not have in Windows. I am very skeptical of any helper programs, no matter there source and prefer to stick with the basics. Since I have not heard of this issue, which does not mean it does not exist, it is hard to know what to suggest. I surely would try a different type of connection if possible as it wired verses wireless, even if you had to buy a long cable or move the computer in question, just to determine the type of problem that is occurring.

Thank You,

OK. Once again I’ll try clean install, also on another laptop, I’ll try Tumbleweed(kernel and new KDE). If problem appears also in this cases I’ll try to check my router settings(I didn’t do this because just SUSE has this problem, not Windows and other linuxes I tried). But if I won’t get to the point, I know this is the problem, I’ll must unfortunately give it up. It has consumed a lot of time already. I’ll post my results.

If someone else has some ideas about it, please post them.

Thanks.

Hi.

After all my tests - clean install on my laptop, on another too (different wireless card - RTL8187B), upgrade to Tumbleweed (back to my saved image), the problem still persists. It’s interesting, that the problem is also on another laptop - so I came to the point, that the problem is in my network.

I checked my router settings, but didn’t find anything wrong (there can’t be anything wrong, since everything works, except openSUSE 11.3 ,11.4), except there aren’t no settings regarding IPv6. It is 2y old Netgear WGR614(v9). I’ve tried to disable IPv6 on openSUSE in YaST and also disable IPv6 in menu.lst or in /etc/sysconfig editor, as found in some threads here and nothing happened.

Is there another settings I need to apply to disable IPv6 completely, or is there in openSUSE something, that doesn’t allow openSUSE to work with my router well?
I need to perform one more test - I’ll take my laptop to my friend and try, if it behaves alike on his network.

Tkanks.

On 05/21/2011 12:06 AM, lueric wrote:
>
> Hi.
>
> After all my tests - clean install on my laptop, on another too
> (different wireless card - RTL8187B), upgrade to Tumbleweed (back to my
> saved image), the problem still persists. It’s interesting, that the
> problem is also on another laptop - so I came to the point, that the
> problem is in my network.
>
> I checked my router settings, but didn’t find anything wrong (there
> can’t be anything wrong, since everything works, except openSUSE 11.3
> ,11.4), except there aren’t no settings regarding IPv6. It is 2y old
> Netgear WGR614(v9). I’ve tried to disable IPv6 on openSUSE in YaST and
> also disable IPv6 in menu.lst or in /etc/sysconfig editor, as found in
> some threads here and nothing happened.
>
> Is there another settings I need to apply to disable IPv6 completely,
> or is there in openSUSE something, that doesn’t allow openSUSE to work
> with my router well?
> I need to perform one more test - I’ll take my laptop to my friend and
> try, if it behaves alike on his network.

IPv6 problems will only occur with DNS lookups and they do not degrade with
time. One source of this type of problem is bufferbloat. To see what that means,
read the Wikipedia article. It is technical, but accurate and it lists important
secondary links. The problem could be anywhere up the line - the driver
(unlikely), the router, the ISP, etc.

Thank you lwfinger for the reply. I’ve read about bufferbloat, but why is just openSUSE >=11.3 affected? Well I don’t know.

Now I use my last openSUSE 11.4 KDE installation so, that I can’t download large files at native speeds, or I have to reset connection from time to time. But is this a solution? Of course not. There’s Scientific Linux 6.0 installed on another partition, but I didn’t have free time to configure it. And of course I’m waiting for some solution or just hints why just openSUSE.

openSUSE since 10.0 was my choice, I was pleased with its stability(with new technologies under the hood), configurability, ability to make it whatever I wanted and other “…bilities” :slight_smile:
From that time I’ve tested many of distributions, but openSUSE stayed my number 1.

Now I probably have to look around again, but from my perspective, I see nothing as suitable as openSUSE. Something is too stable, but too old, other is too bleeding edge = next day after upgrade I have to find solutions for broken things. I have to do my work and not repair my system! This happened with openSUSE one or two times and was related to nvidia modules in repository not corresponding the kernel version. I use “hard-way” of installing nvidia drivers since (it’s “very” hard :-)).

So if someone have an idea, please post it, or just point me how to wait for 12.1, because I really will try it. But this time I have to make my 11.4 go right or switch to another distribution.