Eth0 se ne poveže v lokalno mrežo
Davorin
Član
Takole, kot sem že napisal tule, imam problem z dostopom do mreže. Na LiveCD-ju je delalo BP, na inštalaciji 6.06 pa ne ...
Nastavitve
Network settings:
- Connections: eth0 active, DHCP enabled, defauult gateway device eth0 (kabel je v eth0 )
- General: hostname ubuntu, domain /
- DNS: DNS servers 192.168.1.1, Serach domains /
- Hosts: izbran ff00:00
Network tools:
- Devices: Network device eth0 ...
- IP info:
- Protocol IPv4, IP: 192.168.1.19, Netmask 255.255.255.0, Broadcast 192.168.1.255, Scope /
- Protocol IPv6, IP adress fe........., Netmask 64, Broadcast /, Scope Link
- Interface info:
- Multicast enabled, MTU 1500, Link speed not available, State active
Točno tko je blo tut v LiveCD bootu, samo da je LInk speed bil
Nastavitve
Network settings:
- Connections: eth0 active, DHCP enabled, defauult gateway device eth0 (kabel je v eth0 )
- General: hostname ubuntu, domain /
- DNS: DNS servers 192.168.1.1, Serach domains /
- Hosts: izbran ff00:00
Network tools:
- Devices: Network device eth0 ...
- IP info:
- Protocol IPv4, IP: 192.168.1.19, Netmask 255.255.255.0, Broadcast 192.168.1.255, Scope /
- Protocol IPv6, IP adress fe........., Netmask 64, Broadcast /, Scope Link
- Interface info:
- Multicast enabled, MTU 1500, Link speed not available, State active
Točno tko je blo tut v LiveCD bootu, samo da je LInk speed bil
Komentarji
ker vcasih se zgodi, ce na roke popravlas, da je kak typo pol pa ne dela !
PS: Kaj ti pinganje oz. traceroute vrne?
Ping vrne Destination Host Unreachable ... (čudno je, da se mi je spet za minuto povezal enkrat ... sem že prišel na Ubuntu.si, potem je pa spet vse dol padlo).
A sem omenil, da sem totalen linux noob ...
sudo dhclient eth0
al pa
sudo ifconfig eth0 up
oziroma
sudo ifconfig eth0 down za dol
Ahm pa mislim da je port 53 treba odpret za DHCP
pa poskusi pingat 192.168.1.1 pa povej kaj ti vrne
LP
dhcp uporablja 67 in 68
ubuntu@ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:80:AD:17:06:D9
inet addr:192.168.1.19 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::280:adff:fe17:6d9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:267 errors:0 dropped:0 overruns:0 frame:0
TX packets:250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:267202 (260.9 KiB) TX bytes:28327 (27.6 KiB)
Interrupt:169 Base address:0xdc00
eth1 Link encap:Ethernet HWaddr 00:08:A1:36:89:D2
inet6 addr: fe80::208:a1ff:fe36:89d2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2520 (2.4 KiB)
Interrupt:177 Base address:0xe000
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:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:372 (372.0 b) TX bytes:372 (372.0 b)
A mislite, da je problem, ker imam dve + še wireless?!
Še vedno mi je čudno, da na live CDju dela mreža, internet, vse ... ko pa inštaliram je pa nekaj močno narobe.
drugace pa mors pazit pri dveh merznih v istem racunalniku, da jih nimas na istem subnetu, ker ce recimo das eni ip 192.168.1.1 in drugi 192.168.1.2 mreza nebo delala !
eth0 Link encap:Ethernet HWaddr 00:80:AD:17:06:D9
inet addr:192.168.1.20 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::280:adff:fe17:6d9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32 errors:179 dropped:0 overruns:0 frame:0
TX packets:4 errors:12 dropped:0 overruns:0 carrier:12
collisions:0 txqueuelen:1000
RX bytes:4142 (4.0 KiB) TX bytes:300 (300.0 KiB)
Interrupt:169 Base address:0xdc00
eth1 Link encap:Ethernet HWaddr 00:08:A1:36:89:D2
inet6 addr: fe80::208:a1ff:fe36:89d2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2520 (2.4 KiB)
Interrupt:177 Base address:0xe000
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:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:976 (976.0 b) TX bytes:976 (976.0 b)
cat /etc/network/interfaces
to vrne meni:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
drugace pa prestav na static .. oz nek takega kt mam jaz pa probi se 1x...