Od niedawna przesiadlem sie na Ubuntu 8.10. Mam internet radiowy. Wszystkie ustawienia musze ustawiac recznie tj. IP, bramy itp. Sasiad ma niezabezpieczona siec WiFi z ktora bez problemu sie lacze. Ale nie moge sie polaczyc z przewodowa siecia. Pogubilem sie w konfiguracji polaczenia przewodowego. W 8.04 wyedytowalem /etc/network/interfaces i dzialalo. Oto moj plik interfaces
Kod: Zaznacz cały
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.22
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 194.204.152.34
Ustawilem to samo w NetworkManager oprocz Tras ( nie wiem po co to jest i co to jest PARAMETR?) Nie dziala
W resolv.conf mam to
Kod: Zaznacz cały
# Generated by NetworkManager
nameserver 192.168.2.1
IFCONFIG mam taki :
Kod: Zaznacz cały
ldz@ldz-laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:60:b8:c0:d4
inet addr:192.168.1.22 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:60ff:feb8:c0d4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17004 errors:0 dropped:0 overruns:0 frame:0
TX packets:486 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1580567 (1.5 MB) TX bytes:61604 (61.6 KB)
Interrupt:16
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:1375 errors:0 dropped:0 overruns:0 frame:0
TX packets:1375 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:104358 (104.3 KB) TX bytes:104358 (104.3 KB)
wlan0 Link encap:Ethernet HWaddr 00:14:a5:76:94:e0
inet addr:192.168.2.106 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::214:a5ff:fe76:94e0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15347 errors:0 dropped:0 overruns:0 frame:0
TX packets:13300 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16253928 (16.2 MB) TX bytes:2633091 (2.6 MB)
wmaster0 Link encap:UNSPEC HWaddr 00-14-A5-76-94-E0-34-65-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Kod: Zaznacz cały
ldz@ldz-laptop:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 wlan0
0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 eth0
ldz@ldz-laptop:~$
Kod: Zaznacz cały
ldz@ldz-laptop:~$ sudo dhclient eth0
There is already a pid file /var/run/dhclient.pid with pid 12001
killed old client process, removed PID file
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/
wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/eth0/00:15:60:b8:c0:d4
Sending on LPF/eth0/00:15:60:b8:c0:d4
Sending on Socket/fallback
DHCPREQUEST of 192.168.200.199 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.200.199 from 192.168.200.1
bound to 192.168.200.199 -- renewal in 359923183 seconds.
Kod: Zaznacz cały
ldz@ldz-laptop:~$ sudo ethtool eth0
Settings for eth0:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Current message level: 0x000000ff (255)
Link detected: yes
ldz@ldz-laptop:~$
Wiec o co chodzi? ? ? HELP
Jak sasiad sie zorientuje ze korzystam z jego bezprzewodowego to pewnie klodke zalozy ;]
Z gory dziekuje