Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Internet a sítě => Téma založeno: ETNyx 22 Října 2007, 20:29:28

Název: Síť, hamachi
Přispěvatel: ETNyx 22 Října 2007, 20:29:28
Dobrý den,
Nainstaloval jsem si novou verzi ubuntu a podle navodu na www.ubuntu.cz jsem se snazil konfigurovat sit mam 2 sitove karty jedna slouzi pro pripojeni k internetu a druha k domaci siti (zatim pripojuji jen notebook na kterem je nainstalovany OS Win XP). Z pocatku sem si myslel ze to vubec nefunguje ale pak jsem si vsiml ze se pripojim k ICQ a tak sem zkusil i CS:S a jine aplikace a taky funguje. Jenze se nemuzu dostat na net pres prohlizec. Proste pise ze je server nedostupny.
Moje ifconfig
Kód: [Vybrat]
eth0      Zapouzdření:Ethernet  HWadr 00:0F:EA:FB:F1:C3 
          inet adr:89.102.148.83  Všesměr:89.102.148.255  Maska:255.255.255.0
          inet6-adr: fe80::20f:eaff:fefb:f1c3/64 Rozsah:Linka
          AKTIVOVÁNO VŠESMĚROVÉ_VYSÍLÁNÍ BĚŽÍ MULTICAST  MTU:1500  Metrika:1
          RX packets:1864 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1240 errors:0 dropped:0 overruns:0 carrier:0
          kolizí:0 délka odchozí fronty:1000
          Přijato bajtů: 1452747 (1.3 MB) Odesláno bajtů: 283689 (277.0 KB)
          Přerušení:18 Vstupně/Výstupní port:0xa000

eth1      Zapouzdření:Ethernet  HWadr 00:4F:4E:62:83:03 
          inet adr:192.168.0.1  Všesměr:192.168.0.255  Maska:255.255.255.0
          inet6-adr: fe80::24f:4eff:fe62:8303/64 Rozsah:Linka
          AKTIVOVÁNO VŠESMĚROVÉ_VYSÍLÁNÍ BĚŽÍ MULTICAST  MTU:1500  Metrika:1
          RX packets:438 errors:0 dropped:0 overruns:0 frame:0
          TX packets:259 errors:0 dropped:0 overruns:0 carrier:0
          kolizí:0 délka odchozí fronty:1000
          Přijato bajtů: 49168 (48.0 KB) Odesláno bajtů: 96524 (94.2 KB)
          Přerušení:20 Vstupně/Výstupní port:0x2000

lo        Zapouzdření:Místní smyčka 
          inet adr:127.0.0.1  Maska:255.0.0.0
          inet6-adr: ::1/128 Rozsah:Počítač
          AKTIVOVÁNO SMYČKA BĚŽÍ  MTU:16436  Metrika:1
          RX packets:53 errors:0 dropped:0 overruns:0 frame:0
          TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
          kolizí:0 délka odchozí fronty:0
          Přijato bajtů: 7796 (7.6 KB) Odesláno bajtů: 7796 (7.6 KB)
Nevite co s tim mam delat?

Druha otazka je na sit hamachi. Chtel jsem si nainstalovat nekterou z grafickych verzi ale nejak jsem je nedokazal rozchodit na 7.04 mi to slo (hamachi-gui) neni nejaky upraveny navod nebo jina aplikace ktera by sla?

