You are not logged in.

#1 2008-10-10 09:01:05

quexpl
Member
From: Poland
Registered: 2008-10-10
Posts: 2
Website

problem after restart WiFi connection

Hi!

Yesterday i bought WiFi card based on RT61 chipset. Instalation was easy with wiki.archlinux.org smile
I have install netcfg (becouse before i don't use this, i setup network by /etc/rc.conf). My AP has no password and no security (for testing). My /etc/network.d/wifi file:

[root@darkgrave ~]# cat /etc/network.d/wifi 
CONNECTION="wireless"
DESCRIPTION="My Wireless Network"
INTERFACE=wlan0
SCAN="yes"
SECURITY="none"
ESSID="bHome"
KEY=""
IP="static"
IFOPTS="192.168.0.88 netmask 255.255.255.0 broadcast 192.168.0.255"
GATEWAY="192.168.0.254"
DNS1="192.168.0.254"
TIMEOUT=20

Like you see, my router IP is 192.168.0.254 and essid is bHome with no secutity.

When i put in /etc/rc.conf NETWORKS=(wifi) and add in DEAMONS=( net-profiles ) then wifi profile start on boot.
Everything works fine, some logs:

[root@darkgrave ~]# ifconfig 
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:49 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3238 (3.1 Kb)  TX bytes:3238 (3.1 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:1F:1F:06:50:E7  
          inet addr:192.168.0.88  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21f:1fff:fe06:50e7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:690 errors:0 dropped:0 overruns:0 frame:0
          TX packets:735 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:467123 (456.1 Kb)  TX bytes:97997 (95.7 Kb)

wmaster0  Link encap:UNSPEC  HWaddr 00-1F-1F-06-50-E7-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING 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)

[root@darkgrave ~]# iwconfig 
lo        no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11  ESSID:"bHome"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:13:46:5A:2F:21   
          Bit Rate=54 Mb/s   Tx-Power=5 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off
          Link Quality=71/100  Signal level=-50 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

[root@darkgrave ~]# dmesg | tail
wlan0: authenticate with AP 00:13:46:5a:2f:21
wlan0: RX authentication from 00:13:46:5a:2f:21 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:13:46:5a:2f:21
wlan0: RX AssocResp from 00:13:46:5a:2f:21 (capab=0x421 status=0 aid=1)
wlan0: associated
wlan0: switched to short barker preamble (BSSID=00:13:46:5a:2f:21)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
wlan0: no IPv6 routers present

But life is not so good... I want to restart sometimes my WiFi profile to change something like add WPA2 security etc. And there is my problem.
I shutdown wifi profiles by

root@darkgrave ~]# netcfg -d wifi
:: wifi down                                                             [DONE]

and some logs:

[root@darkgrave ~]# ifconfig 
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:49 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3238 (3.1 Kb)  TX bytes:3238 (3.1 Kb)

[root@darkgrave ~]# iwconfig 
lo        no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11  ESSID:""  
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
          Tx-Power=5 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

[root@darkgrave ~]# dmesg | tail
wlan0: authenticate with AP 00:13:46:5a:2f:21
wlan0: RX authentication from 00:13:46:5a:2f:21 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:13:46:5a:2f:21
wlan0: RX AssocResp from 00:13:46:5a:2f:21 (capab=0x421 status=0 aid=1)
wlan0: associated
wlan0: switched to short barker preamble (BSSID=00:13:46:5a:2f:21)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
wlan0: no IPv6 routers present

Ok, wifi interface is down. When i try start WiFi profile everytime i get error hmm

[root@darkgrave ~]# netcfg2 wifi 
:: wifi up                                                               [BUSY]  
- Network unavailable                                                    [FAIL]

and some logs:

[root@darkgrave ~]# ifconfig 
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:49 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3238 (3.1 Kb)  TX bytes:3238 (3.1 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:1F:1F:06:50:E7  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:692 errors:0 dropped:0 overruns:0 frame:0
          TX packets:735 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:467207 (456.2 Kb)  TX bytes:97997 (95.7 Kb)

wmaster0  Link encap:UNSPEC  HWaddr 00-1F-1F-06-50-E7-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING 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)

