What's new

Wifi dual wan

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Paxsat

Regular Contributor
How can I use my neighbor's WiFi network as Dual Wan my Rt-N66U? (or usb wifi dongle)

Inviato dal mio SM-N7505 utilizzando Tapatalk
 
You can't. Dual WAN only works with a standard Ethernet connection, or a compatible 3G/4G adapter.
 
You can't. Dual WAN only works with a standard Ethernet connection, or a compatible 3G/4G adapter.

if use only web interface - yes.

but if use console or startup scripts:

- make dual wan (wan and lan4 for example)
- remove wifi from br0
- make br1 and add to br1 wan and wifi
- connect usb wifi-2 (if find compatible driver)
- make br2 and add to br2 lan4 and wifi-2
 
Can u help me? My usb wifi is dlink dwa-140. Ty ( I saw a tutorial where in ddwrt added a virtual interface wifi)
Sorry for my english (Google traslate)
Inviato dal mio SM-N7505 utilizzando Tapatalk
 
I read about wds.... Like..
Code:
 iwconfig wlan0 mode Master
iwconfig wlan0 essid whateveressid
iwpriv wlan0 wds_add 
brctl addbr br0
brctl addif wlan0
brctl addif wlan0wds0
ifconfig wlan0 0.0.0.0
ifconfig wlan0wds0 0.0.0.0
ifconfig br0
And
Code:
        # create virtual wlan adapter and run HostAP
iw phy phy0 interface add hostap.wlan1 type managed
ifconfig hostap.wlan1 down
ifconfig hostap.wlan1 hw ether 12:34:56:78:90:ab
ifconfig hostap.wlan1 192.168.0.1 up
hostapd /etc/hostapd.conf -B

# start DHCP and DNS
systemctl start dhcpd.service
systemctl start named.service

# connect to upstream AP
wpa_supplicant -D wext -i wlan0 -c /etc/wpa.conf -B
dhcpcd wlan0

# enable NAT
iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE
iptables --append FORWARD --in-interface hostap.wlan1 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
Inviato dal mio SM-N7505 utilizzando Tapatalk
 
Last edited:
with another usb wifi g (my old MovieCube - EMTEC)


Code:
Nov 16 16:08:57 kernel: usb 1-1.2: USB disconnect, address 5
Nov 16 16:08:57 kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Nov 16 16:08:57 kernel: option 1-1.2:1.0: device disconnected
Nov 16 16:08:57 kernel: usbcore: deregistering interface driver option
Nov 16 16:08:57 kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver GSM modem (1-port)
Nov 16 16:08:57 kernel: usbcore: deregistering interface driver usbserial_generic
Nov 16 16:08:57 kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
Nov 16 16:08:57 kernel: usbcore: deregistering interface driver usbserial
Nov 16 16:09:03 kernel: usb 1-1.2: new high speed USB device using ehci_hcd and address 6
Nov 16 16:09:03 kernel: usb 1-1.2: configuration #1 chosen from 1 choice
Nov 16 16:09:05 kernel: usbcore: registered new interface driver usbserial
Nov 16 16:09:05 kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Nov 16 16:09:05 kernel: usbcore: registered new interface driver usbserial_generic
Nov 16 16:09:05 kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
Nov 16 16:09:05 kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
Nov 16 16:09:05 kernel: option 1-1.2:1.0: GSM modem (1-port) converter detected
Nov 16 16:09:05 kernel: usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
Nov 16 16:09:05 kernel: usbcore: registered new interface driver option
Nov 16 16:09:05 kernel: drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.2
Nov 16 16:09:11 kernel: ACCEPT  <4>ACCEPT IN=ppp0 OUT=br0 <1>SRC=107.170.118.23 DST=192.168.1.2 <1>LEN=60 TOS=0x08 PREC=0x40 TTL=49 ID=27428 DF PROTO=TCP <1>SPT=45778 DPT=5900 SEQ=2195727546 ACK=0 WINDOW=29200 RES=0x00 SYN URGP=0 OPT (020405AC0402080A5EEF4F9E0000000001030308)
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top