Router: WNR3500L V2 with Thumb drive in USB port
Tomato 1.28 Shibby installed.
I am a Newbie at Linux and modified Routers. I purchase my router and installed Tomato for the express purpose of setting up a VPN. I have succeeded and I'm using VPN successfully.
I have a firm grasp of hardware and software on old IBM AT PCs up to Windows 8.
I can speak DOS, hardware interfaces, and survive programming in multiple languages, but my knowledge of networking is weak. I am, after all, Joat_Mon (Jack Of All Trades _ Master of None) and I can brick a router or cell phone without blinking an eye.
After many hours reading posts I attempted to load some? version of rpcapd on my thumb drive (mounted automatically as /tmp/mnt/JOAT/)
In the router's Execute System Commands I enter:
chmod 777 /tmp/mnt/JOAT/rpcapd
/tmp/mnt/JOAT/rpcapd -b 192.168.1.1 -p 12345 -d
( I know these are Linux commands so I don't know if I'm on the right track)
I go into WireShark (as a complete Noob) and Create a Remote Interface (router IP, Port, router Name/Password) I used 80 as a port number because I don't know any better. Well, WireShark is not happy, it says "Can't get list of interfaces; Incompatible version number"
Well, I am so uncertain that I am doing anything correctly, that I don't know where to go from here. I might be in the ballpark, but I'm probably in the wrong city <grin>.
Anyone got a push in the correct direction? I'm willing to learn.
Update July 24, 2014:
First I tried to telnet into the router so I wouldn't have to type in linux commands in the Execute System Commands window. I found that the telnet login name (somewhere inside the router) was NOT the login I use to log in from a browser! It is, however, root . The password is the same in both places.
I also found out that the default port for Wireshark is 2002.
So my new command sent over telnet was /tmp/mnt/JOAT/rpcapd -b 192.168.1.1 -p 2002 -d
This worked! #thumpchest
I then went to WireShark:
Capture Interfaces ==>Options ==>Manage Interfaces ==>Remote Interfaces ==>Add
Host = Router IP ; Port = 2002 ; Checked Password Authentication ;
User Name: = root ; Password: = Same as Above
I then selected rpcap:[192.168.1.1]:2002/vlan1
Started Capture, It worked! //yeah! time for supper
Now I need to find out how to save the settings so I can repeat when I want. Tomorrow!