Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Nework Diagnosis-Script

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

    Nework Diagnosis-Script

    This is a script to get a diagnosis of your network to help yourself in case of trubleshoting ( Wi-Fi/Lan). If you are using USB- network adapters is highly suggest that you run a lsusb command next to the scripts. Since i did not include any usb scan for network devices I suggest to use a different script or to change this one to meet your needs.

    How-To:

    1.download attachment:net.sh

    2.sudo chmod +x net.sh

    3.sudo ./net.sh

    4. After you run the script, a file named ‘results.txt’ will be created.

    content of the file
    net.sh
    Code:
    #!/bin/bash
    clear
    # Document to get a diagnosis of network's trubleshoting ( Wi-Fi/Lan)
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"> results.
    txt
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++System-Info+++++++++++++++++++++++++++++++++++++++++++++++\n">> resul
    ts.txt
    less /etc/lsb-release >> results.txt
    uname -a |less >> results.txt
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">> results
    .txt
    printf "\n++++++++++++++++++++++++++++++++++++++++++++++ifconfig+++++++++++++++++++++++++++++++++++++++++++++++++\n">> resul
    ts.txt
    sudo ifconfig |tee >> results.txt
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">> results
    .txt
    printf "\n++++++++++++++++++++++++++++++++++++++++++++++iwconfig+++++++++++++++++++++++++++++++++++++++++++++++++\n">>result
    s.txt
    sudo iwconfig |tee >> results.txt
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">> results
    .txt
    printf "\n++++++++++++++++++++++++++++++++++++++++++++++iwlist-scan++++++++++++++++++++++++++++++++++++++++++++++\n">>result
    s.txt
    sudo iwlist scan | tee >> results.txt
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">> results.txt
    printf "\n+++++++++++++++++++++++++++++++++++++++++/pro/net/wireless+++++++++++++++++++++++++++++++++++++++++++++\n">> results.txt
    less  /proc/net/wireless |tee >> results.txt
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">> results.txt
    printf "\n++++++++++++++++++++++++++/var/lib/NetworkManager/NetworkManager.state+++++++++++++++++++++++++++++++++\n">> results.txt
    
    less /var/lib/NetworkManager/NetworkManager.state >> results.txt
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">> results.txt
    printf "\n++++++++++++++++++++++++++/lib/firmware/+++++++++++++++++++++++++++++++++\n">> results.txt
    
    ls -la /lib/firmware/ | grep ucode | tee >> results.txt
    
    
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">> results.txt
    printf "\n++++++++++++++++++++++++++++++++++++++++++++++lswh+++++++++++++++++++++++++++++++++++++++++++++++++++++\n">>results.txt
    # print only the network class
    sudo lshw -c network |tee >> results.txt
    #sudo lshw -c network |tee >> log_lshw.txt
    
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">>results.txt
    printf "\n++++++++++++++++++++++++++++++++++++++++++++++lspci++++++++++++++++++++++++++++++++++++++++++++++++++++\n">> results.txt
    # print verbose output that belongs to the "Ethernet Controller"
    driver=""
    lspci | grep "Ethernet controller:" | cut -d " " -f 1 |tee >> log.txt
    cat log.txt | while read line; 
    do
    sudo lspci -vvvs $line |tee >> results.txt
    driver=$(sudo lspci -vvvs $line | grep "Kernel driver in use:" |cut -d " " -f 5)
    echo "-e $driver " >> driver.txt
    done
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">>results.txt
    printf "\n++++++++++++++++++++++++++++++++++++++++++++++lsusb++++++++++++++++++++++++++++++++++++++++++++++++++++\n">> results.txt
    
    lsusb -v |tee >> results.txt
    
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">>results.txt
    printf "\n++++++++++++++++++++++++++++++++++++++++++++++dmesg++++++++++++++++++++++++++++++++++++++++++++++++++++\n">> results.txt
    # print error msg lines containing the name of the drivers(found in lspci and in lshw) used by the network devices,"lan", "net", and "radio" words.
    #sed -e :a -e N -e 's/\n/ /' -e ta driver.txt > log1.txt
    #greps=$(cat driver.txt | tr -d "\n" | less) # list of drivers found in lspci
    #dmesg | grep $greps -e radio -e net -e wlan -e " eth"   |less >> results.txt
    
    #print full dmesg 
    dmesg |less >> results.txt
    
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">>results.txt
    printf "\n++++++++++++++++++++++++++++++++++++++++++++++/var/log/syslog++++++++++++++++++++++++++++++++++++++++++++++++++++\n">> results.txt
    less /var/log/syslog >> results.txt
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">>results.txt
    printf "\n++++++++++++++++++++++++++++++++++++++++++++++/etc/resolv.conf+++++++++++++++++++++++++++++++++++++++++\n">> results.txt
    less /etc/resolv.conf >> results.txt
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">>results.txt
    printf "\n+++++++++++++++++++++++++++++++++++++++/etc/modprobe.d/blacklist.conf++++++++++++++++++++++++++++++++++\n">> results.txt
    less /etc/modprobe.d/blacklist.conf >> results.txt 
    
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">>results.txt
    printf "\n++++++++++++++++++++++++++++++++++++++++++++++lsmod++++++++++++++++++++++++++++++++++++++++++++++++++++\n">> results.txt
    # uncomment to make lsmod lists only lines containing the names of the network drivers found from lspci($grep list). Not advaiced if you want to check for installation of ndswrapper or other unkown driver confilcts
    #lsmod | grep $greps | less >> results.txt  
    
    # list full lsmod with no filters
    lsmod | less >> results.txt
    
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++">>results.txt
    printf "\n+++++++++++++++++++++++++++++++++++++++++++++++++END+++++++++++++++++++++++++++++++++++++++++++++++++++\n">> resul:
    ps. I will be more than glad to edit/add the script under suggestions to make it more useful.
    Attached Files Attached Files
    Last edited by fdrake; September 1st, 2011 at 08:56 AM.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  2. #2
    Join Date
    Aug 2011
    Beans
    24

    Re: Nework Diagnosis-Script

    Hi fdrake, thanks for taking the time to do this.

    I'm still very new at using the terminal in Ubuntu (I'm currently doing a course using Python).
    After downloading the attachment, I type "sudo chmod +x net.sh" into the terminal right?
    I just get a return message saying 'cannot access net.sh no directory found'

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

    Re: Nework Diagnosis-Script

    Quote Originally Posted by Potsoil View Post
    Hi fdrake, thanks for taking the time to do this.

    I'm still very new at using the terminal in Ubuntu (I'm currently doing a course using Python).
    After downloading the attachment, I type "sudo chmod +x net.sh" into the terminal right?
    I just get a return message saying 'cannot access net.sh no directory found'
    you have to assign the right path of the file. usually ur downloads are all place in ~/Downloads. first "cd ~/Downloads" then "sudo chmod +x net.sh"

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  4. #4
    Join Date
    Aug 2011
    Beans
    24

    Re: Nework Diagnosis-Script

    Thanks for bearing with me!
    Code:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    +++++++++++++++++++++++++++++++++++++++++++++Sysyem-Info+++++++++++++++++++++++++++++++++++++++++++++++
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=11.04
    DISTRIB_CODENAME=natty
    DISTRIB_DESCRIPTION="Ubuntu 11.04"
    Linux David 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:05:14 UTC 2011 i686 i686 i386 GNU/Linux
    
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++++++++++++++++++++++++++++++++++++++++++++++ifconfig+++++++++++++++++++++++++++++++++++++++++++++++++
    eth0      Link encap:Ethernet  HWaddr 00:1b:63:33:19:21  
              inet addr:192.168.1.74  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::21b:63ff:fe33:1921/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:553444 errors:0 dropped:0 overruns:0 frame:0
              TX packets:525727 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:460689473 (460.6 MB)  TX bytes:42788500 (42.7 MB)
              Interrupt:16 
    
    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:9028 errors:0 dropped:0 overruns:0 frame:0
              TX packets:9028 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:313732 (313.7 KB)  TX bytes:313732 (313.7 KB)
    
    wlan0     Link encap:Ethernet  HWaddr 00:1c:b3:bf:05:2b  
              inet6 addr: fe80::21c:b3ff:febf:52b/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:67 errors:0 dropped:0 overruns:0 frame:0
              TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:10298 (10.2 KB)  TX bytes:13415 (13.4 KB)
    
    
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++++++++++++++++++++++++++++++++++++++++++++++iwconfig+++++++++++++++++++++++++++++++++++++++++++++++++
    wlan0     IEEE 802.11abgn  ESSID:off/any  
              Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
              Tx-Power=20 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]
    NetworkingEnabled=true
    WirelessEnabled=true
    WWANEnabled=true
    
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++++++++++++++++++++++++++++++++++++++++++++++lswh+++++++++++++++++++++++++++++++++++++++++++++++++++++
      *-network
           description: Ethernet interface
           product: 88E8053 PCI-E Gigabit Ethernet Controller
           vendor: Marvell Technology Group Ltd.
           physical id: 0
           bus info: pci@0000:01:00.0
           logical name: eth0
           version: 22
           serial: 00:1b:63:33:19:21
           size: 100Mbit/s
           capacity: 1Gbit/s
           width: 64 bits
           clock: 33MHz
           capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.28 duplex=full firmware=N/A ip=192.168.1.74 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
           resources: irq:42 memory:90200000-90203fff ioport:1000(size=256) memory:90500000-9051ffff
      *-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
    
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++++++++++++++++++++++++++++++++++++++++++++++lspci++++++++++++++++++++++++++++++++++++++++++++++++++++
    01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
        Subsystem: Marvell Technology Group Ltd. Marvell RDK-8053
        Physical Slot: 0
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 42
        Region 0: Memory at 90200000 (64-bit, non-prefetchable) [size=16K]
        Region 2: I/O ports at 1000 [size=256]
        Expansion ROM at 90500000 [disabled] [size=128K]
        Capabilities: [48] Power Management version 2
            Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
            Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [50] Vital Product Data
            Product Name: Marvell Yukon 88E8053 Gigabit Ethernet Controller
            Read-only fields:
                [PN] Part number: Yukon 88E8053
                [EC] Engineering changes: Rev. 2.2
                [MN] Manufacture ID: 4d 61 72 76 65 6c 6c
                [SN] Serial number: AbCdEfG334455
                [CP] Extended capability: 01 10 cc 03
                [RV] Reserved: checksum good, 9 byte(s) reserved
            Read/write fields:
                [VE] Vendor specific: 00
                [RW] Read-write area: 116 byte(s) free
            End
        Capabilities: [5c] MSI: Enable+ Count=1/2 Maskable- 64bit+
            Address: 00000000fee0100c  Data: 4171
        Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00
            DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
                ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
            DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                MaxPayload 128 bytes, MaxReadReq 2048 bytes
            DevSta:    CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
            LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 <256ns, L1 unlimited
                ClockPM- Surprise- LLActRep- BwNot-
            LnkCtl:    ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk+
                ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
            LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100 v1] Advanced Error Reporting
            UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
            UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
            UESvrt:    DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
            CESta:    RxErr+ BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
            CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
            AERCap:    First Error Pointer: 1f, GenCap- CGenEn- ChkCap- ChkEn-
        Kernel driver in use: sky2
        Kernel modules: sky2
    
    
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++++++++++++++++++++++++++++++++++++++++++++++dmesg++++++++++++++++++++++++++++++++++++++++++++++++++++
    [    0.016313] Initializing cgroup subsys net_cls
    [    0.407388] audit: initializing netlink socket (disabled)
    [    1.383493] sky2: driver version 1.28
    [    1.383538] sky2 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [    1.383553] sky2 0000:01:00.0: setting latency timer to 64
    [    1.383587] sky2 0000:01:00.0: Yukon-2 EC chip revision 2
    [    1.383718] sky2 0000:01:00.0: irq 42 for MSI/MSI-X
    [    1.392624] sky2 0000:01:00.0: eth0: addr 00:1b:63:33:19:21
    [   17.253305] sky2 0000:01:00.0: eth0: enabling interface
    [   17.253649] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   17.273714] Registered led device: ath9k-phy0::radio
    [   17.317643] ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   17.519741] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   19.010671] sky2 0000:01:00.0: eth0: Link is up at 100 Mbps, full duplex, flow control both
    [   19.024934] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   23.336086] wlan0: authenticate with 00:8b:5d:97:ab:8a (try 1)
    [   23.338302] wlan0: authenticated
    [   23.338325] wlan0: associate with 00:8b:5d:97:ab:8a (try 1)
    [   23.341855] wlan0: RX AssocResp from 00:8b:5d:97:ab:8a (capab=0x431 status=0 aid=1)
    [   23.341859] wlan0: associated
    [   23.344163] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [   29.600056] eth0: no IPv6 routers present
    [   34.172036] wlan0: no IPv6 routers present
    [   44.206015] wlan0: deauthenticating from 00:8b:5d:97:ab:8a by local choice (reason=3)
    [ 9871.636125] sky2 0000:01:00.0: eth0: disabling interface
    [ 9876.232025] PM: late suspend of drv:sky2 dev:0000:01:00.0 complete after 155.987 msecs
    [ 9876.744997] sky2 0000:01:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
    [ 9876.745008] sky2 0000:01:00.0: restoring config space at offset 0xc (was 0x0, writing 0xfffe0000)
    [ 9876.745025] sky2 0000:01:00.0: restoring config space at offset 0x6 (was 0x1, writing 0x1001)
    [ 9876.745033] sky2 0000:01:00.0: restoring config space at offset 0x4 (was 0x4, writing 0x90200004)
    [ 9876.745040] sky2 0000:01:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x40)
    [ 9876.745049] sky2 0000:01:00.0: restoring config space at offset 0x1 (was 0x40100000, writing 0x100407)
    [ 9878.795358] sky2 0000:01:00.0: eth0: enabling interface
    [ 9878.795622] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 9878.828933] ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 9880.607776] sky2 0000:01:00.0: eth0: Link is up at 100 Mbps, full duplex, flow control both
    [ 9880.608161] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 9884.915134] wlan0: authenticate with 00:8b:5d:97:ab:8a (try 1)
    [ 9884.918327] wlan0: authenticated
    [ 9884.918349] wlan0: associate with 00:8b:5d:97:ab:8a (try 1)
    [ 9884.921906] wlan0: RX AssocResp from 00:8b:5d:97:ab:8a (capab=0x431 status=0 aid=1)
    [ 9884.921910] wlan0: associated
    [ 9884.924224] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 9890.688033] eth0: no IPv6 routers present
    [ 9895.720073] wlan0: no IPv6 routers present
    [ 9905.207891] wlan0: deauthenticating from 00:8b:5d:97:ab:8a by local choice (reason=3)
    [22620.412691] sky2 0000:01:00.0: eth0: Link is down
    [23422.658272] sky2 0000:01:00.0: eth0: Link is up at 100 Mbps, full duplex, flow control both
    
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++++++++++++++++++++++++++++++++++++++++++++++lsmod++++++++++++++++++++++++++++++++++++++++++++++++++++
    sky2                   49172  0 
    
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    +++++++++++++++++++++++++++++++++++++++++++++++++END+++++++++++++++++++++++++++++++++++++++++++++++++++
    I can connect via an ethernet cable, and my mac picks up the signal of my wireless network, but whenever I try to connect it fails. This happened when I had Tiger installed, and I solved it by downloading a driver update, however I'm not sure how to compile packages on Ubuntu yet, or if there's an easier way, of if I've even got the right file!

  5. #5
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,909
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Nework Diagnosis-Script

    ehhh.. something is strange. your wirelss show in the error logs and in the hardware list but not in the pci list or in the kernel's modules list, and not even in the wireless connection log.

    can you try
    Code:
    lspci | grep Ethernet
    less /var/log/daemon.log
    it seems like it's a driver issue.
    Last edited by fdrake; August 28th, 2011 at 07:15 PM.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  6. #6
    Join Date
    Aug 2011
    Beans
    24

    Re: Nework Diagnosis-Script

    lspci | grep Ethernet
    Code:
    01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
    less /var/log/daemon.log
    Code:
    /var/log/daemon.log: No such file or directory

  7. #7
    Join Date
    Aug 2011
    Beans
    24

    Re: Nework Diagnosis-Script

    I've downloaded what I think is the correct driver, however it's in what I think is called a tarball? In other words I just get a lot of files that I think I need to compile manually, and I'm not sure how to do that..

  8. #8
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,909
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Nework Diagnosis-Script

    yes it looks like your wifi card is not recognized in pci list but it is present in iwconfig and in lshw.
    Last edited by fdrake; August 30th, 2011 at 07:28 AM.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  9. #9
    Join Date
    Aug 2011
    Beans
    24

    Re: Nework Diagnosis-Script

    Code:
    01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
        Subsystem: Marvell Technology Group Ltd. Marvell RDK-8053
        Physical Slot: 0
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 42
        Region 0: Memory at 90200000 (64-bit, non-prefetchable) [size=16K]
        Region 2: I/O ports at 1000 [size=256]
        Expansion ROM at 90500000 [disabled] [size=128K]
        Capabilities: [48] Power Management version 2
            Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
            Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [50] Vital Product Data
            Product Name: Marvell Yukon 88E8053 Gigabit Ethernet Controller
            Read-only fields:
                [PN] Part number: Yukon 88E8053
                [EC] Engineering changes: Rev. 2.2
                [MN] Manufacture ID: 4d 61 72 76 65 6c 6c
                [SN] Serial number: AbCdEfG334455
                [CP] Extended capability: 01 10 cc 03
                [RV] Reserved: checksum good, 9 byte(s) reserved
            Read/write fields:
                [VE] Vendor specific: 00
                [RW] Read-write area: 116 byte(s) free
            End
        Capabilities: [5c] MSI: Enable+ Count=1/2 Maskable- 64bit+
            Address: 00000000fee0100c  Data: 4171
        Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00
            DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
                ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
            DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                MaxPayload 128 bytes, MaxReadReq 2048 bytes
            DevSta:    CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
            LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 <256ns, L1 unlimited
                ClockPM- Surprise- LLActRep- BwNot-
            LnkCtl:    ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk+
                ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
            LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100 v1] Advanced Error Reporting
            UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
            UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
            UESvrt:    DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
            CESta:    RxErr+ BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
            CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
            AERCap:    First Error Pointer: 1f, GenCap- CGenEn- ChkCap- ChkEn-
        Kernel driver in use: sky2
        Kernel modules: sky2

  10. #10
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,909
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Nework Diagnosis-Script

    Code:
    sudo ifconfig wlan0 up
    sudo iwconfig wlan0 power on
    ca you post the link of the driver you are trying to install
    Last edited by fdrake; August 29th, 2011 at 07:30 PM.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

Page 1 of 3 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
  •