abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
    dnes 22:33 | IT novinky

    Dle plánu dnes končí služba Skype. Uživatelé mohou pokračovat v Microsoft Teams.

    Ladislav Hagara | Komentářů: 0
    dnes 21:44 | IT novinky

    Český statistický úřad rozšiřuje Statistický geoportál o Datový portál GIS s otevřenými geografickými daty. Ten umožňuje stahování datových sad podle potřeb uživatelů i jejich prohlížení v mapě a přináší nové možnosti v oblasti analýzy a využití statistických dat.

    Ladislav Hagara | Komentářů: 0
    dnes 12:33 | Zajímavý projekt

    Kevin Lin zkouší využívat chytré brýle Mentra při hraní na piano. Vytváří aplikaci AugmentedChords, pomocí které si do brýlí posílá notový zápis (YouTube). Uvnitř brýlí běží AugmentOS (GitHub), tj. open source operační systém pro chytré brýle.

    Ladislav Hagara | Komentářů: 1
    dnes 12:11 | Pozvánky

    Jarní konference EurOpen.cz 2025 proběhne 26. až 28. května v Brandýse nad Labem. Věnována je programovacím jazykům, vývoji softwaru a programovacím technikám.

    Ladislav Hagara | Komentářů: 0
    včera 21:44 | Komunita

    Na čem aktuálně pracují vývojáři GNOME a KDE Plasma? Pravidelný přehled novinek v Týden v GNOME a Týden v KDE Plasma.

    Ladislav Hagara | Komentářů: 0
    včera 14:22 | IT novinky

    Před 25 lety zaplavil celý svět virus ILOVEYOU. Virus se šířil e-mailem, jenž nesl přílohu s názvem I Love You. Příjemci, zvědavému, kdo se do něj zamiloval, pak program spuštěný otevřením přílohy načetl z adresáře e-mailové adresy a na ně pak „milostný vzkaz“ poslal dál. Škody vznikaly jak zahlcením e-mailových serverů, tak i druhou činností viru, kterou bylo přemazání souborů uložených v napadeném počítači.

    Ladislav Hagara | Komentářů: 29
    3.5. 22:33 | Nová verze

    Byla vydána nová major verze 5.0.0 svobodného multiplatformního nástroje BleachBit (GitHub, Wikipedie) určeného především k efektivnímu čištění disku od nepotřebných souborů.

    Ladislav Hagara | Komentářů: 2
    2.5. 22:22 | Komunita

    Na čem pracují vývojáři webového prohlížeče Ladybird (GitHub)? Byl publikován přehled vývoje za duben (YouTube).

    Ladislav Hagara | Komentářů: 0
    2.5. 19:11 | IT novinky

    Provozovatel čínské sociální sítě TikTok dostal v Evropské unii pokutu 530 milionů eur (13,2 miliardy Kč) za nedostatky při ochraně osobních údajů. Ve svém oznámení to dnes uvedla irská Komise pro ochranu údajů (DPC), která jedná jménem EU. Zároveň TikToku nařídila, že pokud správu dat neuvede do šesti měsíců do souladu s požadavky, musí přestat posílat data o unijních uživatelích do Číny. TikTok uvedl, že se proti rozhodnutí odvolá.

    Ladislav Hagara | Komentářů: 5
    2.5. 11:22 | Zajímavý projekt

    Společnost JetBrains uvolnila Mellum, tj. svůj velký jazykový model (LLM) pro vývojáře, jako open source. Mellum podporuje programovací jazyky Java, Kotlin, Python, Go, PHP, C, C++, C#, JavaScript, TypeScript, CSS, HTML, Rust a Ruby.

    Ladislav Hagara | Komentářů: 2
    Jaký filesystém primárně používáte?
     (58%)
     (1%)
     (8%)
     (21%)
     (4%)
     (2%)
     (2%)
     (0%)
     (1%)
     (3%)
    Celkem 525 hlasů
     Komentářů: 22, poslední dnes 10:06
    Rozcestník

    Dotaz: pripojeni k internetu pres eth a ppp na ubuntu

    3.1.2007 16:00 Roman
    pripojeni k internetu pres eth a ppp na ubuntu
    Přečteno: 566×
    Mam dva pocitace, na jednom XP home a na druhem Ubuntu 6.06. Na ubuntu mam pripojeni k internetu pres dialup (ppp0) a lokalni ethernet (eth0). Na XP mam jen ethernet. Rozhodl jsem se, ze ty dva pocitace spojim krizovym sitovym kabelem, abych mohl na internet i z XP.

    Snazil jsem se to nakonfigurovat sam a dosahl jsem dilcich uspechu, ale ne cile. Na Ubuntu jsem nastavil dhcp server a ve windows pripojeni k siti pres dhcp. To funguje dobre, windows se samy nakonfiguruji a spojeni mezi pocitaci funguje. Overeno pingem. Co mi nejde je z XP si pingnout na internet, ani na ip adresu ani na url. Pise to, ze "Vyprsel casovy limit zadosti". Potrebuji poradit, co jsem udelal spatne.

    Dekuji.

    Nastaveni /etc/dhcp3/dhcpd.conf mam toto:
    subnet 192.168.0.0 netmask 255.255.255.0 {
      range 192.168.0.100 192.168.0.200;
      option domain-name-servers 160.218.10.200, 160.218.43.200;
      option domain-name "roman-net";
      option routers 192.168.0.1;
      option broadcast-address 192.168.0.255;
      default-lease-time 600;
      max-lease-time 7200;
    }
    U option routers, kteremu nerozumim, jsem zkousel nastavit i 192.168.0.7, coz je IP aderesa eth0 Ubuntu, ale nemelo to na nic vliv.

    Firewall a NAT mam nastaveny pres firehol v /etc/firehol/firehol.conf
    version 5
    	
    interface eth0 ethernet
    	policy						drop
    	server "dns ftp samba squid dhcp http ssh icmp"	accept
    	client "ssh samba icmp"				accept
    
    interface ppp+ internet
    	policy			drop
    	client all		accept
    
    
    router ethernet2internet inface eth0 outface ppp+
    	masquerade
    	route all accept
    
    Podle tohoto je iptables nastaveno takto (iptables -L):
    Chain INPUT (policy DROP)
    target     prot opt source               destination         
    ACCEPT     all  --  anywhere             anywhere            
    in_ethernet  all  --  anywhere             anywhere            
    in_internet  all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere            state RELATED 
    LOG        all  --  anywhere             anywhere            limit: avg 1/sec burst 5 LOG level warning prefix `'IN-unknown:'' 
    DROP       all  --  anywhere             anywhere            
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination         
    in_ethernet2internet  all  --  anywhere             anywhere            
    out_ethernet2internet  all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere            state RELATED 
    LOG        all  --  anywhere             anywhere            limit: avg 1/sec burst 5 LOG level warning prefix `'PASS-unknown:'' 
    DROP       all  --  anywhere             anywhere            
    
    Chain OUTPUT (policy DROP)
    target     prot opt source               destination         
    ACCEPT     all  --  anywhere             anywhere            
    out_ethernet  all  --  anywhere             anywhere            
    out_internet  all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere            state RELATED 
    LOG        all  --  anywhere             anywhere            limit: avg 1/sec burst 5 LOG level warning prefix `'OUT-unknown:'' 
    DROP       all  --  anywhere             anywhere            
    
    Chain in_ethernet (1 references)
    target     prot opt source               destination         
    in_ethernet_dns_s1  all  --  anywhere             anywhere            
    in_ethernet_ftp_s2  all  --  anywhere             anywhere            
    in_ethernet_samba_s3  all  --  anywhere             anywhere            
    in_ethernet_squid_s4  all  --  anywhere             anywhere            
    in_ethernet_dhcp_s5  all  --  anywhere             anywhere            
    in_ethernet_http_s6  all  --  anywhere             anywhere            
    in_ethernet_ssh_s7  all  --  anywhere             anywhere            
    in_ethernet_icmp_s8  all  --  anywhere             anywhere            
    in_ethernet_ssh_c9  all  --  anywhere             anywhere            
    in_ethernet_samba_c10  all  --  anywhere             anywhere            
    in_ethernet_icmp_c11  all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere            state RELATED 
    LOG        all  --  anywhere             anywhere            limit: avg 1/sec burst 5 LOG level warning prefix `''IN-ethernet':'' 
    DROP       all  --  anywhere             anywhere            
    
    Chain in_ethernet2internet (1 references)
    target     prot opt source               destination         
    in_ethernet2internet_all_s1  all  --  anywhere             anywhere            
    in_ethernet2internet_irc_s2  all  --  anywhere             anywhere            
    in_ethernet2internet_ftp_s3  all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere            state RELATED 
    
    Chain in_ethernet2internet_all_s1 (1 references)
    target     prot opt source               destination         
    ACCEPT     all  --  anywhere             anywhere            state NEW,ESTABLISHED 
    
    Chain in_ethernet2internet_ftp_s3 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpt:ftp state NEW,ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpt:ftp-data state ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpts:1024:65535 state RELATED,ESTABLISHED 
    
    Chain in_ethernet2internet_irc_s2 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpt:ircd state NEW,ESTABLISHED 
    
    Chain in_ethernet_dhcp_s5 (1 references)
    target     prot opt source               destination         
    ACCEPT     udp  --  anywhere             anywhere            udp spt:bootpc dpt:bootps state NEW,ESTABLISHED 
    
    Chain in_ethernet_dns_s1 (1 references)
    target     prot opt source               destination         
    ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain state NEW,ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain state NEW,ESTABLISHED 
    
    Chain in_ethernet_ftp_s2 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpt:ftp state NEW,ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpt:ftp-data state ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpts:32768:61000 state RELATED,ESTABLISHED 
    
    Chain in_ethernet_http_s6 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpt:www state NEW,ESTABLISHED 
    
    Chain in_ethernet_icmp_c11 (1 references)
    target     prot opt source               destination         
    ACCEPT     icmp --  anywhere             anywhere            state ESTABLISHED 
    
    Chain in_ethernet_icmp_s8 (1 references)
    target     prot opt source               destination         
    ACCEPT     icmp --  anywhere             anywhere            state NEW,ESTABLISHED 
    
    Chain in_ethernet_samba_c10 (1 references)
    target     prot opt source               destination         
    ACCEPT     udp  --  anywhere             anywhere            udp spt:netbios-ns dpt:netbios-ns state ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            udp spt:netbios-ns dpts:32768:61000 state ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            udp spt:netbios-dgm dpt:netbios-dgm state ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            udp spt:netbios-dgm dpts:32768:61000 state ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:netbios-ssn dpts:32768:61000 state ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:microsoft-ds dpts:32768:61000 state ESTABLISHED 
    
    Chain in_ethernet_samba_s3 (1 references)
    target     prot opt source               destination         
    ACCEPT     udp  --  anywhere             anywhere            udp spt:netbios-ns dpt:netbios-ns state NEW,ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            udp spts:1024:65535 dpt:netbios-ns state NEW,ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            udp spt:netbios-dgm dpt:netbios-dgm state NEW,ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            udp spts:1024:65535 dpt:netbios-dgm state NEW,ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpt:netbios-ssn state NEW,ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpt:microsoft-ds state NEW,ESTABLISHED 
    
    Chain in_ethernet_squid_s4 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpt:3128 state NEW,ESTABLISHED 
    
    Chain in_ethernet_ssh_c9 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:ssh dpts:32768:61000 state ESTABLISHED 
    
    Chain in_ethernet_ssh_s7 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpt:ssh state NEW,ESTABLISHED 
    
    Chain in_internet (1 references)
    target     prot opt source               destination         
    in_internet_all_c1  all  --  anywhere             anywhere            
    in_internet_irc_c2  all  --  anywhere             anywhere            
    in_internet_ftp_c3  all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere            state RELATED 
    LOG        all  --  anywhere             anywhere            limit: avg 1/sec burst 5 LOG level warning prefix `''IN-internet':'' 
    DROP       all  --  anywhere             anywhere            
    
    Chain in_internet_all_c1 (1 references)
    target     prot opt source               destination         
    ACCEPT     all  --  anywhere             anywhere            state ESTABLISHED 
    
    Chain in_internet_ftp_c3 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:ftp dpts:32768:61000 state ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:ftp-data dpts:32768:61000 state RELATED,ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpts:32768:61000 state ESTABLISHED 
    
    Chain in_internet_irc_c2 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:ircd dpts:32768:61000 state ESTABLISHED 
    
    Chain out_ethernet (1 references)
    target     prot opt source               destination         
    out_ethernet_dns_s1  all  --  anywhere             anywhere            
    out_ethernet_ftp_s2  all  --  anywhere             anywhere            
    out_ethernet_samba_s3  all  --  anywhere             anywhere            
    out_ethernet_squid_s4  all  --  anywhere             anywhere            
    out_ethernet_dhcp_s5  all  --  anywhere             anywhere            
    out_ethernet_http_s6  all  --  anywhere             anywhere            
    out_ethernet_ssh_s7  all  --  anywhere             anywhere            
    out_ethernet_icmp_s8  all  --  anywhere             anywhere            
    out_ethernet_ssh_c9  all  --  anywhere             anywhere            
    out_ethernet_samba_c10  all  --  anywhere             anywhere            
    out_ethernet_icmp_c11  all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere            state RELATED 
    LOG        all  --  anywhere             anywhere            limit: avg 1/sec burst 5 LOG level warning prefix `''OUT-ethernet':'' 
    DROP       all  --  anywhere             anywhere            
    
    Chain out_ethernet2internet (1 references)
    target     prot opt source               destination         
    out_ethernet2internet_all_s1  all  --  anywhere             anywhere            
    out_ethernet2internet_irc_s2  all  --  anywhere             anywhere            
    out_ethernet2internet_ftp_s3  all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere            state RELATED 
    
    Chain out_ethernet2internet_all_s1 (1 references)
    target     prot opt source               destination         
    ACCEPT     all  --  anywhere             anywhere            state ESTABLISHED 
    
    Chain out_ethernet2internet_ftp_s3 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:ftp dpts:1024:65535 state ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:ftp-data dpts:1024:65535 state RELATED,ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:1024:65535 dpts:1024:65535 state ESTABLISHED 
    
    Chain out_ethernet2internet_irc_s2 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:ircd dpts:1024:65535 state ESTABLISHED 
    
    Chain out_ethernet_dhcp_s5 (1 references)
    target     prot opt source               destination         
    ACCEPT     udp  --  anywhere             anywhere            udp spt:bootps dpt:bootpc state ESTABLISHED 
    
    Chain out_ethernet_dns_s1 (1 references)
    target     prot opt source               destination         
    ACCEPT     udp  --  anywhere             anywhere            udp spt:domain state ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:domain state ESTABLISHED 
    
    Chain out_ethernet_ftp_s2 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:ftp dpts:1024:65535 state ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:ftp-data dpts:1024:65535 state RELATED,ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:32768:61000 dpts:1024:65535 state ESTABLISHED 
    
    Chain out_ethernet_http_s6 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:www dpts:1024:65535 state ESTABLISHED 
    
    Chain out_ethernet_icmp_c11 (1 references)
    target     prot opt source               destination         
    ACCEPT     icmp --  anywhere             anywhere            state NEW,ESTABLISHED 
    
    Chain out_ethernet_icmp_s8 (1 references)
    target     prot opt source               destination         
    ACCEPT     icmp --  anywhere             anywhere            state ESTABLISHED 
    
    Chain out_ethernet_samba_c10 (1 references)
    target     prot opt source               destination         
    ACCEPT     udp  --  anywhere             anywhere            udp spt:netbios-ns dpt:netbios-ns state NEW,ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            udp spts:32768:61000 dpt:netbios-ns state NEW,ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            udp spt:netbios-dgm dpt:netbios-dgm state NEW,ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            udp spts:32768:61000 dpt:netbios-dgm state NEW,ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:32768:61000 dpt:netbios-ssn state NEW,ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:32768:61000 dpt:microsoft-ds state NEW,ESTABLISHED 
    
    Chain out_ethernet_samba_s3 (1 references)
    target     prot opt source               destination         
    ACCEPT     udp  --  anywhere             anywhere            udp spt:netbios-ns dpt:netbios-ns state NEW,ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            udp spt:netbios-ns dpts:1024:65535 state NEW,ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            udp spt:netbios-dgm dpt:netbios-dgm state ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            udp spt:netbios-dgm dpts:1024:65535 state ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:netbios-ssn dpts:1024:65535 state ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:microsoft-ds dpts:1024:65535 state ESTABLISHED 
    
    Chain out_ethernet_squid_s4 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:3128 dpts:1024:65535 state ESTABLISHED 
    
    Chain out_ethernet_ssh_c9 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:32768:61000 dpt:ssh state NEW,ESTABLISHED 
    
    Chain out_ethernet_ssh_s7 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spt:ssh dpts:1024:65535 state ESTABLISHED 
    
    Chain out_internet (1 references)
    target     prot opt source               destination         
    out_internet_all_c1  all  --  anywhere             anywhere            
    out_internet_irc_c2  all  --  anywhere             anywhere            
    out_internet_ftp_c3  all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere            state RELATED 
    LOG        all  --  anywhere             anywhere            limit: avg 1/sec burst 5 LOG level warning prefix `''OUT-internet':'' 
    DROP       all  --  anywhere             anywhere            
    
    Chain out_internet_all_c1 (1 references)
    target     prot opt source               destination         
    ACCEPT     all  --  anywhere             anywhere            state NEW,ESTABLISHED 
    
    Chain out_internet_ftp_c3 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:32768:61000 dpt:ftp state NEW,ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:32768:61000 dpt:ftp-data state ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:32768:61000 dpts:1024:65535 state RELATED,ESTABLISHED 
    
    Chain out_internet_irc_c2 (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            tcp spts:32768:61000 dpt:ircd state NEW,ESTABLISHED 
    
    A ifconfig vypisuje tohle:
    eth0      Zapouzdření:Ethernet  HWadr 00:10:C6:DC:BB:0B  
              inet adr:192.168.0.7  Všesměr:192.168.0.255  Maska:255.255.255.0
              inet6-adr: fe80::210:c6ff:fedc:bb0b/64 Rozsah:Linka
              AKTIVOVÁNO VŠESMĚROVÉ_VYSÍLÁNÍ BĚŽÍ MULTICAST  MTU:1500  Metrika:1
              RX packets:128 errors:0 dropped:0 overruns:0 frame:0
              TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
              kolizí:0 délka odchozí fronty:1000 
              Přijato bajtů: 17238 (16.8 KiB) Odesláno bajtů: 5482 (5.3 KiB)
              Přerušení:169 
    
    eth1      Zapouzdření:Ethernet  HWadr 00:13:CE:96:24:2A  
              inet adr:192.168.1.7  Všesměr:192.168.1.255  Maska:255.255.255.0
              AKTIVOVÁNO VŠESMĚROVÉ_VYSÍLÁNÍ MULTICAST  MTU:1500  Metrika:1
              RX packets:25770 errors:0 dropped:16 overruns:0 frame:0
              TX packets:34670 errors:0 dropped:0 overruns:0 carrier:1
              kolizí:0 délka odchozí fronty:1000 
              Přijato bajtů: 204 (204.0 b) Odesláno bajtů: 432 (432.0 b)
              Přerušení:58 Vstupně/Výstupní port:0xe000 Paměť:a8401000-a8401fff 
    
    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:59 errors:0 dropped:0 overruns:0 frame:0
              TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
              kolizí:0 délka odchozí fronty:0 
              Přijato bajtů: 3740 (3.6 KiB) Odesláno bajtů: 3740 (3.6 KiB)
    
    ppp0      Zapouzdření:Point-to-Point Protokol  
              inet adr:10.176.18.17  P-t-P:10.6.6.6  Maska:255.255.255.255
              AKTIVOVÁNO POINTOPOINT BĚŽÍ NEARP MULTICAST  MTU:1500  Metrika:1
              RX packets:4729 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4836 errors:0 dropped:0 overruns:0 carrier:0
              kolizí:0 délka odchozí fronty:3 
              Přijato bajtů: 4176803 (3.9 MiB) Odesláno bajtů: 685167 (669.1 KiB)
    
    To eth1 je nepouzivana wifi.

    Odpovědi

    3.1.2007 16:32 Petr Šobáň | skóre: 80 | blog: soban | Olomouc
    Rozbalit Rozbalit vše Re: pripojeni k internetu pres eth a ppp na ubuntu
    Když je eth1 nepoužívaná proč je nahozená ? Zrušit.

    Asi budeš mět špatně nastavenej NAT, nebo nemáš default routu na ppp0 a ty pravidla luštit nebudu kvuli dvoum PC tolik pravidel na co tam jsou ?

    Takže výpis ip route musí být default na tu ppp0. (skontrolovat)

    Jinak ještě skontrolujte zda máte povolen forward
    [petr@soban ~]$ cat /proc/sys/net/ipv4/ip_forward
    1
    
    Pokud tam máte 0 tak zapsát 1.
    3.1.2007 18:55 Roman
    Rozbalit Rozbalit vše Re: pripojeni k internetu pres eth a ppp na ubuntu
    Zrusil jsem eth1, forward povolen je. Tolik pravidel nastavil firehol. Vypis ip route je:
    10.6.6.6 dev ppp0  proto kernel  scope link  src 10.176.18.17
    192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.7
    default dev ppp0  scope link
    
    3.1.2007 19:14 Petr Šobáň | skóre: 80 | blog: soban | Olomouc
    Rozbalit Rozbalit vše Re: pripojeni k internetu pres eth a ppp na ubuntu
    Tak se potom kouknot do pravidel zda se to někde není zablokované, jinak na těch windowsech nastavils tam DNS servery aby fungoval překlad jména na IP.

    Když v IE zadáš www.abclinuxu.cz tak to napíše co ?

    Co takhle firewal na windows ?
    7.1.2007 21:41 Roman
    Rozbalit Rozbalit vše Re: pripojeni k internetu pres eth a ppp na ubuntu
    Nerozumím co myslíte těmi pravidly, jaká a kde, na linuxu nebo windows? A co mám vidět nebo nevidět?

    Ve windows DNS nastaveno není, o to se přece musí postarat DHCP (navíc DNS získávám dynamicky od dialup providera při každém pripojení) a jak jsem uvedl, nejde si pingnout ani na IP adresu, takže to s tím nemá žádnou souvislost.

    IE nenapíše nic, co uvádí ping jsem již uvedl.

    Firewall ve windows je vypnutý, hodlám spoléhat na ten linuxový, který představuje bránu do internetu.
    7.1.2007 21:53 milda
    Rozbalit Rozbalit vše Re: pripojeni k internetu pres eth a ppp na ubuntu
    hele, pust si ethereal a snifuj na linuxu interfacy ať vidíš, kam to až dorazí, moc sem ty výpisy nestudoval, ale hod sem potom, kam to az dorazilo

    Založit nové vláknoNahoru

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.