Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Issues With Wireless Network And Authentication
Results 1 to 7 of 7

Thread: Issues With Wireless Network And Authentication

Hybrid View

  1. #1

    Issues With Wireless Network And Authentication

    *sigh*...wireless networks, b'ys.

    Ok so my school provides pretty decent Wireless G coverage to the parts of the campus I frequent. I bought a D-LINK AirPlus DWL-G650 PCMCIA card so I could get in on the wireless thing with my laptop.

    I plugged the card into the side of the laptop, and issued a "sudo ifconfig ath0 up". The device roared to life, and I saw a bunch of flashing lights. So now that the card is active, I try to connect to the wireless network.

    Using a PHP script I found on the net (can't remember where), I was able to extract the commands used to connect to a wireless network.

    "sudo iwlist ath0 scan" returned the following:
    Code:
    conor@conor-lt:~$ iwlist ath0 scan
    ath0      Scan completed :
              Cell 01 - Address: 00:01:F4:ED:1A:4B
                        ESSID:"uw-wireless"
                        Mode:Master
                        Frequency:2.412 GHz (Channel 1)
                        Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
                        Encryption key:off
                        Bit Rate:1 Mb/s
                        Bit Rate:2 Mb/s
                        Bit Rate:5 Mb/s
                        Bit Rate:11 Mb/s
                        Extra:bcn_int=100
              Cell 02 - Address: 00:01:F4:ED:1B:F5
                        ESSID:"uw-wireless"
                        Mode:Master
                        Frequency:2.412 GHz (Channel 1)
                        Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
                        Encryption key:off
                        Bit Rate:1 Mb/s
                        Bit Rate:2 Mb/s
                        Bit Rate:5 Mb/s
                        Bit Rate:11 Mb/s
                        Extra:bcn_int=100
              Cell 03 - Address: 00:01:F4:ED:1B:D5
                        ESSID:"uw-wireless"
                        Mode:Master
                        Frequency:2.437 GHz (Channel 6)
                        Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
                        Encryption key:off
                        Bit Rate:1 Mb/s
                        Bit Rate:2 Mb/s
                        Bit Rate:5 Mb/s
                        Bit Rate:11 Mb/s
                        Extra:bcn_int=100
    I next issued a "sudo iwconfig ath0 essid uw-wireless key off". That appeared to work fine. It printed nothing, and now "iwconfig ath0" returns the following:
    Code:
    conor@conor-lt:~$ iwconfig ath0
    ath0      IEEE 802.11g  ESSID:"uw-wireless"
              Mode:Managed  Frequency:2.437 GHz  Access Point: 00:01:F4:ED:1B:D5
              Bit Rate:11 Mb/s   Tx-Power:50 dBm   Sensitivity=0/3
              Retry:off   RTS thr:off   Fragment thr:off
              Power Management:off
              Link Quality=31/94  Signal level=-64 dBm  Noise level=-95 dBm
              Rx invalid nwid:5704  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    The following is the ouput of "sudo dhclient ath0":
    Code:
    conor@conor-lt:~$ sudo dhclient ath0
    Internet Systems Consortium DHCP Client V3.0.1
    Copyright 2004 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/products/DHCP
    
    sit0: unknown hardware address type 776
    sit0: unknown hardware address type 776
    Listening on LPF/ath0/00:0f:3d:52:0f:f6
    Sending on   LPF/ath0/00:0f:3d:52:0f:f6
    Sending on   Socket/fallback
    DHCPREQUEST on ath0 to 255.255.255.255 port 67
    DHCPREQUEST on ath0 to 255.255.255.255 port 67
    DHCPACK from 129.97.192.1
    bound to 129.97.192.166 -- renewal in 464 seconds.
    So it's definitely talking to the network.

    Now at this point, under windows, I go to www.laptop.uwaterloo.ca, which redirects me to a sign-in page and I sign on using my username and password. Unfortunately, under Linux, epiphany gives me a host not found.

    Furthermore, here are the results of me attempting to ping several addresses:

    Code:
    conor@conor-lt:~$ ping 129.97.192.166
    PING 129.97.192.166 (129.97.192.166) 56(84) bytes of data.
    64 bytes from 129.97.192.166: icmp_seq=1 ttl=64 time=0.053 ms
    64 bytes from 129.97.192.166: icmp_seq=2 ttl=64 time=0.065 ms
    64 bytes from 129.97.192.166: icmp_seq=3 ttl=64 time=0.047 ms
    64 bytes from 129.97.192.166: icmp_seq=4 ttl=64 time=0.066 ms
    64 bytes from 129.97.192.166: icmp_seq=5 ttl=64 time=0.048 ms
    
    --- 129.97.192.166 ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4001ms
    rtt min/avg/max/mdev = 0.047/0.055/0.066/0.012 ms
    
    
    
    conor@conor-lt:~$ ping 127.0.0.1
    PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
    64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.065 ms
    64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.067 ms
    64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.048 ms
    64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.057 ms
    64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.047 ms
    
    --- 127.0.0.1 ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 3999ms
    rtt min/avg/max/mdev = 0.047/0.056/0.067/0.012 ms
    
    
    
    conor@conor-lt:~$ ping 129.97.192.165
    connect: Network is unreachable
    
    conor@conor-lt:~$ ping 129.97.192.164
    connect: Network is unreachable
    
    conor@conor-lt:~$ ping 129.97.192.163
    connect: Network is unreachable
    
    conor@conor-lt:~$ ping 129.97.192.167
    connect: Network is unreachable
    
    conor@conor-lt:~$ ping 129.97.192.168
    connect: Network is unreachable
    
    conor@conor-lt:~$ ping 129.97.192.169
    connect: Network is unreachable
    If I open up a browser and navigate to 129.97.192.166, I get my local apache2 default web server.

    It seems that direct operations on the AirPlus Card work (ie, iwconfig worked fine, dhclient showed me talking happily to the network), but things like ping and browsing that aren't specifically directed at the ath0 device fail.

    Am I missing a step here? It seems that device ath0 is capable of talking to the wireless network, but as far as my laptop is concerned it has no active network interfaces.

    Of particular interest is the line in "iwconfig ath0" after I've connected and obtained a DHCP lease. "Rx invalid nwid" is a huge number. Does this mean that my laptop is rejecting incoming packets from the network?

    Ubuntu Hoary, Compaq Presario 2500, D-Link AirPlus DWL-G650 PCMCIA Wireless Card.

    EDIT: Added actual output of commands, cleaned up post

  2. #2
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:Issues With Wireless Network And Authentication

    I'd like to help you but my Netgear WG511v2 card doesn't work in Linux. I read some people claimed to have it working with prism driver but found out that ony v1 works and mine is v2. Netgear switched the chip set in v2 > > > > .

  3. #3

    Re:Issues With Wireless Network And Authentication

    I fixed it this morning. I had installed NetworkManager from Ubu's repository in the hopes that I could just plug in my card and go, but from what I understand, NM is broken badly on Ubu Hoary. Essentially, NM was stuck in some kind of loop where it reset any default routes that used ath0 as an interface.

    Removing Network Manager via apt fixed the problem. Comin atcha from my wireless card ;D

  4. #4

    Re:Issues With Wireless Network And Authentication

    I just ordered a wireless card and now I know what I have to look forward to... glad to hear it works for you.

  5. #5
    Mentor coltrane's Avatar
    Join Date
    May 2001
    Location
    North Carolina
    Posts
    1,390

    Re:Issues With Wireless Network And Authentication

    i have a Netgear WG511T that works perfectly if that helps

  6. #6

    Re:Issues With Wireless Network And Authentication

    Yes now that I've removed NetworkManager, things work better than they ever have in Windows. The experience is fantastic.

    If you're using Ubuntu Hoary, just don't get NetworkManager. Give it some more time to mature. If you take a look at Ubu's online forums, they're flooded with horror stories about NetworkManager...it doesn't just not work, it breaks your wireless.

    The script found here works great for me: http://ubuntuforums.org/archive/index.php/t-25398.html

  7. #7
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:Issues With Wireless Network And Authentication

    You can do PET for this.

    Sooner or later, people need Wifi stuff. I'm trying to persude my friend to buy my netgear package so that I can buy Linksys package.

Similar Threads

  1. Wireless Network
    By navs in forum Linux - General Topics
    Replies: 2
    Last Post: 12-22-2005, 11:48 AM
  2. Wireless Network PET
    By Tyr_7BE in forum Linux - General Topics
    Replies: 0
    Last Post: 05-07-2005, 03:27 PM
  3. Wireless Network
    By GhostDawg in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 08-11-2004, 12:28 AM
  4. SuSE 9.1 Network Issues
    By trickster in forum Linux - General Topics
    Replies: 2
    Last Post: 06-21-2004, 09:40 PM
  5. Wireless network
    By GroundZero3 in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 04-18-2003, 03:25 PM

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
  •