Ubuntu 12.10 Internet povezivanje

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

Moderator/ica: Moderatori/ce

Avatar
wedranb
Postovi: 38
Pridružen/a: 23 lis 2012, 14:35
Spol: M
OS: Arch Linux
Lokacija: Čakovec
Kontakt:

Re: Ubuntu 12.10 Internet povezivanje

Post Postao/la wedranb »

Problem je taj što ne koristim internet kod kuće pa neznam sve podatke koji mi trebaju.Trebao bih da mi još pomognete.Ispričavam se ako sam naporan al' eto. :?
I think Linux is a great thing, in the big picture. It's a great hacker's tool, and it has a lot of potential to become something more.

(c] Jamie Zawinski
Avatar
che8891
Postovi: 16
Pridružen/a: 30 ožu 2012, 13:48
Spol: M
OS: macOS Mojave
Lokacija: Pazin
Kontakt:

Re: Ubuntu 12.10 Internet povezivanje

Post Postao/la che8891 »

Koje podatke trebaš? Tko ti je provider (T-com, Iskon...)
Avatar
wedranb
Postovi: 38
Pridružen/a: 23 lis 2012, 14:35
Spol: M
OS: Arch Linux
Lokacija: Čakovec
Kontakt:

Re: Ubuntu 12.10 Internet povezivanje

Post Postao/la wedranb »

Piše mi u onom readme file-u ovako:

Kod: Označi sve


	1. Set manually
		a. Set the IP address of your machine.

			# ifconfig ethX "the IP address of your machine" 

		b. Set the IP address of DNS.

		   Insert the following configuration in /etc/resolv.conf.
		
			nameserver "the IP address of DNS"

		c. Set the IP address of gateway.

			# route add default gw "the IP address of gateway"
Neznam koji mi je internet provider.Jer sam ja smješten u učeničkom domu tako da oni to nama ne govore.Ali mislim da je t-com.
I think Linux is a great thing, in the big picture. It's a great hacker's tool, and it has a lot of potential to become something more.

(c] Jamie Zawinski
Avatar
che8891
Postovi: 16
Pridružen/a: 30 ožu 2012, 13:48
Spol: M
OS: macOS Mojave
Lokacija: Pazin
Kontakt:

Re: Ubuntu 12.10 Internet povezivanje

Post Postao/la che8891 »

U slučaju da je T-com:

Otvoriš terminal

Kod: Označi sve

sudo nano /etc/network/interfaces
Imat ćeš ovako nešto:

Kod: Označi sve

auto lo eth0
iface lo inet loopback
iface eth0 inet dynamic
A ti ćeš ovo dynamic promijenit u static i dodati adress, netmask i gateway i izgledati će ti ovako:

Kod: Označi sve

auto lo eth0
iface lo inet loopback
iface eth0 inet static
        address 192.168.1.150
        netmask 255.255.255.0
        gateway 192.168.1.1
Onda CTRL+X >> tipneš Y >> enter

Onda ćeš u terminal upisati:

Kod: Označi sve

sudo nano /etc/resolv.conf
Bit će ti prazan, a ti ćeš dodati Googleov DNS jer ne znam koji je DNS za T-com (možda netko zna pa nek napiše) ili googlaj...

Kod: Označi sve

nameserver 8.8.8.8
nameserver 8.8.4.4
Kad si gotov opet CTRL+X >> Y tipneš >> enter

Onda u terminal bubneš:

Kod: Označi sve

sudo /etc/init.d/networking restart
To bi trebalo biti to valjda..
Odgovori