Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Wireless not connecting?

  1. #11
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Wireless not connecting?

    EDIT: Though it's not really relevant, what is 'eth1:avahi'? I know it sounds kind of odd, but i've never seen it there until recently - same goes for wmaster0 (when it showed up in iwconfig earlier).
    As I understand it, wmaster is a physical interface, while wlan0 is the virtual interface that operates on it--the new Ralink drivers work on this model, instead of just creating one interface in iwconfig per device. I think that eth1:avahi is the same idea. I don't know all of the details, but it's supposed to be this way, so don't worry.
    I see that Asus have a linux driver for this adapter listed on their support website - would it be worth trying that at some point? From what I remember, the WL-167g 'just worked' when I plugged it into my machines at 6.04 and 7.10.
    Their driver is probably mostly the same as the one that you already tried to compile. Ralink released drivers under the GPL a few years ago, and that's probably the code that Asus has on its website. The driver that I'm trying to have you compile (from http://rt2x00.serialmonkey.com/) is based on the same code but is a little better (more features, support for 64-bit), so I'd stick with that for now.

    As for your wireless still not working, it looks like the new driver didn't get compiled or installed correctly for some reason. Please try running the following code again and post the output so that we can check to make sure the new driver is being built properly:
    Code:
    wget http://rt2x00.serialmonkey.com/rt2570-cvs-daily.tar.gz
    tar -xzvf rt2570*
    cd rt2570*/Module
    make
    sudo make install
    sudo modprobe rt2570

  2. #12
    Join Date
    May 2008
    Location
    London
    Beans
    11
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Wireless not connecting?

    Here we are:

    Code:
    craig@craigsdesktop:~$ cd Desktop/
    craig@craigsdesktop:~/Desktop$ wget http://rt2x00.serialmonkey.com/rt2570-cvs-daily.tar.gz
    --20:30:23--  http://rt2x00.serialmonkey.com/rt2570-cvs-daily.tar.gz
               => `rt2570-cvs-daily.tar.gz'
    Resolving rt2x00.serialmonkey.com... 208.100.15.174
    Connecting to rt2x00.serialmonkey.com|208.100.15.174|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 267,734 (261K) [application/x-gzip]
    
    100%[====================================>] 267,734      277.80K/s             
    
    20:30:25 (277.06 KB/s) - `rt2570-cvs-daily.tar.gz' saved [267734/267734]
    
    craig@craigsdesktop:~/Desktop$ tar -xvzf rt25
    rt2500-cvs-2008080614/   rt2500-cvs-daily.tar.gz  rt2570-cvs-daily.tar.gz
    craig@craigsdesktop:~/Desktop$ tar -xvzf rt2570-cvs-daily.tar.gz 
    rt2570-cvs-2008080713/
    rt2570-cvs-2008080713/FAQ
    rt2570-cvs-2008080713/THANKS
    rt2570-cvs-2008080713/CHANGELOG
    rt2570-cvs-2008080713/CVS/
    rt2570-cvs-2008080713/CVS/Root
    rt2570-cvs-2008080713/CVS/Repository
    rt2570-cvs-2008080713/CVS/Entries.Log
    rt2570-cvs-2008080713/CVS/Entries
    rt2570-cvs-2008080713/LICENSE
    rt2570-cvs-2008080713/Module/
    rt2570-cvs-2008080713/Module/auth.c
    rt2570-cvs-2008080713/Module/rt2x00debug.h
    rt2570-cvs-2008080713/Module/md5.c
    rt2570-cvs-2008080713/Module/rtusb_data.c
    rt2570-cvs-2008080713/Module/rtusb_info.c
    rt2570-cvs-2008080713/Module/rtmp_ckipmic.h
    rt2570-cvs-2008080713/Module/rt_config.h
    rt2570-cvs-2008080713/Module/assoc.c
    rt2570-cvs-2008080713/Module/CVS/
    rt2570-cvs-2008080713/Module/CVS/Root
    rt2570-cvs-2008080713/Module/CVS/Repository
    rt2570-cvs-2008080713/Module/CVS/Entries
    rt2570-cvs-2008080713/Module/rt2570sw.h
    rt2570-cvs-2008080713/Module/wpa.c
    rt2570-cvs-2008080713/Module/sync.c
    rt2570-cvs-2008080713/Module/iwpriv_usage.txt
    rt2570-cvs-2008080713/Module/rtusb_bulk.c
    rt2570-cvs-2008080713/Module/mlme.h
    rt2570-cvs-2008080713/Module/connect.c
    rt2570-cvs-2008080713/Module/rtmp_tkip.c
    rt2570-cvs-2008080713/Module/auth_rsp.c
    rt2570-cvs-2008080713/Module/oid.h
    rt2570-cvs-2008080713/Module/rtusb_init.c
    rt2570-cvs-2008080713/Module/TESTING
    rt2570-cvs-2008080713/Module/rt2570.h
    rt2570-cvs-2008080713/Module/rtusb_io.c
    rt2570-cvs-2008080713/Module/sha1.h
    rt2570-cvs-2008080713/Module/mlme.c
    rt2570-cvs-2008080713/Module/rtusb_main.c
    rt2570-cvs-2008080713/Module/md5.h
    rt2570-cvs-2008080713/Module/rtusb.h
    rt2570-cvs-2008080713/Module/wpa.h
    rt2570-cvs-2008080713/Module/rtmp_wep.c
    rt2570-cvs-2008080713/Module/rtmp_def.h
    rt2570-cvs-2008080713/Module/Makefile
    rt2570-cvs-2008080713/Module/rtmp_type.h
    rt2570-cvs-2008080713/Module/rt2x00debug.c
    rt2570-cvs-2008080713/Module/sanity.c
    rt2570-cvs-2008080713/README
    craig@craigsdesktop:~/Desktop$ cd rt2570-cvs-2008080713/
    craig@craigsdesktop:~/Desktop/rt2570-cvs-2008080713$ cd Module/
    craig@craigsdesktop:~/Desktop/rt2570-cvs-2008080713/Module$ make
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic'
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/rtusb_main.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/mlme.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/rtusb_bulk.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/connect.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/sync.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/rtusb_init.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/rtmp_tkip.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/wpa.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/rtmp_wep.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/rtusb_info.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/assoc.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/auth.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/auth_rsp.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/md5.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/rtusb_io.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/sanity.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/rtusb_data.o
      CC [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/rt2x00debug.o
      LD [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/rt2570.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /home/craig/Desktop/rt2570-cvs-2008080713/Module/rt2570.mod.o
      LD [M]  /home/craig/Desktop/rt2570-cvs-2008080713/Module/rt2570.ko
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic'
    craig@craigsdesktop:~/Desktop/rt2570-cvs-2008080713/Module$ sudo make install
    [sudo] password for craig: 
    2.6 module install
    make -C /lib/modules/2.6.24-18-generic/build SUBDIRS=/home/craig/Desktop/rt2570-cvs-2008080713/Module  modules_install
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic'
      INSTALL /home/craig/Desktop/rt2570-cvs-2008080713/Module/rt2570.ko
      DEPMOD  2.6.24-18-generic
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic'
    /sbin/depmod -a
    *** Update /etc/modprobe.d/ralink alias for rausb0
    craig@craigsdesktop:~/Desktop/rt2570-cvs-2008080713/Module$ sudo modprobe rt2570
    craig@craigsdesktop:~/Desktop/rt2570-cvs-2008080713/Module$

  3. #13
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Wireless not connecting?

    Alright, that all looks good. If you run:
    Code:
    sudo modprobe rt2570
    sudo ifconfig rausb0 up
    sudo rutilt
    you should be able to connect. Yes?

  4. #14
    Join Date
    May 2008
    Location
    London
    Beans
    11
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Wireless not connecting?

    I wasn't able to connect with WEP encryption enabled, but once I disabled that I was seemingly able to get a DHCP lease from my router - however, ping shows that I can't even access my router's config page (nor through my browser), and normal webpages also don't work.

    Console Output (first two tries with WEP):

    Code:
    craig@craigsdesktop:~$ sudo ifconfig rausb0 up
    craig@craigsdesktop:~$ sudo rutilt
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/rausb0/00:11:2f:6b:e9:70
    Sending on   LPF/rausb0/00:11:2f:6b:e9:70
    Sending on   Socket/fallback
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 3
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 3
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 8
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 16
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 1
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    craig@craigsdesktop:~$ There is already a pid file /var/run/dhclient.pid with pid 13315
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/rausb0/00:11:2f:6b:e9:70
    Sending on   LPF/rausb0/00:11:2f:6b:e9:70
    Sending on   Socket/fallback
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 6
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 8
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 17
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    There is already a pid file /var/run/dhclient.pid with pid 13341
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/rausb0/00:11:2f:6b:e9:70
    Sending on   LPF/rausb0/00:11:2f:6b:e9:70
    Sending on   Socket/fallback
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 12
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    There is already a pid file /var/run/dhclient.pid with pid 13365
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/rausb0/00:11:2f:6b:e9:70
    Sending on   LPF/rausb0/00:11:2f:6b:e9:70
    Sending on   Socket/fallback
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 6
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 11
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 7
    DHCPOFFER of 192.168.1.71 from 192.168.1.254
    DHCPREQUEST of 192.168.1.71 on rausb0 to 255.255.255.255 port 67
    DHCPACK of 192.168.1.71 from 192.168.1.254
    bound to 192.168.1.71 -- renewal in 41343 seconds.
    
    craig@craigsdesktop:~$ ping 192.168.1.254
    PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
    From 192.168.1.66 icmp_seq=1 Destination Host Unreachable
    From 192.168.1.66 icmp_seq=4 Destination Host Unreachable
    
    --- 192.168.1.254 ping statistics ---
    4 packets transmitted, 0 received, +2 errors, 100% packet loss, time 3015ms
    
    craig@craigsdesktop:~$
    EDIT: The 'system tray' icon of rutilt, and its 'Statistics' tab both show that i'm connected to my network with a link quality of around 70% (-60ish dBm signal, and -80ish dBm noise).

  5. #15
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Wireless not connecting?

    That's weird. I've never had a problem with the rt2570 driver before. Did you try rebooting to see if it helps? Also, what are the contents of /etc/resolv.conf after you get an IP from the router?

  6. #16
    Join Date
    May 2008
    Location
    London
    Beans
    11
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Wireless not connecting?

    I'm sorry for not responding to this thread sooner - Real Life got in the way, as it has a habit of doing

    I'm actually posting this from my desktop - for some reason (i'm guessing the restart), I was able to connect properly using rutilt - here are the outputs of both the rutilt command and my /etc/resolv.conf, for future reference:

    sudo rutilt:

    Code:
    craig@craigsdesktop:~$ There is already a pid file /var/run/dhclient.pid with pid 6638
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/rausb0/00:11:2f:6b:e9:70
    Sending on   LPF/rausb0/00:11:2f:6b:e9:70
    Sending on   Socket/fallback
    DHCPDISCOVER on rausb0 to 255.255.255.255 port 67 interval 5
    DHCPOFFER of 192.168.1.71 from 192.168.1.254
    DHCPREQUEST of 192.168.1.71 on rausb0 to 255.255.255.255 port 67
    DHCPACK of 192.168.1.71 from 192.168.1.254
    bound to 192.168.1.71 -- renewal in 39522 seconds.
    /etc/resolv.conf:

    Code:
    search home
    nameserver 192.168.1.254
    Thank you very much for all your help, pytheas22

  7. #17
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Wireless not connecting?

    I'm glad that's finally solved, and sorry it ended up being more complicated than I originally thought.

    Just so you know, if you ever want to revert to the original drivers that you were using (which seem to have been broken by a bad update but will hopefully be fixed by a future update), open up the blacklist:
    Code:
    sudo gedit /etc/modprobe.d/blacklist
    and put a # in front of all of the lines from "blacklist rt2500usb" to "blacklist rt2x00usb," inclusive (a # tells the system to ignore that line). Then add:
    Code:
    blacklist rt2570
    to the blacklist, and save it. After a reboot, you should be using the original drivers again, which have the advantage of working with Network Manager instead of relying on Rutilt.

    If you find that the original drivers are still broken, remove the #'s from the appropriate lines in the blacklist, and unblacklist rt2570.

    If you run into more trouble let me know; otherwise enjoy Ubuntu!

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •