776

(49 odpowiedzi, napisanych Oprogramowanie / Software)

nie pinguje ap, zrobiłem logread

root@OpenWrt:/# ping 192.168.178.5
PING 192.168.178.5 (192.168.178.5): 56 data bytes
^C
--- 192.168.178.5 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:/# ping 192.168.178.5
PING 192.168.178.5 (192.168.178.5): 56 data bytes
^C
--- 192.168.178.5 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:/# logread
Jan  1 01:24:18 OpenWrt daemon.info dnsmasq[919]: using local addresses only for domain lan
Jan  1 01:24:18 OpenWrt user.info kernel: cfg80211: World regulatory domain updated:
Jan  1 01:24:18 OpenWrt user.info kernel:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan  1 01:24:18 OpenWrt user.info kernel:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan  1 01:24:18 OpenWrt user.info kernel:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jan  1 01:24:18 OpenWrt user.info kernel:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jan  1 01:24:18 OpenWrt user.info kernel:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan  1 01:24:18 OpenWrt user.info kernel:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan  1 01:24:19 OpenWrt user.notice root: adding wan (br-wan) to firewall zone wan
Jan  1 01:24:19 OpenWrt user.info kernel: device wlan0 entered promiscuous mode
Jan  1 01:24:20 OpenWrt daemon.info dnsmasq[919]: reading /tmp/resolv.conf.auto
Jan  1 01:24:20 OpenWrt daemon.info dnsmasq[919]: using nameserver 192.168.178.1#53
Jan  1 01:24:20 OpenWrt daemon.info dnsmasq[919]: using nameserver 192.168.179.1#53
Jan  1 01:24:20 OpenWrt daemon.info dnsmasq[919]: using local addresses only for domain lan
Jan  1 01:24:20 OpenWrt user.debug kernel: wlan0: authenticate with d8:5d:4c:e6:c4:67 (try 1)
Jan  1 01:24:20 OpenWrt user.debug kernel: wlan0: authenticated
Jan  1 01:24:20 OpenWrt user.debug kernel: wlan0: associate with d8:5d:4c:e6:c4:67 (try 1)
Jan  1 01:24:20 OpenWrt user.debug kernel: wlan0: RX AssocResp from d8:5d:4c:e6:c4:67 (capab=0x411 status=0 aid=4)
Jan  1 01:24:20 OpenWrt user.debug kernel: wlan0: associated
Jan  1 01:24:20 OpenWrt user.info kernel: br-wan: port 2(wlan0) entering forwarding state
Jan  1 01:24:22 OpenWrt user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Jan  1 01:24:23 OpenWrt user.notice rdate: Failed to sync with ac-ntp1.net.cmu.edu
Jan  1 01:24:23 OpenWrt user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Jan  1 01:24:27 OpenWrt user.notice rdate: Failed to sync with ntp.itl.waw.pl
Nov  1 19:20:18 OpenWrt user.notice rdate: Synced with cudns.cit.cornell.edu
Nov  1 19:20:42 OpenWrt user.warn kernel: ------------[ cut here ]------------
Nov  1 19:20:42 OpenWrt user.warn kernel: WARNING: at net/sched/sch_generic.c:261 0x801feb24()
Nov  1 19:20:42 OpenWrt user.info kernel: NETDEV WATCHDOG: eth1 (ag71xx): transmit queue 0 timed out
Nov  1 19:20:42 OpenWrt user.warn kernel: Modules linked in: fuse nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack sd_mo
Nov  1 19:20:42 OpenWrt user.warn kernel: Call Trace:[<800683a4>] 0x800683a4
Nov  1 19:20:42 OpenWrt user.warn kernel: [<800683a4>] 0x800683a4
Nov  1 19:20:42 OpenWrt user.warn kernel: [<8007cd10>] 0x8007cd10
Nov  1 19:20:42 OpenWrt user.warn kernel: [<801feb24>] 0x801feb24
Nov  1 19:20:42 OpenWrt user.warn kernel: [<8007cd90>] 0x8007cd90
Nov  1 19:20:42 OpenWrt user.warn kernel: [<801ea290>] 0x801ea290
Nov  1 19:20:42 OpenWrt user.warn kernel: [<801feb24>] 0x801feb24
Nov  1 19:20:42 OpenWrt user.info kernel: eth1: link down
Nov  1 19:20:42 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:20:48 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:20:48 OpenWrt user.info kernel: eth1: link down
Nov  1 19:20:48 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:20:58 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:20:58 OpenWrt user.info kernel: eth1: link down
Nov  1 19:20:58 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:21:08 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:21:08 OpenWrt user.info kernel: eth1: link down
Nov  1 19:21:08 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:21:28 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:21:28 OpenWrt user.info kernel: eth1: link down
Nov  1 19:21:28 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:21:48 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:21:48 OpenWrt user.info kernel: eth1: link down
Nov  1 19:21:48 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:22:48 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:22:48 OpenWrt user.info kernel: eth1: link down
Nov  1 19:22:48 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:23:48 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:23:48 OpenWrt user.info kernel: eth1: link down
Nov  1 19:23:48 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:24:53 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:24:53 OpenWrt user.info kernel: eth1: link down
Nov  1 19:24:53 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:25:28 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:25:28 OpenWrt user.info kernel: eth1: link down
Nov  1 19:25:28 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:26:33 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:26:33 OpenWrt user.info kernel: eth1: link down
Nov  1 19:26:33 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:26:50 OpenWrt daemon.warn dnsmasq[919]: failed to access /tmp/resolv.conf.auto: No such file or directory
Nov  1 19:26:50 OpenWrt user.info kernel: br-lan: port 1(eth0) entering disabled state
Nov  1 19:26:50 OpenWrt user.info kernel: eth0: link down
Nov  1 19:26:50 OpenWrt user.info kernel: device eth0 left promiscuous mode
Nov  1 19:26:50 OpenWrt user.info kernel: br-lan: port 1(eth0) entering disabled state
Nov  1 19:26:51 OpenWrt user.info kernel: br-wan: port 2(wlan0) entering disabled state
Nov  1 19:26:51 OpenWrt user.info kernel: br-wan: port 1(eth1) entering disabled state
Nov  1 19:26:51 OpenWrt user.info kernel: eth1: link down
Nov  1 19:26:51 OpenWrt user.debug kernel: wlan0: deauthenticating from d8:5d:4c:e6:c4:67 by local choice (reason=3)
Nov  1 19:26:51 OpenWrt user.info kernel: cfg80211: Calling CRDA to update world regulatory domain
Nov  1 19:26:51 OpenWrt user.info kernel: cfg80211: World regulatory domain updated:
Nov  1 19:26:51 OpenWrt user.info kernel:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Nov  1 19:26:51 OpenWrt user.info kernel:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Nov  1 19:26:51 OpenWrt user.info kernel:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Nov  1 19:26:51 OpenWrt user.info kernel:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Nov  1 19:26:51 OpenWrt user.info kernel:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Nov  1 19:26:51 OpenWrt user.info kernel:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Nov  1 19:26:51 OpenWrt user.info kernel: device wlan0 left promiscuous mode
Nov  1 19:26:51 OpenWrt user.info kernel: br-wan: port 2(wlan0) entering disabled state
Nov  1 19:26:51 OpenWrt user.info kernel: device eth1 left promiscuous mode
Nov  1 19:26:51 OpenWrt user.info kernel: br-wan: port 1(eth1) entering disabled state
Nov  1 19:26:53 OpenWrt user.info kernel: eth0: link up (1000Mbps/Full duplex)
Nov  1 19:26:53 OpenWrt user.info kernel: eth0: link down
Nov  1 19:26:53 OpenWrt user.info kernel: eth0: link up (1000Mbps/Full duplex)
Nov  1 19:26:53 OpenWrt user.info kernel: device eth0 entered promiscuous mode
Nov  1 19:26:53 OpenWrt user.info kernel: br-lan: port 1(eth0) entering forwarding state
Nov  1 19:26:54 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:26:54 OpenWrt user.info kernel: eth1: link down
Nov  1 19:26:55 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:26:55 OpenWrt user.info kernel: device eth1 entered promiscuous mode
Nov  1 19:26:55 OpenWrt user.info kernel: br-wan: port 1(eth1) entering forwarding state
Nov  1 19:26:55 OpenWrt user.info kernel: device wlan0 entered promiscuous mode
Nov  1 19:26:56 OpenWrt user.info kernel: br-wan: port 2(wlan0) entering disabled state
Nov  1 19:26:56 OpenWrt user.info kernel: device wlan0 left promiscuous mode
Nov  1 19:26:56 OpenWrt user.info kernel: br-wan: port 2(wlan0) entering disabled state
Nov  1 19:26:56 OpenWrt daemon.info dnsmasq[919]: reading /tmp/resolv.conf.auto
Nov  1 19:26:56 OpenWrt daemon.warn dnsmasq[919]: ignoring nameserver 192.168.179.1 - local interface
Nov  1 19:26:56 OpenWrt daemon.info dnsmasq[919]: using local addresses only for domain lan
Nov  1 19:26:57 OpenWrt user.debug kernel: wlan0: authenticate with d8:5d:4c:e6:c4:67 (try 1)
Nov  1 19:26:57 OpenWrt user.debug kernel: wlan0: authenticated
Nov  1 19:26:57 OpenWrt user.debug kernel: wlan0: associate with d8:5d:4c:e6:c4:67 (try 1)
Nov  1 19:26:57 OpenWrt user.debug kernel: wlan0: RX AssocResp from d8:5d:4c:e6:c4:67 (capab=0x411 status=0 aid=4)
Nov  1 19:26:57 OpenWrt user.debug kernel: wlan0: associated
Nov  1 19:26:58 OpenWrt user.info kernel: device wlan0 entered promiscuous mode
Nov  1 19:26:58 OpenWrt user.info kernel: br-wan: port 2(wlan0) entering forwarding state
Nov  1 19:26:58 OpenWrt daemon.info dnsmasq[919]: reading /tmp/resolv.conf.auto
Nov  1 19:26:58 OpenWrt daemon.info dnsmasq[919]: using nameserver 192.168.178.1#53
Nov  1 19:26:58 OpenWrt daemon.warn dnsmasq[919]: ignoring nameserver 192.168.179.1 - local interface
Nov  1 19:26:58 OpenWrt daemon.info dnsmasq[919]: using local addresses only for domain lan
Nov  1 19:26:59 OpenWrt user.notice rdate: Failed to sync with ac-ntp1.net.cmu.edu
Nov  1 19:26:59 OpenWrt user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Nov  1 19:26:59 OpenWrt user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Nov  1 19:27:06 OpenWrt user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Nov  1 19:27:07 OpenWrt user.notice rdate: Synced with cudns.cit.cornell.edu
Nov  1 19:27:56 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:27:56 OpenWrt user.info kernel: eth1: link down
Nov  1 19:27:56 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:28:26 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:28:26 OpenWrt user.info kernel: eth1: link down
Nov  1 19:28:26 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:29:21 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:29:21 OpenWrt user.info kernel: eth1: link down
Nov  1 19:29:21 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:30:26 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:30:26 OpenWrt user.info kernel: eth1: link down
Nov  1 19:30:26 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:31:26 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:31:26 OpenWrt user.info kernel: eth1: link down
Nov  1 19:31:26 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:32:31 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:32:31 OpenWrt user.info kernel: eth1: link down
Nov  1 19:32:31 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:33:31 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:33:31 OpenWrt user.info kernel: eth1: link down
Nov  1 19:33:31 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:34:36 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:34:36 OpenWrt user.info kernel: eth1: link down
Nov  1 19:34:36 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:35:28 OpenWrt daemon.warn dnsmasq-dhcp[919]: no address range available for DHCP request via br-lan
Nov  1 19:35:31 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:35:31 OpenWrt user.info kernel: eth1: link down
Nov  1 19:35:31 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:35:33 OpenWrt daemon.warn dnsmasq-dhcp[919]: no address range available for DHCP request via br-lan
Nov  1 19:35:41 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:35:41 OpenWrt user.info kernel: eth1: link down
Nov  1 19:35:41 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:35:41 OpenWrt daemon.warn dnsmasq-dhcp[919]: no address range available for DHCP request via br-lan
Nov  1 19:35:51 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:35:51 OpenWrt user.info kernel: eth1: link down
Nov  1 19:35:51 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:35:58 OpenWrt daemon.warn dnsmasq-dhcp[919]: no address range available for DHCP request via br-lan
Nov  1 19:36:01 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:36:01 OpenWrt user.info kernel: eth1: link down
Nov  1 19:36:01 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:36:16 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:36:16 OpenWrt user.info kernel: eth1: link down
Nov  1 19:36:16 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:36:26 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:36:26 OpenWrt user.info kernel: eth1: link down
Nov  1 19:36:26 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:36:41 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:36:41 OpenWrt user.info kernel: eth1: link down
Nov  1 19:36:41 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:36:56 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:36:56 OpenWrt user.info kernel: eth1: link down
Nov  1 19:36:56 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:37:26 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:37:26 OpenWrt user.info kernel: eth1: link down
Nov  1 19:37:26 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:38:46 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:38:46 OpenWrt user.info kernel: eth1: link down
Nov  1 19:38:46 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:39:26 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:39:26 OpenWrt user.info kernel: eth1: link down
Nov  1 19:39:26 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:40:26 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:40:26 OpenWrt user.info kernel: eth1: link down
Nov  1 19:40:26 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:41:51 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:41:51 OpenWrt user.info kernel: eth1: link down
Nov  1 19:41:51 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:42:56 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:42:56 OpenWrt user.info kernel: eth1: link down
Nov  1 19:42:56 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:43:36 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:43:36 OpenWrt user.info kernel: eth1: link down
Nov  1 19:43:36 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:44:16 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:44:16 OpenWrt user.info kernel: eth1: link down
Nov  1 19:44:16 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:45:25 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Nov  1 19:45:25 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Nov  1 19:45:26 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:45:26 OpenWrt user.info kernel: eth1: link down
Nov  1 19:45:26 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:45:28 OpenWrt daemon.crit dnsmasq[2410]: failed to bind DHCP server socket: Address already in use
Nov  1 19:45:28 OpenWrt daemon.crit dnsmasq[2410]: FAILED to start up
Nov  1 19:46:21 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:46:21 OpenWrt user.info kernel: eth1: link down
Nov  1 19:46:21 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)
Nov  1 19:47:16 OpenWrt user.debug kernel: eth1: tx timeout
Nov  1 19:47:16 OpenWrt user.info kernel: eth1: link down
Nov  1 19:47:16 OpenWrt user.info kernel: eth1: link up (100Mbps/Full duplex)

777

(49 odpowiedzi, napisanych Oprogramowanie / Software)

to żeby zpingować ap muszę otworzyć port lub wyłączyć firewall?

778

(49 odpowiedzi, napisanych Oprogramowanie / Software)

wogóle nie pinguje routera z którym mam się połączyć, chyba się nie połączyłem z routerem
iwconfig

root@OpenWrt:/# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

br-lan    no wireless extensions.

br-wan    no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"internet"
          Mode:Managed  Frequency:2.417 GHz  Access Point: D8:5D:4C:E6:C4:67
          Bit Rate=65 Mb/s   Tx-Power=20 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=57/70  Signal level=-53 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

779

(49 odpowiedzi, napisanych Oprogramowanie / Software)

tylko pasowało by ustawić statyczne ip na wan i lan
czy jak ustawie network tak jak poniżej będzie dobrze?

config interface lan
        option ifname   eth0
        option type     bridge
        option proto    static
        option ipaddr   192.168.179.1
        option netmask  255.255.255.0
        option dns      192.168.179.1
        option gateway  192.168.179.1

config interface wan
        option ifname   eth1
        option type     bridge
        option proto    static
        option ipaddr   192.168.178.11
        option netmask  255.255.255.0
        option dns      192.168.178.1
        option gateway  192.168.178.1

