Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need a help. I have a board which has linux on flash chip,and which is connected to fargo gprs modem via serial link. I have written gprs connect script as well as peers file, which Igot from net. But I do not know the dns server ip of my ISP. so i used usepeerdns option in my file. But resolv.conf in /etc is empty only.
why didn't I get dns server ip from the network?
I've got a new SIMCOM GPRS modem. Following is the sceenshot at the client PC in hyperterminal/Minicom:
at+cgdcont=1,"IP","APN"
OK
at+ciicr
OK
at+cifsr
OK
at+cipstart="tcp","remote server ip address","port no"
OK
CONNECT OK
at+cipsend
>I'm sending this data from the client
SEND OK
This is demo showed by Modem provider. He first ran the server.exe on the server which had external ip. After ruuning that exe a GUI appears which will have its ip address and tcp port on one side and a window where u can type some text to send to the client, also one more window for the data that is received from the client.
Now see this server program must be socket program. I have few questions:
1.Does this at+cipstart opens the tcp socket like we do in our socket program using socket command?
2.after issuing at+cipsend I get a promt '>' where I can type text and then I need to press ctrl+z which will send this data to the server. How do I write these sequence of commands in a file or a scipt in Linux?
3.Don't we need to use GPRS commands(like atd*99***1#,etc here?). Also even though we have not established PPP link we could able to send data to the server. How?
4.Do server needs to have external static IP?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.