Hurra!
Dlubalem, dlubalem a okazalo sie ze problem byl nie na routerku ale w moim xp.
Jakims cudem mialem konflikt pomiedzy karta LAN w laptopie a WiFi.
Jak zaczalem w desperacji zmieniac ustawienia w windowsie to w pewnym momencie zaczelo dzialac.
Co zrobilem? Disable na karcie LAN (obecnie i tak nie uzywanej).
Po kolejnym renew wifi w lapku - dziala, widze juz podsieci, jest komunikacja.
Ale czemu mialem caly czas internet? To pozostaje dla mnie niewiadomą.
Podejrzewam ze przyczyna moglo byc to ze statycznie nadany adres IP na LAN w lapku byl z tej samej podsieci co nadany dynamicznie dla wifi.

A routerek?
Swietny sprzet smile

Dzieki za pomoc
Darek

Cezary napisał/a:

Pokaż jeszcze regułki iptables (iptables -v -L, iptables -t nat -v -L)

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
WHITE RUSSIAN (0.9) -------------------------------
* 2 oz Vodka Mix the Vodka and Kahlua together
* 1 oz Kahlua over ice, then float the cream or
* 1/2oz cream milk on the top.
---------------------------------------------------
root@OpenWrt:~# iptables -v -L
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
116 8484 DROP all -- any any anywhere anywhere state INVALID
971 168K ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
7 280 DROP tcp -- any any anywhere anywhere tcp option=!2 flags:SYN/SYN
12170 4505K input_rule all -- any any anywhere anywhere
11523 4424K input_wan all -- vlan1 any anywhere anywhere
12170 4505K LAN_ACCEPT all -- any any anywhere anywhere
85 5185 ACCEPT icmp -- any any anywhere anywhere
0 0 ACCEPT gre -- any any anywhere anywhere
597 33377 REJECT tcp -- any any anywhere anywhere reject-with tcp-reset
10841 4385K REJECT all -- any any anywhere anywhere reject-with icmp-port-unreachable

Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 DROP all -- any any anywhere anywhere state INVALID
32931 1570K TCPMSS tcp -- any any anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
618K 222M ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
107K 4490K forwarding_rule all -- any any anywhere anywhere
0 0 forwarding_wan all -- vlan1 any anywhere anywhere
0 0 ACCEPT all -- br0 br0 anywhere anywhere
107K 4490K ACCEPT all -- br0 vlan1 anywhere anywhere

Chain LAN_ACCEPT (1 references)
pkts bytes target prot opt in out source destination
11523 4424K RETURN all -- vlan1 any anywhere anywhere
0 0 RETURN all -- eth0 any anywhere anywhere
647 81338 ACCEPT all -- any any anywhere anywhere

Chain OUTPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 DROP all -- any any anywhere anywhere state INVALID
2841 430K ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
438 33793 output_rule all -- any any anywhere anywhere
438 33793 ACCEPT all -- any any anywhere anywhere
0 0 REJECT tcp -- any any anywhere anywhere reject-with tcp-reset
0 0 REJECT all -- any any anywhere anywhere reject-with icmp-port-unreachable

Chain forwarding_rule (1 references)
pkts bytes target prot opt in out source destination

Chain forwarding_wan (1 references)
pkts bytes target prot opt in out source destination

Chain input_rule (1 references)
pkts bytes target prot opt in out source destination

Chain input_wan (1 references)
pkts bytes target prot opt in out source destination

Chain output_rule (1 references)
pkts bytes target prot opt in out source destination
root@OpenWrt:~#




===============
root@OpenWrt:~# iptables -t nat -v -L
Chain NEW (1 references)
pkts bytes target prot opt in out source destination
90201 12M RETURN all -- any any anywhere anywhere limit: avg 50/sec burst 100
0 0 DROP all -- any any anywhere anywhere

Chain PREROUTING (policy ACCEPT 90201 packets, 12M bytes)
pkts bytes target prot opt in out source destination
90201 12M NEW all -- any any anywhere anywhere state NEW
90201 12M prerouting_rule all -- any any anywhere anywhere
45933 8448K prerouting_wan all -- vlan1 any anywhere anywhere

Chain POSTROUTING (policy ACCEPT 11 packets, 3237 bytes)
pkts bytes target prot opt in out source destination
41803 2484K postrouting_rule all -- any any anywhere anywhere
41793 2481K MASQUERADE all -- any vlan1 anywhere anywhere

