You are not logged in.
Wlan does not work unless if scan with iwlist wlan0 scan as root after that it works fine and i have no problems.
I cant figure out whats the Problem ? what ist done if I only scan?
It also works after a :
iwconfig wlan0 essid WLAN
My Notebook is an new T61 Thinkpad.
Edit:I use the iwl4965 driver.
 iwconfig wlan0
wlan0     IEEE 802.11g  ESSID:"WLAN"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Retry min limit:7   RTS thr:off   Fragment thr=2346 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:0route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 wlan0
default         192.168.2.1     0.0.0.0         UG    0      0        0 wlan0 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:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:87 (87.0 b)  TX bytes:87 (87.0 b)
wlan0     Link encap:Ethernet  HWaddr 00:13:E8:AB:5F:9B  
          inet addr:192.168.2.23  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::213:e8ff:feab:5f9b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:915 errors:0 dropped:0 overruns:0 frame:0
          TX packets:984 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:881070 (860.4 Kb)  TX bytes:218466 (213.3 Kb)
wmaster0  Link encap:UNSPEC  HWaddr 00-13-E8-AB-5F-9B-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)rc.conf
lo="lo 127.0.0.1"
eth0="eth0 192.168.2.67 netmask 255.255.255.0 broadcast 192.168.2.255"
wlan0="dhcp"
INTERFACES=(lo  !eth0 !wlan0)
gateway="default gw 192.168.2.1"
ROUTES=(!gateway)
NET_PROFILES=(home)/etc/nework-profiles/home
DESCRIPTION="Default Network Profile"
INTERFACE=wlan0
HOSTNAME="splinter"
IFOPTS="192.168.2.23 netmask 255.255.255.0 broadcast 192.168.2.255"
GATEWAY=192.168.2.1
DOMAIN=localdomain
DNS1=192.168.2.1
DNS2=
ESSID="WLAN"
IWOPTS="essid $ESSID"
WIFI_INTERFACE=wlan0iwlist scan as User after this it does not work
$ iwlist wlan0 scan
wlan0     No scan resultsiwlust scan as root and from now on it works magically
wlan0     Scan completed :
          Cell 01 - Address: 00:16:38:6D:DD:B5
                    ESSID:"WLAN"
                    Mode:Master
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=96/100  Signal level=-31 dBm  Noise level=-127 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:tsf=000000646eef4669It also works after a :
iwconfig wlan0 essid WLANin iwconfig the Acces Point changes from not accociated to die Accespoints Mac-Address everyelse has the same output
 iwconfig wlan0
wlan0     IEEE 802.11g  ESSID:"WLAN"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:16:38:6D:DD:B5   
          Bit Rate=54 Mb/s   
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B   
          Encryption key:off
          Link Quality=97/100  Signal level=-28 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beaco/var/log/everything.log
Oct 26 18:30:33 splinter wlan0: Initial auth_alg=0
Oct 26 18:30:33 splinter wlan0: authenticate with AP 00:16:38:6d:dd:b5
Oct 26 18:30:33 splinter wlan0: RX authentication from 00:16:38:6d:dd:b5 (alg=0 transaction=2 status=0)
Oct 26 18:30:33 splinter wlan0: authenticated
Oct 26 18:30:33 splinter wlan0: associate with AP 00:16:38:6d:dd:b5
Oct 26 18:30:33 splinter wlan0: RX AssocResp from 00:16:38:6d:dd:b5 (capab=0x401 status=0 aid=1)
Oct 26 18:30:33 splinter wlan0: associated
Oct 26 18:30:33 splinter ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Oct 26 18:30:43 splinter wlan0: no IPv6 routers present
Oct 26 18:31:01 gconfd (jens-8267): (Version 2.20.1) wirI would be happy if anyone can help me.
Thanks
Last edited by xavas (2007-10-26 14:12:02)
Offline

Sounds like a similar problem I was having. Unfortunately all my network help requests through this forum have generally met with little or no response.
The one response I did get that seemed to be on the right track was to try the "new" network scripts that were being worked on. I think they "internally" scan and save you that step.
I use the IWL4965 modules/drivers. Is that what you use?
Last edited by mrunion (2007-10-26 13:03:07)
Matt
"It is very difficult to educate the educated."
Offline
I use the IWL4965 modules/drivers. Is that what you use?
Yes i use them too
try the "new" network scripts that were being worked on.
You mean the Networkmanager?
I think that it isn't  a Driver Problem because iwconfig wlan0 essid WLAN works after start.
Isnt the network script in /etc/rc.d using iwconfig?
Last edited by xavas (2007-10-26 14:33:09)
Offline
just an Idea...
in your rc.conf, I see : INTERFACES=(lo  !eth0 !wlan0)
Why is wlan0 desactivated ("!wlan0" instead of "wlan0") ?
Offline
just an Idea...
in your rc.conf, I see : INTERFACES=(lo !eth0 !wlan0)Why is wlan0 desactivated ("!wlan0" instead of "wlan0") ?
Because I use the network profiles, than i have to deactivate it, isnt that right?
Btw.: If i dont use the Network profile and instead use ne interfaces as normal it is the same problem
Offline

Yup, wlan0 should be deactivated in the INTERFACES to use network profiles. I have mine the same way.
Matt
"It is very difficult to educate the educated."
Offline