config switch eth0
        option enable_vlan      1

config switch_vlan
        option device   eth0
        option vlan     1
        option ports    "0 1 2 3 4"

780

(49 odpowiedzi, napisanych Oprogramowanie / Software)

nic nie otwierałem, jak to mam zrobić, na razie łącze się przez telnet

781

(49 odpowiedzi, napisanych Oprogramowanie / Software)

z serwera na klienta, widzę w logach na drugim routerze że się połączył, teraz chce się wbić do niego

782

(49 odpowiedzi, napisanych Oprogramowanie / Software)

mimo wszystko powinienem wbić się do niego z sieci zewnętrznej

783

(49 odpowiedzi, napisanych Oprogramowanie / Software)

ok połączyłem się ale nie mogę się wbić przez wifi na router
co muszę zmienić w network żebym się przez wifi połączył
plik 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 ifname   eth0.0 eth0.1
        option type     bridge
        option proto    static
        option ipaddr   192.168.178.11
        option netmask  255.255.255.0
        option dns      192.168.178.1
        option gateway  192.168.178.1

config interface wan
        option ifname   eth1
#       option proto    dhcp

config switch eth0
        option enable_vlan      1

config switch_vlan
        option device   eth0
        option vlan     1
        option ports    "0 1 2 3 4"