Chain OUTPUT (policy ACCEPT 374 packets, 28640 bytes)
pkts bytes target prot opt in out source destination

Chain postrouting_rule (1 references)
pkts bytes target prot opt in out source destination

Chain prerouting_rule (1 references)
pkts bytes target prot opt in out source destination

Chain prerouting_wan (1 references)
pkts bytes target prot opt in out source destination

usunalem qos, restart.
imq zniknal z ifconfig ale nie zmienilo to zachowania sie routera.
Tak samo wyglada route, podobnie wyglada ifconfig...
i tak samo wifi nie widzi tego co w lanie.

root@OpenWrt:~# cat /tmp/dhcp.leases
1173686998 00:14:85:2a:a7:9d 192.168.1.101 dlap *

root@OpenWrt:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
80.xx.xx.xx    *                   255.255.255.224 U      0      0        0 vlan1
192.168.1.0    *                   255.255.255.0   U       0      0        0 br0
default           80.xx.xx.yy    0.0.0.0              UG    0      0        0 vlan1

nic nie robilem z imq i za bardzo nie wiem skad taki interfejs pojawia sie w ifconfig.
Zainstalowalem standard + pakiet od zarzadzania pasmem (zero wlasnej konfiguracji w nim).


Darek

Mam wersje premium. 100%
Uklad sieci w tej chwili:
a) routerek jest wpiety bezposrednio do internetu
    dostepny poprzez IP: 192.168.1.1  (z peceta, b)

b) pecet wpiety po kablu do routerka, ip: 192.168.1.199

c) laptop, wpiety przez wifi: ip 192.168.1.101

Kazdy z powyzszych elementow ma dostep do internetu.
na routerka mozna sie dostac poprzez ssh z peceta b)
ping z peceta b) na routerek dziala, dziala tez z routerka na tego peceta
laptop - ma dostep do internetu ale nie widzi routerka ani peceta b. One tez nie widza laptopa. Pingi nie chodza.
Ponizej obecne ustawienia nvram.

----
root@OpenWrt:~# nvram show | sort
size: 2021 bytes (30747 left)
boardflags=0x0110
boardnum=45
boardrev=0x10
boardtype=0x042f
boot_wait=off
bridge_disable=0
cfe_wait_led_gpio=1
cfe_wait_on_restore=0
clkfreq=264
custom_shutdown_command=stoprcasus
default_boardflags=0x0110
default_http_passwd=
default_http_username=
default_lan_proto=dhcp_server
default_new_disk_action=no_action
default_physical_authentication_enable=disabled
default_primary_pool_name=
default_primary_share_name=
default_router_disable=0
default_start_page=start_system.asp
default_workgroup=DOMEK
dhcp_enable_x=1
dl_ram_addr=a0001000
early_startup_command=convertasus
et0macaddr=00-30-4F-31-7D-E4
et0mdcport=0
et0phyaddr=30
et1macaddr=40:10:18:00:00:2d
et1mdcport=1
et1phyaddr=31
gpio6=robo_reset
gpio_0_name=soft_power_switch
gpio_3_name=power_enable
hardware_version=WL500gH-01-00-00-00
kernel_gpio_init_out_3=1
kernel_gpio_init_out_6=1
lan_dhcp=1
lan_ifname=br0
lan_ifnames=vlan0 eth2
lan_ipaddr=192.168.1.1
lan_netmask=255.255.255.0
lan_proto=static
landevs=vlan0 wl0
misc_io_mode=bcmgpio
os_flash_addr=bfc40000
os_ram_addr=80001000
pmon_ver=CFE 3.91.23.0
pppoe_ifname=
pppoe_ifnames=
primary_ifname=eth0
regulation_domain=0X30DE
rescue_gpio=4
reset_gpio=7
scratch=a0180000
sdram_config=0x0062
sdram_init=0x0009
sdram_ncdl=0x408
sdram_refresh=0x0000
ses_enable=0
startup_command=rcasus
vlan0hwname=et0
vlan0ports=1 2 3 4 5*
vlan1hwname=et0
vlan1ports=0 5
wait_time=1
wan_device=eth0
wan_hwaddr=00-30-4F-31-7D-E4
wan_ifname=vlan1
wan_ifnames=vlan1
wan_proto=dhcp
wan_vport=4
wandevs=et0
watchdog=5000
web_hook_libraries=corewebhooks netwebhooks diskwebhooks winnet printwebhooks netregistration samplenetregistration samplehooks
wifi_ifname=
wifi_ifnames=
wl0_akm=psk psk2
wl0_channel=3
wl0_closed=1
wl0_crypto=tkip+aes
wl0_ifname=eth2
wl0_infra=1
wl0_maclist=<mac mojego laptopa>
wl0_macmode=allow
wl0_mode=ap
wl0_radio=1
wl0_ssid=<SSID mojej sieci>
wl0_wep=disabled
wl0_wpa_psk=<Haslo dla WIFI>
wl0id=0x4320
wlan_hardware_present=yes
wlan_ifname=eth2
wlan_ipaddr=192.168.21.1
wlan_netmask=255.255.255.0


