Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: Nework Diagnosis-Script

  1. #11
    Join Date
    Aug 2011
    Beans
    24

    Re: Nework Diagnosis-Script


  2. #12
    Join Date
    Aug 2011
    Beans
    24

    Re: Nework Diagnosis-Script


  3. #13
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,918
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Nework Diagnosis-Script

    the driver you are trying to in stall is meant for Broadcom devices, instead you are using a device from Atheros Communications Inc. the right driver is: http://wiki.debian.org/ath9k#Supported_Devices

    Code:
    sudo aptitude update && sudo aptitude install wireless-tools
    sudo modprobe ath9k
    <reboot>
    iwconfig wlan0 power on
    ifconfig wlan0 up
    if you have still problems run again the script and repost again please. you just need to install the correct driver.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  4. #14
    Join Date
    Aug 2011
    Beans
    24

    Re: Nework Diagnosis-Script

    Ha, thanks!
    After running sudo aptitude update && aptitude install wireless-tools
    I get:
    Code:
    sudo: aptitude: command not found
    Do I need to download something from the wireless tools package link first?

  5. #15
    Join Date
    Aug 2011
    Beans
    2

    Re: Nework Diagnosis-Script

    DISTRIB_CODENAME=natty
    DISTRIB_DESCRIPTION="Ubuntu 11.04"
    Linux ubuntu 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ +++
    ++++++++++++++++++++++++++++++++++++++++++++++ifco nfig++++++++++++++++++++++++++++++++++++++++++++++ +++
    eth0 Link encap:Ethernet HWaddr 00:24:81:55:6f:41
    inet addr:192.168.0.114 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::224:81ff:fe55:6f41/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:11517 errors:0 dropped:0 overruns:0 frame:0
    TX packets:9026 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:8871908 (8.8 MB) TX bytes:1096513 (1.0 MB)
    Interrupt:22 Memory:e4600000-e4620000

    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:12 errors:0 dropped:0 overruns:0 frame:0
    TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:720 (720.0 B) TX bytes:720 (720.0 B)


    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ +++
    ++++++++++++++++++++++++++++++++++++++++++++++iwco nfig++++++++++++++++++++++++++++++++++++++++++++++ +++
    wlan0 IEEE 802.11bg ESSID:off/any
    Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
    Retry long limit:7 RTS thr:off Fragment thr:off
    Encryption key:off
    Power Management:off


    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ +++
    +++++++++++++++++++++++++++++++++++++++++/pro/net/wireless++++++++++++++++++++++++++++++++++++++++++ +++
    Inter-| sta-| Quality | Discarded packets | Missed | WE
    face | tus | link level noise | nwid crypt frag retry misc | beacon | 22

    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ +++
    ++++++++++++++++++++++++++/var/lib/NetworkManager/NetworkManager.state++++++++++++++++++++++++++++++ +++

    [main]
    :

  6. #16
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,918
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Nework Diagnosis-Script

    Quote Originally Posted by Potsoil View Post
    Ha, thanks!
    After running sudo aptitude update && aptitude install wireless-tools
    I get:
    Code:
    sudo: aptitude: command not found
    Do I need to download something from the wireless tools package link first?
    ehh.. ?? that's odd. are you sure you re typing the command correctly?
    try this instead:
    Code:
    sudo apt-get install linux-headers-$(uname -r)
    sudo apt-get install aptitude
    sudo aptitude update
    Edit:
    Code:
    network
           description: Wireless interface
           product: AR5008 Wireless Network Adapter
           vendor: Atheros Communications Inc.
           physical id: 0
           bus info: pci@0000:02:00.0
           logical name: wlan0
           version: 01
           serial: 00:1c:b3:bf:05:2b
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
           configuration: broadcast=yes driver=ath9k driverversion=2.6.38-11-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
           resources: irq:17 memory:90100000-9010ffff

    also I just double checked more carefully your script and i found out that the right driver is actually already installed (in lshw, even if lspci did not show it). My bad, i missed that!

    so the driver is not the problem in this case! which is better....
    can you post the results for this commands:
    Code:
    sudo iwlist scan | less
    and which one is your ESSID name
    are you able to connect normally to .an open(no pass/encryption) wifi hotspot?
    if so change your router setting to WAP or WAP2 only , do not use WAP/WAP2
    Last edited by fdrake; August 30th, 2011 at 07:48 AM.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  7. #17
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,918
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Nework Diagnosis-Script

    Quote Originally Posted by Neko16 View Post
    DISTRIB_CODENAME=natty
    DISTRIB_DESCRIPTION="Ubuntu 11.04"
    Linux ubuntu 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ +++
    ++++++++++++++++++++++++++++++++++++++++++++++ifco nfig++++++++++++++++++++++++++++++++++++++++++++++ +++
    eth0 Link encap:Ethernet HWaddr 00:24:81:55:6f:41
    inet addr:192.168.0.114 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::224:81ff:fe55:6f41/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:11517 errors:0 dropped:0 overruns:0 frame:0
    TX packets:9026 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:8871908 (8.8 MB) TX bytes:1096513 (1.0 MB)
    Interrupt:22 Memory:e4600000-e4620000

    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:12 errors:0 dropped:0 overruns:0 frame:0
    TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:720 (720.0 B) TX bytes:720 (720.0 B)


    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ +++
    ++++++++++++++++++++++++++++++++++++++++++++++iwco nfig++++++++++++++++++++++++++++++++++++++++++++++ +++
    wlan0 IEEE 802.11bg ESSIDff/any
    Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
    Retry long limit:7 RTS thrff Fragment thrff
    Encryption keyff
    Power Managementff


    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ +++
    +++++++++++++++++++++++++++++++++++++++++/pro/net/wireless++++++++++++++++++++++++++++++++++++++++++ +++
    Inter-| sta-| Quality | Discarded packets | Missed | WE
    face | tus | link level noise | nwid crypt frag retry misc | beacon | 22

    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ +++
    ++++++++++++++++++++++++++/var/lib/NetworkManager/NetworkManager.state++++++++++++++++++++++++++++++ +++

    [main]
    :
    i am sorry to sound rude but this was suppose to be a thread about my script in the first place (on how to improve it and elaborate the informations collected by the system), not a place where everyone post their results and ask for help, please . It's going to get very confusing for the ppl that are trying to help to understand the situation for each one of you. I am just doing a favor to Potsoil by letting him posting here his/her own issues... for this time only!
    If you have troubles with your wifi open a new thread (under "networking and wireless") and post here a link to it. I will be happy to assist you there and I am sure you will find a lot more help too.
    Last edited by fdrake; August 30th, 2011 at 06:49 AM.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  8. #18
    Join Date
    Aug 2011
    Beans
    24

    Re: Nework Diagnosis-Script

    Sorry Fdrake I didn't realise this wasn't the purpose of the thread, I can message you rather than continue to clog up your thread if you like?

    results of the scan:
    Code:
    wlan0     Scan completed :
              Cell 01 - Address: 06:8B:5D:97:AB:8A
                        Channel:11
                        Frequency:2.462 GHz (Channel 11)
                        Quality=27/70  Signal level=-83 dBm  
                        Encryption key:off
                        ESSID:"BTOpenzone"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s
                        Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=0000000fbcfac180
                        Extra: Last beacon: 2620ms ago
                        IE: Unknown: 000A42544F70656E7A6F6E65
                        IE: Unknown: 010882848B960C121824
                        IE: Unknown: 03010B
                        IE: Unknown: 2A0100
                        IE: Unknown: 32043048606C
                        IE: Unknown: DD180050F2020101860003A4000027A4000042435E0062322F00
                        IE: Unknown: 2D1A4C101BFFFF000000000000000000000000000000000000000000
                        IE: Unknown: 3D160B080800000000000000000000000000000000000000
                        IE: Unknown: DD0900037F01010020FF7F
                        IE: Unknown: DD0A00037F04010000000000
              Cell 02 - Address: 00:8B:5D:97:AB:8A
                        Channel:11
                        Frequency:2.462 GHz (Channel 11)
                        Quality=70/70  Signal level=-35 dBm  
                        Encryption key:on
                        ESSID:"BTHomeHub2-22T7"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s
                        Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=0000000fbd00a7f9
                        Extra: Last beacon: 2184ms ago
                        IE: Unknown: 000F4254486F6D65487562322D32325437
                        IE: Unknown: 010882848B960C121824
                        IE: Unknown: 03010B
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : CCMP TKIP
                            Authentication Suites (1) : PSK
                        IE: WPA Version 1
                            Group Cipher : TKIP
            Pairwise Ciphers (2) : CCMP TKIP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 2A0100
                        IE: Unknown: 32043048606C
                        IE: Unknown: DD180050F2020101860003A4000027A4000042435E0062322F00
                        IE: Unknown: 2D1A4C101BFF3F000000000000000000000000000000000000000000
                        IE: Unknown: 3D160B080800000000000000000000000000000000000000
                        IE: Unknown: DD0900037F01010020FF7F
                        IE: Unknown: DD0A00037F04010000000000
              Cell 03 - Address: 0A:8B:5D:97:AB:8A
                        Channel:11
                        Frequency:2.462 GHz (Channel 11)
                        Quality=70/70  Signal level=-34 dBm  
                        Encryption key:off
                        ESSID:"BTFON"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s
                        Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=0000000fbd010284
                        Extra: Last beacon: 2236ms ago
                        IE: Unknown: 00054254464F4E
                        IE: Unknown: 010882848B960C121824
                        IE: Unknown: 03010B
                        IE: Unknown: 2A0100
                        IE: Unknown: 32043048606C
                        IE: Unknown: DD180050F2020101860003A4000027A4000042435E0062322F00
                        IE: Unknown: 2D1A4C101BFFFF000000000000000000000000000000000000000000
                        IE: Unknown: 3D160B080800000000000000000000000000000000000000
                        IE: Unknown: DD0900037F01010020FF7F
                        IE: Unknown: DD0A00037F04010000000000
    
    (END)
    Do you mean change the actual settings on the router itself? Or on my settings on here? I haven't got an option to change to just WAP or WAP2 only on my network settings.
    I can connect to BT openzone and whatnot, which is what made me think it was just the driver for that particular router.

  9. #19
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,918
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Nework Diagnosis-Script

    from the scan i have 3 results: BTOpenzone, BTFON which are open and i think you should not have any problem to connect to them. And we have BTHomeHub2-22T7 which uses a mixed mode ecryption mode wap/wap2
    Code:
                       IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : CCMP TKIP
                            Authentication Suites (1) : PSK
                        IE: WPA Version 1
                            Group Cipher : TKIP
    mixed mode setting is know isssue in a lot of drivers in linux/ubuntu. you can change your routers' setting by connecting through the ethernet and go to the "wireless-security" tab and select either "wap" or "wap2" only.

    if you have problems post here please.
    Last edited by fdrake; August 30th, 2011 at 05:11 PM.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  10. #20
    Join Date
    Aug 2011
    Beans
    24

    Re: Nework Diagnosis-Script

    My only other security option is WEP...I'm actually moving house in 2 weeks so for fear of having everyone else in the house having to reconfigure their wireless settings I might just wait and see if I can connect to my new router

    But thanks so much for all your help fdrake! I'll probably spend the rest of the two weeks trying to figure out how to get my speakers and macbook camera to work

Page 2 of 3 FirstFirst 123 LastLast

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
  •