• úvod
  • témata
  • události
  • tržiště
  • diskuze
  • nástěnka
  • přihlásit
    registrace
    ztracené heslo?
    DELVITLinux pro zacatecniky a obycejne uzivatele (NO FLAMES!)
    DELVIT
    DELVIT --- ---
    FAJL: muzes si vyzkouset puppy linux (ma dve verze bubuntu kompatibilni a slack) a pak me docela zajimave prislo porteus a jeho aktivace a deaktivace modulu misto instalovani. zajimave maji i generovani pocatecniho iso souboru kde si navolis moznosti ktere chces a ono se ti stahne s tou lodporou - http://www.porteus.org
    DELVIT
    DELVIT --- ---
    COUDAK: u tuho druheho zalezi co pouzivas na pripojeni na to wifi.
    DANIELSOFT
    DANIELSOFT --- ---
    COUDAK: první problém by mělo řešit přidání balíčku "numlockx"
    COUDAK
    COUDAK --- ---
    jelikož je moje google-FU zřejmě slabé a nemohu nic najít. řeším problém na debian 3.16.0-4-amd64

    -Při každém zapnutí systému nemám zaplý numlock :-D (jak to udělat aby byl automaticky zaplý :-D ))
    -Při každém zapnutí PC musím opětovně zadávat heslo na připojení wifi. Mám ve stolním PC usb wifi prijimac TP-Link TL-WN722N

    a to je pro začátek co mě neuvěřitelně sere asi vše :-D Děkuji děkuji, pokorně se omlouvám od vyrušení práce a za lama dotazy. potato nemám... :-(
    RATTKIN
    RATTKIN --- ---
    YARRDESH: já mám ve skriptu wait minutu a pak nahození vpn
    je to server, který se restartuje za uherský rok, tak je to spíš pojistka. když jsem to zkoušel, tak to fungovalo.
    YARRDESH
    YARRDESH --- ---
    CHOROBA: jako pravdu diz, ono se to nejak poda. teoreticky bych si mohl pripojit router za ten eth, dat mu odpovidajici adresu a prolizt tam skrze nej. a jinak ctecka karet, dik za tip. timto tebou zavineny usly zisk vrchnimu na nadru za moji - diky moznemu reseni - nezpusobenou utratu s podekovanim solidarne zamlcim
    CHOROBA
    CHOROBA --- ---
    kurvo jedna. na nadrazce bych hned jich par loupnul ;)
    to nemas ani seriak? nebo vyndej flashku(jako fakt tu krartu, ne rum z lednicky) a uprav to ne? ;)
    YARRDESH
    YARRDESH --- ---
    CHOROBA: a to ted vyresil tak, ze jsem si smazal ten skript pro nahozeni wifiny po bootu z init.d a symlink z rc3.d, provedl update-rc.d setuprouty defaults ke spokojenosti bez zacykleni, nakopiroval zpatky do init.d skript na nahozeni wifiny a dal ho do rc3.d na posledni misto, kde se domnivam, ze se spusti, restartnul a muzu jit na pivo, nebot wifina se koukam uz nepripojila, ethernet po tomto zasahu akorat preposila wifinu a tudiz se k tomu raspberry nemam jak pripojit, nebot tu nemam zadnej hd monitor a redukci mam v praci. jdu si pogratulovat, jak jsem salamounsky vyzral nad planem na vecer a posunul ho na spravnou kolej s dymem a nadrazni restauraci
    CHOROBA
    CHOROBA --- ---
    YARRDESH: dej si ty routy tam kam patrej, do network scriptu ;)
    YARRDESH
    YARRDESH --- ---
    YARRDESH: resp musim u toho skriptu dodrzet LSB header atd, a dumat, proc ma bezet furt jako service, kdyz ho potrebuju spustit jenom jednou?
    YARRDESH
    YARRDESH --- ---
    SATAI: hele a teda v tom init.d muzou bejt jenom demoni, nebo i skripty k jednomu spusteni?
    YARRDESH
    YARRDESH --- ---
    RATTKIN: me to s crontabem a bootem nefungovalo, a nevim jestli tim, ze se crontab vykonaval pred nahozenim networkingu, a nebo tim, ze prikazy v tom skriptu potrebujou roota, coz kdyz se pusti mimo zalogovanou session, tak nevim, jak se udela. nasel jsem akorat nabadani, ze v init.d a runlevelech to jde jako SU, tak jsem po nefunkcnim crontabu zvolil tuhle cestu. me by teda jako stacilo, kdyby se k ty wifi automaticky pripojilo dle zapisu v /etc/network/interfaces, ale to nepochopitelne nedela. coz mi pripomina dalsi dotaz: kdyz se potrebuju pripojit k wpa wifine, tak v interfaces zadavam do radku wpa-psk ten (zrejme) hashklic z wpa_supplicant.conf , co mi z hesla udela wpa_passphrase , nebo tam zadavam heslo v normalni podobe? a pokud klic, mam ho davat do uvozovek? ja furt nevim, proc se mi wifi sama nenahodi. muzu sem hodit obsah interfaces a pripadne obsah toho skriptu, kterej mi ji pritom nahodi?
    SATAI
    SATAI --- ---
    YARRDESH: je to novější init

    asi napsat systemd unitu a enable. Slušný návod býval tradičně na Arch Linux wiki ;)
    YARRDESH
    YARRDESH --- ---
    SATAI: sice nevim, co to je, ale bezi to tam
    RATTKIN
    RATTKIN --- ---
    YARRDESH: já dávám crontab @boot, funguje mi to. nevím, jestli je to správné nebo špatné
    SATAI
    SATAI --- ---
    YARRDESH: se systemd?
    YARRDESH
    YARRDESH --- ---
    SATAI: kali pro arm (na raspberry). takze naka mutace debianu
    SATAI
    SATAI --- ---
    YARRDESH: jake distro?
    YARRDESH
    YARRDESH --- ---
    pic, kdyz chci, aby se mi spustil nejakej skript pri startu, a usoudil jsem, ze ho nacpu do /etc/init.d a v /etc/rc3.d na nej dam symlinkovej odkaz, tak je to spravne? nebo v init.d muzou bejt jenom demonu a v runlevelovejch adresarich mam symlinkovat na skript nekde jinde, kdyz je to jenom par prikazu pro rucni nahozeni wifi? jsem si totiz v dobry vire udelal skript na nahozeni wifi a dal ho do init.d a v runlevelu 3 s SXX cislem dostatecne pozde udelal symlink, a ac dost prapodivne, nak se mi ta wifi nakonec nahodi. akorat jsem si ted chtel presmerovat provoz z wifiny na eth0 a fungovat jako router, postupoval jsem ted podle nejakyho navodu a dostal jsem se prave do bodu, kdy jsem musel udelat 'update-rc.d setuprouty defaults' (setuprouty je nejakej skript z navodu na prohozeni routovani) a ponekud se to zblaznilo, ze ten muj skript na wifinu nedodrzuje LSB standarty pro demony. vubec nevim, kde to k tomu scriptu prislo :

    (tohle jsou setuprouty)
    #!/bin/sh
    #/etc/init.d/setuproutes
    #
    ### BEGIN INIT INFO
    # Provides: default routes for wlan0
    # Required-Start: $syslog $network
    # Required-Stop: $syslog
    # Should-Start:
    # Should-Stop:
    # X-Start-Before:
    # X-Stop-After:
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # X-Interactive: false
    # Short-Description: adjust default routes
    # Description: removes default route 192.168.2.1 adds default route 192.168.1.1
    ### END INIT INFO
    sudo route del default gw 192.168.9.1 eth0
    sudo route add default gw 192.168.8.1 wlan0


    no a takhle se to na me vydesilo po zadani commandu. kam mam teda davat spousteci skripty, pro ktery potrebuju roota a nahozeny nektery veci, takze nemuzu pouzit crone ?

    update-rc.d setuprouty defaults
    insserv: warning: script 'S06wf_nahod_sklivec' missing LSB tags and overrides
    insserv: warning: script 'wf_nahod_nusru' missing LSB tags and overrides
    insserv: warning: script 'wf_nahod_sklivec' missing LSB tags and overrides
    insserv: There is a loop between service rmnologin and mountnfs if started
    insserv: loop involving service mountnfs at depth 8
    insserv: loop involving service networking at depth 7
    insserv: There is a loop between service rmnologin and mountnfs if started
    insserv: There is a loop between service rmnologin and mountnfs-bootclean if started
    insserv: loop involving service mountnfs-bootclean at depth 11
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Starting wf_nahod_sklivec depends on rmnologin and therefore on system facility `$all' which can not be true!
    insserv: Max recursions depth 99 reached
    insserv: loop involving service saned at depth 2
    insserv: There is a loop between service rmnologin and mountkernfs if started
    insserv: loop involving service mountkernfs at depth 1
    insserv: exiting now without changing boot order!
    update-rc.d: error: insserv rejected the script header
    root@kali:/etc/init.d# ^C
    root@kali:/etc/init.d# ^C
    root@kali:/etc/init.d# missing LSB tags and overrides


    wf_nahod_sklivec a wf_nahod_nusru jsou moje skripty, nusra ani nema symlink, tu mam do zasoby na jinou wifi sit, a rmnlogin je v runlevelu 3 s cislem S04, wf_nahod_sklivec je tamtez s cislem S06. S04rmnlogin vubec netusim k cemu je a proc by na nem mel zaviset muj sklivec. jo a jaktoze maji nektery symlinky stejny poradovy S cislo? pod S04 je jich tam par, pod S03 asi pet atd ..?
    dekuji predem za rady lame, po letech utecivsi z widli
    ERGOSUM
    ERGOSUM --- ---
    SUK: v prohlížeči nízká hlasitost(téměř nic), po stažení GnomeMPlayer, ani Audacious nejsou úspěšnější a když to pro vyloučení chyby u mě pošlu na
    YouTube to mp3 Converter
    http://www.youtube-mp3.org/#v_id=hM9V14hiSZ0
    výsledek stejný.
    Hned druhé video z té série na YT bylo v pořádku.
    [ ERGOSUM @ Linux pro zacatecniky a obycejne uzivatele (NO FLAMES!) ]
    Mě z toho vychází, že to video na YT stojí za nic.
    Tak abys na něm zbytečně nemarnil čas.
    Kliknutím sem můžete změnit nastavení reklam