LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Embedded Modem (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/embedded-modem-629093/)

atmurali 03-18-2008 11:03 PM

Embedded Modem
 
Hai,

Is there any modem device that can be used to connect internet without the support of linux TCP/IP

Actually I want to directly connect to internet from a microcontroller

Please Help me

normscherer 03-20-2008 01:01 AM

Quote:

Originally Posted by atmurali (Post 3093403)
Hai,

Is there any modem device that can be used to connect internet without the support of linux TCP/IP

Actually I want to directly connect to internet from a microcontroller

Please Help me

To connect to the internet from a microcontroller you will need a protocol stack running from the hardware (could be a modem to connect via a serial connection or a ethernet adaptor of some type or whatever) up through the various protocols. You can write all of that stuff yourself (a very large task) or use a stack like the one in Linux (which I think may trace its ancestry to BSD in days of yore) or you can even buy a stack. The internet runs TCP/IP so that is the general bunch of protocols you need to implement to run on the internet.

To answer your first question almost any modem will connect to the internet using the ppp protocol (which in turn will have tcp/ip running over it). This is the method I am using right now with a specific type of modem and it works the same as when I am using wi-fi or if I were to find an ethernet cable somewhere which was connected.


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