EmbLogic's Blog

ipc status:client server using fifo and pipes

implemented
# fork statement(duplicate process)
# exec function(replace process)
# signals and sigaction
# pipes
#fifo
issues faced:-
1.file descriptor was not being passed using execl() system call.
->resolved by passing address of the fd in the arguments of execl().
2.while implementing addition through a client, addition was being implemented on the ascii values……
->resolved the issue by using the integer input and type-casting it to the character.
3.while implementing fifo if large data was being passed by the large number of clients, the server wasn’t responding due to garbled data(pid and data).

Posted in Uncategorized | Leave a comment

Project 3 IPC Server Client using FIFO and pipes

Completed Server client using pipes and fifo
**Issues faced
#Using Pipe—-The parent was executing before the client and terminating and the data in the pipe was nt read by the client …Resolved using sleep condition in both server and client.

#Using Pipe—The system call pipe when made in if(!pid) condition was nt letting arr to be accessed in parent due to which the pipe wasnt reading data…. Resolved by putting pipe(arr) in the beginning befor fork()

#in fifo project if i ran the client script containing 10-100 clients after ./server then the server is reading data of only the foreground client and terminating…Resolved by running the script first then after 2secs starting the server ./server.

Posted in Uncategorized | Leave a comment

work status project 00 group g1

telnet,ftp & tftp is completed. but i still no able to compile kernel in my laptop. in fdora 15 64 bit

Posted in Uncategorized | Tagged | Leave a comment

problem in ftp and tftp

no file found in ftp and time trensfer out in tftp

Posted in Uncategorized | Tagged | Leave a comment

daily work status

ftp and tftp complete…

Posted in Uncategorized | Leave a comment

tftp

i have problem in tftp while file transfer by using ip address….like transfer time out….

Posted in Uncategorized | Leave a comment

transfer timed out in TFTP

getting transfer timed out error in tftp while using get and put commands

Posted in Uncategorized | Tagged | Leave a comment

facing error while compiling kernel 2.6.38

2.6.38.6-26.rc1.fc15.x86_64 linux-3.7.1
[root@jatin kernels]# cd 2.6.38.6-26.rc1.fc15.x86_64/
[root@jatin 2.6.38.6-26.rc1.fc15.x86_64]# make
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: *** No rule to make target `missing-syscalls’. Stop.
make: *** [prepare0] Error 2

Posted in Uncategorized | Tagged | Leave a comment

facing problem in ftp while using this command (service vsftpd start)

[root@server ~]# service vsftpd start
Starting vsftpd (via systemctl): Job failed. See system logs and ‘systemctl status’ for details.
[FAILED]

how i wil check the log & systemctl status

Posted in Uncategorized | Tagged | 3 Comments

getting error during install kernels 3.7.1

CC [M] net/ipv4/netfilter/ipt_ECN.o
net/ipv4/netfilter/ipt_ECN.c:20:42: fatal error: linux/netfilter_ipv4/ipt_ECN.h: No such file or directory
compilation terminated.
make[3]: *** [net/ipv4/netfilter/ipt_ECN.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

Posted in Uncategorized | Tagged | Leave a comment

ISSUE IN PROJECT 5(CHAR DRIVER)

Sir,

I have implemeted the project of using multi thread in a single process then in multi process process for char driver by using sleep in the app.c for synchronization between multi thread for read,write,open,close in single process. Is it right way to implement.

Posted in Character Driver | 1 Comment

Embedded Linux on ARM

Embedded Linux is the use of Linux in embedded computer systems. Linux has been ported to a variety of CPUs which are not only primarily used as the processor of a desktop or server computer, but also ARM, AVR32, ETRAX CRIS, FR-V, H8300, IP7000, m68k, MIPS, mn10300, SuperH, and Xtensa processors, It is also used as an alternative to using a proprietary operating system and toolchain. Linux is an open source operating system. It enjoys support by a large group of engineers contributing back into the open source (similar process to the FSF’s GNU tools).This makes Linux a very dynamic and fast moving operating system.

Posted in Embedded Linux, Uncategorized | Leave a comment

process management

I have imlemented signal and sigaction without information of signal.
but I am geting problem in printing the signal information

Posted in Uncategorized | Leave a comment

Re: USB to Parallel Port Problem

I purchased a USB to Parallel port cable ( it supports ieee1284 standard).This cable is Plug and play cable.
I dont have a parallel port on my laptop. I want to do Compatibility mode project(ie. LED Glow) through laptop.
How to do this?
Dear all experts Please help me to resolve this.

Thank you verymuch. and Have a nice time.

Posted in Uncategorized | 4 Comments

PROJECT3:IPC- Work Status

IPC implemented using

#8pipes: struck at sending the processed data from server to client without using sleep();

#2pipes:data gets overwritten frequently.Working on it.

#fifo:all clients approach the server at almost the same time causing certain issues in the transfer of data. Working on it.

 

Posted in Uncategorized | Leave a comment