Searching \ for '[OT] Looking for Linux expert' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=looking+linux+expert
Search entire site for: 'Looking for Linux expert'.

Exact match. Not showing close matches.
PICList Thread
'[OT] Looking for Linux expert'
2012\05\15@114922 by Dwayne Reid

flavicon
face
Good day to all.

We are trying out a new NAS box (QNAP TS-119P II)to serve as the file server in our small peer-to-peer network.  Its looking good so far but I need to make some internal configuration changes to allow the unit to support Windows 98.

The changes require logging into the box via SSH and using VI to edit a configuration file.  I had a peek at it last night and was able to log into the box but I'd be flailing if I actually tried to edit anything.

I'm hoping that some kind soul can talk me through this process.  Although I am comfortable working with the command-line (shows my MS-DOS heritage), I'm not even vaguely competent with anything relating to Linux and don't know any of the commands.  All I know is that they are all different compared to MS-DOS.

It would be even better if that person was in or near Edmonton, AB, Canada and we could talk by phone.

I need to do this fairly quickly - I have the box on a 7-day trial and would need to return it Thursday or Friday if it doesn't work out.

Many thanks!

dwayne

-- Dwayne Reid   <spam_OUTdwaynerTakeThisOuTspamplanet.eon.net>
Trinity Electronics Systems Ltd    Edmonton, AB, CANADA
(780) 489-3199 voice          (780) 487-6397 fax
http://www.trinity-electronics.com
Custom Electronics Design and Manufacturing

2012\05\15@120325 by Alex Harford

face picon face
Unix is user friendly, it's just picky about who it's friends are.

If you want someone local, these guys should be able to help.
http://www.elug.ca/index.shtml

On Tue, May 15, 2012 at 8:49 AM, Dwayne Reid <.....dwaynerKILLspamspam@spam@planet.eon.net> wrote:
>
> The changes require logging into the box via SSH and using VI to edit
> a configuration file.  I had a peek at it last night and was able to
> log into the box but I'd be flailing if I actually tried to edit anything..

2012\05\15@122738 by Neil

flavicon
face
Perhaps post the config file here and someone can guide you or edit for you?  That is, of course if there is not confidential data in it.


On 5/15/2012 11:49 AM, Dwayne Reid wrote:
{Quote hidden}

>

2012\05\15@123601 by Bob Blick

face
flavicon
face


On Tue, May 15, 2012, at 09:49 AM, Dwayne Reid wrote:

>
> The changes require logging into the box via SSH and using VI to edit
> a configuration file.

Whenever I use VI I make sure the VI cheat sheet is at hand before I
start. I am spoiled by the user-friendliness of Nano.

Friendly regards,

Bob

-- http://www.fastmail.fm - Choose from over 50 domains or use your own

2012\05\15@123907 by Alex Harford

face picon face
That's a good idea.  cat /path/to/file and we can probably reply with
the appropriate sed commands to do a search and replace.

On Tue, May 15, 2012 at 9:27 AM, Neil <picdude3spamKILLspamnarwani.org> wrote:
{Quote hidden}

>

2012\05\15@123944 by Robert Rolf

picon face
What about the obvious place to get support? The manufacturer of the drive?
They should be able to tell you exactly what to change to get Win98
compatibility.
(I assume this is probably about win98 not encrypting passwords on shares).

On Tue, May 15, 2012 at 10:27 AM, Neil <.....picdude3KILLspamspam.....narwani.org> wrote:

{Quote hidden}

>

2012\05\15@124324 by Robert Rolf

picon face
On Tue, May 15, 2012 at 10:39 AM, Robert Rolf <EraseMERobert.Rolfspam_OUTspamTakeThisOuTualberta.ca>wrote:

> What about the obvious place to get support? The manufacturer of the drive?
> They should be able to tell you exactly what to change to get Win98
> compatibility.
> (I assume this is probably about win98 not encrypting passwords on shares).
>
> In which case you can edit the win98 registry to turn on PW encryption.
http://oreilly.com/openbook/samba/book/ch06_04.html

This is probably what you want to do to the box
www.ccp14.ac.uk/ccp14admin/linux-server/samba/index.html
"Don't forget to add the *encrypt passwords = yes* or windows won't be able
to log in and give cryptic responses.

2012\05\15@125243 by Herbert Graf

picon face
On Tue, 2012-05-15 at 09:36 -0700, Bob Blick wrote:
>
> On Tue, May 15, 2012, at 09:49 AM, Dwayne Reid wrote:
>
> >
> > The changes require logging into the box via SSH and using VI to edit
> > a configuration file.
>
> Whenever I use VI I make sure the VI cheat sheet is at hand before I
> start. I am spoiled by the user-friendliness of Nano.

Although not asked for, here are my two cents... :)

Try using vi more regularly. I use it (in various forms) as my primary
editor (I prefer vile, if you want something more graphical use gvim).
Vi is available for almost any platform you can think of. The most
common for windows users would be gvim.

Once you learn vi in even a most basic way you will find it's insane
power VERY useful.

Using an editor like nano afterwards will seem like a LARGE step
backward.

Of course, the biggest benefit is when you're in a situation like the OP
is in. VI is pretty much available on EVERY *nix system, from the
biggest, to the smallest.
TTYL

2012\05\15@125720 by Brendan Gillatt

flavicon
face
On 15 May 2012 16:49, Dwayne Reid <dwaynerspamspam_OUTplanet.eon.net> wrote:
{Quote hidden}

If it's vi you're having trouble with try nano. It's installed by
default on most linux distributions (but perhaps not a nas). Learning
to use vi well will probably take a bit longer than a week!

