Announcement

Collapse
No announcement yet.

Wireless trouble

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

    Wireless trouble

    I have just migrated over from Fedora in a bid to get my new "Linux" wireless card working.

    I'm running a WPA ap, which i think is part of the problem.

    I click on the knetwork icon in the taskbar, i see the 2 ap that are nearby and my own, i can't select anything other that WEP, i i create a new connection and that allows me to create WPA encryption connection, i enter the key and the whole system freezes as soon as it hits 28%.

    I have seen in the forum that others are having this issue with other cards.

    On the box of the card it say the card is from safecom and the card is an SWLPR-5400 card. The autodetected driver in kubuntu is said to be the Realtek Semiconductor RTL-8185.

    This is my iwconfig
    Code:
    lo    no wireless extensions.
    
    wlan0   802.11b/g Mode:Managed Frequency=2.427 GHz
         Access Point: Not-Associated  Bit Rate:11 Mb/s
         Retry:on  Fragment thr:off
         Power Management: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.

    #2
    Re: Wireless trouble

    It's probably an issue with Knetworkmanager. Since you have internet access, install Wireless Assistant (package wlassistant) and see if it works any better. The version in gutsy repo has WPA support.
    The Nomad's Land - some Linux humor too

    Comment


      #3
      Re: Wireless trouble

      Didnt want to make another post because i too have Wifi trouble. Here is the facts so maybe someone can explain me what might not be working right:

      when i "iwlist wlan1 s" i find a cell that i can join, so i "iwconfig wlan1 bla bla bla..." all data correct in the iwconfig, then i do a dhclient... this is where the problem starts, i wait and wait and i dont get a dhcp answer that gives me an ip for my wifi. So i always have to do the following to correct it:

      ifconfig wlan1 down
      ifconfig wlan1 up
      iwlist wlan1 s
      iwconfig wlan1 bla bla bla.....
      dhclient

      if i do this, then it works in an instant. What can i do or correct (where to go / edit) to fix this small problem.

      For common questions, my wifi is a Cnet cwp-854. It didnt work correct on gutsy so i downloaded the updates for linux from the cnet webpage, compile the thing (well actually i ran the sh and it did the whole process ). The module is loaded ok and its detected correctly with no network errors on dmesg or log.

      Comment


        #4
        Re: Wireless trouble

        I had similar troubles, I had to run a series of commands to get my wireless to work. Here's what I did:

        You can copy all the commands you run to make it work into a shell script, like this:
        Code:
        #!/bin/bash
        /sbin/ifconfig wlan1 down
        /sbin/ifconfig wlan1 up
        /sbin/iwlist wlan1 s
        /sbin/iwconfig wlan1 bla bla bla.....
        /sbin/dhclient
        If you want to connect at startup, put this script into /etc/init.d then link it into the startup sequence (first make sure to make it executable):
        Code:
        sudo update-rc.d <file name> start 51 S .
        Don't forget the dot at the end.
        The Nomad&#39;s Land - some Linux humor too

        Comment


          #5
          Re: Wireless trouble

          Can you not just add the network config to
          /etc/network/interfaces ?

          such as
          Code:
          cat /etc/network/interfaces
          # This file describes the network interfaces available on your system
          # and how to activate them. For more information, see interfaces(5).
          
          # The loopback network interface
          auto lo
          iface lo inet loopback
          address 127.0.0.1
          netmask 255.0.0.0
          
          # The primary network interface
          auto eth0
          iface eth0 inet dhcp
          wireless-essid {Your network ssid}
          wireless-key {your wireless key}
          If DHCP and WEP - amend for your particular interface eg eth1 wlan1.
          Or add entries if needed (backup the original interfaces file in case of problems)
          Then once setup do a
          sudo /etc/init.d/networking restart

          should bring up your connection

          Or for wpa this should work
          Code:
          auto ath0
          iface ath0 inet dhcp
             wpa-driver madwifi
             wpa-ssid fredsnet
             wpa-passphrase fred was here
             wpa-key-mgmt WPA-PSK
             wpa-pairwise TKIP CCMP
             wpa-group TKIP CCMP
             wpa-proto WPA RSN
          if your device is associated ath0 - change if needed - more info can be found at

          /usr/share/doc/wpasupplicant/README.modes.gz

          for WPA config
          Kubuntu<br />FreeBSD 8.1<br />OpenBSD 4.7<br />Meego

          Comment


            #6
            Re: Wireless trouble

            At least in Feisty, the /etc/network/interfaces file got rewritten sometimes, I think it was during a reboot usually.

            I don't know if that was fixed later or in Gutsy, but if it works, it's the easier way.
            The Nomad&#39;s Land - some Linux humor too

            Comment


              #7
              Re: Wireless trouble

              KNetworkManager will re-write that file if one uses it (ie - enter different settings, and save) try it yourself - the file at
              /etc/network/interfaces is the default location in Ubuntu/Debian for network device configuration

              I ran Feisty since RC1 using this method, with no re-writes - so I have no experience of the issue you have indicated - have you a link to show this occurs ?

              As far as I am aware that file is only read upon boot for the configuration of each device, or indeed restarting the network daemon.
              Kubuntu<br />FreeBSD 8.1<br />OpenBSD 4.7<br />Meego

              Comment

              Working...
              X