Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-25-2011, 05:33 PM   #1
LQ Newbie
Registered: May 2011
Posts: 28

Rep: Reputation: 0
Sniffing Broadband modem

I am developing a software that uses raw sockets. The software right now is not working as it should be so I want to check what happens to the packets that it is sending. The problem is I am using usb modem for my internet connection and wireshark is not showing the network adapter in its list. Do you know any other software that can be use to check packets that passes on a usb modem.
Old 05-25-2011, 06:44 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Have you tried using tcpdump on the USB modem's interface? What shows up from "ifconfig -a"?
Old 05-26-2011, 10:48 AM   #3
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
If it really is a modem, is it a telco type modem or is it a DSL modem? Or, is it really an ethernet interface?
If it is a telco modem, then the interface will only show up as a serial port, and the IP interface will be done using PPP or SLIP, so no 'device' per se. If it is a DSL modem, then sending raw sockets is probably impossible without knowing details of the datalink layer. Moreover, sending raw packets on such an interface is unlikely to be well received by your ISP.
It it is an ethernet interface, then it should be visible to something as simple as ifconfig.

--- rod.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Will this broadband modem work? beejayzed Linux - Hardware 10 05-16-2005 03:21 PM
How to disconnect broadband and use modem chasn Linux - Newbie 7 04-22-2004 08:49 AM
ADSL broadband modem samuelmp Linux - Hardware 1 03-02-2004 09:53 AM
ntl broadband modem bifftauk Linux - Networking 7 10-10-2003 08:19 PM
cable modem broadband esteeven Linux - Networking 7 04-23-2002 02:07 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration