[Rijeseno] Nece otvorit 192.168.1.1

Diskusije usko vezane uz Ubuntu i srodne distribucije (Kubuntu, Xubuntu, Lubuntu, LinuxMint...)

Moderator/ica: Moderatori/ce

Avatar
/Zoran\
Postovi: 376
Pridružen/a: 22 lip 2010, 16:47
Spol: M
OS: Fusion / XP
Lokacija: Selo

[Rijeseno] Nece otvorit 192.168.1.1

Post 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 :) .
Zadnja izmjena: /Zoran\, dana/u 11 pro 2010, 19:43, ukupno mijenjano 1 put.
"How come things that happen to stupid people always happen to me?" -- Homer
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: [Ubuntu] Nece otvorit 192.168.1.1

Post Postao/la glaskoncILLa »

upisi sudo route -n u terminal, pa daj output.
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
Avatar
/Zoran\
Postovi: 376
Pridružen/a: 22 lip 2010, 16:47
Spol: M
OS: Fusion / XP
Lokacija: Selo

Re: Nece otvorit 192.168.1.1

Post 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
"How come things that happen to stupid people always happen to me?" -- Homer
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Nece otvorit 192.168.1.1

Post Postao/la glaskoncILLa »

ifconfig
cat /etc/network/interfaces
dhclient eth0

koristis network manager?
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
Avatar
/Zoran\
Postovi: 376
Pridružen/a: 22 lip 2010, 16:47
Spol: M
OS: Fusion / XP
Lokacija: Selo

Re: Nece otvorit 192.168.1.1

Post 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....
"How come things that happen to stupid people always happen to me?" -- Homer
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Nece otvorit 192.168.1.1

Post 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.
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
Avatar
/Zoran\
Postovi: 376
Pridružen/a: 22 lip 2010, 16:47
Spol: M
OS: Fusion / XP
Lokacija: Selo

Re: Nece otvorit 192.168.1.1

Post 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:
"How come things that happen to stupid people always happen to me?" -- Homer
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Nece otvorit 192.168.1.1

Post 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
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
Avatar
/Zoran\
Postovi: 376
Pridružen/a: 22 lip 2010, 16:47
Spol: M
OS: Fusion / XP
Lokacija: Selo

Re: Nece otvorit 192.168.1.1

Post Postao/la /Zoran\ »

sad javlja ovo

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

opet nece...
"How come things that happen to stupid people always happen to me?" -- Homer
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: Nece otvorit 192.168.1.1

Post Postao/la glaskoncILLa »

daj opet

route -n
ifconfig
ping -c 4 192.168.1.1
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
Odgovori