opat pripojenie

Sekcia: Konfigurácia 09.09.2006 | 18:59
Avatar lazzio F16  Používateľ
zdravim,mam linux 2 dni a 2 dni sa nemozem pripojit na web,,distribucia Kubuntu 6.06,KDE, - po nainstalovani a vytvoreni root konta,som zadal cez system settings-> network settings a tam po kliknuti na administration mode nasledne hesla--> configuration ethernet-> zadal som IP,MASK,GW,Broadcast, tiez som do terminalu zadal prikazy sudo ifconfig eth0 IP nemastk 255.255.255.0 sudo route add defalt gw 172.27.46.254 vypisalo : network unreachable,, dalej som pozrel subor /etc/network/intefaces vsekty mnou zadane hodnoty sedia,, dalej som zadal do terminalu: ping 172.27.49.35 vypisalo: 64 bytes from IP: icmp_seq=35 ttc=64 time=0.532 a skakalo to pod seba rozne times -pustim web browser,zadam link a nejde :( , este pre kompletnost, pri instalacii pri procese: "Scanning the security updates repository" ,vyhodil okno: "Cannot access security updates" klikol som oK a pokracovalo to dalej, , ospravedlnujem sa ze zakladam new thread, ale po precitani dotazov som tam riesenie na moj problem nenasiel, vopred dakujem
$ € £ > /dev/null ; fg human_mind [1] zazen
    • Re: opat pripojenie 09.09.2006 | 02:31
      lazzio   Návštevník
      este opisem ten interfaces subor: auto lo iface lo inet loopback adress 172.0.01 netmask 255.0.0.0 auto eth0 iface eth0 inet static adddress 172.27.49.69 netmask 255.255.255.0 gatweway 172.27.49.254 auto eth1 iface eth1 inet dhcp auto eth2 iface eth2 inet dhpc auto ath0 iface ath0 inet dhcp auto wlan0 iface wlan0 inet dhcp ,kamarati mi este aj dns radili ze mam zadat,ale kde je to dns ? ak viete dakujem za radu
      • Re: Re: opat pripojenie 09.09.2006 | 05:31
        Avatar borg Fedora  Administrátor
        >vypisalo : network unreachable,, si na rovnakom subnete ako je router? ip dns serverov sa davaju do /etc/resolv.conf v tvare nameserver xxx.xxx.xxx.xxx
        • Re: Re: Re: opat pripojenie 09.09.2006 | 10:40
          lazzio   Návštevník
          moc dik,,dns to vyriesilo.
          • Re: Re: Re: Re: opat pripojenie 09.09.2006 | 14:44
            lazzio   Návštevník
            nechcem zakladat novy topic,tak to dam tu problem: "slovencina" kubuntu 6.06 ,KDE m moje pokusy: 1. do terminalu som zadal ako root: # apt-get update # apt-get install kde-i18n-sk openoffice.org-l10n-sk language-pack-sk language-pack-sk-base nic sa nedialo 2. cez ADEPT som do search zadal: slovak,,,,nic nenaslo 4.do temrinalu som zadaval: locale vypisalo LNG=enSK AU.UTF-8 LANGUAGE=en_AU:en LC_CTYPE="en_AU.UTF-8" LC_NUMERIC="en_AU.UTF-8" LC_TIME="en_AU.UTF-8" LC_COLLATE="en_AU.UTF-8" LC_MONETARY="en_AU.UTF-8" LC_MESSAGES="en_AU.UTF-8" LC_PAPER="en_AU.UTF-8"" LC_NAME="en_AU.UTF-8" LC_ADDRESS="en_AU.UTF-8" LC_TELEPHONE="en_AU.UTF-8" LC_MEASUREMENT="en_AU.UTF-8" LC_IDENTIFICATION="en_AU.UTF-8" LC_ALL= dakujem
            • Re: Re: Re: Re: Re: opat pripojenie 09.09.2006 | 15:01
              ---   Návštevník
              nastavoval si repozitare v tom adepte alebo v konzole? je to v /etc/apt/sources.list internet ti funguje?
              • Re: Re: Re: Re: Re: Re: opat pripojenie 09.09.2006 | 15:15
                lazzio   Návštevník
                internet uz ide,,, no ale tvojej otazke nerozumiem, ,resp. slovu repozitare:( sry,mam kubuntu druhy den ,) mozes mi to nejako inak napisat,,fakt dik,,slovencina by sa zisla vdaka
                • Re: Re: Re: Re: Re: Re: Re: opat pripojenie 09.09.2006 | 15:17
                  lazzio   Návštevník
                  sources.list : Line commented out by installer because it failed to verify: #deb http://sk.archive.ubuntu.com/ubuntu/ dapper main restricted # Line commented out by installer because it failed to verify: #deb-src http://sk.archive.ubuntu.com/ubuntu/ dapper main restricted ## Major bug fix updates produced after the final release of the ## distribution. # Line commented out by installer because it failed to verify: #deb http://sk.archive.ubuntu.com/ubuntu/ dapper-updates main restricted # Line commented out by installer because it failed to verify: #deb-src http://sk.archive.ubuntu.com/ubuntu/ dapper-updates main restricted ## Uncomment the following two lines to add software from the 'universe' ## repository. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. # deb http://sk.archive.ubuntu.com/ubuntu/ dapper universe # deb-src http://sk.archive.ubuntu.com/ubuntu/ dapper universe ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://sk.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse # deb-src http://sk.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse # Line commented out by installer because it failed to verify: #deb http://security.ubuntu.com/ubuntu dapper-security main # Line commented out by installer because it failed to verify: #deb-src http://security.ubuntu.com/ubuntu dapper-security main # deb http://security.ubuntu.com/ubuntu dapper-security universe # deb-src http://security.ubuntu.com/ubuntu dapper-security universe
                  • Re: Re: Re: Re: Re: Re: Re: Re: opat pripojenie 09.09.2006 | 15:20
                    lazzio   Návštevník
                    vidis este som si spomenul pri instalacii(kubuntu 6.06) pri procese: "Scanning the security updates repository" ,vyhodil okno: "Cannot access security updates" klikol som oK a pokracovalo to dalej,
                  • Re: Re: Re: Re: Re: Re: Re: Re: opat pripojenie 09.09.2006 | 15:42
                    ---   Návštevník
                    ak je to kubuntu tak stlac alt+F2 a zadaj kdesu kwrite /etc/apt/sources.list otvori sa to ako root v kwrite a tam kde su riadky napr: #deb http://sk.archive.ubuntu.com/ubuntu/ dapper main restricted vymaz znak # na zaciatku toho riadku. Toto urob na vsetkych riadkoch. Tam kde je #deb-src to mozes nechat tak , to nebudes potrebovat ,to su zdrojaky. Ostatne riadky bez zmeny. Po uprave to uloz a daj apt-get update a potom uz instaluj co chces , aj adept by mal uz ist. Dufam ze s tym prikazom hore som sa nepomylil ,nemam KDE
                    • Re: Re: Re: Re: Re: Re: Re: Re: Re: opat pripojeni 09.09.2006 | 16:51
                      lazzio   Návštevník
                      tak vymazal som tie znaky # pri deb src som nechal,,dal som save a vyskocilo okno: " Error - Kate" The document could not be save, as it was not possible to write to file:///etc/apt/sources.list. Check that you have write access to thus file or that enough disk space is available.
                      • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: opat pripo 09.09.2006 | 16:53
                        Avatar Tomáš Srnka Barz čo, už asi všetko  Administrátor
                        musis to pustit ako root, cize stlac ALT+F2 a napis "kdesu kate /etc/apt/sources.list". Heslo zadaj svoje, potom ti to uz ulozi.
                        Dlho som robil linuxos.sk, neskôr založil vpsFree.cz, posledných pár rokov ako tech. riaditeľ vo Websupporte
                      • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: opat pripo 09.09.2006 | 16:58
                        ---   Návštevník
                        tak to neviem kde sa stala chyba. Pytalo to heslo pri otvarani? Mal si tam aj to "kdesu"? Zrejme si to nemal otvorene ako root.
                        • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: opat p 09.09.2006 | 17:17
                          lazzio   Návštevník
                          OK uz to ulozilo,,,zabudol som nato "kdesu" ,sorry, potom som zadal prikaz do terminalu: apt-get update a napisalo: E: Type 'Line' is not know on line 2 in source list /etc/apt/sources.list skusal som ulozit aj s # aj bez # pri deb src ,,,to iste stale,,,:(
                          • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: op 09.09.2006 | 17:25
                            ---   Návštevník
                            nieco mas na riadku 2, comu ten prikaz nerozumie. Zrejme staci vlozit na zaciatok znak #. Riadky kde je # na zaciatku system berie ako komentar. Ostatne su systemove. Tak sa pozri ci to mas tak.
                            • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re 09.09.2006 | 17:47
                              lazzio   Návštevník
                              prve 4 riadky : Line commented out by installer because it failed to verify: #deb http://sk.archive.ubuntu.com/ubuntu/ dapper main restricted Line commented out by installer because it failed to verify: #deb-src http://sk.archive.ubuntu.com/ubuntu/ dapper main restricted dal som nechtiac restart,,a uz mam ikonku v pravo : There is 1 update package available ale je cez nu vykricnik. -> klik na nu ale robi to iste ako pri (citaj dole) ,,chcel som skusit ci ide stiahnut cez adept slovensky balik ,klikol som na adept ,vypytal uz heslo a vyskocilo: "Could not open cache - Adept Manager" The APT Database could not be opened! This may be caused by incorrect APT configuration or some similar problem. Try running apt-setup and apt-get update in terminal and see if it helps to resolve the problem - napisal som tie dva prikaz ale nic.....ach.....
                              • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re 09.09.2006 | 17:53
                                ---   Návštevník
                                mas tam chybu: musis tam mat riadky v takomto tvare: #Line commented out by installer because it failed to verify: deb http://sk.archive.ubuntu.com/ubuntu/ dapper main restricted to znamena ze len riadky deb http://... a vsetko ostatne musi mat znak # na zaciatku riadkov takze: #Line commented... #deb-src ... a potom to pojde
                                • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re 09.09.2006 | 18:11
                                  ---   Návštevník
                                  a este jedna vec ,nikdy nemozes mat otvorene (a pouzivat) dva programy na instalaciu/aktualizaciu balikov v rovnakom case. Vypise ti to vzdy chybu ze uz mas spusteny pogram ktory pouziva apt databazu. Aj instalacia v konzole moze skoncit takouto chybou ak mas uz spusteny adept. Inac adept nie je to najlepsie co sa da "zohnat" na instalaciu balikov. V ubuntu je neporovnatelne lepsi synaptic, ktory si mozes doinstalovat ak chces.
                                  • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re 09.09.2006 | 18:28
                                    lazzio   Návštevník
                                    oukej,,dikes ,,uz to ide,,vsetko to natiahlo cez terminal,lenze ako som zadal apt-get-update natiahlo to a potom som to zadal znova, a zas to natiahlo,,a vyhodilo nejaku chybu ,,,lebo som ccel zadat apt-get install kde-i18n-sk openoffice.org-l10n-sk language-pack-sk language-pack-sk-base tiez to natiahlo,, ,, potom som nainstaloval aj tu ikonku,,,,uz ju tam nemam,,potom som dal Language support a vybral Slovak zaskrtol (ENG som tam nechal) stiahlo to, nainstaloval,,,a instalacia skoncila ze: done a podtym bolo 100% ale ziadne tlacitko ze OK,,,,tak som dal krizik,,dal restart pc a slovencina nefuguje stale..... takze ak som ta spravne pochopl adept sucasne s terminalom nemozem pouzivat na stahovanie a instalaciu ? ,len ta slovencina stale nejde:(...........
                                    • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re 09.09.2006 | 18:40
                                      lazzio   Návštevník
                                      no dal som prec eng a zaskrtol slovak a po restarte je to uz OK,je tu slovecina aj ked nie vsade,,ale to nevadi, no tak "_" diky pekne,,fakt dakujem,, nevies, da sa mat icq aj msn sucasne spustene? no ale to uz idem pohladat,,tak sa maj .este raz dik
                                      • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re 09.09.2006 | 18:59
                                        ---   Návštevník
                                        nainstaluj si radsej synaptic a zabudni na adept http://monkeyblog.org/ubuntu/installing/ je to sice o ubuntu ale synaptic funfuje aj v kubuntu
                • Re: Re: Re: Re: Re: Re: Re: opat pripojenie 09.09.2006 | 15:19
                  ---   Návštevník
                  repozitare su zdroje (adresy) odkial sa budu stahovat baliky . Tie zakladne zdroje tam su nastavene od zaciatku ,ale ked chces pridavat napr. nieco z multimedii tak uz treba doplnit tie repozitare o dalsie. skopiruj sem obsah toho sources.list
                  • Re: Re: Re: Re: Re: Re: Re: Re: opat pripojenie 09.09.2006 | 15:35
                    lazzio   Návštevník
                    tak adresy som nenastavoval,, iba zaadal slovak a enter,, ten sorce list je nad tvojim prispevkom ,dik