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


ADVERTISEMENT

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

Ubuntu :: Root Access Is Required - Get Privilege?

Dec 10, 2010

I am traying to install an application on ubuntu, it asks me that I have to get root access. How can I get this previlige?

View 9 Replies View Related

Security :: Privilege Escalation - Getting 'root' Privilege?

Dec 1, 2010

Currently as a part of an assignment I need to implement a reverse shell on a linux system. The system details are -Quote:Linux Kernal Version - 2.6Database - MySQLUsing web-server I could upload a php file which could execute the command on behalf of me. Now, I want to get root access so that I can get access to system's core files.My sample php file -

PHP Code:
<?php
if((!empty($_GET['cmd']) && isSet($_GET['cmd'])))

[code]....

View 2 Replies View Related

General :: Giving Rm Root Privilege For A Particular Directory

Jul 7, 2009

I want to give root privilege to the command rm for only a directory Dir inside /local/home. How I can do that?

View 9 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

General :: Ubuntu: Give Sftp Root Privilege To User?

Sep 18, 2010

This is my first thread ever to make on the linux forum, and I just began using linux Ubuntu Lucid for my server. Please bare with me because I think I am questioning such a basic question. How do you give sftp root privilege to user? I've made group "admin" and made 2 users under that group. Trying to upload a file onto a server using SFTP with one of the user and it fails and says "Permission denied."

I gave full sudo/root permission to the group "admin" from /usr/sbin/visudo I mainly use Tranmit4 but I also have filezilla. Or is there a way to run sudo command on either ftp client application?

View 14 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

General :: Dreamlinux - Root Says 'superuser Required' While Installing FROM Root

Apr 21, 2011

I am trying to install google chrome on my computer, it is in a .deb package and I am using dreamlinux. Earlier today I installed a .cbr/.cbz file reader from root, that was also a .deb and it worked just fine. now I go to install google chrome and it says (Blue is my command, and red is the system response):

I checked under my USER GROUPS and Root is still set as root, and I haven't been using it unless I need to install with it to other directories, Should I be using another command to install? or is it a problem that may affect other aspects of my system? ... My biggest concern is not getting google in, I can wait for that ... I just wanna know why ROOT is under the impression it's not a superuser.

View 3 Replies View Related

General :: Configuration Required To Send Mails From Server

Nov 17, 2010

I have a linux database server (ver 2.6.18-92.el5xen) which i want to configure for sending mails as and when some errors are written into some log files by an oracle process.when i just try to run this command mailx -s "test.it just does n't show any output and kind of hang.Pls tell me the step by step process for configuring the server so as to send mails from it. Also I am not aware if the required rpm are installed in the machine or not.

View 9 Replies View Related

Fedora :: Missing Root Privilege Key Thingy

Apr 8, 2011

When I started using Fedora (with Gnome) a week ago, I noticed a key symbol in the system tray, or however you call that in the linux world ;-). I can't remember what it was called, but it appeared after I loaded a program or administrative function that required root privileges. If I understand correctly there's a certain timeout after you put in the root password that allows you to run more than one program with elevated privileges so you don't have to put in the root password all the time. I remember reading somewhere that you can change that timeout. This key symbol basically was a "screw the timeout, i'm done being root".

This key symbol doesn't appear anymore though and I'd really like it back.
I'm pretty sure, I didn't do anything to make it go away, as I didn't play around with any security settings.

It was a little tricky to search for this as I can't recall the actual name of this... key thingy..

View 14 Replies View Related

OpenSUSE Install :: Lost Admin (Root) Privilege Password

Feb 28, 2011

I'm new to Linux (had some basic Unix experience in 1995 era). (Teenager) gave me HP2133 mini notebook running SUSE Linux Enterprise Desktop 10. Everything checks good (hardware and software), even wireless networking. Problem is she apparently created Admin/root password but says cannot remember. I cannot even set correct date time... yast is asking for root privilege:
Command: /sbin/yast2 time
Is there anything I can do to re-establish administrator privilege?

View 6 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

General :: Configure The At Command To Send To Someone Other Than Root?

Jul 6, 2010

Is there a way to configure the at command to send to someone other than root?

View 1 Replies View Related

General :: Send An Email From Root Console Using A Non Created USER?

Dec 29, 2010

I scan a document with root pressing the scanner button. I would like to send an email using my gmail account. OK. nothing difficult with that... mbsmtp + mutt for sending trhough the sh script.

1-root is to be avoided at max to do some internet duties, due to security. Apt-get is good, but ok surfing or email sending shall be avoided for higher security.

2- sudo or su running mutt through this way, ok, using an existing user. OK, possible and simple, but not comfortable since you have to use an account of an user existing (create a new user for scanner and email?? - no, come on, we have linux and can maybe find a solution)

how to send an Email from root console using an non created USER?

View 5 Replies View Related

General :: Recursively Add Read Privilege To All The Files Under A Certain Directory?

Jan 18, 2010

I'm under linux . by default, other user can't read anything under my home directory. let's see my home directory is /home/superman , and I tried to use

chmod +r /home/superman

to let others can acess files under my home directory , but it does not work .

View 1 Replies View Related

Fedora :: OpenOffice Installation - Root Privileges Required?

Jan 10, 2011

I am trying to install openoffice and I get. Note this installation will be done without root privileges. Therefore you will have reduced functionality. Change privileges to root privileges if you want full functionality. I have opened a terminal and su to root with no avail.

View 4 Replies View Related

Red Hat :: Installing GLIBC 2.7 (required By Some 3rd Party Software) On A RHEL 4 System As Root?

Jul 28, 2010

I'm installing GLIBC 2.7 (required by some 3rd party software) on a RHEL 4 system as root and am getting the following error during the make:

gcc ../sysdeps/x86_64/mempcpy.S -c -I../include -I/tmp/gnu/ob27/string -I/tmp/gnu/ob27 -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -

[code]....

View 5 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

Ubuntu Installation :: Fresh Install: Erase Root And Home Partitions Required?

Apr 28, 2011

I will be installing Natty using the alternative CD.My system has a separate Home partition.Do I need to erase the contents of the Root and Home partition with gparted or similar,prior to the fresh installation of Natty or will the installer take care of all that automatically?

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







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