Za odpoved predem dekuji
Název: Re: Síť, hamachi
Přispěvatel: 3m9d 22 Října 2007, 21:27:01
Je tedy přesná chyba ta, že prohlížeč na XP notebooku "nenajde" internet?
Nemůže být tedy chyba v jeho nastavení? (pro Firefox Nástroje->Možnosti: Rozšířené: Síť)
Název: Re: Síť, hamachi
Přispěvatel: ETNyx 23 Října 2007, 06:53:23
Ano spravne presne tento problem mam :)
Tak nejak nevim co bych tam nastavil jinak, Defalutne je nastaveno prime pripojeni (to nejde) zkusil jsem nastavit automaticky (taky nejde) a abych vypisoval proxy server zadny sem neinstaloval a pokud vim tak ubuntu v instalaci taky zadny neudelal kazdopadne sem proxy server nastavil na 192.168.0.1 a port sem ponechal 80 (taky nejde), jako posledni volba je pouziti skriptu to jsem vynechal protoze jsem vicemene jen uzivatel a skript bych tezko zplacal s nejaky navodem z netu.
Název: Re: Síť, hamachi
Přispěvatel: Pavelp 23 Října 2007, 07:40:57
Zrejme problem s nameservery, DNS. Zkuste z prohlizece pristoupit primo na IP adresu nejakeho serevru.
Název: Re: Síť, hamachi
Přispěvatel: ETNyx 23 Října 2007, 14:36:36
Jo tohle funguje pripojim se na server pomoci IP adresy jak mam tedy odstranit tento problem?
Název: Re: Síť, hamachi
Přispěvatel: Pavelp 23 Října 2007, 16:44:22
Nastavit spravne DNS server. Ovsem jak mate udelanou VPN netusim, takze neporadim. Mimoto je3stli tam mate nejaky firewall tak to muze blokovat on. Obecne musi byt nameserver pristupny pomoci route, zadava se IP adresou. Nektere odpovedi najdete na foru.
Název: Re: Síť, hamachi
Přispěvatel: viliam.kmec 24 Října 2007, 23:33:51
hamachi-gui nefunguje ani mne, ide vsak ghamachi uplne bez problemov
http://wiki.ubuntu.cz/Hamachi
Název: Re: Síť, hamachi
Přispěvatel: ETNyx 04 Listopadu 2007, 12:18:58
Zkousel jsem nainstalovat ghamachi a pri spousteni my vyhodi hlasku "Hamachi needs a TAP/TUN device driver to oprerate. Do you want tot try load 'tuncfg' whit 'sudo'?". Dam yes (co by ne ze?). System se me zepta na heslo a pak my vyhodi dalsi hlasku "TUN/TAP not found". tak sem se v tom trosku stoural a mam zhruba predstavu co to TUN/TAP je ale nedokazu nainstalovat ovladac s balickach ubuntu sem ho nenasel ale universalni ovladac sem nasel http://vtun.sourceforge.net/tun/ tak do sosnu ale nedokazu nainstalovat poradi nekdo prosim? predem dekuji
Název: Re: Síť, hamachi
Přispěvatel: 3m9d 05 Listopadu 2007, 23:05:42
Zkoušel jste před tímto zadat "sudo tuncfg" v terminálu? (vycházím teda z předpokladu, že máte nainstalované samotné hamachi... http://wiki.ubuntu.cz/Hamachi )
Název: Re: Síť, hamachi
Přispěvatel: Canis Dingo 17 Března 2008, 17:50:06
 :-\ postupuval jsem podle navodu a konzolove hamachi frci... ale ghamachi nevim jak nainstalovat ... to uz se v navodu nepise a ty soubory co jsem stahnul z ghamachi stranek uvedenych na wiki nejdou spustit nevim co s  tim mam delat... :( poradte mi nekdo pls... dekuju

jo hamachi-gui mi nefunguje ... nabehne ale je tam stale napsano starting hamachi a prd... ani se nehne....
Název: Re: Síť, hamachi
Přispěvatel: 3m9d 17 Března 2008, 23:29:22
pokud umíte alespoň trochu anglicky, tak RTFM (nechci urážet, ale je tam soubor README, tady jsem se pokusil přeložit podstatnou část...)
Instalace:
  - Rozbalte archiv
  - "Make 'ghamachi' executable" tj. "Udělejte 'ghamachi' spustitelným":
Kód: [Vybrat]
chmod +x ghamachi   (tady to asi bude chtít bejt v terminálu v adresáři, kam se rozbalovalo)
  - pro spuštění:
Kód: [Vybrat]
./ghamachi (nejspíš se dá i vytvořit spouštěč ;))


EDIT: teď jsem to zkusil, mě se to tváří, že to funguje i bez toho (spustilo se to a připojilo se to), i když trochu přehnaně minimalisticky... Možná přesněji popište problém, pokud jste uvedený postup už zkoušel... Třeba co terminál hlásí (pokud něco) ;)
Název: Re: Síť, hamachi
Přispěvatel: Canis Dingo 18 Března 2008, 08:50:58
Kód: [Vybrat]
leman@leman-laptop:~$ ./ghamachi

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gdk-WARNING **: The gdk_draw_*_image require the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap

(ghamachi:10359): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(ghamachi:10359): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(ghamachi:10359): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(ghamachi:10359): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(ghamachi:10359): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed
*** glibc detected *** ./ghamachi: free(): invalid next size (fast): 0x081fc110 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7742d65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7746800]
./ghamachi[0x805a5d4]
./ghamachi[0x805a313]
======= Memory map: ========
08048000-0805b000 r-xp 00000000 08:06 2736634    /home/leman/ghamachi
0805b000-0806e000 rwxp 00012000 08:06 2736634    /home/leman/ghamachi
0806e000-0821c000 rwxp 0806e000 00:00 0          [heap]
b7200000-b7221000 rwxp b7200000 00:00 0
b7221000-b7300000 ---p b7221000 00:00 0
b7305000-b730f000 r-xp 00000000 08:06 1015875    /lib/libgcc_s.so.1
b730f000-b7310000 rwxp 0000a000 08:06 1015875    /lib/libgcc_s.so.1
b731c000-b731e000 r-xp 00000000 08:06 494224     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b731e000-b731f000 rwxp 00001000 08:06 494224     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b731f000-b73aa000 r-xp 00000000 08:06 592854     /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b73aa000-b73b0000 r-xs 00000000 08:06 1851477    /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b73b0000-b73b3000 r-xs 00000000 08:06 1851945    /var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-x86.cache-2
b73b3000-b73b7000 r-xs 00000000 08:06 1851941    /var/cache/fontconfig/921a30a17f0be15c70ac14043cb7a739-x86.cache-2
b73b7000-b73b8000 r-xs 00000000 08:06 1851940    /var/cache/fontconfig/c69f04ab05004e31a6d5e715764f16d8-x86.cache-2
b73b8000-b73b9000 r-xs 00000000 08:06 1851938    /var/cache/fontconfig/4c73fe0c47614734b17d736dbde7580a-x86.cache-2
b73b9000-b73bc000 r-xs 00000000 08:06 1851937    /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-x86.cache-2
b73bc000-b73bd000 r-xs 00000000 08:06 1851936    /var/cache/fontconfig/75a2cd575a62c63e802c11411fb87c37-x86.cache-2
b73bd000-b73c0000 r-xs 00000000 08:06 1851933    /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
b73c0000-b73c2000 r-xs 00000000 08:06 1851930    /var/cache/fontconfig/de156ccd2eddbdc19d37a45b8b2aac9c-x86.cache-2
b73c2000-b73ca000 r-xs 00000000 08:06 1851929    /var/cache/fontconfig/e3de0de479f42330eadf588a55fb5bf4-x86.cache-2
b73ca000-b73d0000 r-xs 00000000 08:06 1851928    /var/cache/fontconfig/0f34bcd4b6ee430af32735b75db7f02b-x86.cache-2
b73d0000-b73d1000 r-xs 00000000 08:06 1851927    /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-x86.cache-2
b73d1000-b73d3000 r-xs 00000000 08:06 1851923    /var/cache/fontconfig/de9486f0b47a4d768a594cb4198cb1c6-x86.cache-2
b73d3000-b73d9000 r-xs 00000000 08:06 1851922    /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-x86.cache-2
b73d9000-b73dd000 r-xs 00000000 08:06 1851462    /var/cache/fontconfig/089dead882dea3570ffc31a9898cfb69-x86.cache-2
b73dd000-b73df000 r-xs 00000000 08:06 1851916    /var/cache/fontconfig/e13b20fdb08344e0e664864cc2ede53d-x86.cache-2
b73df000-b73e0000 r-xs 00000000 08:06 1851985    /var/cache/fontconfig/fcff1cd55d48a2c86a175e9943c3506d-x86.cache-2
b73e0000-b73e1000 r-xs 00000000 08:06 1851984    /var/cache/fontconfig/e9e44584608a73233979f764b5f9dd81-x86.cache-2
b73e1000-b73e2000 r-xs 00000000 08:06 1851980    /var/cache/fontconfig/b8613a33de00eecd32d5a94c3c617829-x86.cache-2
b73e2000-b73e5000 r-xs 00000000 08:06 1851979    /var/cache/fontconfig/b21a91cee725896328b8cee8091cf747-x86.cache-2
b73e5000-b73e8000 r-xs 00000000 08:06 1851978    /var/cache/fontconfig/fd9416c4b92f07c6f59a3a8cf496e9dc-x86.cache-2
b73e8000-b73ea000 r-xs 00000000 08:06 1851977    /var/cache/fontconfig/059138ec877db160474b4d5de1248d14-x86.cache-2
b73ea000-b73eb000 r-xs 00000000 08:06 1851976    /var/cache/fontconfig/f5a93ac943883aa0fd9a7bfe0f6ec3c1-x86.cache-2
b73eb000-b73ec000 r-xs 00000000 08:06 1851973    /var/cache/fontconfig/118d8d5311348bbdf5fe3b106d7c13d4-x86.cache-2
b73ec000-b73ed000 r-xs 00000000 08:06 1851971    /var/cache/fontconfig/a1131b7be650f9abae4907495aa5815d-x86.cache-2
b73ed000-b73f2000 r-xs 00000000 08:06 1851970    /var/cache/fontconfig/8ab5f685cd6d8ba67c37c908faf08172-x86.cache-2
b73f2000-b73f7000 r-xs 00000000 08:06 1851969    /var/cache/fontconfig/0Aborted (core dumped)
leman@leman-laptop:~$


