Announcement

Collapse
No announcement yet.

[Solved. I think!] Wireless issue

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Solved. I think!] Wireless issue

    I have a problem with wicd (1.6.1).
    Not allays, but most of the times, when I switch on my system, wicd don't connect to my wireless network.
    Before, with JJ (9.04), there was no problems about this matter, but now, with KK (9.10) it's an annoying issue.
    I need to restart 1, 2 or 3 times until wicd connect properly.
    The message in the GUI is “Não foram detectadas redes sem fios” (No wireless networks found).

    Here is iwlist and iwconfig results:

    carib@ZD8000:~$ iwlist wlan0 scan
    wlan0 Failed to read scan data : Resource temporarily unavailable
    carib@ZD8000:~$ iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    pan0 no wireless extensions.

    wmaster0 no wireless extensions.

    wlan0 IEEE 802.11bg ESSID:"Despina"
    Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
    Tx-Power=20 dBm
    Retry long limit:7 RTS thrff Fragment thrff
    Power Managementff
    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
    and the configuration files:

    /etc/network/interfaces

    auto lo
    iface lo inet loopback
    /etc/wicd/manager-settings.conf

    [Settings]
    wireless_interface = wlan0
    pref_width = 450
    window_width = 580
    prefer_wired = False
    flush_tool = 0
    backend = external
    global_dns_dom = None
    always_show_wired_interface = False
    window_height = 617
    global_dns_1 = None
    global_dns_2 = None
    global_dns_3 = None
    use_global_dns = False
    link_detect_tool = 0
    dhcp_client = 0
    sudo_app = 0
    wired_connect_mode = 2
    debug_mode = 0
    pref_height = 525
    wired_interface = eth0
    signal_display_type = 1
    global_search_dom = None
    auto_reconnect = True
    wpa_driver = wext
    /etc/wicd/wireless-settings.conf

    [00:13:10:04:4E:9C]
    afterscript = None
    bssid = 00:13:10:04:4E:9C
    postdisconnectscript = None
    dns_domain = None
    quality = 71
    gateway = 192.168.200.11
    use_global_dns = 0
    strength = -60
    encryption = True
    bitrates = 6 Mb/s
    ip = 192.168.200.69
    beforescript = None
    hidden = False
    channel = 1
    essid = Despina
    has_profile = True
    netmask = 255.255.255.0
    key = ********
    predisconnectscript = None
    enctype = wpa
    dns3 = None
    dns2 = None
    search_domain = None
    use_settings_globally = 1
    use_static_dns = 1
    encryption_method = WPA
    mode = Master
    automatic = True
    dns1 = 192.168.200.11

    [essidespina]
    afterscript = None
    bssid = 00:13:10:04:4E:9C
    postdisconnectscript = None
    dns_domain = None
    quality = 71
    gateway = 192.168.200.11
    use_global_dns = 0
    strength = -60
    encryption = True
    bitrates = 6 Mb/s
    ip = 192.168.200.69
    beforescript = None
    hidden = False
    channel = 1
    essid = Despina
    has_profile = True
    netmask = 255.255.255.0
    key = ********
    predisconnectscript = None
    enctype = wpa
    dns3 = None
    dns2 = None
    search_domain = None
    use_settings_globally = 1
    use_static_dns = 1
    encryption_method = WPA
    mode = Master
    automatic = True
    dns1 = 192.168.200.11
    and the log:

    /var/log/wicd/wicd.log

    (successful connection)

    2009/11/20 15:55:09 :: wicd initializing...
    2009/11/20 15:55:09 :: ---------------------------
    2009/11/20 15:55:09 :: wicd is version 1.6.1 426
    2009/11/20 15:55:10 :: setting backend to external
    2009/11/20 15:55:11 :: trying to load backend external
    2009/11/20 15:55:11 :: successfully loaded backend external
    2009/11/20 15:55:11 :: trying to load backend external
    2009/11/20 15:55:11 :: successfully loaded backend external
    2009/11/20 15:55:11 :: Couldn't detect a wireless interface.
    2009/11/20 15:55:11 :: setting wireless interface wlan0
    2009/11/20 15:55:11 :: automatically detected wired interface eth0
    2009/11/20 15:55:11 :: setting wired interface eth0
    2009/11/20 15:55:11 :: setting wpa driver wext
    2009/11/20 15:55:11 :: setting use global dns to False
    2009/11/20 15:55:11 :: setting global dns
    2009/11/20 15:55:11 :: global dns servers are None None None
    2009/11/20 15:55:11 :: domain is None
    2009/11/20 15:55:11 :: search domain is None
    2009/11/20 15:55:11 :: setting automatically reconnect when connection drops True
    2009/11/20 15:55:11 :: Setting dhcp client to 0
    2009/11/20 15:55:11 :: Wireless configuration file found...
    2009/11/20 15:55:11 :: Wired configuration file found...
    2009/11/20 15:55:11 :: chmoding configuration files 0600...
    2009/11/20 15:55:11 :: chowning configuration files root:root...
    2009/11/20 15:55:11 :: Using wireless interface...wlan0
    2009/11/20 15:55:11 :: Using wired interface...eth0
    2009/11/20 15:55:18 :: Autoconnecting...
    2009/11/20 15:55:20 :: No wired connection present, attempting to autoconnect to wireless network
    2009/11/20 15:55:22 :: trying to automatically connect to...Despina
    2009/11/20 15:55:22 :: Connecting to wireless network Despina
    2009/11/20 15:55:22 :: Putting interface down
    2009/11/20 15:55:22 :: Releasing DHCP leases...
    2009/11/20 15:55:22 :: Setting false IP...
    2009/11/20 15:55:22 :: Stopping wpa_supplicant
    2009/11/20 15:55:23 :: Flushing the routing table...
    2009/11/20 15:55:23 :: Putting interface up...
    2009/11/20 15:55:23 :: Generating psk...
    2009/11/20 15:55:23 :: Attempting to authenticate...
    2009/11/20 15:55:25 :: Setting static IP : 192.168.200.69
    2009/11/20 15:55:25 :: Setting default gateway : 192.168.200.11
    2009/11/20 15:55:25 :: Verifying AP association
    2009/11/20 15:55:25 :: Connecting thread exiting.
    2009/11/20 15:55:29 :: Sending connection attempt result Success
    (failed connection)

    2009/11/20 17:30:16 :: wicd initializing...
    2009/11/20 17:30:16 :: ---------------------------
    2009/11/20 17:30:16 :: wicd is version 1.6.1 426
    2009/11/20 17:30:16 :: setting backend to external
    2009/11/20 17:30:16 :: trying to load backend external
    2009/11/20 17:30:16 :: successfully loaded backend external
    2009/11/20 17:30:16 :: trying to load backend external
    2009/11/20 17:30:16 :: successfully loaded backend external
    2009/11/20 17:30:16 :: Automatically detected wireless interface wlan0
    2009/11/20 17:30:16 :: setting wireless interface wlan0
    2009/11/20 17:30:16 :: automatically detected wired interface eth0
    2009/11/20 17:30:16 :: setting wired interface eth0
    2009/11/20 17:30:16 :: setting wpa driver wext
    2009/11/20 17:30:16 :: setting use global dns to False
    2009/11/20 17:30:16 :: setting global dns
    2009/11/20 17:30:16 :: global dns servers are None None None
    2009/11/20 17:30:16 :: domain is None
    2009/11/20 17:30:16 :: search domain is None
    2009/11/20 17:30:16 :: setting automatically reconnect when connection drops True
    2009/11/20 17:30:16 :: Setting dhcp client to 0
    2009/11/20 17:30:16 :: Wireless configuration file found...
    2009/11/20 17:30:16 :: Wired configuration file found...
    2009/11/20 17:30:16 :: chmoding configuration files 0600...
    2009/11/20 17:30:16 :: chowning configuration files root:root...
    2009/11/20 17:30:16 :: Using wireless interface...wlan0
    2009/11/20 17:30:16 :: Using wired interface...eth0
    2009/11/20 17:30:22 :: Autoconnecting...
    2009/11/20 17:30:24 :: No wired connection present, attempting to autoconnect to wireless network
    2009/11/20 17:30:25 :: trying to automatically connect to...Despina
    2009/11/20 17:30:25 :: Connecting to wireless network Despina
    2009/11/20 17:30:25 :: Putting interface down
    2009/11/20 17:30:25 :: Releasing DHCP leases...
    2009/11/20 17:30:25 :: Setting false IP...
    2009/11/20 17:30:26 :: Stopping wpa_supplicant
    2009/11/20 17:30:26 :: Flushing the routing table...
    2009/11/20 17:30:26 :: Putting interface up...
    2009/11/20 17:30:26 :: Generating psk...
    2009/11/20 17:30:26 :: Attempting to authenticate...
    2009/11/20 17:30:34 :: Setting static IP : 192.168.200.69
    2009/11/20 17:30:34 :: Setting default gateway : 192.168.200.11
    2009/11/20 17:30:34 :: Verifying AP association
    2009/11/20 17:30:37 :: Connection Failed: Failed to ping the access point!
    2009/11/20 17:30:37 :: exiting connection thread
    2009/11/20 17:30:42 :: Sending connection attempt result association_failed
    2009/11/20 17:30:42 :: Autoconnecting...
    2009/11/20 17:30:42 :: No wired connection present, attempting to autoconnect to wireless network
    2009/11/20 17:30:42 :: Unable to autoconnect, you'll have to manually connect
    2009/11/20 17:30:47 :: Autoconnecting...
    2009/11/20 17:30:47 :: No wired connection present, attempting to autoconnect to wireless network
    2009/11/20 17:30:47 :: Unable to autoconnect, you'll have to manually connect
    2009/11/20 17:30:52 :: Autoconnecting...
    2009/11/20 17:30:52 :: No wired connection present, attempting to autoconnect to wireless network
    2009/11/20 17:30:52 :: Unable to autoconnect, you'll have to manually connect
    As you can see, and is the most intrigant for me, when I have a successful connection, in the log file says “Couldn't detect a wireless interface” and when failed, says “Automatically detected wireless interface wlan0”

    This make nonsense for me!

    Have you any ideas?
    Can you help, please?

    Thanks in advance.

    (Apologies for the long post and my bad English)

    #2
    Re: WICD issue

    Since I never had any serious problems with wicd, I can really not say a lot.

    Did you preface your iwlist command with 'sudo'? Without that you will get no results.

    I compared my wicd conf files with yours. There are definitely differences there. Wherever you have the IP, DNS 1.2.3, global DNS, gateway Mine say "None". Yours show address 192.168.xxx. x

    Also, in your file 'manager-settings.conf' you have: "always_show_wired_interface = False". I guess that's why you do not see your wired connection. I would change that to '=True'.

    Somehow you introduced a misleading IP along the line, I reckon.
    The less you interfere with wicd during setup the better. Wicd is perfectly capable of doing the setup on its own. Anything else might result in overkill and confusion.

    The file /etc/network/interfaces should only contain the entry:

    auto lo
    iface lo inet loopback

    I was bold (after a lot of practice) and entered in addition:

    auto eth0
    iface eth0 inet dhcp

    auto wlan0
    iface wlan0 inet dhcp


    Works like a charm.

    Comment


      #3
      Re: WICD issue

      Originally posted by PJJ
      Since I never had any serious problems with wicd, I can really not say a lot.

      Did you preface your iwlist command with 'sudo'? Without that you will get no results.
      EDIT: Only now I see that my post was not complete. Sorry. My mistake.

      Now, with connection, I tried iwlist with and without sudo.
      As you can see, the difference is that with sudo, shows other wireless networks in the range.
      Next time when wicd fails connect, I will try same commands with sudo.

      carib@ZD8000:~$ iwlist wlan0 scan
      wlan0 Scan completed :
      Cell 01 - Address: 00:13:10:04:4E:9C
      Channel:1
      Frequency:2.412 GHz (Channel 1)
      Quality=58/70 Signal level=-52 dBm
      Encryption keyn
      ESSID:"Despina"
      Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
      Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
      36 Mb/s; 48 Mb/s; 54 Mb/s
      Mode:Master
      Extra:tsf=00000010016d7a8b
      Extra: Last beacon: 420076ms ago
      IE: Unknown: 000744657370696E61
      IE: Unknown: 010482848B96
      IE: Unknown: 030101
      IE: WPA Version 1
      Group Cipher : TKIP
      Pairwise Ciphers (1) : TKIP
      Authentication Suites (1) : PSK
      IE: Unknown: 0406000200000000
      IE: Unknown: 2A0100
      IE: Unknown: 32080C1218243048606C

      carib@ZD8000:~$ sudo iwlist wlan0 scan
      [sudo] password for carib:
      wlan0 Scan completed :
      Cell 01 - Address: 00:13:10:04:4E:9C
      Channel:1
      Frequency:2.412 GHz (Channel 1)
      Quality=49/70 Signal level=-61 dBm
      Encryption keyn
      ESSID:"Despina"
      Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
      Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
      36 Mb/s; 48 Mb/s; 54 Mb/s
      Mode:Master
      Extra:tsf=0000001023c0217f
      Extra: Last beacon: 1132ms ago
      IE: Unknown: 000744657370696E61
      IE: Unknown: 010482848B96
      IE: Unknown: 030101
      IE: WPA Version 1
      Group Cipher : TKIP
      Pairwise Ciphers (1) : TKIP
      Authentication Suites (1) : PSK
      IE: Unknown: 0406000200000000
      IE: Unknown: 2A0100
      IE: Unknown: 32080C1218243048606C
      Cell 02 - Address: 00:1F:9F:3E:BF:0D
      Channel:1
      Frequency:2.412 GHz (Channel 1)
      Quality=38/70 Signal level=-72 dBm
      Encryption keyn
      ESSID:"Thomson4EF96A"
      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
      Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
      Mode:Master
      Extra:tsf=0000001ad61c7006
      Extra: Last beacon: 1424ms ago
      IE: Unknown: 000D54686F6D736F6E344546393641
      IE: Unknown: 010882848B962430486C
      IE: Unknown: 030101
      IE: Unknown: 050400030000
      IE: Unknown: 2A0104
      IE: Unknown: 2F0104
      IE: Unknown: 32040C121860
      IE: Unknown: DD090010180201F0000000
      IE: WPA Version 1
      Group Cipher : TKIP
      Pairwise Ciphers (1) : TKIP
      Authentication Suites (1) : PSK
      IE: Unknown: DD180050F2020101880003A4000027A4000042435E0062322F 00

      There was more 9 or 10.
      Originally posted by PJJ
      I compared my wicd conf files with yours. There are definitely differences there. Wherever you have the IP, DNS 1.2.3, global DNS, gateway Mine say "None". Yours show address 192.168.xxx. x

      Also, in your file 'manager-settings.conf' you have: "always_show_wired_interface = False". I guess that's why you do not see your wired connection. I would change that to '=True'.

      Somehow you introduced a misleading IP along the line, I reckon.
      The less you interfere with wicd during setup the better. Wicd is perfectly capable of doing the setup on its own. Anything else might result in overkill and confusion.
      I'm using (always) static IPs and there are no mistakes, they are defined in the first use of wicd.

      Originally posted by PJJ
      The file /etc/network/interfaces should only contain the entry:

      auto lo
      iface lo inet loopback

      I was bold (after a lot of practice) and entered in addition:

      auto eth0
      iface eth0 inet dhcp

      auto wlan0
      iface wlan0 inet dhcp
      About that, I followed this.

      I think that they know what are telling, but... I will try your suggestion.

      Comment


        #4
        Re: WICD issue

        I had installed the new version (1.6.2.2).
        One more chance to solve this issue.
        But, nothing happens. Always the same.
        Reboot and reboot, and ... until I have a connection.

        Comment


          #5
          Re: WICD issue

          Stab in the dark but worked for me:

          Open wicd's control panel, click Preferences and ensure that Wireless Interface is set to wlan0

          Comment


            #6
            Re: WICD issue

            Originally posted by ultrageeky
            Stab in the dark but worked for me:

            Open wicd's control panel, click Preferences and ensure that Wireless Interface is set to wlan0
            That's not the problem!
            But, thanks.

            I reinstalled wicd, and tried other suggestions.
            Same issue. One time works, another not.

            Not solved, yet.

            Comment


              #7
              Re: [Solved? No, forgotten!] WICD issue

              After lots of Googling and reading, more Googling and reading, more..., I think that isn't a WICD issue, but a Kernel problem (2.6.31-14-generic and 2.6.31-15-generic)!

              I tried other options, like using only network interfaces file, and other network manager GUIs.

              The symptoms are the same.

              Now, I have wicd again, because is the better choice I founded.

              Comment


                #8
                Re: [Solved? No, forgotten!] WICD issue

                For a completely different reason (no support for my cdma mobile broadband), I ditched wicd; I am now using network-manager-gnome and am happy.
                To be sure, there are a few minor irritants:
                a) it works with the gnome-keyring (not the kde-keyring) the settings for which are a mystery to me. So every time I boot up it asks for the password
                b) if my external wifi switch is turned off when "sleeping", it doesn't seem able to detect it when I turn it on (so wireless interface stays disabled); and I don't know how to turn it on. So I end up making sure I don't fiddle that switch when the system is in sleep (standby) mode.

                If this is okay with you, you might want to try the network-manager-gnome on your kde. It works.

                PS: Your problem could have more to do with the drivers / hardware though. In that case, the solution may not be found in tinkering with the network managers.
                Dell Inspiron 1525; Kubuntu 9.10 64bit

                Comment


                  #9
                  Re: [Solved? No, workarrounded] Wireless issue

                  Hi.

                  After more tests, including a new 9,10 fresh install, I decided abandon any Network Manager GUI.

                  I only need to use my homenetwork and so, I followed this How to.

                  Works like a charm!

                  (I changed the original post subject. I think that this is not a WICD problem. As mentioned, in a previous post, the problem is identical using other network managers.)

                  As I'm persistant, I will try another solutions in the future.

                  Comment


                    #10
                    Re: [Solved. I think!] Wireless issue

                    As I supposed, this was more a kernel than wicd issue.

                    A few days ago, had an automatic update and now, with new kernel version, wicd works fine on boot.

                    There is a few problems when switching between wireless networks or between wireless and wired network. But, for my usual work, now is fine.

                    Comment


                      #11
                      Re: [Solved. I think!] Wireless issue

                      @carib,
                      I have noticed that since upgrading to the 31-16 kernel my wicd connection will show I am connected but suddenly any URL I click on will open a tab (my browser setting) but the page never completes. The spinning balls just continue spinning until it times out. Hovering over the wicd icon in the system tray shows it is still connected, but I can't actually continue browsing until I open the wicd GUI, disconnect my wireless router and then reconnect it again.

                      This happens once or twice a day, especially if I leave the browser setting on a page without giving it any activity.
                      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                      – John F. Kennedy, February 26, 1962.

                      Comment


                        #12
                        Re: [Solved. I think!] Wireless issue

                        Originally posted by GreyGeek
                        @carib,
                        I have noticed that since upgrading to the 31-16 kernel my wicd connection will show I am connected but suddenly any URL I click on will open a tab (my browser setting) but the page never completes. The spinning balls just continue spinning until it times out. Hovering over the wicd icon in the system tray shows it is still connected, but I can't actually continue browsing until I open the wicd GUI, disconnect my wireless router and then reconnect it again.

                        This happens once or twice a day, especially if I leave the browser setting on a page without giving it any activity.
                        Here, I' didn't noticed that.

                        I can be connected all the time without loses. I have another router and I madded a few tests switching connection between them and I tested to switch to wired connection. Only in that cases I noticed issues, nothing more else.

                        I can't help you in that point.

                        Comment


                          #13
                          Re: [Solved. I think!] Wireless issue

                          I wasn't asking for help, just pointing out for you and others that network connections with wicd may seem to randomly "pause" for no apparent reason.
                          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                          – John F. Kennedy, February 26, 1962.

                          Comment

                          Working...
                          X