Jaki procesor posiada twój router?
Broadcom MIPSEL
36% [151 głosów]
Broadcom ARM
52% [219 głosów]
Atheros
5% [22 głosów]
Marvell
1% [4 głosów]
Ralink
1% [3 głosów]
Intel/AMD/VIA
1% [5 głosów]
Żaden z powyższych
4% [15 głosów]
Ogółem głosów: 419
Musisz zalogować się, aby móc zagłosować. Rozpoczęto: 02/02/2015 09:38
O nie! Gdzie jest JavaScript? Twoja przeglądarka internetowa nie ma włączonej obsługi JavaScript lub nie obsługuje JavaScript.
Proszę włączyć JavaScript w przeglądarce internetowej, aby poprawnie wyświetlić tę witrynę, lub zaktualizować do przeglądarki internetowej, która obsługuje JavaScript.
Interfejs WAN nie wstaje automatycznie
andexp
Dodano 07-10-2009 10:22
User
Posty: 7
Dołączył: 07/10/2009 10:00
Witam serdecznie,
moze pytanie bedzie trywialne - jednak szukalem pomieznie na googlach i na tym forum - nie udalo mi sie znalezc odpowiedzi (wszystkie bardziej dotyczyly interfesow PPP).
Otoz zainstalowalem na WRT160NL - KAMIKAZE (bleeding edge, r17828) przygotowaną przez obsy (http://eko.one.pl).
Niby wszystko pieknie poza jednym drobnym szczegolem. Nie podnosi mi sie automatycznie interfejs WAN.
Dopiero reczne odpalenie 'ifup wan' podnosi mi interfejs i klienta dhcp na nim. Wtedy siec zaczyna dzialac slicznie.
Jakies pomysly?
Pozdrawiam serdecznie,
Adam
obsy
Dodano 07-10-2009 10:42
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
Nie, nie mam takich problemów. Zrzuć to swoje konfigi z /etc/config/network i wynik logread.
andexp
Dodano 07-10-2009 12:28
User
Posty: 7
Dołączył: 07/10/2009 10:00
logi po zalogowaniu wyglądają tak:
Oct 2 14:46:00 OpenWrt user.debug kernel: On node 0 totalpages: 8192
Oct 2 14:46:00 OpenWrt user.debug kernel: free_area_init_node: node 0, pgdat 802a96b0, node_mem_map 81000000
Oct 2 14:46:00 OpenWrt user.debug kernel: Normal zone: 64 pages used for memmap
Oct 2 14:46:00 OpenWrt user.debug kernel: Normal zone: 0 pages reserved
Oct 2 14:46:00 OpenWrt user.debug kernel: Normal zone: 8128 pages, LIFO batch:0
Oct 2 14:46:00 OpenWrt user.warn kernel: Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Oct 2 14:46:00 OpenWrt user.notice kernel: Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=WRT160NL
Oct 2 14:46:00 OpenWrt user.warn kernel: Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Oct 2 14:46:00 OpenWrt user.warn kernel: Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Oct 2 14:46:00 OpenWrt user.info kernel: Writing ErrCtl register=00000000
Oct 2 14:46:00 OpenWrt user.info kernel: Readback ErrCtl register=00000000
Oct 2 14:46:00 OpenWrt user.info kernel: NR_IRQS:56
Oct 2 14:46:00 OpenWrt user.warn kernel: PID hash table entries: 128 (order: 7, 512 bytes)
Oct 2 14:46:00 OpenWrt user.info kernel: Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Oct 2 14:46:00 OpenWrt user.info kernel: Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Oct 2 14:46:00 OpenWrt user.info kernel: Memory: 29520k/32768k available (1918k kernel code, 3248k reserved, 432k data, 136k init, 0k highmem)
Oct 2 14:46:00 OpenWrt user.info kernel: SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Oct 2 14:46:00 OpenWrt user.info kernel: Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Oct 2 14:46:00 OpenWrt user.warn kernel: Mount-cache hash table entries: 512
Oct 2 14:46:00 OpenWrt user.info kernel: net_namespace: 528 bytes
Oct 2 14:46:00 OpenWrt user.info kernel: NET: Registered protocol family 16
Oct 2 14:46:00 OpenWrt user.info kernel: MIPS: machine is Linksys WRT160NL
Oct 2 14:46:00 OpenWrt user.debug kernel: ar71xx: using random MAC address for eth0
Oct 2 14:46:00 OpenWrt user.debug kernel: ar71xx: using random MAC address for eth1
Oct 2 14:46:00 OpenWrt user.warn kernel: bio: create slab at 0
Oct 2 14:46:00 OpenWrt user.info kernel: NET: Registered protocol family 2
Oct 2 14:46:00 OpenWrt user.debug kernel: Switched to high resolution mode on CPU 0
Oct 2 14:46:00 OpenWrt user.info kernel: IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Oct 2 14:46:00 OpenWrt user.info kernel: TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Oct 2 14:46:00 OpenWrt user.info kernel: TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Oct 2 14:46:00 OpenWrt user.info kernel: TCP: Hash tables configured (established 1024 bind 1024)
Oct 2 14:46:00 OpenWrt user.info kernel: TCP reno registered
Oct 2 14:46:00 OpenWrt user.info kernel: NET: Registered protocol family 1
Oct 2 14:46:00 OpenWrt user.info kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Oct 2 14:46:00 OpenWrt user.warn kernel: Registering mini_fo version $Id$
Oct 2 14:46:00 OpenWrt user.info kernel: JFFS2 version 2.2. (NAND) (SUMMARY) Š 2001-2006 Red Hat, Inc.
Oct 2 14:46:00 OpenWrt user.warn kernel: yaffs Oct 1 2009 21:30:36 Installing.
Oct 2 14:46:00 OpenWrt user.info kernel: msgmni has been set to 57
Oct 2 14:46:00 OpenWrt user.info kernel: alg: No test for lzma (lzma-generic)
Oct 2 14:46:00 OpenWrt user.info kernel: alg: No test for stdrng (krng)
Oct 2 14:46:00 OpenWrt user.info kernel: io scheduler noop registered
Oct 2 14:46:00 OpenWrt user.info kernel: io scheduler deadline registered (default)
Oct 2 14:46:00 OpenWrt user.info kernel: Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
Oct 2 14:46:00 OpenWrt user.info kernel: serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
Oct 2 14:46:00 OpenWrt user.info kernel: console handover: boot [early0] -> real [ttyS0]
Oct 2 14:46:00 OpenWrt user.info kernel: ag71xx_mdio: probed
Oct 2 14:46:00 OpenWrt user.info kernel: eth0: Atheros AG71xx at 0xb9000000, irq 4
Oct 2 14:46:00 OpenWrt user.debug kernel: eth0: connected to 4 PHYs
Oct 2 14:46:00 OpenWrt user.info kernel: eth1: Atheros AG71xx at 0xba000000, irq 5
Oct 2 14:46:00 OpenWrt user.info kernel: Registering RTL8306SD switch with Chip ID: 0x5988, version: 0x0000
Oct 2 14:46:00 OpenWrt user.debug kernel: eth1: connected to PHY at 0:04 [uid=00008306, driver=Realtek RTL8306S]
Oct 2 14:46:00 OpenWrt user.info kernel: Atheros AR71xx SPI Controller driver version 0.2.4
Oct 2 14:46:00 OpenWrt user.info kernel: m25p80 spi0.0: mx25l64 (8192 Kbytes)
Oct 2 14:46:00 OpenWrt user.notice kernel: Searching for RedBoot partition table in spi0.0 at offset 0x7e0000
Oct 2 14:46:00 OpenWrt user.notice kernel: Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
Oct 2 14:46:00 OpenWrt user.notice kernel: No RedBoot partition table detected in spi0.0
Oct 2 14:46:00 OpenWrt user.notice kernel: 6 wrt160nl partitions found on MTD device spi0.0
Oct 2 14:46:00 OpenWrt user.notice kernel: Creating 6 MTD partitions on "spi0.0":
Oct 2 14:46:00 OpenWrt user.notice kernel: 0x000000000000-0x000000040000 : "u-boot"
Oct 2 14:46:00 OpenWrt user.notice kernel: 0x000000040000-0x000000170000 : "kernel"
Oct 2 14:46:00 OpenWrt user.notice kernel: 0x000000170000-0x0000007e0000 : "rootfs"
Oct 2 14:46:00 OpenWrt user.notice kernel: mtd: partition "rootfs" set to be root filesystem
Oct 2 14:46:00 OpenWrt user.info kernel: mtd: partition "rootfs_data" created automatically, ofs=370000, len=470000
Oct 2 14:46:00 OpenWrt user.notice kernel: 0x000000370000-0x0000007e0000 : "rootfs_data"
Oct 2 14:46:00 OpenWrt user.notice kernel: 0x0000007e0000-0x0000007f0000 : "nvram"
Oct 2 14:46:00 OpenWrt user.notice kernel: 0x0000007f0000-0x000000800000 : "art"
Oct 2 14:46:00 OpenWrt user.notice kernel: 0x000000040000-0x0000007e0000 : "firmware"
Oct 2 14:46:00 OpenWrt user.info kernel: Atheros AR71xx hardware watchdog driver version 0.1.0
Oct 2 14:46:00 OpenWrt user.debug kernel: ar71xx-wdt: timeout=15 secs (max=21)
Oct 2 14:46:00 OpenWrt user.info kernel: TCP westwood registered
Oct 2 14:46:00 OpenWrt user.info kernel: NET: Registered protocol family 17
Oct 2 14:46:00 OpenWrt user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear
Oct 2 14:46:00 OpenWrt user.info kernel: All bugs added by David S. Miller
Oct 2 14:46:00 OpenWrt user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Oct 2 14:46:00 OpenWrt user.info kernel: Freeing unused kernel memory: 136k freed
Oct 2 14:46:00 OpenWrt user.warn kernel: Please be patient, while OpenWrt loads ...
Oct 2 14:46:00 OpenWrt user.info kernel: Registered led device: wrt160nl:blue ower
Oct 2 14:46:00 OpenWrt user.info kernel: Registered led device: wrt160nl:amber:wps
Oct 2 14:46:00 OpenWrt user.info kernel: Registered led device: wrt160nl:blue:wps
Oct 2 14:46:00 OpenWrt user.info kernel: Registered led device: wrt160nl:blue:wlan
Oct 2 14:46:00 OpenWrt user.info kernel: gpio-buttons driver version 0.1.1
Oct 2 14:46:00 OpenWrt user.info kernel: input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Oct 2 14:46:00 OpenWrt user.info kernel: Button Hotplug driver version 0.3.1
Oct 2 14:46:00 OpenWrt user.debug kernel: ar71xx: pll_reg 0xb8050014: 0x13000a44
Oct 2 14:46:00 OpenWrt user.info kernel: eth0: link up (100Mbps/Full duplex)
Oct 2 14:46:00 OpenWrt user.info kernel: eth0: link down
Oct 2 14:46:00 OpenWrt user.info kernel: mini_fo: using base directory
Oct 2 14:46:00 OpenWrt user.info kernel: mini_fo: using storage directory jffs
Oct 2 14:46:01 OpenWrt user.debug kernel: ar71xx: pll_reg 0xb8050014: 0x13000a44
Oct 2 14:46:01 OpenWrt user.info kernel: eth0: link up (100Mbps/Full duplex)
Oct 2 14:46:01 OpenWrt user.info kernel: device eth0 entered promiscuous mode
Oct 2 14:46:01 OpenWrt user.info kernel: br-lan: port 1(eth0) entering forwarding state
Oct 2 14:46:02 OpenWrt user.info sysinit: udhcpc (v1.14.4) started
Oct 2 14:46:03 OpenWrt user.info sysinit: 0.openwrt.pool.ntp.org: Unknown host
Oct 2 14:46:03 OpenWrt user.info sysinit: 1.openwrt.pool.ntp.org: Unknown host
Oct 2 14:46:03 OpenWrt user.info sysinit: 2.openwrt.pool.ntp.org: Unknown host
Oct 2 14:46:03 OpenWrt user.info sysinit: 3.openwrt.pool.ntp.org: Unknown host
Oct 2 14:46:03 OpenWrt user.debug kernel: ar71xx: pll_reg 0xb8050018: 0x13000a44
Oct 2 14:46:03 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Oct 2 14:46:04 OpenWrt user.info kernel: cfg80211: Using static regulatory domain info
Oct 2 14:46:04 OpenWrt user.info kernel: cfg80211: Regulatory domain: US
Oct 2 14:46:04 OpenWrt user.info kernel: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Oct 2 14:46:04 OpenWrt user.info kernel: (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
Oct 2 14:46:04 OpenWrt user.info kernel: (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
Oct 2 14:46:04 OpenWrt user.info kernel: (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
Oct 2 14:46:04 OpenWrt user.info kernel: (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
Oct 2 14:46:04 OpenWrt user.info kernel: (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
Oct 2 14:46:04 OpenWrt user.info kernel: (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
Oct 2 14:46:04 OpenWrt user.info kernel: cfg80211: Calling CRDA for country: US
Oct 2 14:46:05 OpenWrt user.info kernel: cfg80211: Regulatory domain changed to country: US
Oct 2 14:46:05 OpenWrt user.info kernel: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Oct 2 14:46:05 OpenWrt user.info kernel: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Oct 2 14:46:05 OpenWrt user.info kernel: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Oct 2 14:46:05 OpenWrt user.info kernel: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 2 14:46:05 OpenWrt user.info kernel: (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 2 14:46:05 OpenWrt user.info kernel: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Oct 2 14:46:06 OpenWrt user.info sysinit: Sending discover...
Oct 2 14:46:06 OpenWrt user.info sysinit: Sending select for 87.207.210.248...
Oct 2 14:46:06 OpenWrt user.info sysinit: Lease of 87.207.210.248 obtained, lease time 3600
Oct 2 14:46:06 OpenWrt user.notice kernel: SCSI subsystem initialized
Oct 2 14:46:06 OpenWrt user.info sysinit: udhcpc: ifconfig eth1 87.207.210.248 netmask 255.255.255.0 broadcast 255.255.255.255
Oct 2 14:46:07 OpenWrt user.info kernel: usbcore: registered new interface driver usbfs
Oct 2 14:46:07 OpenWrt user.info kernel: usbcore: registered new interface driver hub
Oct 2 14:46:07 OpenWrt user.info sysinit: udhcpc: setting default routers: 87.207.210.1
Oct 2 14:46:07 OpenWrt user.info sysinit: udhcpc: setting dns servers: 62.179.1.63 62.179.1.62
Oct 2 14:46:07 OpenWrt user.info kernel: usbcore: registered new device driver usb
Oct 2 14:46:08 OpenWrt user.debug kernel: phy0: Selected rate control algorithm 'ath9k_rate_control'
Oct 2 14:46:08 OpenWrt user.info kernel: phy0: Atheros AR9100 MAC/BB Rev:0, AR2122 RF Rev:a2, mem=0xb80c0000, irq=2
Oct 2 14:46:09 OpenWrt user.notice root: starting ntpclient
Oct 7 10:03:37 OpenWrt user.info kernel: PPP generic driver version 2.4.2
Oct 7 10:03:38 OpenWrt user.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Oct 7 10:03:38 OpenWrt user.info kernel: NET: Registered protocol family 24
Oct 7 10:03:38 OpenWrt user.warn kernel: Driver 'sd' needs updating - please use bus_type methods
Oct 7 10:03:38 OpenWrt user.info kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Oct 7 10:03:38 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
Oct 7 10:03:38 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
Oct 7 10:03:38 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
Oct 7 10:03:38 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
Oct 7 10:03:38 OpenWrt user.info kernel: usb usb1: configuration #1 chosen from 1 choice
Oct 7 10:03:38 OpenWrt user.info kernel: hub 1-0:1.0: USB hub found
Oct 7 10:03:38 OpenWrt user.info kernel: hub 1-0:1.0: 1 port detected
Oct 7 10:03:38 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
Oct 7 10:03:38 OpenWrt user.info kernel: usb usb1: configuration #1 chosen from 1 choice
Oct 7 10:03:38 OpenWrt user.info kernel: hub 1-0:1.0: USB hub found
Oct 7 10:03:38 OpenWrt user.info kernel: hub 1-0:1.0: 1 port detected
Oct 7 10:03:39 OpenWrt user.warn kernel: nf_conntrack version 0.5.0 (512 buckets, 2048 max)
Oct 7 10:03:39 OpenWrt user.warn kernel: CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
Oct 7 10:03:39 OpenWrt user.warn kernel: nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
Oct 7 10:03:39 OpenWrt user.warn kernel: sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Oct 7 10:03:40 OpenWrt user.info kernel: Initializing USB Mass Storage driver...
Oct 7 10:03:40 OpenWrt user.info kernel: usbcore: registered new interface driver usb-storage
Oct 7 10:03:40 OpenWrt user.info kernel: USB Mass Storage support registered.
Oct 7 10:03:40 OpenWrt user.info sysinit: 'wifi0' is disabled
Oct 7 10:03:41 OpenWrt user.info sysinit: 'wifi0' is disabled
Oct 7 10:03:41 OpenWrt user.info sysinit: Loading defaults
Oct 7 10:03:42 OpenWrt user.info sysinit: Loading synflood protection
Oct 7 10:03:42 OpenWrt user.info sysinit: Adding custom chains
Oct 7 10:03:42 OpenWrt user.info sysinit: Loading zones
Oct 7 10:03:42 OpenWrt user.info sysinit: Loading forwarding
Oct 7 10:03:42 OpenWrt user.info sysinit: Loading redirects
Oct 7 10:03:43 OpenWrt user.info sysinit: Loading rules
Oct 7 10:03:43 OpenWrt user.info sysinit: Loading includes
Oct 7 10:03:43 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan
Oct 7 10:03:43 OpenWrt user.notice root: adding wan (eth1) to firewall zone wan
Oct 7 10:03:45 OpenWrt user.info sysinit: Starting LuCId superserver: lucid.
Oct 7 10:03:46 OpenWrt authpriv.info dropbear[1033]: Running in background
Oct 7 10:03:46 OpenWrt user.info sysinit: httpd: bind: Address already in use
Oct 7 10:03:50 OpenWrt daemon.info dnsmasq[1068]: started, version 2.50 cachesize 150
Oct 7 10:03:50 OpenWrt daemon.info dnsmasq[1068]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Oct 7 10:03:50 OpenWrt daemon.info dnsmasq-dhcp[1068]: DHCP, IP range 192.168.1.100 -- 192.168.1.251, lease time 12h
Oct 7 10:03:50 OpenWrt daemon.info dnsmasq[1068]: using local addresses only for domain lan
Oct 7 10:03:50 OpenWrt daemon.info dnsmasq[1068]: reading /tmp/resolv.conf.auto
Oct 7 10:03:50 OpenWrt daemon.info dnsmasq[1068]: using nameserver 62.179.1.62#53
Oct 7 10:03:50 OpenWrt daemon.info dnsmasq[1068]: using nameserver 62.179.1.63#53
Oct 7 10:03:50 OpenWrt daemon.info dnsmasq[1068]: using local addresses only for domain lan
Oct 7 10:03:50 OpenWrt daemon.info dnsmasq[1068]: read /etc/hosts - 1 addresses
Oct 7 10:03:50 OpenWrt daemon.info dnsmasq-dhcp[1068]: read /etc/ethers - 0 addresses
Oct 7 10:03:50 OpenWrt user.info sysinit: watchdog: WDIOC_SETTIMEOUT: Invalid argument
Oct 7 10:03:50 OpenWrt user.debug kernel: ar71xx-wdt: enabling watchdog timer
Oct 7 10:03:52 OpenWrt daemon.info dnsmasq-dhcp[1068]: DHCPDISCOVER(br-lan) 192.168.1.100 00:1c:23:2a:3c:f6
Oct 7 10:03:52 OpenWrt daemon.info dnsmasq-dhcp[1068]: DHCPOFFER(br-lan) 192.168.1.100 00:1c:23:2a:3c:f6
Oct 7 10:03:52 OpenWrt daemon.info dnsmasq-dhcp[1068]: DHCPREQUEST(br-lan) 192.168.1.100 00:1c:23:2a:3c:f6
Oct 7 10:03:52 OpenWrt daemon.info dnsmasq-dhcp[1068]: DHCPACK(br-lan) 192.168.1.100 00:1c:23:2a:3c:f6 CLTLAP0102162
# ifconfig -a
br-lan Link encap:Ethernet HWaddr 00:23:69:A3:95:73
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:2847 errors:0 dropped:0 overruns:0 frame:0
TX packets:1853 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:158545 (154.8 KiB) TX bytes:216757 (211.6 KiB)
eth0 Link encap:Ethernet HWaddr 00:23:69:A3:95:73
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2852 errors:0 dropped:0 overruns:0 frame:0
TX packets:1854 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:199325 (194.6 KiB) TX bytes:217800 (212.6 KiB)
Interrupt:4
eth1 Link encap:Ethernet HWaddr 00:23:69:A3:95:74
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2394 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:190366 (185.9 KiB) TX bytes:2396 (2.3 KiB)
Interrupt:5
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)
# cat /etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option type bridge
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
config interface wan
option ifname eth1
option proto dhcp
config switch eth1
option reset 1
option enable_vlan 1
config switch_vlan
option device eth1
option vlan 1
option ports "0 1 2 3 4 5"
Po zalogowaniu na konsolę i wydaniu polecenia ifup wan nowe spisy w logread wyglądają następująco:
Oct 7 10:23:49 OpenWrt user.debug kernel: ar71xx-wdt: enabling watchdog timer
Oct 7 10:23:51 OpenWrt authpriv.info dropbear[1081]: Child connection from 192.168.1.100:56125
Oct 7 10:23:57 OpenWrt authpriv.warn dropbear[1081]: bad password attempt for 'root' from 192.168.1.100:56125
Oct 7 10:24:00 OpenWrt authpriv.warn dropbear[1081]: bad password attempt for 'root' from 192.168.1.100:56125
Oct 7 10:24:02 OpenWrt authpriv.warn dropbear[1081]: bad password attempt for 'root' from 192.168.1.100:56125
Oct 7 10:24:05 OpenWrt authpriv.notice dropbear[1081]: password auth succeeded for 'root' from 192.168.1.100:56125
Oct 7 10:24:13 OpenWrt user.notice root: removing wan (eth1) from firewall zone wan
Oct 7 10:24:13 OpenWrt user.notice root: stopping ntpclient
Oct 7 10:24:18 OpenWrt user.notice root: adding wan (eth1) to firewall zone wan
Oct 7 10:24:18 OpenWrt user.notice root: starting ntpclient
A interfejs eth1 wygląda tak:
eth1 Link encap:Ethernet HWaddr 00:23:69:A3:95:74
inet addr:aaa.bbb.ccc.ddd Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:727 errors:0 dropped:0 overruns:0 frame:0
TX packets:466 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:90139 (88.0 KiB) TX bytes:78540 (76.6 KiB)
Interrupt:5
gdzie 'aaa.bbb.ccc.ddd' jest właściwym adresem IP zewnętrznym.
I od tego momentu wszystko działa.
obsy
Dodano 07-10-2009 12:47
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
Cytat
Oct 2 14:46:03 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Oct 2 14:46:06 OpenWrt user.info sysinit: Sending discover...
Oct 2 14:46:06 OpenWrt user.info sysinit: Sending select for 87.207.210.248...
Oct 2 14:46:06 OpenWrt user.info sysinit: Lease of 87.207.210.248 obtained, lease time 3600
Podnosi się podczas startu jak widzisz. Pytanie tylko czemu mu to znika potem.
obsy
Dodano 08-10-2009 22:07
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
Znalazłem przyczynę - wywal z /etc/config/network sekcje z konfiguracją switcha/vlanów.
andexp
Dodano 10-10-2009 16:17
User
Posty: 7
Dołączył: 07/10/2009 10:00
Faktycznie - działa teraz bez zarzutu.
Dzięki
Przejdź do forum
Regulamin
Testy i recenzje
Tutoriale
Projekty
Ogłoszenia - Komunikaty - Postulaty
Tomato - firmware
DD-WRT - firmware
OpenWrt - firmware
Oryginalny firmware
Pozostałe firmware
Asus
Linksys
D-Link
Netgear
TP-Link
Ubiquiti (EdgeRouter, Unifi)
Pozostałe
Rozwiązanie dedykowane
Składaki i rozwiązania alternatywne
Modemy 3G/LTE
Kamery sieciowe
ITX / Media Center
Android / Windows Mobile
Technologia VoIP
Kupię, sprzedam, zamienię, oddam
Ogłoszenia, pytania, porady w zakupie
Free zone
Kosz
· Gości online: 107
· Użytkowników online: 0
· Łącznie użytkowników: 24,115
· Najnowszy użytkownik: Ja
Musisz się zalogować, aby opublikować wiadomość.