[root@darkgrave ~]# iwconfig 
lo        no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11  ESSID:"bHome"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
          Tx-Power=5 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

I have a ethernet profile and it restart with no problems. What i do wrong?

-- next test:

[root@darkgrave ~]# netcfg2 net
:: net up                                                                                    [BUSY] 
SIOCADDRT: File exists - Adding gateway 192.168.0.254 failed      [FAIL]

Ok, its true.

Let's down all interfaces.

[root@darkgrave ~]# netcfg2 -a 
:: wifi down                                                             [DONE]

Get up net profile.

[root@darkgrave ~]# netcfg2 net
:: net up                                                                [DONE]

Try get up WiFi.

[root@darkgrave quex]# netcfg2 wifi
:: wifi up                                                               [BUSY]  
- Wireless association failed.                                   [FAIL]

Like you see, i get diffrent error then last time, but still not works.
Is there something wrong with my /etc/network.d/wifi profile?
Please, help!

Sorry for by bad english.

An updated post below.

Last edited by quexpl (2008-10-12 19:45:02)

Offline

#2 2008-10-12 18:37:47

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: problem after restart WiFi connection

Hi, I cant help you sorry, I Have a similar problem.

I also have a pci card based on RT61 (Belkin) on my desktop, and with WPA and by hand or with netcfg I just
get 'wireless association failed'.

My laptop, also using ARCH, has a Intel wireless 3945ABG using the driver 'iwl3945' and has no problems, so my
network seems ok.

Googled around to no avail. Pity.

If I find something I will let you know,

Mektub

Last edited by Mektub (2008-10-12 18:38:33)


Follow me on twitter: https://twitter.com/johnbina

Offline

#3 2008-10-12 18:52:37

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: problem after restart WiFi connection

I had some problems with my iwl3945 with a wep-protected network. I've solved by adding prescan and postscan to the quirks array.
If you're not experienced with quirks you can find all of them here -> http://wiki.archlinux.org/index.php/Net … d_later.29


Till the last battle, till the last bottle.
aur - twitter

Offline

#4 2008-10-12 19:28:34

Varnsen
Member
Registered: 2008-08-24
Posts: 10

Re: problem after restart WiFi connection

Instead of configuring your IP statically you could try using DHCP (you never know).

Also, try running iwevent in a separete terminal while you're trying to connect.

Offline

#5 2008-10-12 19:51:56

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: problem after restart WiFi connection

Varnsen wrote:

Instead of configuring your IP statically you could try using DHCP (you never know).

Also, try running iwevent in a separete terminal while you're trying to connect.

I am using DHCP. Running iwevent as you suggested, gives:

20:48:25.482743   wlan0    Set Mode:Managed
20:48:26.398238   wlan0    Scan request completed
20:48:32.157406   wlan0    Scan request completed
20:48:37.916745   wlan0    Scan request completed

And then it fails with the message 'wreless association failed'.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#6 2008-10-12 20:02:44

quexpl
Member
From: Poland
Registered: 2008-10-10
Posts: 2
Website

Re: problem after restart WiFi connection

Last time i wrote about some problem with netcfg, but i think it's not a netcfg problem but something with drivers, kernel or something else.

I disable any network at start, arch set up only local interface on boot.
A little info about my computer:

