Currently i am working with linux code. I need help in printing data in ip packet. In my program i am defined the headers and defined ip packets. But I am having problems with printing data in the ip. I am thinking that for loop has to be used, but what parameters to use
I am the new user to ns-2. I would like to know is it possible to send the keys or some value as the packet data (content of the packet) in ns-2 (for wireless environment).
I need to know how a data packet is transmitted from the sender to the receiver passing through the five Internet layers. Specially what device (hardware) the data packets have to pass through at each layer before reaching the destination in a LAN.
I got a problem with my CentOS server. Somebody told me OpenVPN Requires different changes inside my firewall settings. That could be the problem why openvpn wont load..I receive this error on my CentOS panel when im trying to connect into the centos openvpn (with my winxp pc):
I expected more from ubuntu 10.4 with regards to printing with exact size photos and with poor auto colour printing but the situation remains unchanged! for instance .. the photo size configurations for ubuntu/fspot/gimp and others are not compatible with my printers (HP and Brother) .. here in Europe a typical standard size photo (10x15inches or 150x100mm are not even on the Ubuntu listing? I have tried all listed possibilities including "custom" (which does not seem to ever work correctly?)and the result at best is photos with uneven boarders or at worse my printer goes a bit crazy with much wasted photo paper and expensive ink ...even photos selected for "no boarders" still produces photos with the self same uneven boarders.
I have tried pretty much everything over time following advice in this forum and including using HPlip and updating drivers required for my Brother printer but the root problem seemingly lies with the Ubunto photo size setup listing. Working with Ubuntu over the years I have found that it can do pretty much everything that Windows can do except for this dam ongoing photo quality and configuration problem.
I am trying to send data via UDP using sendmsg on the sending side, and recvfrom() on the receiving end.The setup for my data is to have an iovec that has a packet hdr, followed by an iovec that has a payload, then to have subsequent sets of these two types of iovecs. On the receive end, I have a while true loop that does a recvfrom() receiving a size of 1 hdr/payload combination.When I do send out a message that has a total of just 4 iovecs (hdr/payload/hdr/payload) and I use recvfrom on the remote end with a receive size of a hdr/payload set,only the first hdr/payload of the sendmsg is received.I was under the impression that using this while true loop would allow me to receive multiple sets of this hdr/payload combination that is sent out by sendmsg().
As i am posting in this forum you might already have guessed that I am a total linux noob, but I am a pretty faster learner. I know a few basic things but I feel like I am stuck with my problem.I want to send the Magic packet (wake on LAN) from my linux machine to another, but I am unsure how to approach this. I have google�ed my ass off but I am none the wiser. I found a few forums posts and programs that can do the trick and guides in how to use the programs but I have no idea how to install them.You have to know that my linux machine is a NAS server and has therefore only Konsole access (no GUI). As I said before I am pretty much a noob
A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x7ca36fee
[code]....
Now I have the following problem the LVM file system don't mount properly.If I open the mount point I see only a few files of the LVM disk. If I want to unmount the disk I get the following error:
umount /data/ umount: /data/: not mounted
If I want to mount the volume I get the following error:
mount -a mount: /dev/mapper/gegevens-Data already mounted or /data busy
I am trying to get an arp packet from my wireless wifi router (access point), to which I am not connected. I simply tried ping 192.168.0.1, but the answer was connect: network is unreachable. What can I do about that?
I am facing problem(system gets crash) while I try to send IPv6 packet by using my kernel module. I have given the code and makefile for my module. I will appreciate if any one shares any tester module for sending IPv6 packets.The kernel version that I am using is 2.6.9 and it supports for IPv6.
I am actually making a packet sniffer using raw socket. Its just that when I use the command ' if((ioctl(rawsock, SIOCGIFINDEX, &ifr)) == -1) to get the interface index... Its gives me an error saying :invalid argument?
On Linux, is root privilege required to send a wake-on-lan magic packet? If it depends on how you send the magic packet, please let me know under what situation root is required.
i m not able to help any software due to my proxy settings. my proxy block all the download links. not able to install software from terminal or synaptic packet manager
I am trying to change the IP address of the traffic that has been stored. I have tried different commands:
[code]...
however, either from these two commands end up with a following error:
[code]...
when I searched for a solution and generic commands I used those two websites: website1 website2 Commands have been tested using a casual user account as well as a privileged one (root).
I have unzipped a Konica Minolta file at: [URL] I currently have it stored in a CUPS folder, unfortunately it is in my home directory. I am running 9.10 Ubuntu on a Dell latitude D830. Whats the correct path to install the CUPS folder so I can actually get something to print? Oh, and i am trying to get on a printer at work that is networked. i have full admin privileges as an Ubuntu user, but I am missing something really big. See posts below.
Currently I have tried: sudo mv /home/angela/CUPS1.1/English/KOC652UX.ppd /usr/share/ppd/openprinting/ without success even when restarting the computer.
I have the following command, which works fine:ll /backup/PROD |grep PROD_ |awk -F" " '{print "catalog backuppiece /backup/PROD/"$9";"}'The output is:catalog backuppiece /backup/PROD/PROD_29mi42vn_1_1;BUT... I want single quotes in the result. One before /back.. and one before the ;Like this:catalog backuppiece '/backup/PROD/PROD_29mi42vn_1_1';How do I do that? I tried using ' but it does not work.The following command works, but I get an error message, which prevents me from using the command in a bash file:ll /backup/PROD |grep PROD_ |awk -F" " '{print "catalog backuppiece '''/backup/PROD/"$9"''';"}'awk: warning: escape sequence `'' treated as plain `''
I am brand new to Ubuntu (1 day). I can find my way round most things but I can't print to my Canon Pixma. I have tried to download Australian drivers from a 2007 thread but when I try to download I get the error message "wrong architecture i386". My computer uses an AMD Athlon IIx3 processor. When I say can't print, the file goes into a print queue but the printer does not respond at all. I can see the printer when I go into system, admin, printing.
I need to set up the Printrex 812 under linux, but i can't find any ppd files for it. It can print plain text files in raw mode, but can't print ps or other formats.I can't find anything for that printer for linux. On their website is only drivers for win.