Ubuntu Networking :: Send AT Commands To LG GW620g?
Oct 6, 2010
I need to send AT commands (hayes commands) to my LG GW620g (amongst other purposes, for receiving and sending SMS from the shell). Can somebody help me and tell me what I have to do in order to connect a mobile phone (or _this_ mobile phone) as ttyS0 or ttyACM? I guess it has something to do with udev, but I am not sure there. Or is there another way to open a terminal connection to this device?
I have a server that is triple boot and the server is headless and accessed using ssh. So is there a way to tell grub before hand what os to choose or send commands to grub (of course I get rid of the timeout) to pick a different os other than the default one. Any ideas? I already know this is bad practice to have multiple os's on the same machine to be used as a server, but what about selecting a different kernel at start up.
I was trying to connect my android phone just to send some AT commands using Minicom or Seyon. But I was not able to connect it. I have connected my phone using a USB cable.Do I need to connect my phone through the serial cable by using a minicom connector to be able to send the commands to the phone.Also when I launch it says Initializing Modem...thenModem at /dev/ttyS0 is available. If I try to Dial it says Warning related to the Baud rate.But After that I am not able to do anything.
i am working on some kind of PBX and i have list of telephone numbers inside a file, i have to insert these numbers into the correct command and then telnet to a remote server and execute these commands. i can read the telephone numbers and insert them into the command with no problem, but when i try to insert these commands into the send i face problem. here is the basic code
i can make external loop inside the Bash which read the input file and issue the command and then telnet and execute, but this will make the script connects and disconnects again for each line which cause high load on that server and hardwar problem. i am wondering if there is an option inside the expect interperter which makes the send read directly from a file... somthing like this:
Is there some way to send commands to another "pseudo terminal" or otherwise access one when the desktop environment has frozen to get a program there to save its data? (i.e. after logging in remotely) I tried "echoing" to "/dev/pts/X" (X = number) but that doesn't seem to work. It just displays whatever is echoed there -- it is not accepted as input.
What are the commands available in ubuntu to share & divide the incoming Bandwidth in Ubuntu? I am developing a Network management application for ubuntu in java. I am going to use it in server.Also I want to know about the networking commands available in Ubuntu.
I made a small script to passwordless login to server with sshgnome-terminal --command "ssh myserver"I can login but i want to execute a command, lets say a "ls".So when i doubleclick the script it should login (which works) and gives me a listing (ls) on that server.gnome-terminal --command "ssh myserver" ---> and then execute ls on that server.
I wanted to install Samba for file-sharing purposes on my home network, so I went ahead and installed the latest stable Samba release, but it doesn't respond to commands in terminal (i.e. sudo samba start, sudo samba stop, sudo samba restart, sudo samba /etc/init.d/samba restart...). My shared files are now viewable on other computers but completely unusable for file storage. Samba DID respond when I was using Samba4, but when I used Samba 4 I got this:
So I either get a Samba that doesn't work at all (the current version), or a Samba that pretends to work but ignores all of my parameters, claiming that it doesn't recognize any of them. I searched through synaptic package manager to make sure I have every single code or management file that could possibly be helpful for using Samba.
I'm writing a script that will send an alert email given certain conditions. I have the impression that sendmail is what I need to do that. I just don't know how to use sendmail at all. I assume I have to set it up like a typical mail client so that it has a mail server to log into to send from.
I've looked through the man pages, but I can't find anything in plain English there on how to set it up, or how to use it once it is set up.
" > logfile.txt : gives an error extra character after the "
2- logsave logfile.txt 'send "show command;
" ': error invalid command
3- i simply tried to send the output of the whole script to file logsave /home/logfile ./script : seems that logsave work under root only
4- ./script > logfile : the problem with this is that the output of echo or (read "enter your id") command will not be displayed on the screen (actually nothing will be displayed, i have to open the log file to see the output). is there any way to save the log of the "send" ? or to save the log of the complete script without hiding the output on the screen?
I want to parse the AT commands using C programmemy problem is to send message using At commands in minicom from one system to other system using socket programmingif i will send here AT on other system it should respond as OK,and if we will send AT+CMGS="ip address" "message", on other system this message has to display can any one please tell me the code in C language
if there is a way to send a message to computers connected to the LAN? I tried to install linpopup but I only got the message E: Unable to locate package linpopup.
I've purchased a modem (model ZTE MF100). It work very well on ubuntu. But i want to know, which application that allow to send sms via this modem model?
Actually I have USB HSPDA wireless modem and They have given a software to Connect Internet, Send & receive SMS.. But Is there a way to send and receive sms without installing the software .. ??
i am trying to send message through terminal with smbclient, i have searched the net and found this command
Code: smbclient -M <hostname> now i am confused on hostname, which i open the network folder i see to icons 1. is my laptop 2. Windows Network
when i enter Windows Network folder i see 2 more icons 1.MSHOME 2.WORKGROUP
and when i enter MSHOME folder i see one icon 1. MIRZA-SAAD this is the computer which has xp in it i want to send message to it with smbclient now how when i write this command i see this error
I am having an problem with bluetooth. Computer seems to find my mobile phone, I can send files from PC to my phone, but not vice versa. As I try to send, it pops "Failed" (in phone) and nothing happens. Kubuntu 10.04 Windows mobile 6 (HTC p3450).
I just finished installing Fedora 11 on a Dell Inspiron 6000. After some tinkering, I was able to get the Broadcom 4318 wireless card to start working. After a restart, I booted into Fedora and attempted to connect to my wireless network.Five seconds later Fedora freezes. I cannot move the mouse, execute any commands (except hold the power button down), or access any log files. The only confirmation I get is that my router does receive a signal from the wireless card, shortly before dying.
Can anybody have an idea of an ftp client code using raw ftp commands.
OR Can anybody tell me how to turn off passive mode using raw ftp commands. PASV is the command which turns on passive mode but there is no such alternative of active mode. I have already tried using pasv_enable=NO in vsftpd.conf but that is not working.
I just started learning network on linux platform. Today I came across two commands ethtool and miitool. Both of them seems to do similar kind of jobs. Now I am confused what is the difference between them.
I created a socket.port no 21 meaning ftp client. I am sending some stings and receviing some data from server.Fine.
But I want to send a file some x.c to host using socket. Please can someone help me whether we can do it or not. If we can how can we send a file.I was only able to send buffer and data but not a file.Please if possible can you help me with example.
if i want to send a message to another computer? or get access to another system? what computer knowledges should i know? or what techniques should i learn?
recently i configure postfix on my fedora core 9 system i want to send mail from one user to another till now i did not create any user, i just configure the main,cf file with the help of some link i found on internet
here is my main.cf file
# Global Postfix configuration file. This file lists only a subset # of all parameters. For the syntax, and for a complete parameter # list, see the postconf(5) manual page (command: "man 5 postconf"). # # For common configuration examples, see BASIC_CONFIGURATION_README
[Code]...
i dont know what i should write about my main.cf file so i post the whole file here.
so can anyone tell me is that the configuration is correct and and how do i create new user to my domain name and how can i send and receive mails from one user to another user using postfix