I have TP-Link 842ND. I set up wlan client and can ping the ip of the new wwan interface and its also bound to that interface.
When i unplug the lan, the ip is no more reachable. Why is this?
Also i tried to setup bridging between wwan and lan but failed. I tried also parprouted:
http://randomtristan.blogspot.de/2011/0 … -wpa2.html
and failed too.
I just want to have that wwan interface reachable, what can i do?
/etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option macaddr 'localmac'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option hwmode '11g'
option country 'DE'
option txpower '20'
option disabled '0'
config wifi-iface
option ssid 'myssid'
option encryption 'psk2'
option device 'radio0'
option mode 'sta'
option bssid 'remotemac'
option key 'pass'
option network 'WWAN'
/etc/config/network
confg interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.2.5'
option gateway '192.168.2.1'
option dns '192.168.2.1'
option _orig_ifname 'eth0'
option _orig_bridge 'true'
option ifname 'eth0'
config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
config switch
option name 'eth0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'eth0'
option vlan '1'
option ports '0 1 2 3 4'
config interface 'WWAN'
option proto 'static'
option ipaddr '192.168.2.6'
option netmask '255.255.255.0'
option gateway '192.168.2.1'
option dns '192.168.2.1'
iwconfig
wlan0 IEEE 802.11bgn ESSID:"myssid"
Mode:Managed Frequency:2.462 GHz Access Point: remotemac
Bit Rate=24 Mb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70 Signal level=-40 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:7 Missed beacon:0
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.2.1 0.0.0.0 UG 0 0 0 wlan0
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.2.0 * 255.255.255.0 U 0 0 0 wlan0
eth0 Link encap:Ethernet HWaddr localmac1
inet addr:192.168.2.5 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1064 errors:0 dropped:7 overruns:0 frame:0
TX packets:816 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:142494 (139.1 KiB) TX bytes:326967 (319.3 KiB)
Interrupt:5
wlan0 Link encap:Ethernet HWaddr localmac2
inet addr:192.168.2.6 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:453 errors:0 dropped:7 overruns:0 frame:0
TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:60055 (58.6 KiB) TX bytes:10808 (10.5 KiB)
(Last edited by xrated on 26 Apr 2014, 11:51)