LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-03-2011, 10:01 AM   #16
GanX
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0

Okay, i have installed it on another Ubuntu system but i am unsure on what to do now. I made a search on "wakeonlan" to see what files it installed but i am not sure if its something i can use or not. I made a picture as you can see below i hope it gives you guys a clue.
Attached Thumbnails
Click image for larger version

Name:	Ubuntu.jpg
Views:	25
Size:	94.2 KB
ID:	6610  
 
Old 04-03-2011, 10:49 AM   #17
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
What you want you need to find out is what files the wakeonlan package provides which you can do with

Code:
$ dpkg -L wakeonlan
In this case the only interesting file is /usr/bin/wakeonlan which is a perl script

Code:
$ file /usr/bin/wakeonlan
/usr/bin/wakeonlan: a /usr/bin/perl -w script text executable
So find out if perl is installed on your NAS.

Code:
$ which perl
If it is then you can try copying the /usr/bin/wakeonlan file over to your NAS and see if it works. It might, or it might not depending on whether various other perl related bits that the script uses are also already on the NAS. If you've got perl on the NAS, but not other require bits, you can try working out which perl bits need to be copied over. The wakeonlan package depends on two other packages use

Code:
$ apt-cache search wakeonlan
to see them. The 'dpkg -L' command mentioned above will show you which files those packages provide.
 
1 members found this post helpful.
Old 04-04-2011, 03:05 AM   #18
GanX
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Its not going to well to be honest. Look below

Code:
$ dpkg -L wakeonlan
This one isnt working for me i just get the reply "-sh: dpkg: command not found"

Code:
$ which perl
And this one dosent return anything at all, it just jumps to the next line.


Maybe i need to find another solution for my problem, do it in some other manner. I am getting the feeling that this system realy isnt made to be used for anything else then the NAS client.
 
Old 04-04-2011, 03:56 AM   #19
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by GanX View Post
Its not going to well to be honest. Look below

Code:
$ dpkg -L wakeonlan
This one isnt working for me i just get the reply "-sh: dpkg: command not found"
You need to run that on the machine on which you have wakeonlan installed, not on your NAS.

Quote:
Originally Posted by GanX View Post
Code:
$ which perl
And this one dosent return anything at all, it just jumps to the next line.
If there is no output then you don't have perl installed.


Quote:
Originally Posted by GanX View Post
Maybe i need to find another solution for my problem, do it in some other manner. I am getting the feeling that this system realy isnt made to be used for anything else then the NAS client.
I agree.
 
1 members found this post helpful.
Old 04-04-2011, 09:41 AM   #20
GanX
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
After a world of pain I found a solution. I found a package I could install on my NAS that’s called “Optware” which allows the use of ipkg. I was able to install a Wake on Lan pack with the command

Code:
ipkg install wakelan
I just wanted to let you know, and thank you for all your dedication in this matter!! You where most helpful and I think I learned allot more about linux so thanks arizonagroovejet!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem sending wol packet ubuntuv Linux - Networking 1 09-10-2010 07:05 PM
7.10 Server wol (wake-on-lan) via ARP (no magic packet), help? Elohist Linux - Networking 0 01-21-2008 12:02 AM
How to sent magic packet to the neighbourhood Bobymc Linux - Networking 2 06-12-2006 04:53 PM
How do I send WOL packets ? Bobymc Linux - Software 2 06-11-2006 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration