Reply
Thread Tools
Posts: 215 | Thanked: 44 times | Joined on Dec 2007
#1
I would greatly appreciate it if someone who uses tcpdump successfully on their N800 could provide a brief list of steps which must be taken to do this. I have tcpdump installed and I can run it, but no supported interfaces visible. I presume I have to have root access first?
 
brendan's Avatar
Posts: 531 | Thanked: 79 times | Joined on Oct 2006 @ This side of insane, that side of genius
#2
yes you need the becomeroot package installed. also, make sure that libpcap is installed. it is a dependent package that may not be fulfilled. not sure if that is still the case.

as with most linux apps, try the app name, in this case tcpdump, with a -h or --help parameter. you will get the most commonly used parameters and the required ones too.
__________________
Nokia n800
OS 2008
Pharos iGPS 360-BT
ElmScan 5 BlueTooth
BlackBerry Bold (9000)
AT&T Wireless
 

The Following User Says Thank You to brendan For This Useful Post:
Posts: 289 | Thanked: 83 times | Joined on Jul 2006
#3
Originally Posted by DJames1 View Post
I would greatly appreciate it if someone who uses tcpdump successfully on their N800 could provide a brief list of steps which must be taken to do this. I have tcpdump installed and I can run it, but no supported interfaces visible. I presume I have to have root access first?
To install it, visit the Maemo 3 Bora,or Maemo 4 Chinook, SDK tools page, at http://maemo.org/development/tools/ and follow their download and install instructions. It will need libpcap but it will pull that in as a dependency.

For the manpage of tcpdump, try

http://www.tcpdump.org/tcpdump_man.html

To run it, you either switch to root mode... or you make the tcpdump binary "setuid root", ie., "chmod 4755 tcpdump." The binary is installed by default on /usr/sbin. If your WiFi interface is active when you launch tcpdump, it will start listening on the wlan0 interface automatically.

-- Denis
 

The Following User Says Thank You to delaroca For This Useful Post:
Posts: 215 | Thanked: 44 times | Joined on Dec 2007
#4
Ok, I'm off and running, capturing packets. Thanks for the helping hand!
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:50.