ne otvara se ni jedna webstranica?
Moderator/ica: Moderatori/ce
Re: ne otvara se ni jedna webstranica?
ne razumijem ovu priču o mrežama.
----
evo route -n:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
----
evo route -n:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
...učim...
- glaskoncILLa
- Postovi: 5678
- Pridružen/a: 28 vel 2009, 16:36
Re: ne otvara se ni jedna webstranica?
ok, sad uredi /etc/network/interfaces da izgledaju ovako;
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
mtu 1400
allow-hotplug eth1
iface eth1 inet static
address 192.168.10.1
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
saveaj file, nakon toga napravi sudo /etc/init.d/networking restart.
u tom trenutku ces vjerovatno izgubiti konekciju na net koja ce se vratiti kad napravis dhclient eth0, nisam siguran da li ti ispred toga treba sudo ili ne, ako ne radi bez sudo, napravi sa sudo.
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
mtu 1400
allow-hotplug eth1
iface eth1 inet static
address 192.168.10.1
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
saveaj file, nakon toga napravi sudo /etc/init.d/networking restart.
u tom trenutku ces vjerovatno izgubiti konekciju na net koja ce se vratiti kad napravis dhclient eth0, nisam siguran da li ti ispred toga treba sudo ili ne, ako ne radi bez sudo, napravi sa sudo.
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
..It’s that time of the decade: I’m reinstalling Debian..
Re: ne otvara se ni jedna webstranica?
konekcija se ne vraća 
evo me opet na nerbooku.
kada kliknem na ikonu kaže: device is unmanaged
vidim u terminalu da kaže : renewal in 39987 secons
znači li to da će proraditi nakon tih sekundi?
evo me opet na nerbooku.
kada kliknem na ikonu kaže: device is unmanaged
vidim u terminalu da kaže : renewal in 39987 secons
znači li to da će proraditi nakon tih sekundi?
...učim...
- glaskoncILLa
- Postovi: 5678
- Pridružen/a: 28 vel 2009, 16:36
Re: ne otvara se ni jedna webstranica?
jeb* ikonu..
daj upisi;
- ping google.com
- cat /etc/network/interfaces
- ifconfig
- route -n
- dhclient eth0
i sve copy-pasetaj tu.
daj upisi;
- ping google.com
- cat /etc/network/interfaces
- ifconfig
- route -n
- dhclient eth0
i sve copy-pasetaj tu.
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
..It’s that time of the decade: I’m reinstalling Debian..
Re: ne otvara se ni jedna webstranica?
sudo dhclient eth0
[sudo] password for niksasrsen:
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:22:64:64:2a:b0
Sending on LPF/eth0/00:22:64:64:2a:b0
Sending on Socket/fallback
DHCPREQUEST of 192.168.1.2 on eth0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.1.2 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.2 from 192.168.1.1
bound to 192.168.1.2 -- renewal in 39987 seconds.
niksasrsen@niksasrsen-laptop ~ $ ping google.com
PING google.com (74.125.127.100) 56(84) bytes of data.
64 bytes from pz-in-f100.google.com (74.125.127.100): icmp_seq=1 ttl=54 time=201 ms
64 bytes from pz-in-f100.google.com (74.125.127.100): icmp_seq=2 ttl=54 time=198 ms
64 bytes from pz-in-f100.google.com (74.125.127.100): icmp_seq=3 ttl=54 time=202 ms
64 bytes from pz-in-f100.google.com (74.125.127.100): icmp_seq=4 ttl=54 time=196 ms
64 bytes from pz-in-f100.google.com (74.125.127.100): icmp_seq=5 ttl=54 time=197 ms
^C
--- google.com ping statistics ---
6 packets transmitted, 5 received, 16% packet loss, time 5019ms
rtt min/avg/max/mdev = 196.964/199.186/202.183/2.252 ms
niksasrsen@niksasrsen-laptop ~ $ cat /etc/network/interfaces
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
mtu 1400
allow-hotplug eth1
iface eth1 inet static
address 192.168.10.1
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
niksasrsen@niksasrsen-laptop ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr 00:22:64:64:2a:b0
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1285 errors:0 dropped:0 overruns:0 frame:0
TX packets:280 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:92393 (92.3 KB) TX bytes:34275 (34.2 KB)
Memory:e4600000-e4620000
eth1 Link encap:Ethernet HWaddr 00:21:00:81:bd:2e
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:1
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3488 (3.4 KB) TX bytes:3488 (3.4 KB)
niksasrsen@niksasrsen-laptop ~ $ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
niksasrsen@niksasrsen-laptop ~ $ dhclient eth0
There is already a pid file /var/run/dhclient.pid with pid 6027
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
can't create /var/lib/dhcp3/dhclient.leases: Permission denied
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCSIFFLAGS: Permission denied
Open a socket for LPF: Operation not permitted
[sudo] password for niksasrsen:
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:22:64:64:2a:b0
Sending on LPF/eth0/00:22:64:64:2a:b0
Sending on Socket/fallback
DHCPREQUEST of 192.168.1.2 on eth0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.1.2 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.2 from 192.168.1.1
bound to 192.168.1.2 -- renewal in 39987 seconds.
niksasrsen@niksasrsen-laptop ~ $ ping google.com
PING google.com (74.125.127.100) 56(84) bytes of data.
64 bytes from pz-in-f100.google.com (74.125.127.100): icmp_seq=1 ttl=54 time=201 ms
64 bytes from pz-in-f100.google.com (74.125.127.100): icmp_seq=2 ttl=54 time=198 ms
64 bytes from pz-in-f100.google.com (74.125.127.100): icmp_seq=3 ttl=54 time=202 ms
64 bytes from pz-in-f100.google.com (74.125.127.100): icmp_seq=4 ttl=54 time=196 ms
64 bytes from pz-in-f100.google.com (74.125.127.100): icmp_seq=5 ttl=54 time=197 ms
^C
--- google.com ping statistics ---
6 packets transmitted, 5 received, 16% packet loss, time 5019ms
rtt min/avg/max/mdev = 196.964/199.186/202.183/2.252 ms
niksasrsen@niksasrsen-laptop ~ $ cat /etc/network/interfaces
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
mtu 1400
allow-hotplug eth1
iface eth1 inet static
address 192.168.10.1
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
niksasrsen@niksasrsen-laptop ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr 00:22:64:64:2a:b0
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1285 errors:0 dropped:0 overruns:0 frame:0
TX packets:280 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:92393 (92.3 KB) TX bytes:34275 (34.2 KB)
Memory:e4600000-e4620000
eth1 Link encap:Ethernet HWaddr 00:21:00:81:bd:2e
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:1
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3488 (3.4 KB) TX bytes:3488 (3.4 KB)
niksasrsen@niksasrsen-laptop ~ $ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
niksasrsen@niksasrsen-laptop ~ $ dhclient eth0
There is already a pid file /var/run/dhclient.pid with pid 6027
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
can't create /var/lib/dhcp3/dhclient.leases: Permission denied
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCSIFFLAGS: Permission denied
Open a socket for LPF: Operation not permitted
...učim...
- glaskoncILLa
- Postovi: 5678
- Pridružen/a: 28 vel 2009, 16:36
Re: ne otvara se ni jedna webstranica?
problem je opet u mtu-u, ovo nije upalilo..
khm, da sad ne istrazujemo i pisemo razne djdije, rijesiti cemo to na quick&dirty nacin, nije bas po ps-u, ali ce raditi, ali daj mi reci da li ti radi ifconfig eth0 mtu 1400 bez sudo?
khm, da sad ne istrazujemo i pisemo razne djdije, rijesiti cemo to na quick&dirty nacin, nije bas po ps-u, ali ce raditi, ali daj mi reci da li ti radi ifconfig eth0 mtu 1400 bez sudo?
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
..It’s that time of the decade: I’m reinstalling Debian..
Re: ne otvara se ni jedna webstranica?
upisao sam ifconfig eth0 mtu 1400
i kaže OPERATION NOT PERMITTED. znači ne radi , pretpostavljam
i onda sam upisao sudo ifconfig eth0 mtu 1400 tako da lakše baratam.
i radi
a ikona je i dalje bezveze "device is unmanaged"
i kaže OPERATION NOT PERMITTED. znači ne radi , pretpostavljam
i onda sam upisao sudo ifconfig eth0 mtu 1400 tako da lakše baratam.
i radi
a ikona je i dalje bezveze "device is unmanaged"
...učim...
- glaskoncILLa
- Postovi: 5678
- Pridružen/a: 28 vel 2009, 16:36
Re: ne otvara se ni jedna webstranica?
u /etc/network/interfaces zamijeni mtu 1400 sa pre-up /sbin/ifconfig eth0 mtu 1400, testirao sam, ovo radi.
nakon toga rebootaj komp.
nakon toga rebootaj komp.
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
..It’s that time of the decade: I’m reinstalling Debian..
Re: ne otvara se ni jedna webstranica?
oprosti, gdje je taj /etc/network/interfaces ?
znam , možda zvuči vrlo glupo, ali meni je puno glava brojki i slova i niš ne kužim.
znam , možda zvuči vrlo glupo, ali meni je puno glava brojki i slova i niš ne kužim.
...učim...
Re: ne otvara se ni jedna webstranica?
a u međuvremenu sam probao ovo , i to ne radi:
niksasrsen@niksasrsen-laptop ~ $ pre-up /sbin/ifconfig eth0 mtu 1400
bash: pre-up: command not found
niksasrsen@niksasrsen-laptop ~ $ sudo pre-up /sbin/ifconfig eth0 mtu 1400
sudo: pre-up: command not found
niksasrsen@niksasrsen-laptop ~ $ pre-up /sbin/ifconfig eth0 mtu 1400
bash: pre-up: command not found
niksasrsen@niksasrsen-laptop ~ $ sudo pre-up /sbin/ifconfig eth0 mtu 1400
sudo: pre-up: command not found
...učim...