19.04.2024, 13:10 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
keithp
Titel: Kano scripts explanation.  BeitragVerfasst am: 16.01.2006, 20:49 Uhr



Anmeldung: 10. Mar 2005
Beiträge: 42
Wohnort: Cheshire, England
A very basic question about Kano's scripts.

There are 38 scripts available on my installation, but I have no idea what the majority do!

I have run the Nvidia-Install, Fix-Fonts, and Fix-DPI-KDM scripts. So I know something about those. Several others I can guess what they do. But the others are a mystery.

Even with the ones I can guess at, mostly I don't know if I should run them as a matter of course.

Please, is there a simple explanation anywhere as to exactly what each script does? Then I can decide whether run any of them.

Many thanks for any enlightenment.

Keith
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
michael7
Titel:   BeitragVerfasst am: 16.01.2006, 21:09 Uhr



Anmeldung: 24. Mai 2005
Beiträge: 354
Wohnort: Nashville
Keith,

Here's a wiki page that will help some.
http://wiki.kanotix.net/CoMa.php?CoMa=InstallationNotes

There are two other pages that I know of but I don't know how much help that they will be to you.
http://kanotix.com/files/
http://wiki.kanotix.net/CoMa.php?CoMa=E ... sScripteEN

_________________
Debian Social Contract
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Crust
Titel:   BeitragVerfasst am: 16.01.2006, 21:58 Uhr



Anmeldung: 20. Okt 2005
Beiträge: 278

Here are some explanations of scripts copy and pasted from this review:
http://distrowatch.com/weekly.php?issue=20050418#review


1) apache-start.bash

Sets current IP in apache config and starts it.

2) capi-isdnconf.bash

GUI for (AVM) Adapters for dial-in via ISDN and capi

3) detect-fc.bash

Detects AVM FritzCards (runs at vt10 when CD is started)

4) detect-ltmodem.sh

Called automatically when specific Lucent Modem string is found to enable that winmodem.

5) devmap_mknod.sh

Not Joerg's script. Purpose is to create devices for devicemapper/LVM.

6) dvb-nexus

Script executed with dvb-nexus load when card found would which could be a DVB card.

7) dvb-pctvsat

Same for PCTVSat DVB cards.

Cool eagle-pppoeconf.bash

Like No. 2 above, but just for Eagle Chip-Set (AT-AR215) DSL adapters.

9) fcdsl-pppoeconf.bash

Like No. 2, just for DSL Mode.

10) fix-5b-mouse.sh

After apt-get update and hd install, run this script to enable the two additional mouse buttons of a 5-button usb mouse (ps2 connected you need manual changes to /etc/X11/XF86Config-4). Then you can use BACK/FORWARD in a web browser just like Windows.

11) fix-dpi-kdm.bash

Sets preferred DPI setting for X. 72 is what is used from CD or by the installer. 100 is default of that script (useful for 1280x1024 tft displays). Use any number you want and restart X later.

12) fix-dvb-old.sh

Not Joerg's script and probably will be removed. It was used to switch between old and new dvb drivers.

13) fix-dvb.sh

Similar to No. 12, just for new drivers.

14) fix-motd.sh

Changes the message of the day - updated kernel info.

15) fix-ssh.sh

Not really needed as the installer does it or ssh start, but creates the needed keys.

16) fix-time.sh

Connects to timeserver and sets time and sets startup links for ntpdate (usefull after tzsetup).

17) fix-xv-local.bash

Special purpose script if you have xv problems with nvidia driver and apps like xawvt. Must not be executed as root but as standard user (local is the keyword for that).

1Cool get-resume-partition.sh

Finds swap partitions which are bigger than 1.5 times ram size for usage with suspend (and suspend 2). Updates /boot/grub/menu.lst. Reboot required after change.

19) install-chkrootkit-local.sh

Demo script to update chkroot in live mode (not as root).

20) install-f-prot-local.sh

Live installer for f-prot. Even better, in a browser enter: klik://f-prot

21) install-kernel-source-vanilla.sh

Downloads and patches the kernel sources matching the current kernel. With manual changes you can use it for any kernel ever created for Kanotix.

22) install-nvidia-debian.sh

Installs nvidia drivers. Use with sudo in live mode or login to vt1 (ctrl-alt-f1) after hd install.

23) install-radeon-debian.sh

