General :: WOL - Send Magic Packet?

Apr 1, 2011

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

View 16 Replies


ADVERTISEMENT

General :: Root Privilege Required To Send A Wake-on-lan Magic Packet?

Sep 28, 2010

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.

View 1 Replies View Related

Ubuntu Networking :: Send The Keys Or Value As The Packet Data (content Of The Packet) In Ns-2 (for Wireless Environment)

Jul 12, 2010

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).

View 1 Replies View Related

Ubuntu :: Magic Packet Received / But Wake On Lan Doesn't Work

Oct 15, 2010

I am trying to remotely wake up my computer. I am using the wakeonlan tool as follows wakeonlan -i 146.x.x.x 00:0f:.I have used wireshark on the remote computer and verified it was getting the magic pack. wireshark sees the packet, and immediately the remote computer sends an ICMP dest. unreachable (port unreachable) packet back, although I assume that is normal.On the remote computer, I used ethtool so I am enable to verify that suports wake-on is set to "g" or magic packet.

I believe that wake-on-lan is enabled in the bios. I have a hp dc5000, so I turned on S5 wake on lan in the bios. However, the computer does not wake up.My assumption is that once the computer is off, the router doesn't know where to send to packet because that ip is not there anymore. Does that make any sense? What other troubleshooting steps can I take? I don't have control over the routers though.

View 2 Replies View Related

General :: Kernel Crashed When The Module Tries To Send IPv6 Packet?

Oct 10, 2010

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.

file name: rtp_pkt_tx.c
#include "linux/kernel.h"
#include "linux/module.h"
#include "linux/skbuff.h"
#include "linux/init.h"

[Code]...

View 1 Replies View Related

Networking :: How To Send Udp Packet To The DNS Using Netcat

Jun 16, 2010

How can i send udp packet to the DNS using netcat in opensuse.

View 7 Replies View Related

Programming :: Send A Packet Through Sockets C++

Feb 1, 2011

Can someone help me with this problem,trying to send a packet,using tcp/ip,the packet should look like this:

Code:
field 1: SOCKS protocol version, 1 byte (0x05 for this version)
field 2: status, 1 byte:
0x00 = request granted
0x01 = general failure
0x02 = connection not allowed by ruleset
0x03 = network unreachable
0x04 = host unreachable
0x05 = connection refused by destination host
0x06 = TTL expired
0x07 = command not supported / protocol error
0x08 = address type not supported
field 3: reserved, must be 0x00
field 4: address type, 1 byte:
0x01 = IPv4 address
0x03 = Domain name
0x04 = IPv6 address
field 5: destination address of
4 bytes for IPv4 address
1 byte of name length followed by the name for Domain name
16 bytes for IPv6 address
field 6: network byte order port number, 2 bytes
and this is my code:

Code:
int domainLen = strlen(domain);
char reply[domainLen + 7];
reply[0] = 5; // version
reply[1] = 0; // succed
reply[2] = 0; // reserved
reply[3] = 3; // its a domain
reply[4] = domainLen;; // lenght of domain
for(int j = 0; j < domainLen; ++j)
{
reply[j + 5] = domain[j];
}
reply[5 + domainLen] = 80; // port
reply[20] = '�';
Send(reply, sizeof(reply));
domain is "www.google.com". Am I doing it right ? I dont know much about bits.

View 6 Replies View Related

Red Hat / Fedora :: Determine Network Interface That Will Be Used To Send Packet For An IP?

Apr 9, 2010

I'm writing to you because I encountered the following problem. My program displayes all network interfaces that are available in the system, but I would like to adda functionality in which a user can enter a destination address IP (ex. the IP address of the Google search engine) and will get information which network interface will be used to send it. As I know it is associated with reading information from routing table in the system. Maybe you know the API (functions/methods) which I could use to do it in RedHat ? I program in C/C++, but if you know how to do it in other programming languages (Java, Perl, Python) I will be grateful for any information.

View 4 Replies View Related

Programming :: Send A UDP Syslog Packet With Source Port Set To 514

Jan 25, 2010

I am trying to generate a UDP syslog packet from my C application. But I am facing a problem with a Cisco Router ACE that does not like the Source Port being '0' and thus drops the packet.How can I specify the Source Port in the UDP header to '514' as stated in RFC3164 (Section 2: Transport Layer Protocol)? "It is RECOMMENDED that the source port also be 514 to indicate that the message is from the syslog process of the sender"

View 1 Replies View Related

Programming :: Perl - UDP Server Receive / Send Packet To Host

Apr 1, 2010

I have found many examples out on the www for creating udp servers with sockets. The problem I am running into is after I receive the packet from a host I need to be able to send a custom made packet(I'm using RawIP / NetPacket to make my packet) back to this host. The only way to do this is seemingly through the send() function. This function however doesn't appear to allow me to specify which host to send my packet to.

View 2 Replies View Related

CentOS 5 Server :: Authenticate/Decrypt Packet Error: Packet HMAC Authentication Failed

Sep 17, 2009

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):

Thu Sep 17 20:31:36 2009 TLS Error: incoming packet authentication failed from 84.xx.62.122:2622
Thu Sep 17 20:31:38 2009 Authenticate/Decrypt packet error: packet HMAC authentication failed
Thu Sep 17 20:31:38 2009 TLS Error: incoming packet authentication failed from 84.xx.62.122:2622

[code]....

View 5 Replies View Related

General :: Search A Grep For A Magic Word?

Feb 16, 2011

I am using ascript for general users to back up usb drives to lto4 tapes.. I wish to ahve some error checking to check IF is there is a tape in the tape drive to check for the tape:

