From the course: Linux Device Drivers: Reading, Writing, and Debugging

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Challenge: Using tools with a network driver

Challenge: Using tools with a network driver - Linux Tutorial

From the course: Linux Device Drivers: Reading, Writing, and Debugging

Challenge: Using tools with a network driver

(upbeat electronic music) - [Instructor] Ready for some more challenges? Here's some challenges having to do with network drivers and interfaces. So on your machine, if you have a wifi network interface, do an IPA, just to see your interfaces. Determine what driver it uses using the ethtool. Challenge number two. Try out different commands here to compare. Use ip, and proc/net/dev, and netstat, and ethtool, all in the appropriate way to see how many receive packets you've had on your network interfaces. Number three is a little more complicated. You're going to have two windows or two panes. You're going to start tracing your network interface's interrupt handler, so you got to figure out what the name of that function is. Start that tracing in one window, and then in the other window, copy the file called trace into a temporary, sleep for 10 seconds, copy that trace file again, and then grep -c to count some part of the name of the function, or maybe its interrupt. And then you can…

Contents