Temat: Client+AP

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" 

2

Odp: Client+AP

nikt nie wie?

3

Odp: Client+AP

Nikt nie ma pojęcia smile.

Zrób same apclienta i zobacz  czy w ogóle się połączy.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

4

Odp: Client+AP

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

5

Odp: Client+AP

Hasło i typ kodowania poprawny? iwconfig pokazuje połączony Ap?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

6

Odp: Client+AP

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

7

Odp: Client+AP

Klient zawsze natujący jest, wiec lan nie moze być z tej samej klasy adresowej co wan.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8

Odp: Client+AP

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

9

Odp: Client+AP

Z klienta? Nie, bo trasa domyślna na lan wskazuje.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10

Odp: Client+AP

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

11

Odp: Client+AP

A otworzyłeś porty na wan?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12

Odp: Client+AP

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

13

Odp: Client+AP

http://eko.one.pl/?p=openwrt-konfigurac … estronywan

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14 (edytowany przez tomi513 2010-11-01 19:23:29)

Odp: Client+AP

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"

15

Odp: Client+AP

Tak, adresy możesz ustawić na stałe.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16

Odp: Client+AP

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

17

Odp: Client+AP

Tak, jesteś połączony - Access Point: D8:5D:4C:E6:C4:67

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

18

Odp: Client+AP

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

19

Odp: Client+AP

Nie. Z klienta do ap nie musisz nic robić. Zobacz logread i czy nie masz nim czegoś ciekawego. Np. timeouty na wifi...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

20

Odp: Client+AP

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)

21

Odp: Client+AP

No czekaj, a gateway Ci się pinguje? 192.168.178.1?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

22 (edytowany przez tomi513 2010-11-01 19:52:16)

Odp: Client+AP

gatweya też nie mogę pingować, coś jest źle
może nat nie włączony?
dziwne raz pingi idą raz nie

root@OpenWrt:/# ping wp.pl
PING wp.pl (212.77.100.101): 56 data bytes
64 bytes from 212.77.100.101: seq=1 ttl=246 time=31.796 ms
64 bytes from 212.77.100.101: seq=2 ttl=246 time=33.551 ms
64 bytes from 212.77.100.101: seq=3 ttl=246 time=30.094 ms
64 bytes from 212.77.100.101: seq=4 ttl=246 time=31.749 ms
64 bytes from 212.77.100.101: seq=5 ttl=246 time=31.177 ms
64 bytes from 212.77.100.101: seq=6 ttl=246 time=30.609 ms
^C
--- wp.pl ping statistics ---
7 packets transmitted, 6 packets received, 14% packet loss
round-trip min/avg/max = 30.094/31.496/33.551 ms
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 wp.pl
PING wp.pl (212.77.100.101): 56 data bytes
^C
--- wp.pl ping statistics ---
12 packets transmitted, 0 packets received, 100% packet loss

23

Odp: Client+AP

To znaczy że Ci rwie połączenie na wifi z jakiegoś powodu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

24

Odp: Client+AP

może mam złe configi?

25

Odp: Client+AP

nie nie o to chodzi, ale męcząca jest ta konfiguracja i to mnie najbardziej denerwuje, jeszcze próbuje swoich sił
jak uruchamiam wifionof wyskakuje taki komunikat

root@OpenWrt:/# wifionoff
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument

plik wireless

config wifi-device  radio0
        option type     mac80211
        option channel  12
        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 encryption psk2
       option key 1234567890