[root@darkgrave ~]# uname -a 
Linux darkgrave 2.6.26-ARCH #1 SMP PREEMPT Tue Sep 9 10:15:21 UTC 2008 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux
[root@darkgrave ~]# lspci 
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5500] (rev a1)
03:06.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)
03:07.0 Network controller: RaLink RT2561/RT61 802.11g PCI
03:08.0 Ethernet controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) integrated LAN Controller (rev 02)
[root@darkgrave ~]# lsmod 
Module                  Size  Used by
ipv6                  259812  17 
joydev                 11584  0 
usbhid                 46016  0 
hid                    40960  1 usbhid
ff_memless              6664  1 usbhid
ppdev                   9092  0 
lp                     10980  0 
parport_pc             36676  1 
parport                33004  3 ppdev,lp,parport_pc
ppp_generic            24988  0 
i2c_i801               10384  0 
ohci1394               30128  0 
slhc                    7680  1 ppp_generic
pcspkr                  4352  0 
e100                   34316  0 
ieee1394               80696  1 ohci1394
nvidia               7097028  24 
i2c_core               21140  2 i2c_i801,nvidia
sg                     28596  0 
container               5248  0 
ehci_hcd               35596  0 
shpchp                 31512  0 
pci_hotplug            27812  1 shpchp
uhci_hcd               23952  0 
intel_agp              26428  1 
agpgart                29652  2 nvidia,intel_agp
thermal                16796  0 
processor              33836  1 thermal
evdev                  10880  4 
fan                     6020  0 
button                  7824  0 
battery                12036  0 
ac                      6020  0 
pwc                    84864  0 
usbcore               132080  5 usbhid,ehci_hcd,uhci_hcd,pwc
snd_intel8x0           30748  1 
snd_seq_oss            31872  0 
videodev               31872  1 pwc
snd_seq_midi_event      8192  1 snd_seq_oss
v4l1_compat            16260  1 videodev
snd_seq                49968  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            40192  0 
snd_mixer_oss          16512  1 snd_pcm_oss
snd_via82xx            24728  0 
gameport               12556  1 snd_via82xx
snd_ac97_codec         99748  2 snd_intel8x0,snd_via82xx
ac97_bus                3584  1 snd_ac97_codec
snd_pcm                69636  4 snd_intel8x0,snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              21384  2 snd_seq,snd_pcm
snd_page_alloc          9608  3 snd_intel8x0,snd_via82xx,snd_pcm
snd_mpu401_uart         8704  1 snd_via82xx
snd_rawmidi            21504  1 snd_mpu401_uart
snd_seq_device          8332  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    50724  14 snd_intel8x0,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               8032  1 snd
arc4                    3712  2 
ecb                     4608  2 
rt61pci                24704  0 
crc_itu_t               3840  1 rt61pci
eeprom_93cx6            3840  1 rt61pci
rt2x00pci               9344  1 rt61pci
rt2x00lib              25984  2 rt61pci,rt2x00pci
firmware_class          9088  1 rt2x00lib
rfkill                  7572  1 rt2x00lib
led_class               5508  1 rt2x00lib
input_polldev           5256  1 rt2x00lib
mac80211              165280  2 rt2x00pci,rt2x00lib
cfg80211               25608  2 rt2x00lib,mac80211
8139too                24192  0 
8139cp                 20992  0 
mii                     6528  3 e100,8139too,8139cp
rtc_cmos               11424  0 
rtc_core               17436  1 rtc_cmos
rtc_lib                 4480  1 rtc_core
reiserfs              230912  4 
sd_mod                 25240  6 
sr_mod                 16836  0 
cdrom                  36128  1 sr_mod
pata_acpi               6016  0 
ata_piix               17924  5 
ata_generic             6788  0 
pata_via                9732  0 
libata                150048  4 pata_acpi,ata_piix,ata_generic,pata_via
scsi_mod               95692  4 sg,sd_mod,sr_mod,libata
dock                    9488  1 libata
[root@darkgrave ~]# dmesg 
Linux version 2.6.26-ARCH (root@T-POWA-LX) (gcc version 4.3.2 (GCC) ) #1 SMP PREEMPT Tue Sep 9 10:15:21 UTC 2008
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000005fef0000 (usable)
 BIOS-e820: 000000005fef0000 - 000000005fef8000 (ACPI data)
 BIOS-e820: 000000005fef8000 - 000000005ff00000 (ACPI NVS)
 BIOS-e820: 000000005ff00000 - 000000005ff80000 (usable)
 BIOS-e820: 000000005ff80000 - 0000000060000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fed00400 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
 BIOS-e820: 00000000ffb80000 - 00000000ffc00000 (reserved)
 BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
