LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-25-2011, 06:33 PM   #1
PinoyAko
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, 07:44 PM   #2
MS3FGX
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, 11:48 AM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
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.
  


Reply


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 04:21 PM
How to disconnect broadband and use modem chasn Linux - Newbie 7 04-22-2004 09:49 AM
ADSL broadband modem samuelmp Linux - Hardware 1 03-02-2004 10:53 AM
ntl broadband modem bifftauk Linux - Networking 7 10-10-2003 09:19 PM
cable modem broadband esteeven Linux - Networking 7 04-23-2002 03:07 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

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