Author Topic: Diskless MD and installation of graphics drivers  (Read 5206 times)

sveinh

  • Newbie
  • *
  • Posts: 9
    • View Profile
Diskless MD and installation of graphics drivers
« on: August 21, 2007, 11:38:04 pm »
Hi all

I've got a Zonbu computer (www.zonbu.com) which I want to use as a diskless MD. It boots off the network and everything looks great until it tries to run X and the AVwizard. The onboard graphics card driver (Via cx700) is not supported out of the box. I installed LinuxMCE 704 from the DVD.

I think I have found linux drivers to support my graphics chip but I'm unable to gain root priveleges to install.

I can log on to the diskless MD using linuxmce/linuxmce, but it seems like I'm getting logged on as sambahelper, and this user does not have sudo rights.

So, my questions: how do I gain sudo rights on the diskless MD? Anyone?

In advance, thanks!

-sveinh
« Last Edit: August 22, 2007, 12:06:10 am by sveinh »

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Diskless MD and installation of graphics drivers
« Reply #1 on: August 22, 2007, 01:37:44 am »
Hi all

I've got a Zonbu computer (www.zonbu.com) which I want to use as a diskless MD. It boots off the network and everything looks great until it tries to run X and the AVwizard. The onboard graphics card driver (Via cx700) is not supported out of the box. I installed LinuxMCE 704 from the DVD.

I think I have found linux drivers to support my graphics chip but I'm unable to gain root priveleges to install.

I can log on to the diskless MD using linuxmce/linuxmce, but it seems like I'm getting logged on as sambahelper, and this user does not have sudo rights.

So, my questions: how do I gain sudo rights on the diskless MD? Anyone?

In advance, thanks!

-sveinh

At your core do the following;

chroot /usr/pluto/diskless/NN passwd (****where NN is the moon device ID of the MD you want to change***)

The use the following line to ssh into the MD... where NN is the device ID entered above;

ssh root@moonNN

Now you should be logged in as root ont eh MD and you can do whatever you need to :-)
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

darrenmason

  • Addicted
  • *
  • Posts: 529
    • View Profile
Re: Diskless MD and installation of graphics drivers
« Reply #2 on: August 22, 2007, 05:21:04 am »
On my machines at least, going to a different tty screen and logging on with root does not prompt for password. (ie: ctrl-alt-F1). Not very secure but that may serve your need.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Diskless MD and installation of graphics drivers
« Reply #3 on: August 22, 2007, 08:10:35 am »
On my machines at least, going to a different tty screen and logging on with root does not prompt for password. (ie: ctrl-alt-F1). Not very secure but that may serve your need.


If you do that from the Core though you will just get another console session on the Core. We need to ssh into one of the moons (ie MD's) as root to install some drivers etc.
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

sveinh

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Diskless MD and installation of graphics drivers
« Reply #4 on: August 22, 2007, 10:07:43 pm »
Thanks all.

This worked fine for me :-)

-sveinh

darrenmason

  • Addicted
  • *
  • Posts: 529
    • View Profile
Re: Diskless MD and installation of graphics drivers
« Reply #5 on: August 23, 2007, 06:45:48 am »

If you do that from the Core though you will just get another console session on the Core. We need to ssh into one of the moons (ie MD's) as root to install some drivers etc.

If I do an 'rlogin moonXX' from my core it has never prompted me for a passwd and puts me in as root.