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
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 displaycan any one please tell me the code in C language
I have apache 2.2.3 installed with php5 and libapache2-mod-php5. The server displays web-pages fine, but when I try to load a .php file, nothing shows up. There aren't any errors, not in the browser and not in the Apache2 error logs... just nothing shows up. When I look at the page source on the browser, all the HTML code is there, but all the PHP code is gone, as though it was parsed. I can't get any output to show up though, echo and print both do nothing.What could be the problem?Example:
I'm a noob in Ubuntu. I need the program which will help me to learn different ubuntu commands. I often forget them and after reinstall I don't want to search them in Google. Now I write them in the standard text editor and my code looks like this:
i want to see the source code of different commands .how they are working ??for ex why ls is listing all the files and directory .what code is written for ls so that it is listing like this.where the source code is kept by the os
I have read where C is first converted to Assembly before its final compilation to binary. Is there a way to do this with Bash commands? I would like the understanding that Assembly allows to Bash somehow.
I need to do some text file manipulation which I think should be done with standard commands in BASH. I'm looking at comma seperated text files (stock market data). It comes in the form of date, stock code, open, high, low, close, volume. What I need to do first is move all data with same stock code sequentially into individual files.
While doing this since the stock code will now be the file name I need to remove the stock code. Next I need to filter out overlapping data from different files with the same date. ie. where two files contain the same date on the one line only one line will be added to the combined file. I think there must be a tutorial out there for basic text manipulation like this, I just haven't found it yet.
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?
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 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.
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.
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 just started setting up a linux box in the office...I have some experience with ssh commands but not setting up a linux system and stuff.The box is connected to our network but I have no clue how to make windows & osx talk with it. How can I go by doing that and also setting up an apache server to be able to connect through network. Right now I have apache/linux/mysql running it works when i go to localhost, but I would also like to let all the computers in office to access it. I would guess that will deal with virtual host which I know how to setup. I just need to setup an IP.
When I install Fedora 10 on a new system, I let it default to DHCP. Later, I change the system to a fixed IP address by running system-config-network, selecting eth0, clicking on "Edit", clicking on "Statically set IP addresses:" and filling in the blanks. Is it possible to accomplish the same thing using commands that could be entered in a script? I assume one of them would be
I would like to grab wiki code from a wiki page using wget. Running this grabs HTML: wget -O wikihtml.html [URL] The first attempt at getting wiki code was to pretend to edit, and run: wget -O wikiedit.html [URL] but of course that grabs GUI HTML. I thought perhaps the text inside the text box would be in tact, but HTML is througout. How to get just the raw wiki code?
I have tried using ad-hoc networking in linux machines. My question is that is the routing in ad-hoc network is implemented at kernel level. I just want get my hands on the code that make wireless ad-hoc networking possible.
Has somebody used DAFS (Direct Access File System)?I've found a lot of literature about this file system,where the comprassion tests promise a ~20-50% faster packet transmission,than in the strandard NFS.But I can't install DAFS,because the source code is for old kernels 2.4.Does anyone know,why did the research of this file system stopped in 2003 year,and there are no newer versions?
I have logs files from freeradius that have looks as follows:
$ grep "Login incorrect (rlm_ldap: User not found" /var/log/radius/radiusd-inner-tunnel-20090831.log Mon Aug 31 09:25:27 2009 : Auth: Login incorrect (rlm_ldap: User not found): [John Doe] (from client oficina port 0 via TLS tunnel)
[code]....
I use the following line to get the amount of users that don't exist on ldap:
Code:
grep "Login incorrect (rlm_ldap: User not found" /var/log/radius/radiusd-inner-tunnel-20090831.log | awk '{print $14}' | sort -fu | wc -l
Now, awk on line one for example parses [John Doe] and [Joon Williams] as "[John" and that it's not what I'd want. I mean how could I do for awk looks username field as closed between squared brackets?