Same as No. 22 but install radeon drivers for radoen 8500 and up. Required for 3D for 9500 and up.

24) install-xmbmon.sh

Demo script that works as root + local to download + compile (x)mbmon with small patching.

25) kanotix-irc.sh

Enters Kanotix irc channel (even in text mode).

26) make-qt-deb.sh

Demo script to create deb packages automated (well right now the headers are removed, but could be installed using this list):

http://kanotix.com/files/fix/remove-devel.txt

apt-get install $(<remove-devel.txt)

27) masquerade.sh

Sample script to enable NAT on ppp0, could be easily changed.

2Cool my-pppconf.bash

Like No. 2, for standard modems

29) my-pppoeconf.bash

Replacement for pppoeconf.

30) qcset

No script, it's a tool from the quickcam driver.

31) remove-bad-links.sh

Internal use basically for removing bad links when mastering a CD.

32) remove-gateway.sh

Small script to remove gateway entry in /etc/network/interfaces - main cause of internet problems.

33) remove-orphans.sh

Removes all rests from not fully-removed tools.

34) speedtouch-pppoatmconf.bash

One variant of speedtouch DSL GUI for dial-in (the preferrd one).

35) speedtouch-pppoeconf.bash

Older variant, if No. 34 does not work.

36) update-scripts-kanotix.sh

Keeps installed scripts up-to-date.

37) wepkey

Not Joerg's script. A simple tool to get the hex key from a passphrase for WEP.

3Cool xi

Starts xine with dvb as input. Useless now - as Kaffeine can use DVB directly - so it will be removed in the next release.

A special note: You can run the 3D driver install scripts directly in live mode:

sudo install-nvidia-debian.sh
or
sudo install-radeon-debian.sh
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
slh
Titel:   BeitragVerfasst am: 16.01.2006, 22:14 Uhr



Anmeldung: 16. Aug 2004
Beiträge: 1905

And even more, all scripts that are remotely useful on any recent (<= 1 year) Kanotix version are already included, either in packaged form or updateable through update-scripts-kanotix.sh (this only affects graphics drivers and the kernel source script nowadays or in other words stuff that might be updated in live mode w/o unionfs) - all other scripts listed on that page are not supposed to be run on a contemporary kanotix and might even do harm.


Zuletzt bearbeitet von slh am 16.01.2006, 22:18 Uhr, insgesamt ein Mal bearbeitet
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
devil
Titel:   BeitragVerfasst am: 16.01.2006, 22:16 Uhr
Team Member
Team Member


Anmeldung: 06. Mai 2005
Beiträge: 3087
Wohnort: berlin
rich,
dont use that script. come to irc #kanotix for help on that

greetz
devil

_________________
<<We are Xorg - resistance is futile - you will be axximilated>>

Host/Kernel/OS "devilsbox" running[2.6.19-rc1-git5-kanotix-1KANOTIX-2006-01-RC4 ]
CPU Info AMD Athlon 64 3000+ clocked at [ 803.744 MHz ]
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 16.01.2006, 23:51 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
Does

10) fix-5b-mouse.sh

After apt-get update and hd install, run this script to enable the two additional mouse buttons of a 5-button usb mouse (ps2 connected you need manual changes to /etc/X11/XF86Config-4). Then you can use BACK/FORWARD in a web browser just like Windows.

work for this version?
2.6.14-kanotix-8 #1 PREEMPT Fri Dec 23 01:26:21 CET 2005 i686 GNU/Linux

I don't have a XF86Config-4 file. I have X.org ver 11.0.
root@WorldsEnd:/home/joyboy# cat /etc/X11/XF86Config-4
cat: /etc/X11/XF86Config-4: No such file or directory

Would I need to make manual changes somewhere?

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
arcturus
Titel:   BeitragVerfasst am: 17.01.2006, 01:43 Uhr



Anmeldung: 29. Mar 2005
Beiträge: 32

slh hat folgendes geschrieben::
And even more, all scripts that are remotely useful on any recent (<= 1 year) Kanotix version are already included.

Where?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Kano
Titel:   BeitragVerfasst am: 17.01.2006, 08:42 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16785

Just strip the .sh or .bash part and use em.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
keithp
Titel:   BeitragVerfasst am: 17.01.2006, 13:35 Uhr



Anmeldung: 10. Mar 2005
Beiträge: 42
Wohnort: Cheshire, England
Thanks all, for your replies and the information.