a tu wynik ifconfig

root@OpenWrt:~# ifconfig
br0       Link encap:Ethernet  HWaddr 00:17:31:E7:59:E4
          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:8115 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7688 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1466597 (1.3 MiB)  TX bytes:3568360 (3.4 MiB)

eth0      Link encap:Ethernet  HWaddr 00:30:4F:31:7D:E4
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:18418 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10138 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5326973 (5.0 MiB)  TX bytes:2045627 ( 1.9 MiB)
          Interrupt:4

eth2      Link encap:Ethernet  HWaddr 00:17:31:E7:59:E4
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:5247 errors:0 dropped:0 overruns:0 frame:12896
          TX packets:5285 errors:40 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:899713 (878.6 KiB)  TX bytes:3140887 (2.9 MiB)
          Interrupt:2 Base address:0x2000

imq0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP RUNNING NOARP  MTU:1500  Metric:1
          RX packets:11649 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11649 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:5
          RX bytes:4079214 (3.8 MiB)  TX bytes:4079214 (3.8 MiB)

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:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:91 (91.0 B)  TX bytes:91 (91.0 B)

vlan0     Link encap:Ethernet  HWaddr 00:30:4F:31:7D:E4
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:2866 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2583 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:651521 (636.2 KiB)  TX bytes:550551 ( 537.6 KiB)

vlan1     Link encap:Ethernet  HWaddr 00:30:4F:31:7D:E4
          inet addr:80.xx.xx.xx  Bcast:80.xx.xx.xx Mask: 255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15552 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7553 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:5
          RX bytes:4344049 (4.1 MiB)  TX bytes:1436082 (1.3 MiB)

Darek

Czesc,

Od jesieni mam wl500gp, na poczatku zainstalowalem na nim openWrt RC5 i dzialalo swietnie przez dlugi czas.
wifi "widzialo sie" z LANem, a wiec moglem spokojnie uzywac zasobow z laptopa (wifi) na stacjonarnych komputerach wpietych do routerka przez kabel.
NIedawno przestalo to dzialac.
Nadal wifi i LAN mialy internet ale nie widzialy sie miedzy soba.

Dzisiaj postanowilem zainstalowac nowe openWRT (0.9), postepowalem zgodnie z jakims opisem z sieci.
Ale to nie pomoglo, podsieci nie widza sie.

Pozniej znalazlem opis w tym serwisie (eko.one.pl), postanowilem sprobowac:
Najpierw pewne drobne niescislosci:

a)
instrukcja:   
      mtd clear nvram
powinna zostac zmieniona na
      mtd erase nvram

b)
instrukcja
     nvram set wan_hwaddr="XX:XX:XX:XX:XX:XX"
nie przyniosla spodziewanych efektow, eth0 nadal mialo stary numer.
Dopiero podobna instrukcja ze zmienna znaleziona przez "nvram show" dala spodziewane efekty.


Poza tym wszystko slicznie.
Wyczyscilem wiec nvram i wrzucalem kolejne ustawienia z opisu.
Wynik?
Znowu LAN i WIFI maja internet ale nie widza sie wzajemnie.
Probuje z WIFI pingowac router to dostaje pod Windowsem XP "Błąd sprzętu".
A ping do onetu dziala bez zarzutu. Internet wydaje sie dzialac bez zarzutu.

Zastanawiam się co mogło spowodować przerwanie tej łączności w przeszlosci, bo po pierwotnym skonfigurowaniu routerka na jesieni - nic w nim nie zmienialem...
Jakiś pomysł co może być źle?

Pozdrawiam
Darek