WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Problems with networking [iwl4965] [solved]  (Read 5310 times)

Offline deniska

  • Newbie
  • *
  • Posts: 15
Problems with networking [iwl4965] [solved]
« on: March 22, 2009, 02:31:00 PM »
My bootlocal.sh
Code: [Select]
modprobe iwl4965
/opt/wlan0.sh
iwconfig wlan0 essid "blahblahnet"

And wlan0.sh
Code: [Select]
pkill udhcpc
ifconfig wlan0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255 up
route add default gw 192.168.1.1
echo nameserver 208.67.222.222 > /etc/resolv.conf
echo nameserver 208.67.220.220 >> /etc/resolv.conf

The connection dies when I start to download something. When I restart networking (up down the interface and add default route again) it downloads 100-250 kbytes and dies again.

If I just ping router or internet host, connection still alive. Is it problem of my configuration or drivers?

UPD: This is a kernel bug. I built latest 2.6.29 kernel, repacked initrd with new modules and used this firmware:
http://www.intellinuxwireless.org/iwlwifi/downloads/iwlwifi-4965-ucode-228.57.2.23.tgz

And wifi is working now.
« Last Edit: April 01, 2009, 07:08:53 AM by deniska »

Offline RINGSEND

  • Newbie
  • *
  • Posts: 9
Re: Problems with networking
« Reply #1 on: March 24, 2009, 10:00:14 AM »
Hi,

Same problem,
I've tried everything.
I get a connection but after a few kb, the connection stops.
No errors in dmesg, all modules loaded (iwl4965 etc...)
A real pain.

Any thoughts?

Is it the firmware iwlwifi-4965-1.ucode ?
I notice that Ubuntu calls the newer iwlagn firmware.
How could one update the firmware?



Offline RINGSEND

  • Newbie
  • *
  • Posts: 9
Re: Problems with networking
« Reply #2 on: March 24, 2009, 01:02:20 PM »
Some details

lspci -v

03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
        Subsystem: Intel Corporation Unknown device 1101
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at 75200000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: iwl4965
        Kernel modules: iwl4965

__________________
lsmod | grep iw

iwl4965                81864  0
firmware_class          7424  1 iwl4965
iwlcore                21760  1 iwl4965
rfkill                  6164  2 iwlcore
led_class               4484  1 iwlcore
mac80211              112148  2 iwl4965,iwlcore
cfg80211               21256  2 iwl4965,mac80211


________
dmesg

iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
phy0: Selected rate control algorithm 'iwl-4965-rs'
ACPI: PCI interrupt for device 0000:03:00.0 disabled
input: 4965AGN as /devices/pci0000:00/0000:00:1c.2/0000:03:00.0/input/input7
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:02.0 to 64
[drm] Initialized i915 1.6.0 20060119 on minor 0
mtrr: no more MTRRs available
acerhdf: version: 0.3 compiledate: Mar 22 2009 19:34:21
acerhdf: biosvendor:Acer
acerhdf: biosversion:v0.3109
acerhdf: biosrelease:05/09/2008
acerhdf: biosproduct:AOA110
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 18
PM: Writing back config space on device 0000:03:00.0 at offset 1 (was 100002, writing 100006)
firmware: requesting iwlwifi-4965-1.ucode
Registered led device: iwl-phy0:radio
Registered led device: iwl-phy0:assoc
Registered led device: iwl-phy0:RX
Registered led device: iwl-phy0:TX

______________________________
wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf

Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 2 - start of a new network block
ssid - hexdump_ascii(len=6):
     42 65 6c 6b 69 6e                                 Belkin          
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='Belkin'
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: XXXXXXXXXXXXX
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface wlan0
Daemonize..

______________________________
udhcpc -b -i wlan0

udhcpc (v1.13.3) started
Sending discover...
Sending select for 192.168.2.3...
Lease of 192.168.2.3 obtained, lease time 268435455
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.2.1


dmesg

iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.2.26k
iwl4965: Copyright(c) 2003-2008 Intel Corporation
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:03:00.0 to 64
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
phy0: Selected rate control algorithm 'iwl-4965-rs'
ACPI: PCI interrupt for device 0000:03:00.0 disabled
input: 4965AGN as /devices/pci0000:00/0000:00:1c.2/0000:03:00.0/input/input7
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:02.0 to 64
[drm] Initialized i915 1.6.0 20060119 on minor 0
mtrr: no more MTRRs available
acerhdf: version: 0.3 compiledate: Mar 22 2009 19:34:21
acerhdf: biosvendor:Acer
acerhdf: biosversion:v0.3109
acerhdf: biosrelease:05/09/2008
acerhdf: biosproduct:AOA110
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 18
PM: Writing back config space on device 0000:03:00.0 at offset 1 (was 100002, writing 100006)
firmware: requesting iwlwifi-4965-1.ucode
Registered led device: iwl-phy0:radio
Registered led device: iwl-phy0:assoc
Registered led device: iwl-phy0:RX
Registered led device: iwl-phy0:TX
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:1c:df:a8:b9:01
wlan0: RX authentication from 00:1c:df:a8:b9:01 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:1c:df:a8:b9:01
wlan0: RX AssocResp from 00:1c:df:a8:b9:01 (capab=0x411 status=0 aid=1)
wlan0: associated




Offline deniska

  • Newbie
  • *
  • Posts: 15
Re: Problems with networking
« Reply #3 on: March 24, 2009, 01:49:29 PM »
Hi,

Same problem,
I've tried everything.
I get a connection but after a few kb, the connection stops.
No errors in dmesg, all modules loaded (iwl4965 etc...)
A real pain.

Any thoughts?

Is it the firmware iwlwifi-4965-1.ucode ?
I notice that Ubuntu calls the newer iwlagn firmware.
How could one update the firmware?

I copied firmware from ubuntu too. May be it is the problem?

Offline deniska

  • Newbie
  • *
  • Posts: 15
Re: Problems with networking
« Reply #4 on: April 01, 2009, 07:10:11 AM »
Hi,

Same problem,

It seemed, I found a solution. Try build latest kernel. I think it is kernel bug.