LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-12-2008, 04:59 PM   #1
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,441
Blog Entries: 43

Rep: Reputation: 36
Configuring a Buffalo NAS from the command line by calling the GUI


Does anybody know how you'd go about configuring a Buffalo NAS from the command line? It'd actually be a lot less work by doing so, as it could be put in a batch file or Linux script then. It's running the firmware that came with it, and I want it to stay that way! But it'd be better to use the command line to configure it all the same.

So I'm basically trying to call the GUI from the command line somehow. When you go to the URL to start it, 2.1.1.2, in my case, it links you to http://2.1.1.2/cgi-bin/top.cgi. This device pretty much seems to stay that way when used, so it's all the code must be contained in that file. How would you call it's code with a web browser like lynx to complete common tasks like adding users and groups?
 
Old 05-12-2008, 08:34 PM   #2
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,441

Original Poster
Blog Entries: 43

Rep: Reputation: 36
One small thing I could do, and it might enable me to simply use the Linux command line utillity I already wrote, is try acp_commander. Then I could get telnet access all the time. That sounds cool.

But the questions about that method are these:

1) This doesn't modify the firmware, right?
2) Is it safe, the readme says it might "brick" the thing, but is the telnet command safe? I can have no chance of bricking the thing because I only have money for the one I bought, no money to buy replacements. That's why I don't even want to try flashing. Plus, it's simple to set up, it's just I need an automated method if possible so adding users and groups doesn't take all day.

Even if it worked, right now I'd not want to make what's simple complicated by making it a full-blown Linux server, powerful though I know it can be. For that, I want to use my old PC, but not relying on it's setup for simple file management.

But if acp_commander is basically 100% chance of not bricking the thing when I do a simple telnet enabling, and if it's trivial to make it come on all the time, and if it would accept my commands using a modified version of the same script to add users and groups, and if I did so, I could also rely on it showing up in the web-based utillity, then there's no reason to force going through the web utillity.

But if there's a 5% chance of bricking it or more, that's way too much and I'm simply looking then to go through the web-based utillity and automate that instead.
 
  


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
How to access a NAS from the command line? xpucto Linux - Server 7 10-10-2007 08:00 AM
Calling GUI from localhost command line Mandrake 8.1 glenglen Mandriva 5 06-27-2006 08:32 AM
calling from command line lilili Linux - Newbie 8 01-22-2006 05:09 PM
calling command line functions in java darthczyz Programming 2 12-09-2003 07:01 AM
Command line to GUI Jon84 Slackware 34 03-12-2003 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:24 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