tak tohle mi vyhodi konzole.... .) samo ze jsem si readme cetl :)..... proste to vypada ze se to nejak blbe nainstalovalo.... :(
Název: Re: Síť, hamachi
Přispěvatel: 3m9d 18 Března 2008, 13:19:43
A co používáte za verzi ubuntu a kterou verzi ghamachi jste si stáhnul?
Název: Re: Síť, hamachi
Přispěvatel: Canis Dingo 18 Března 2008, 22:33:33
verze ubuntu: 7.10
verze programu: Hamachi Client (0.7.2 beta) - Beach
Název: Re: Síť, hamachi
Přispěvatel: 3m9d 20 Března 2008, 12:40:07
a gHamachi pro GTK 1.2 (špatně) nebo 2.0 (správně)?
Název: Re: Síť, hamachi
Přispěvatel: Canis Dingo 21 Března 2008, 13:08:39
 ;D bohuzel ta prvni cili špatná verze .) dik za radu jdu to testnout .
Název: Re: Síť, hamachi
Přispěvatel: pancho.villa 22 Března 2008, 04:23:18
ach to hamachi tez s nim mam problem ovsem ne ze spoustenim ani instalovanim . bez problemu mam nainstalovane a tez je spustim hamachi-gui a qhamachi , do site se pripojim ,ale problem je ten ze tim to konci -- mate nekdo skusenosti ze sdilenim souboru pres hamachi ? funguje vam to sdileni nekomu ? me se nedari prohlizet soubory venku a nejde prohlizet ani soubory u me . chyba je kde??
dik
Název: Re: Síť, hamachi
Přispěvatel: 3m9d 23 Března 2008, 03:26:25
Tady bohužel znova a znova platí, že hra se na síti najde a sdílené soubory se ztratí.... Myslím, že si můžete počínat stejně, jako když sdílení nefunguje přes běžnou síť (přidat sdílenou složku, ...). Ještě by mohla být podstatná informace jak sdílíte (Ubuntu-Windows, Ubuntu-Ubuntu samba/unixově)? A případně jestli vám na místní síti (pokud ji máte) sdílení funguje :P Jinak teda hodně štěstí, já jsem zatím přes hamachi v Ubuntu nic nenasdílel :(

CanisDingo: Super :)
Název: Re: Síť, hamachi
Přispěvatel: pancho.villa 23 Března 2008, 08:31:57
nefunguje zadny zdileni ani linux-wokna ani wokna-wokna ani linux-linux. jediny co jde tak ze z linuxu vidim ze nejaky slozky ke zdileni sou ale kdyz se do nich pokusim vstoupit tak mi po chvilce vyskoci hlaska ze soubor neexistuje nebo tak neco.
takze hamachi nycht-mocht . asi bude na ty hry a to ja moc nepestuju.
cau
Název: Re: Síť, hamachi
Přispěvatel: 3m9d 23 Března 2008, 17:50:42
Já jsem kdysi úspěšně sdílel wokna-wokna, jde o nastavení Hamachi, ale fakt nevim jak, já přes to pěstuju OpenTTD :P