plik wireless

config wifi-device  radio0
        option type     mac80211
        option channel  2
        option macaddr  d8:5d:4c:f6:86:00
        option hwmode   11ng
        option htmode   HT20
        list ht_capab   SHORT-GI-40
        list ht_capab   TX-STBC
        list ht_capab   RX-STBC1
        list ht_capab   DSSS_CCK-40
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 0


config wifi-iface
        option device   radio0
        option network  wan
        option mode     sta
        option ssid     internet
#       option bssid    00:1c:10:fe:3a:7f
        option encryption psk2
        option key 1234567890


# config wifi-iface
 #       option device radio0
  #      option mode ap
   #     option network lan
    #    option ssid moja_siec
     #   option encryption psk2
      #  option key 1234567890

784

(49 odpowiedzi, napisanych Oprogramowanie / Software)

no właśnie próbuje zrobić samego clienta i nie mogę się połączyć

785

(49 odpowiedzi, napisanych Oprogramowanie / Software)

nikt nie wie?

786

(49 odpowiedzi, napisanych Oprogramowanie / Software)

Próbuje zrobić na routerze TL741ND Clienta + AP. Internet ma być dostarczany przez WIFI a komputer ma być podłączony bezprzewodowo. Adresy IP mają być pobierane z routera nadrzędnego. Problem w tym że sieć "moja siec" widze ale nie mam internetu. Nie chce mi się łączyć połączyć z routerem nadrzędnym.