639MB HIGHMEM available.
896MB LOWMEM available.
Entering add_active_range(0, 0, 393088) 0 entries of 256 used
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->   229376
  HighMem    229376 ->   393088
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->   393088
On node 0 totalpages: 393088
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 1760 pages used for memmap
  Normal zone: 223520 pages, LIFO batch:31
  HighMem zone: 1279 pages used for memmap
  HighMem zone: 162433 pages, LIFO batch:31
  Movable zone: 0 pages used for memmap
DMI present.
ACPI: RSDP 000F7A50, 0014 (r0 PTLTD )
ACPI: RSDT 5FEF44F4, 0030 (r1 PTLTD    RSDT    6040001  LTP        0)
ACPI: FACP 5FEF4524, 0074 (r1 FSC    D156x     6040001         F4240)
ACPI: DSDT 5FEF4598, 39E6 (r1 FSC    D156x     6040001 MSFT  100000E)
ACPI: FACS 5FEF8FC0, 0040
ACPI: APIC 5FEF7F7E, 005A (r1 FSC        APIC    6040001  CSF        0)
ACPI: BOOT 5FEF7FD8, 0028 (r1 PTLTD  $SBFTBL$  6040001  LTP        1)
ACPI: DMI detected: Fujitsu Siemens
ACPI: PM-Timer IO Port: 0xf008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 70000000 (gap: 60000000:9ec00000)
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
SMP: Allowing 1 CPUs, 0 hotplug CPUs
PERCPU: Allocating 39464 bytes of per cpu data
NR_CPUS: 16, nr_cpu_ids: 1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 390017
Kernel command line: root=/dev/sda1 ro
mapped APIC to ffffb000 (fee00000)
mapped IOAPIC to ffffa000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 2660.195 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1553344k/1572352k available (2120k kernel code, 17720k reserved, 744k data, 264k init, 654784k highmem)
virtual kernel memory layout:
    fixmap  : 0xffee4000 - 0xfffff000   (1132 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
    lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
      .init : 0xc03d3000 - 0xc0415000   ( 264 kB)
      .data : 0xc031225e - 0xc03cc380   ( 744 kB)
      .text : 0xc0100000 - 0xc031225e   (2120 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
CPA: page pool initialized 1 of 1 pages preallocated
SLUB: Genslabs=12, HWalign=128, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay using timer specific routine.. 5325.47 BogoMIPS (lpj=8872766)
Security Framework initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Hyper-Threading is disabled
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 9k freed
ACPI: Core revision 20080321
ACPI: Checking initramfs for custom DSDT
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel(R) Pentium(R) 4 CPU 2.66GHz stepping 07
Brought up 1 CPUs
Total of 1 processors activated (5325.47 BogoMIPS).
net_namespace: 652 bytes
Booting paravirtualized kernel on bare hardware
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfd967, last bus=3
PCI: Using configuration type 1 for base access
Setting up standard PCI resources
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: Device [PS2M] status [00000008]: functional but not present; setting present
ACPI: Device [ECP] status [00000008]: functional but not present; setting present
ACPI: Device [COM2] status [00000008]: functional but not present; setting present
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:1f.0: Force enabled HPET at 0xfed00000
pci 0000:00:1f.0: quirk: region f000-f07f claimed by ICH4 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: region f180-f1bf claimed by ICH4 GPIO
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIH._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 14 devices
ACPI: ACPI bus type pnp unregistered
PCI: Using ACPI for IRQ routing
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
hpet clockevent registered
ACPI: RTC can wake from S4
system 00:02: ioport range 0x4d0-0x4d1 has been reserved
system 00:02: ioport range 0xf000-0xf07f has been reserved
system 00:02: ioport range 0xf100-0xf10f has been reserved
system 00:02: ioport range 0xf180-0xf1bf has been reserved
system 00:02: ioport range 0x800-0x87f has been reserved
system 00:02: ioport range 0xf820-0xf82f has been reserved
system 00:02: ioport range 0xfe00-0xfe00 has been reserved
system 00:02: iomem range 0xfee00000-0xfeefffff could not be reserved
system 00:02: iomem range 0xfec00000-0xfecfffff could not be reserved
PCI: Failed to allocate mem resource #6:20000@f8000000 for 0000:01:00.0
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: 0xe1000000-0xe1ffffff
  PREFETCH window: 0x00000000f0000000-0x00000000f7ffffff
PCI: Bridge: 0000:00:1e.0
  IO window: 3000-3fff
  MEM window: 0xe2000000-0xe20fffff
  PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Unpacking initramfs... done
Freeing initrd memory: 527k freed
Simple Boot Flag at 0x69 set to 0x1
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 1757
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci 0000:01:00.0: Boot video device
pci 0000:03:08.0: Firmware left e100 interrupts enabled; disabling
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial 00:0d: activated
00:0d: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
input: Macintosh mouse button emulation as /class/input/input0
i8042 aux: probe of 00:08 failed with error -16
PNP: PS/2 Controller [PNP0303:KEYB] at 0x60,0x64 irq 1
PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 17
Using IPI No-Shortcut mode
registered taskstats version 1
Freeing unused kernel memory: 264k freed
No dock devices found.
SCSI subsystem initialized
libata version 3.00 loaded.
input: AT Translated Set 2 keyboard as /class/input/input1
Switched to high resolution mode on CPU 0
ata_piix 0000:00:1f.1: version 2.12
ata_piix 0000:00:1f.1: enabling device (0005 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1f.1 to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x2c00 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x2c08 irq 15
ata1.00: ATA-6: WDC WD800BB-00JHC0, 05.01C05, max UDMA/100
ata1.00: 156301488 sectors, multi 16: LBA 
ata1.00: configured for UDMA/100
ata2.01: ATAPI: HL-DT-ST GCE-8526B, 1.03, max UDMA/33
ata2.01: configured for UDMA/33
scsi 0:0:0:0: Direct-Access     ATA      WDC WD800BB-00JH 05.0 PQ: 0 ANSI: 5
scsi 1:0:1:0: CD-ROM            HL-DT-ST CD-RW GCE-8526B  1.03 PQ: 0 ANSI: 5
Driver 'sr' needs updating - please use bus_type methods
sr0: scsi3-mmc drive: 52x/52x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
Driver 'sd' needs updating - please use bus_type methods
sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda:<7>sr 1:0:1:0: Attached scsi CD-ROM sr0
 sda1 sda2 < sda5 sda6 sda7 sda8 >
sd 0:0:0:0: [sda] Attached SCSI disk
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: Using r5 hash to sort names
rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k
8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt 0000:03:07.0[A] -> GSI 21 (level, low) -> IRQ 21
phy0: Selected rate control algorithm 'pid'
Registered led device: rt61pci-phy0:radio
Registered led device: rt61pci-phy0:assoc
Linux video capture interface: v2.00
ACPI: PCI Interrupt 0000:00:1f.5[b] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1f.5 to 64
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pwc: Philips webcam module version 10.0.13 loaded.
pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
usbcore: registered new interface driver Philips webcam
input: Power Button (FF) as /class/input/input2
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input3
ACPI: Power Button (CM) [PWRB]
ACPI: ACPI0007:00 is registered as cooling_device0
intel8x0_measure_ac97_clock: measured 50175 usecs
intel8x0: clocking to 48000
Linux agpgart interface v0.103
agpgart: Detected an Intel 865 Chipset.
agpgart: AGP aperture is 128M @ 0xe8000000
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1d.0: irq 16, io base 0x00001000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: PCI Interrupt 0000:00:1d.1[b] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.1: irq 19, io base 0x00001400
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.2: irq 18, io base 0x00001800
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.3[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.3: irq 16, io base 0x00001c00
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xe0000000
usb 2-2: new low speed USB device using uhci_hcd and address 2
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 8 ports detected
hub 2-0:1.0: unable to enumerate USB device on port 2
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 1:0:1:0: Attached scsi generic sg1 type 5
intel_rng: FWH not detected
usb 2-2: new low speed USB device using uhci_hcd and address 3
usb 2-2: configuration #1 chosen from 1 choice
nvidia: module license 'NVIDIA' taints kernel.
e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
ACPI: PCI Interrupt 0000:03:08.0[A] -> GSI 20 (level, low) -> IRQ 20
e100: eth0: e100_probe: addr 0xe2009000, irq 20, MAC addr 00:30:05:5c:e6:7c
input: PC Speaker as /class/input/input4
ACPI: PCI Interrupt 0000:03:06.0[A] -> GSI 22 (level, low) -> IRQ 22
PPP generic driver version 2.4.2
parport_pc 00:0a: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[22]  MMIO=[e2008000-e20087ff]  Max Packet=[2048]  IR/IT contexts=[8/8]
parport_pc 00:0b: unable to assign resources
parport_pc: probe of 00:0b failed with error -16
ACPI: PCI Interrupt 0000:00:1f.3[b] -> GSI 17 (level, low) -> IRQ 17
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
NVRM: loading NVIDIA UNIX x86 Kernel Module  173.14.12  Thu Jul 17 18:11:36 PDT 2008
usbcore: registered new interface driver hiddev
input: MLK TRACER EXCLUSIVE as /class/input/input5
input,hiddev0,hidraw0: USB HID v1.10 Mouse [MLK TRACER EXCLUSIVE] on usb-0000:00:1d.1-2
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00300531000aa842]
ReiserFS: sda7: found reiserfs format "3.6" with standard journal
ReiserFS: sda7: using ordered data mode
ReiserFS: sda7: journal params: device sda7, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda7: checking transaction log (sda7)
ReiserFS: sda7: Using r5 hash to sort names
ReiserFS: sda6: found reiserfs format "3.6" with standard journal
ReiserFS: sda6: using ordered data mode
ReiserFS: sda6: journal params: device sda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda6: checking transaction log (sda6)
ReiserFS: sda6: Using r5 hash to sort names
ReiserFS: sda8: found reiserfs format "3.6" with standard journal
ReiserFS: sda8: using ordered data mode
ReiserFS: sda8: journal params: device sda8, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda8: checking transaction log (sda8)
ReiserFS: sda8: Using r5 hash to sort names
Adding 746980k swap on /dev/sda5.  Priority:-1 extents:1 across:746980k
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode

Some logs after start WiFi:

[root@darkgrave ~]# ifconfig 
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:44 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2798 (2.7 Kb)  TX bytes:2798 (2.7 Kb)

[root@darkgrave ~]# iwconfig 
lo        no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=0 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

[root@darkgrave ~]# iwlist scan
lo        Interface doesn't support scanning.
wmaster0  Interface doesn't support scanning.
wlan0     Interface doesn't support scanning : Network is down
eth0      Interface doesn't support scanning.

Now is time to first start WiFi:

[root@darkgrave ~]# ifconfig wlan0 192.168.0.235
[root@darkgrave ~]# ifconfig wlan0 up

After this dmesg reports new logs (bold font):

[root@darkgrave ~]# dmesg | tail     
ReiserFS: sda8: checking transaction log (sda8)
ReiserFS: sda8: Using r5 hash to sort names
Adding 746980k swap on /dev/sda5.  Priority:-1 extents:1 across:746980k
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[b]firmware: requesting rt2561s.bin
ADDRCONF(NETDEV_UP): wlan0: link is not ready[/b]

and search avaiable wlan networks:

[root@darkgrave ~]# ifconfig 
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:44 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2798 (2.7 Kb)  TX bytes:2798 (2.7 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:1F:1F:06:50:E7  
          inet addr:192.168.0.235  Bcast:192.168.0.255  Mask:255.255.255.0
          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)

wmaster0  Link encap:UNSPEC  HWaddr 00-1F-1F-06-50-E7-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING 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)

[root@darkgrave ~]# iwconfig 
lo        no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=5 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

[root@darkgrave ~]# iwlist scan
lo        Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:13:46:5A:2F:21
                    ESSID:"bHome"
                    Mode:Master
                    Channel:7
                    Frequency:2.442 GHz (Channel 7)
                    Quality=53/100  Signal level=-42 dBm  
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:tsf=00000012faefd64d
          Cell 02 - Address: 00:1B:11:F7:E5:B2
                    ESSID:"dlink-zbyn"
                    Mode:Master
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=46/100  Signal level=-80 dBm  
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:tsf=00000005ebd3bbd4

eth0      Interface doesn't support scanning.

bHome is my network - with no security for test.

Ok it works, now time to get down wlan0.

root@darkgrave ~]# ifconfig wlan0 down

[i]There are no changes in logs (dmesg).[/i]

[root@darkgrave ~]# ifconfig 
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:45 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2910 (2.8 Kb)  TX bytes:2910 (2.8 Kb)

[root@darkgrave ~]# iwconfig 
lo        no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=5 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

[root@darkgrave ~]# iwlist scan
lo        Interface doesn't support scanning.
wmaster0  Interface doesn't support scanning.
wlan0     Interface doesn't support scanning : Network is down
eth0      Interface doesn't support scanning.

There are no changes in logs (dmesg).
It looks like before first start, seems to be ok.

And finall step - next start wlan.

[root@darkgrave ~]# ifconfig wlan0 192.168.0.22
[root@darkgrave ~]# ifconfig wlan0 up

After this dmesg reports new logs (bold font):

[root@darkgrave ~]# dmesg | tail
ReiserFS: sda8: Using r5 hash to sort names
Adding 746980k swap on /dev/sda5.  Priority:-1 extents:1 across:746980k
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
firmware: requesting rt2561s.bin
ADDRCONF(NETDEV_UP): wlan0: link is not ready
[b]ADDRCONF(NETDEV_UP): wlan0: link is not ready[/b]

and checking network...

[root@darkgrave ~]# ifconfig 
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:45 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2910 (2.8 Kb)  TX bytes:2910 (2.8 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:1F:1F:06:50:E7  
          inet addr:192.168.0.22  Bcast:192.168.0.255  Mask:255.255.255.0
          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)

wmaster0  Link encap:UNSPEC  HWaddr 00-1F-1F-06-50-E7-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING 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)

