Stranica: 1/3.

[Rijeseno] Nece otvorit 192.168.1.1

Postano: 22 stu 2010, 14:30
Postao/la /Zoran\
Bok, nemogu iz ubuntua pristupit routeru, ali inace internet radi, spajam se u bridge mode-u. Znaci odem u Network connections\DSL i tu Add i slozim konekciju i to sve radi. Iz XP-a mogu otvorit 192.168.1.1, ali ubuntu ne, ako tko zna i voljan je pomoci....please do :) .

Re: [Ubuntu] Nece otvorit 192.168.1.1

Postano: 22 stu 2010, 14:37
Postao/la glaskoncILLa
upisi sudo route -n u terminal, pa daj output.

Re: Nece otvorit 192.168.1.1

Postano: 22 stu 2010, 15:32
Postao/la /Zoran\
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.29.252.59 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 ppp0
0.0.0.0 172.29.252.59 0.0.0.0 UG 0 0 0 ppp0

ili slika radi lakseg pogleda
slika

Re: Nece otvorit 192.168.1.1

Postano: 22 stu 2010, 15:44
Postao/la glaskoncILLa
ifconfig
cat /etc/network/interfaces
dhclient eth0

koristis network manager?

Re: Nece otvorit 192.168.1.1

Postano: 22 stu 2010, 17:55
Postao/la /Zoran\
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0e:2e:64:69:aa
inet6 addr: fe80::20e:2eff:fe64:69aa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6756 errors:0 dropped:0 overruns:0 frame:0
TX packets:7284 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5535554 (5.5 MB) TX bytes:1100122 (1.1 MB)
Interrupt:16 Base address:0xb000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:152 errors:0 dropped:0 overruns:0 frame:0
TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11568 (11.5 KB) TX bytes:11568 (11.5 KB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:93.142.30.224 P-t-P:172.29.252.59 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:6021 errors:0 dropped:0 overruns:0 frame:0
TX packets:6545 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:5352924 (5.3 MB) TX bytes:911624 (911.6 KB)

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

$ dhclient eth0
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

da network manager, u ubuntuu kod sata ona ikona sta je nakon instalacije ili System\Preferences\Network connections, tu sam podesio vezu....

Re: Nece otvorit 192.168.1.1

Postano: 22 stu 2010, 18:54
Postao/la glaskoncILLa
sudo gedit /etc/network/interfaces

dodaj ispod svega:

Kod: Označi sve

allow-hotplug eth0
iface eth0 inet dhcp
spremi file, restartaj komp.

sudo dhclient eth0

pa pokusaj onda.

Re: Nece otvorit 192.168.1.1

Postano: 22 stu 2010, 20:15
Postao/la /Zoran\
$sudo dhclient eth0
slika

Probo sam, ali nista,
slika

samo mi se tamo gdje se inace spajam maknula moja veza i pisalo je nesto kao "no network managed", tako da sam izbriso one dvije linije iz interfaces da se mogu spojit, vjerovatno bih se mogao i onak, ali ne znam kako... :oops:

Re: Nece otvorit 192.168.1.1

Postano: 22 stu 2010, 20:35
Postao/la glaskoncILLa
da, malo cudno..

pokusaj ovako, stavi u network manager staticku adresu na eth0;

192.168.1.254
netmask 255.255.255.0
default gateway nemoj upisati nista ili ako nesto moras upisati, upisi 0.0.0.0

Re: Nece otvorit 192.168.1.1

Postano: 22 stu 2010, 21:07
Postao/la /Zoran\
sad javlja ovo

Network Timeout
The server at 192.168.1.1 is taking too long to respond.

opet nece...

Re: Nece otvorit 192.168.1.1

Postano: 22 stu 2010, 21:19
Postao/la glaskoncILLa
daj opet

route -n
ifconfig
ping -c 4 192.168.1.1