moje configi

/etc/config/wireless
config wifi-device  radio0
        option type     mac80211
        option channel  2
        option macaddr  d8:5d:4c:6f:86:00
        option hwmode   11ng
        option htmode   HT20
        list ht_capab   SHORT-GI-40
        list ht_capab   TX-STBC
        list ht_capab   RX-STBC1
        list ht_capab   DSSS_CCK-40
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 0


config wifi-iface
        option device   radio0
        option network  wan
        option mode     sta
        option ssid     internet
        option encryption psk2
        option key 1234567890


 config wifi-iface
        option device radio0
        option mode ap
        option network lan
        option ssid moja_siec
        option encryption psk2
        option key 1234567890
/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.178.11
        option netmask  255.255.255.0
        option dns      192.168.178.1
        option gateway  192.168.178.1
config interface wan
        option ifname   eth1
        option proto    dhcp

config switch eth0
        option enable_vlan      1

config switch_vlan
        option device   eth0
        option vlan     1
        option ports    "0 1 2 3 4" 

787

(5 odpowiedzi, napisanych Oprogramowanie / Software)

no to jaki polecasz?

Jaki sprzęt jest najlepszy pod openwrt? może być bez portów USB,jak najmocniejszy sygnał
co będzie na nim postawione
- serwer dhcp
- serwer freeradius2
- może VLAN
Może konkurencje wybrać Microtik?

789

(29 odpowiedzi, napisanych Oprogramowanie / Software)

zwracam honor, wgrałem oryginalnego frimware i dalej mam link na poziomie 65 Mbit/s, i powracam na openwrt

790

(29 odpowiedzi, napisanych Oprogramowanie / Software)

jednak dalej jest 65Mbit/s