[root@darkgrave ~]# iwconfig 
lo        no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=5 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

[root@darkgrave ~]# iwlist scan
lo        Interface doesn't support scanning.
wmaster0  Interface doesn't support scanning.
wlan0     No scan results
eth0      Interface doesn't support scanning.

And what's strange when i set up eth0 with wlan0 up network is not working:

/etc/rc.conf
eth0="eth0 192.168.0.2"
INTERFACES=(eth0)

gateway="default gw 192.168.0.254"
ROUTES=(gateway)

I disabled /etc/rc.d/network at start and i start network manualy.

[root@darkgrave ~]# ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:30:05:5C:E6:7C  
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::230:5ff:fe5c:e67c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:536 (536.0 b)  TX bytes:510 (510.0 b)

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

wlan0     Link encap:Ethernet  HWaddr 00:1F:1F:06:50:E7  
          inet addr:192.168.0.22  Bcast:192.168.0.255  Mask:255.255.255.0
          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)

wmaster0  Link encap:UNSPEC  HWaddr 00-1F-1F-06-50-E7-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING 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)

[root@darkgrave ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 wlan0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
default         192.168.0.254   0.0.0.0         UG    0      0        0 wlan0

When i put down wlan0 eth0 is working.

WiFi work but if it is put up once i can not restart connection.
I think there is something wrong with kernel driver.

Please help me.

--- UPDATE
After upgrade kernel to 2.6.27-ARCH it works perfect smile
Now i use wicd.

Last edited by quexpl (2008-10-15 12:18:03)

Offline

Board footer

Powered by FluxBB