PDA

View Full Version : New How-To: Installing SlimServer on LinkStation



Nicholas Harmer
2005-03-15, 02:24
Chris

Having just successfuly installed SlimServer 6 (March 14th nightly) on
my LS-120, I recognised your problem regarding /etc/passwd.

I has major problems with the display of vi in my telnet sessions,
including the overwriting of the first line of each file, which makes
it impossible to see the root password entry! The problem is the
terminal emulation type (auto-detect on Windows HyperTerminal *doesn't*
work properly). Make sure your terminal type is set to vt100.

In Windows HT you have to change this in connection properties, then
save the session and re-open it - it *doesn't* change the currently
logged-in session. On OSX terminal, select Preferences from the
Terminal menu, and select vt100 in the drop-down labelled 'Declare
terminal type ($TERM) as:'

Once you've done this, vi should display correctly and you should be
able to see your root password (it's always the first item in
/etc/passwd).

Good luck with your install - I got mine working yesterday p.m., and it
works like a dream - just make sure that you install a recent nightly
build, *not* the 6.0b1 version (it doesn't have all the PPC perl
modules needed to run v6)

Nick

--------------

'All things are possible - except ski-ing through revolving doors'

Chris Buckle
2005-03-15, 13:41
Many thanks Nick and Marc.
Of course you are quite correct, although I was using Telnet from the
command prompt in Windows the effect is exactly the same - Windows was
causing the first line to be overwritten.
Typically I found a really complicated way of editing the file before I read
Nick's response regarding HT!
Anyway I'm in as root now and the adventure continues!
By the way Marc, one useful addition to your excellent script may be to
advise that a copy is taken of the password file before any drastic editing.
Being a coward, I did this anyway so I always had the comfort of knowing I
could get back to a clean copy (I think!) :)

Regards

Chris
----- Original Message -----
From: "Nicholas Harmer" <nickharmer (AT) mac (DOT) com>
To: <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, March 15, 2005 9:24 AM
Subject: [slim] New How-To: Installing SlimServer on LinkStation


> Chris
>
> Having just successfuly installed SlimServer 6 (March 14th nightly) on my
> LS-120, I recognised your problem regarding /etc/passwd.
>
> I has major problems with the display of vi in my telnet sessions,
> including the overwriting of the first line of each file, which makes it
> impossible to see the root password entry! The problem is the terminal
> emulation type (auto-detect on Windows HyperTerminal *doesn't* work
> properly). Make sure your terminal type is set to vt100.
>
> In Windows HT you have to change this in connection properties, then save
> the session and re-open it - it *doesn't* change the currently logged-in
> session. On OSX terminal, select Preferences from the Terminal menu, and
> select vt100 in the drop-down labelled 'Declare terminal type ($TERM) as:'
>
> Once you've done this, vi should display correctly and you should be able
> to see your root password (it's always the first item in /etc/passwd).
>
> Good luck with your install - I got mine working yesterday p.m., and it
> works like a dream - just make sure that you install a recent nightly
> build, *not* the 6.0b1 version (it doesn't have all the PPC perl modules
> needed to run v6)
>
> Nick
>
> --------------
>
> 'All things are possible - except ski-ing through revolving doors'
>
>
>



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 15/03/2005

Marc D.Field
2005-03-15, 17:46
In article news:031e01c5299f$58c520a0$0e00a8c0@XP3000, "Chris Buckle" <chris.buckle (AT) bigfoot (DOT) com> wrote:
>By the way Marc, one useful addition to your excellent script may be to
>advise that a copy is taken of the password file before any drastic editing.

Excellent idea.

Marc

--
Marc