root@OpenWrt:/# iw dev wlan0 station dump
Station                            (on wlan0)
        inactive time:  10 ms
        rx bytes:       182153
        rx packets:     729
        tx bytes:       197585
        tx packets:     568
        signal:         -49 dBm
        tx bitrate:     65.0 MBit/s MCS 7
Station                            (on wlan0)
        inactive time:  7200 ms
        rx bytes:       241828
        rx packets:     444
        tx bytes:       59606
        tx packets:     382
        signal:         -64 dBm
        tx bitrate:     1.0 MBit/s

791

(29 odpowiedzi, napisanych Oprogramowanie / Software)

już nic z tego nie rozumiem, na komputerze stacjonarnym połączyłem się i mam link 130 Mbit/s mimo że htmode  mam ustawione na  HT20, jak mogę sprawdzić na openwrt listę aktualnych klientów z poziomem sygnału + szybkość linku?

792

(29 odpowiedzi, napisanych Oprogramowanie / Software)

ale jak mam wgrać na router czy odpalić tftpd?

793

(29 odpowiedzi, napisanych Oprogramowanie / Software)

ostatnie pytanie jak z poziomu komend przywrócić oryginalny frimware?

794

(29 odpowiedzi, napisanych Oprogramowanie / Software)

jak ustawie HT20 link jest dalej na poziomie 65Mbit/s, czyli wniosek jest tylko jeden że HT40 ie nic nie zmienia

795

(29 odpowiedzi, napisanych Oprogramowanie / Software)

ok, ale jak zwiększyć sygnał, czy się w ogóle da?
mój plik pli wieless jest następujący

config wifi-device  radio0
        option type     mac80211
        option channel  10
        option macaddr  d8:5d:4c:f6:86:00
        option hwmode   11ng
        option htmode   HT40+
        list ht_capab   SHORT-GI-40
        list ht_capab   TX-STBC
        list ht_capab   RX-STBC1
        list ht_capab   DSSS_CCK-40
        option country  US
        option txpower  20



config wifi-iface cfg2
        option device   radio0
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option encryption psk2
        option key 1234567890

796

(29 odpowiedzi, napisanych Oprogramowanie / Software)

dziwne jest to że w pokoju obok drugi 741ND i jak się połącze link jest na poziomie 130Mbit/s, chyba jest to wina sterowników pod openwrt, nawet jak wyłącze wszystkie sieci bezprzewodowe w domu, to dalej jest link na poziomie 65Mbit/s

797

(29 odpowiedzi, napisanych Oprogramowanie / Software)

chyba trzeba by było coś w sterowniku pozmieniać
http://www.insecure.ws/2010/06/05/wifi- … egulations

798

(29 odpowiedzi, napisanych Oprogramowanie / Software)

no właśnie nie wiem, ale wydaje mi się że to zależy od regionu jaki się ma ustawiony

799

(29 odpowiedzi, napisanych Oprogramowanie / Software)

no to przecież mam ustawione teraz zmieniłem na region USA i maksymalną wartość w txpower może przyjąć 20. Czy to oznacza że mogę mieć tylko 100mW mocy wifi?

root@OpenWrt:/# cat /etc/config/wireless
config wifi-device  radio0
        option type     mac80211
        option channel  1
        option macaddr  d8:5d:4c:f6:86:00
        option hwmode   11ng
        option htmode   HT40+
        list ht_capab   SHORT-GI-40
        list ht_capab   TX-STBC
        list ht_capab   RX-STBC1
        list ht_capab   DSSS_CCK-40
        option country  USA
        option txpower  20

800

(29 odpowiedzi, napisanych Oprogramowanie / Software)

niestety nie działa, przy resetowaniu karty wifionoff wyskakuje błąd  Set Tx Power failed, oznacza to że ath9k/mac8021 tego nie obsługuje?

root@OpenWrt:/# wifionoff
Error for wireless request "Set Tx Power" (8B26) :
    SET failed on device wlan0 ; Invalid argument.
Configuration file: /var/run/hostapd-phy0.conf
20/40 MHz operation not permitted on channel pri=1 sec=5 based on overlapping BSSes
Using interface wlan0 with hwaddr d8:5d:4c:f6:86:00 and ssid 'OpenWrt'