I'm reading through all of them and looking at the various URLs mentioned.

Your replies are very much appreciated.

Cheers

Keith
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
DeepDayze
Titel:   BeitragVerfasst am: 28.05.2006, 20:34 Uhr



Anmeldung: 08. Dez 2005
Beiträge: 300

where can I get a copy of script kanotix-irc.sh? My copy disappeared
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 28.05.2006, 21:37 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
10) fix-5b-mouse.sh

After apt-get update and hd install, run this script to enable the two additional mouse buttons of a 5-button usb mouse (ps2 connected you need manual changes to /etc/X11/XF86Config-4). Then you can use BACK/FORWARD in a web browser just like Windows.

I ran fix-5b-mouse & there was no change after restarting X with my back/forwards side buttons. I don't have a XF86Config-4 file to edit, so wassup wi dat? & can I get them to work? I've asked this before I think.

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
markb
Titel:   BeitragVerfasst am: 28.05.2006, 23:30 Uhr



Anmeldung: 09. Aug 2004
Beiträge: 121
Wohnort: Brisbane Australia
2radical, I simply changed my mouse section in xorg.conf to use the new 6.9/7.0 evdev driver, i.e.:

Code:

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "evdev"
        # Work out the following eventX via "cat /proc/bus/input/devices"
        Option          "Device" "/dev/input/event2"
EndSection

Nothing else is needed (i.e. no xmodmap, no imwheel, no application bindings, etc). All the buttons on my mouse are now automatically working.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 29.05.2006, 00:57 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
Oh how groovy--I used nano to edit xorg.conf to config the mouse, restart X as suggested, & VOILA! the next thing I know I'm in text mode & can't restart X with init 5 , so now I'm here using PC Linux OS Live -CD to get online to post. (I have a Kanotix CD, but thought I'd try this out) Watta bunch of BS!!
So......my question is now, how in the h*** do I restart X so I can have my Kanotix GUI back? Startx command doesn't work, init 5 doesn't work, so WTF is goin on? Obviously the script doesn't work to config the mouse, much less my editing xorg.conf, & even much less I can't even log in. I may as well be using windows ME for all the BS this has caused.....

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
markb
Titel:   BeitragVerfasst am: 29.05.2006, 06:48 Uhr



Anmeldung: 09. Aug 2004
Beiträge: 121
Wohnort: Brisbane Australia
You didn't keep a copy of your original xorg.conf? That's rule #1 when stuffing around with X.

I guess you could boot off the kanotix CD and let it auto-generate a conf file for you. Then, from the live CD terminal prompt:

Code:

% sudo mount -o rw /dev/hdXX
% sudo cp /etc/X11/XF86Config-4 /media/hdXX/etc/X11/xorg.conf


then reboot to your HD installation.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
op4latino
Titel:   BeitragVerfasst am: 29.05.2006, 08:18 Uhr



Anmeldung: 18. Jul 2005
Beiträge: 293
Wohnort: EST US
or boot your kanotix installation as usual. In grub put 2, just to make SURE you're totally out of X. and then:
Code:
# dpkg-reconfigure xserver-xorg
and answer the questions
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 29.05.2006, 23:14 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
Yes I did have a copy of original xorg.conf & there were 2 other backups which I used to replace sections which made no difference. I did the dpkg-reconfigure, but got error messages that not updating because X file had been customized. However I eventually did get my settings back by using startx as regular user rather than root & replacing the xorg.conf with a backup. Since then I've been dealing with other issues like no sound, missing logout K menu items, etc.. Running a mouse script shouldn't have caused this IMHO.

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 01.06.2006, 01:57 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
A simple reboot (Ctrl+Alt+Del) returned my desktop to near it's original state after installing libasound2, & etc.
I don't recommend anybody to use the mouse script because it makes a host of changes installing things that screws up a lot of things. At least it did on my box, & it still didn't give the mouse ability to go back & forwards like it was supposed to, so don't use it! Even after all that headache, I still think Kanotix is a very good distribution & don't think I'll give up on it like I was ready to earlier. Fresh backups are being made...

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 01.06.2006, 02:00 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
One more thing--I hit the left side button to see what would happen & unbelievably it went to
http://www.mcdonalds.com/
That is really bizarre......I think I'll pour some superglue into the side buttons now Winken

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
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.