29.03.2024, 12:05 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Installing drivers offline

Perhaps you know the problem, someone owns a computer with Kanotix, but no internet access.
Nevertheless, that someone does not want to do without things like a 3D graphic driver, for example, whose installation script requires internet access.

To get over that hurdle, you need at least one PC with Linux (Kanotix) access to the internet. On that one, you run the desired script, as usual. Now the necessary files are located in /usr/src/.

These must simply be carried to the target computer without internet, by means of writing a CD, a pen drive, or some other removable common media.

Now you can implement the appropriate Script, as usual. You can safely ignore the error messages concerning the need to download files, the script nevertheless will continue. It will be more difficult if you have for example an ATI Radeon integrated on the first PC, whereas the goal PC is built with NVIDIA.

In order to get the 3D driver, one must simply remove the following line from the Script:
  if test -z "`lspci|grep VGA|grep -i nvidia`"; then
  echo Error: No nVidia VGA adapter found.
  exit 3
  fi

Afterwards the Script can be implemented also on a PC with a Radeon.

ATTENTION One should terminate the script (CTL+C) as soon as all needed files are downloaded, as a wrong driver for the system might otherwise be installed! If this nevertheless happens, the x-server won't work anymore. To repair this, simply enter the following as root:
# cp /etc/X11/XF86CONFIG-4.1st /etc/X11/XF86CONFIG-4
init 3  (possibly after CTL+C)
init 5
So the old configuration is now repaired, and X can be started again.

Have fun with caution.
Best wishes, Benix

PS: (Note: you have to change to init 3 to install the nvidia-driver)
XML Revisions of $tag
Seiten-History :: Letzter Editor : Richard :: Eigentümer : OffTopic ::
Powered by pnWikka 1.0
 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.