if i do a
sudo mt -f /dev/st0 status
i will get back a
mt: /dev/st0: rmtioctl failed: Input/output error
if there is no tape in the drive or
sudo mt -f /dev/st0 status

[code].....

View 4 Replies View Related

General :: File System, Parted Magic?

Mar 29, 2011

What file system choices do I have for fedora 14, what is suggested and can parted magic provide that system?I am loading fedora on the second hard drive of my laptop with windows 7 and XP pro on the other hard drive and I will also be repartitioning and reformating the first hard drive because windows 7 is 64 bit and the xp is 32.

View 9 Replies View Related

General :: Getting Magic Jack To Work In Ubuntu 9.10?

Oct 24, 2010

I was just introduced to Linux official a few days ago : The problem I am having I am trying to Set up Magic Jack on Ubuntu 9.10, and I have no clue how to get it to work.

View 7 Replies View Related

General :: Installing Magic Jack For Ubuntu 10.10?

Feb 13, 2011

Would like to make my magic jack work with U 10.10

View 1 Replies View Related

General :: Open Windows Like (Magic) On Compiz

Aug 9, 2010

Where in Compiz we can make that. just open the windows like magic.... like this: [URL]. I search all night all compiz and I cant find where is for make this. When the windows open make this effect.

View 2 Replies View Related

General :: Partition Magic Remove The Ubuntu OS?

Nov 18, 2010

I have a hard disk that I would like to completely remove UBUNTU from. There is no other OS on it. UBUNTU is on all of the HD no unused partitions that I can see or other windows system here at all. I would like to completely remove UBUNTU and remove GRUB also. and be able to use this HDD for a windows system. Most of the threads I have read here in the forum relate to removing ubuntu from a dual OS HDD . There is talk of using partition magic or other utility to remove or change the partitions,but most of them are about a dual OS system, whereas I have an HDD with only ubuntu on it. Does UBUNTU have an uninstall program that I can download? Does partition magic remove the Ubuntu OS? Grub?

View 7 Replies View Related

General :: Send The Output Of Send Command To A File?

Jan 20, 2011

in the middle of script, i need to send the output of (send command on line 8) to a file

#!/usr/bin/expect
spawn telnet 172.20.64.133
expect "ENTER USERNAM <"

[cod]....

i treid the below on line 8 :

1- send "show command;

" > 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?

View 2 Replies View Related

General :: Cramfsck: Superblock Magic Not Found (Scientific)?

Jan 2, 2010

I have come across a problem on my Scientific Linux, I have searched the forum but couldn't find what I am looking for, so I decided to post my question here.well, here what I did: under the Terminal I got Cramfs-1.1.tar.gz installed, and then i used the "make" command to build the cramfsck and mkcramfs and it was all successful.so now I have an image I called it "backup.img", and I tried following command:./cramfsck -x ./output backup.imgbut unfortunetly I got the following message:./cramfsck: superblock magic not foundSo I kept on thinking what is this Superblock magic thingy? I did a google search but I kind of got lost and didn't end up finding anything useful, but I am just thinking it could be some kind of package which I need to install? I tried the following command:apt-get install magicbut it seems there is not such package exists with that name.

View 6 Replies View Related

General :: Install Magic Jack On Latest Update?

May 19, 2011

How do I install Magic Jack on latest update?

View 3 Replies View Related

General :: Adding A Kernel In GRUB For Kubuntu 9.10: Invalid Magic Number

Apr 19, 2010

I've compiled and added a kernel in Gentoo before. It doesn't seem to go quite as smoothly in Kubuntu 9.10 These are the steps I followed: I unpacked the kernel in /usr/src and ran make && make modules_install succesfully. Then I copied the kernel in arch/x86/boot/bzImage to /boot/bzImage-2.6.32 This entry is the one given by Kubuntu:

Code:

menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1

[code]....

I just read the script that update grub uses. Changed the name of the kernel from xyz to vmlinuz-2.6.32-generic and it worked.

View 1 Replies View Related

General :: Packet Traveling In Layers?

Sep 28, 2010

I want to know how a network packet travels through different layers, i.e. from the physical layer to the presentation layer in Linux systems.

Are there any detailed articles or books on this topic with code?

View 3 Replies View Related

General :: Coding Of Packet Sniffer ?

Feb 24, 2011

I want coding of packet sniffer that runs on red hat and use c++ language.

View 2 Replies View Related

General :: Implement Packet Reordering In NS2?

Oct 26, 2010

Does anybody know how to implement packet reordering in NS2? I would be very glad if someone provide me with appropriate tcl script or give a link.

View 3 Replies View Related

General :: Packet Sniffer In Fedora 8

Nov 5, 2009

Is there a default built in packet sniffer program in Fedora 8 ?

View 1 Replies View Related

General :: Printing Data In An Ip Packet?

Oct 6, 2010

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

View 2 Replies View Related

General :: Getting More Than One Udp Packet To Remote End Using Sendmsg

May 11, 2010

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().

View 1 Replies View Related

General :: Modify Network Packet In Wireshark?

Nov 12, 2010

anyone know network packet editor for Linux? or modify network packet in wireshark?

View 1 Replies View Related

General :: Cisco Packet Tracer Fedora 12

Mar 2, 2010

You have accepted the terms to the EULA. Cisco Packet Tracer will now be installed.

Attempting to install package now Preparing...

I need to do a project for my cisco class and i need to get this Packet Tracer to start working!

View 2 Replies View Related

General :: Get An Arp Packet From Wireless Wifi Router?

Jun 16, 2011

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?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved