Temat: network config
Witam mam problem z konfiguracją sieci w openwrt.
mimo wpisów w /etc/config/network:
root@OpenWrt:/# cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface wan
option ifname eth1
option proto static
option dns 8.8.8.8
option ipaddr 192.168.2.36
option netmask 255.255.255.0
option gateway 192.168.2.1
root@OpenWrt:/#mam po odpaleniu openwrt:
root@OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr 22:DA:E2:A8:86:2A
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7577 (7.3 KiB) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 22:DA:E2:A8:86:2A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8277 (8.0 KiB) TX bytes:1043 (1.0 KiB)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)skąd sie bierze interface br-lan?
tylko i wyłącznie będe używał eth1, reszta mi nie potrzebna. Proszę o podpowiedz
po podniesieniu portu eth1 : ifconfig eth1 up i podpięciu kabla nie ma dalej adresu
pozdrawiam