Instalacja ubuntu 9.04

Powinien ale nie hula :stuck_out_tongue_winking_eye:

Dam tutaj dodatkowe dane może coś pomogą:

ifconfig:

ubuntu@ubuntu:~$ ifconfig

eth0 Link encap:Ethernet HWaddr 00:13:8f:67:58:03  

          inet6 addr: fe80::213:8fff:fe67:5803/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

          RX packets:164 errors:0 dropped:0 overruns:0 frame:0

          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:9840 (9.8 KB) TX bytes:2178 (2.1 KB)

          Interrupt:21 Base address:0xc000


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:8 errors:0 dropped:0 overruns:0 frame:0

          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)

route

ubuntu@ubuntu:~$ route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

Z routerem łączysz się kablem RJ-45 czy radiowo (po zdjęciu routera wnioskuję, że kablem, bo nie widzę anten)? Filtrujesz ruch sieciowy na routerze adresami MAC lub w inny sposób?

Spróbuj jeszcze:

sudo dhclient eth0

Zamiast zdjęcia podaj jakieś parametry techniczne tego routera i jeszcze wrazie wu wynik polecenia:

sudo iptables -L

.

Trcohę dziwne, podłączałem laptopa z różnymi dystrybucjami Linuksa pod różne routery i nigdy nie miałem problemów z dostępem do neta.

Pozdrawiam!

Łącze się kablem RJ-45.

sudo dhclient eth0

ubuntu@ubuntu:~$ sudo 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/


Listening on LPF/eth0/00:13:8f:67:58:03

Sending on LPF/eth0/00:13:8f:67:58:03

Sending on Socket/fallback

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8

No DHCPOFFERS received.

No working leases in persistent database - sleeping

sudo iptables -L

ubuntu@ubuntu:~$ sudo iptables -L

Chain INPUT (policy ACCEPT)

target prot opt source destination         


Chain FORWARD (policy ACCEPT)

target prot opt source destination         


Chain OUTPUT (policy ACCEPT)

target prot opt source destination

A masz włączony na routerze dhcp? Jak nie to musisz ręcznie skonfigurować sieć.

Nie wiem, jak to sprawdzić czy jest włączony dhcp? i jak później ręcznie skonfigurować sieć?

Zapomniałem o tym wspomnieć :slight_smile:

Zaloguj się do routera i tam szukaj opcji właczenia serwera DHCP, ewentualnie poczytaj instrukcję obsługi, którą zapewne posiadasz. Jeśli jednak nie korzystasz z dhcp, musisz wpisać ręcznie IP, bramę, maskę, DNS itp. w ten sposób:

sudo su

ifconfig eth0 down

ifconfig eth0 address xxx.xxx.xxx.xxx

ifconfig eth0 broadcast xxx.xxx.xxx.xxx

ifconfig eth0 netmask xxx.xxx.xxx.xxx

ifconfig eth0 up

Zamiast x wpisujesz odpowiednie liczby. DNS dodajesz do /etc/resolv.conf , w postaci wpisu:

nameserver xxx.xxx.xxx.xxx

Za x podajesz adres/adresy ip serwera dns, natomiast każdy serwer wpisujesz do resolv.conf osobno, czyli wpis pod wpisem.

Pozdrawiam!