23 Listopada 2024 16:09:42
Nawigacja
· Strona Główna
· Forum

· Tomato by Shibby
· FreshTomato


Wątki na forum
Najnowsze dyskusje
· [S] Asus RT-AC56U
· DIR868l OFW asus vs ...
· Szukam zaproszenia n...
· [MOD] FreshTomato-AR...
· Asus RT-AC5300 ,prob...
· archer c6 v3.20
· [S] Nighthawk R7000P...
· [S]Asus RT-AC5300 - ...
· Tanie N100 na promce...
· net z telefonu wifi+...
· Tomato - bugi/proble...
· HUAWEI z światłowodem
· Asus TUF-AX3000_V2 p...
· rt-ax88upro częste ...
· [Howto] Xpenology na...
· Jaki router pod Open...
· Ruter z tomato
· Czy to jeszcze NAS?
· RT AC66U B1
· Wireguard na FreshTo...
Najpopularniejsze obecnie wątki
· DIR868l OFW asus ... [8]
· [S] Asus RT-AC56U [0]
Ankieta
Jaki procesor posiada twój router?

Broadcom MIPSEL
Broadcom MIPSEL
36% [151 głosów]

Broadcom ARM
Broadcom ARM
52% [219 głosów]

Atheros
Atheros
5% [22 głosów]

Marvell
Marvell
1% [4 głosów]

Ralink
Ralink
1% [3 głosów]

Intel/AMD/VIA
Intel/AMD/VIA
1% [5 głosów]

Żaden z powyższych
Ż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
Twoje IP
18.226.93.22
Zobacz wątek
OpenLinksys » :: OPROGRAMOWANIE :: » OpenWrt - firmware
 Drukuj wątek
Interfejs WAN nie wstaje automatycznie
andexp
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
Nie, nie mam takich problemów. Zrzuć to swoje konfigi z /etc/config/network i wynik logread.
Masz niepotrzebny ruter, uszkodzony czy nie - ch?tnie przygarn? go.
http://eko.one.pl - prawie wszystko o OpenWrt
http://openrouter.info
 
andexp
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:bluePfftower
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 directoryFrown
Oct 2 14:46:00 OpenWrt user.info kernel: mini_fo: using storage directoryFrownjffs
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

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.
Masz niepotrzebny ruter, uszkodzony czy nie - ch?tnie przygarn? go.
http://eko.one.pl - prawie wszystko o OpenWrt
http://openrouter.info
 
obsy
Znalazłem przyczynę - wywal z /etc/config/network sekcje z konfiguracją switcha/vlanów.
Masz niepotrzebny ruter, uszkodzony czy nie - ch?tnie przygarn? go.
http://eko.one.pl - prawie wszystko o OpenWrt
http://openrouter.info
 
andexp
Faktycznie - działa teraz bez zarzutu.

Dzięki Smile
 
Przejdź do forum
Zaloguj
Wprowadź adres e-mail lub nazwę użytkownika

Hasło



Nie masz jeszcze konta? Zarejestruj się.

Zapomniałeś/aś hasła?
Aktualnie online
· Gości online: 107

· Użytkowników online: 0

· Łącznie użytkowników: 24,115
· Najnowszy użytkownik: Ja
Czat
Musisz się zalogować, aby opublikować wiadomość.

Maniek91PL
06-11-2024 22:37
dzięki !Grin

maxikaaz
29-10-2024 14:27
@Maniek91PL - Administration=> Admin Access, i tam masz "Allow Wireless Access" do zaznaczenia

Maniek91PL
26-10-2024 22:07
siemka! ktoś przypomni co się ustawiało jeśli nie mogę wejść od strony wifi do tomato? od lan działa

overflow2
04-10-2024 17:34
Kupowałem Asusy n10u albo n12d1 ale nie widzę ich, chyba już nie produkują, Chodzi o coś nowego i taniego. Transfery niewielkie.

maxikaaz
04-10-2024 09:38
@overflow2 patrząc po dostępności funkcji w nowych kompilacjach, to chyba nawet WRT54G/GL jeszcze ma OpenVPN, albo jakiś odpowiednik... zależy, na jakie transfery liczysz.

overflow2
30-09-2024 20:53
Jaki aktualnie najtańszy router do tomato do openvpn?

maxikaaz
27-07-2024 15:07
@servee - na początek router do rozebrania i obejrzenia, ciężko wróżyć tak tylko po objawach

maxikaaz
27-07-2024 14:55
@servee - cały kontroler nie pada tak sobie z powodu "zbiegu okoliczności",
więc prawdopodobnie gdzieś przepięcie.

servee
25-07-2024 13:33
@maxikaaz: działało, aż pewnego pięknego dnia przestało działać. W tym dniu była też burza, ale to raczej zbieg okoliczności.

maxikaaz
25-07-2024 11:38
@servee - o ile problem jest w obrębie samych wyjść (dławiki, warystory), to naprawialne, ale jeśli w samym SoC - to nienaprawialne ze względu na koszta. A co było przyczyną?

95,416,402 unikalnych wizyt