Find the answer to your Linux question:
Results 1 to 3 of 3
I was asked to do the following, but I have no clue what to do because I am new in Linux world: "Could you provide: kernel log(using "dmesg") for those ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2012
    Posts
    1

    kernel log using dmesg


    I was asked to do the following, but I have no clue what to do because I am new in Linux world:

    "Could you provide:
    kernel log(using "dmesg") for those commands:
    insmod dhd.ko
    dhd -i eth1 download...
    ifconfig eth1 ...
    wl mpc..."

  2. #2
    Linux Newbie hagfish52's Avatar
    Join Date
    Dec 2011
    Location
    Asheville, NC
    Posts
    225
    The kernel log is in the dmesg file in the directory /var/log, so you can search it for those commands with grep:

    Code:
    cd /var/log
    
    grep -i "insmod dhd.ko" dmesg
    
    grep -i "dhd -eth1 download" dmesg
    
    grep -i "ifconfig eth1" dmesg
    
    grep -i "wl mpc" dmesg
    Alternative method is to use dmesg:

    Code:
    dmesg | grep -i "insmod dhd.ko"
    
    dmesg | grep -i "dhd -eth1 download"
    
    dmesg | grep -i "ifconfig eth1"
    
    dmesg | grep -i "wl mpc"
    Hope that helps.
    Last edited by hagfish52; 07-23-2012 at 09:45 PM.

  3. #3
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Hello and Welcome!

    hagfish52 gave great advice... but I'm hoping that this wasn't for a homework question, as those are against Forum Rules.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  4. $spacer_open
    $spacer_close

Posting Permissions

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