All the best,
Brendan

-- Brendan Gillatt
http://www.brendangillatt.co.uk

2012\05\15@132622 by Alex Harford
face picon face
On Tue, May 15, 2012 at 9:57 AM, Brendan Gillatt
<@spam@brendanKILLspamspambrendangillatt.co.uk> wrote:
>
> If it's vi you're having trouble with try nano. It's installed by
> default on most linux distributions (but perhaps not a nas). Learning
> to use vi well will probably take a bit longer than a week!

It appears that nano is available as an add-on:
http://wiki.qnap.com/wiki/Using_IPK

2012\05\15@133635 by Bob Blick

face
flavicon
face
> Once you learn vi in even a most basic way you will find it's insane
> power VERY useful.

The insane power is what I don't like about it! I feel like it is always
fighting me for dominance, as if it were written by Klingons :)

Best regards,

Bob

-- http://www.fastmail.fm - Does exactly what it says on the tin

2012\05\15@163521 by Harold Hallikainen

face
flavicon
face

> On Tue, 2012-05-15 at 09:36 -0700, Bob Blick wrote:
>>
>> On Tue, May 15, 2012, at 09:49 AM, Dwayne Reid wrote:
>>
>> >
>> > The changes require logging into the box via SSH and using VI to edit
>> > a configuration file.
>>
>> Whenever I use VI I make sure the VI cheat sheet is at hand before I
>> start. I am spoiled by the user-friendliness of Nano.


Then, you need this!
http://store.xkcd.com/xkcd/#LinuxCheatShirt

Harold


-- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!
Not sent from an iPhone

2012\05\15@182244 by Tamas Rudnai

face picon face
Hello Dwayne,

What was the problem like? VI could not open the file, or could not save
it, or need a crash course on vi?

If could not open or save the file, what did it say? Do you need super user
(root) privileges for editing these files? With an "ls -l path/filename"
you can check that...

VI crash course:

The basic concept of VI is that you can use it on very very old terminals
with no modern keys on it like arrows and insert key etc.
It has several modes, but the default is the navigation mode, so using
h,j,k,l keys you can place the cursor pretty much anywhere. 'w' and 'b' are
jumping words and there are many many more for this.

To enter edit mode you typically type 'i' or 'a' and from that point you
can type. When finished press <ESC>. 'a' is for Append, 'i' is for
Insert... With 'o' you can create a new line and start typing a text. If
you would like to replace a word, type cw you are replacing a word (change
word). Do not forget the <ESC> key after editing, that changes back to the
navigation mode.

'x' is deleting a char, 'd' is for delete but it deletes different
things depending on what you type after that. Like 'dd' deletes a line,
'dw' a word, {shift} D deletes everything from the cursor to the end of the
line...

I think with these you can do most of the basic editing, then if you type
{shift} ZZ it should save the file and quit. You may can also type ':qw'
for this (colon, then qw and {enter}). If it does not save, you may can try
:w! (colon, then w! {enter}) first. The exclamation mark is for 'force'.
For example if you want to quit without saving you need to force the :q
command by putting the exclamation mark after it like :q!

Hope it helps.
Tamas


On 15 May 2012 08:49, Dwayne Reid <KILLspamdwaynerKILLspamspamplanet.eon.net> wrote:

{Quote hidden}

>

2012\05\15@185159 by Neil Cherry

flavicon
face
On 05/15/2012 04:35 PM, Harold Hallikainen wrote:
>
>> On Tue, 2012-05-15 at 09:36 -0700, Bob Blick wrote:
>>>
>>> On Tue, May 15, 2012, at 09:49 AM, Dwayne Reid wrote:
>>>
>>>>
>>>> The changes require logging into the box via SSH and using VI to edit
>>>> a configuration file.
>>>
>>> Whenever I use VI I make sure the VI cheat sheet is at hand before I
>>> start. I am spoiled by the user-friendliness of Nano.
>
>
> Then, you need this!
> http://store.xkcd.com/xkcd/#LinuxCheatShirt

I *Like* that a lot. It's also properly positioned for when you
really need it!

-- Linux Home Automation         Neil Cherry       spamBeGonencherryspamBeGonespamlinuxha.com
http://www.linuxha.com/                         Main site
http://linuxha.blogspot.com/                    My HA Blog
Author of:            Linux Smart Homes For Dummie

2012\05\15@194509 by smplx

flavicon
face


On Tue, 15 May 2012, Neil Cherry wrote:

> I *Like* that a lot. It's also properly positioned for when you
> really need it!

"Damn this dirty T shirt. I could have sworn the 'i' was an 'f' in that 'rm' command"

:-)

Regards
Sergio Masc

2012\05\16@184238 by Neil Cherry

flavicon
face
On 05/15/2012 07:45 PM, smplx wrote:
>
>
> On Tue, 15 May 2012, Neil Cherry wrote:
>
>> I *Like* that a lot. It's also properly positioned for when you
>> really need it!
>
> "Damn this dirty T shirt. I could have sworn the 'i' was an 'f' in that
> 'rm' command"

Hmm, think that was a tomato sauce stain. Oh, yup it was an -i.


-- Linux Home Automation         Neil Cherry       TakeThisOuTncherryEraseMEspamspam_OUTlinuxha.com
http://www.linuxha.com/                         Main site
http://linuxha.blogspot.com/                    My HA Blog
Author of:            Linux Smart Homes For Dummie

More... (looser matching)
- Last day of these posts
- In 2012 , 2013 only
- Today
- New search...