Fonera – Client Mode config as backup WAN

Start from factory default: Admin > Factory Defaults > Yes > Save

Note: if La Fonera lose connectivity or IP, connect via 169.254.255.1

Main changes to perform:

Setup > Basic Settings

  • Internet Connection Type: Automatic Configuration – DHCP.
  • Local IP: 192.168.Z.Y, where Z is any number between 1 and 255 that IS NOT the same as X in the host router settings. I used 192.168.3.1 for my tests.
  • Subnet: 255.255.255.0, or whatever is identical to the same setting in the host router.
  • Gateway & Local DNS: Leave these blank or the same as your host router’s Local IP.

Wireless > Basic Settings

Before altering the following, change Wireless Channel to an identical setting to the host router’s Wireless Channel. In my tests I used 11 (2.426 GHz). Hit save settings and continue with the guide. This setting will be unavailable after changing to Client mode.

  • Wireless Mode: Client.
  • Wireless Network Mode: Mixed. A setting identical to the host router is all that has been tested. Either using mixed on the La Fonera, or a separate setting that is identical to the same Wireless Network Mode used on the host router, will probably work.
  • “G-Only” on host OR both host & fon will not work – freonchill
  • Wireless Network Name (SSID): Identical to the same SSID in the host router.

Wireless > Wireless Security

  • Change the Security Mode for the Physical Interface to the same settings used on the host router.

At this point, if all settings are correct and the Fonera has connected as a client to the host router, the Fonera should now have gained an IP address from the host router.

Main guide is at DD-WRT forum: LaFonera Software Client-Mode

UniFi USG + Switch + AP – How to configure WAN Failover

UniFi Secirty Gateway (USG) WAN failover capability is not working using configuration UI. Here is step by step on how to have it working correctly.

Below you can find content of config.gateway.json to upload via WinSCP.

If you don’t have CloudKey, the correct path inside PC is “C:\Users\<username>\Ubiquiti UniFi\data\sites\default

{
     "load-balance": {
         "group": {
             "wan_failover": {
                 "flush-on-active": "enable"
             }
         }
     }
 }

AVM FRITZ!Box 7360

visual_fritzbox_7360_connectivity

 

  • High-speed Internet with VDSL/ADSL and impressive throughput rates
  • WLAN N with up to 300 Mbit/s in the 2.4 GHz band
  • Telephone system (PBX) for Internet and analog fixed-line telephony with integrated answering machine and fax reception
  • Integrated DECT base station for connecting up to six cordless telephones
  • Two USB ports for storage media, printers and UMTS sticks
  • Integrated media server for music, images and video
  • NAS functionality (FTP, SMB, UPnP AV)
  • MyFRITZ! – access your FRITZ!Box securely from anywhere in the world
  • Integrates iPhone and Android smartphones into the home network via WLAN and makes fixed-line and Internet telephony possible
  • VDSL/ADSL2+ connection with analog fixed line
  • Router can also be operated using a cable modem or UMTS stick (UMTS/HSPA)
  • Port for an analog terminal device
  • DECT base station for up to six cordless phones
  • WLAN radio networks in line with current standards (802.11n/g/b)
  • Two gigabit Ethernet ports, two high-speed Ethernet ports for connecting computers and games consoles, and integrating them into the network
  • Two USB 2.0 ports for devices such as printers, storage media and UMTS sticks
  • Integrated VDSL/ADSL modem for ADSL (6 Mbit/s), ADSL2+ (24 Mbit/s) and VDSL (100 Mbit/s)
  • Router can also be operated using a cable modem or UMTS stick
  • Supports the new IPv6 Internet Protocol
  • WLAN radio networks in line with 802.11n (up to 300 Mbit/s gross, depending on frequency band), downward-compatible with WLAN 802.11g and b
  • WLAN Eco and DECT Full Eco Mode reduce transmission power and electricity consumption
  • Guest access – secure surfing for friends and visitors
  • Sharing Internet access via LAN or WLAN
  • Factory-secured using WLAN and DECT encryption, as well as a preset firewall
  • DECT Eco: deactivation of radio signal as and when required
  • Secure remote access via the Internet (VPN)
  • Numerous additional and convenient features
  • Average power consumption: 8–11 watts

 

Data sheet FRITZ!Box 7360 [pdf]

Linksys Gateway X3000

mainImg

http://home.cisco.com/it-eu/products/gateways/X3000

Advanced Wireless-N ADSL2+ Modem Router

Model:

Linksys X3000

Technology:

Wireless-N

Bands:

2.4 GHz

Transmit/receive:

2 x 2

Antennas:

2 internal

Ports:

4 x Gigabit LAN
1 x Ethernet WAN
1 x DSL
1 x USB StorageLink

Cisco Connect Software:

  • Setup guest access
  • Manage parental controls
  • Advanced network settings

Setup:

Cisco Connect CD Install

Warranty:

2 year hardware limited warranty

OS compatibility:

Windows, Mac

Minimum system requirements:

  • PC: Wi-Fi enabled PC with CD or DVD drive, running Windows XP SP3, Windows Vista SP1 or later or Windows 7
  • Mac: Wi-Fi enabled Mac with CD or DVD drive, running OS X Leopard 10.5 or Snow Leopard 10.6

Internet browser requirements:

  • Internet Explorer 7, Safari 4, or Firefox 3 or higher for optional browser-based configuration

Package contents:

  • Linksys X3000 Advanced Wireless-N ADSL2+ Modem Router
  • Quick start guide
  • CD-ROM with setup software and resources
  • Ethernet cable
  • Power adapter

FRITZ!Box Fon WLAN 7270

image

image

The connectivity of AVM’s FRITZ!Box is as broad and flexible as its fields of deployment. The minute you install your FRITZ!Box it becomes the heart of your communication system. Internet, wireless networking and telephony are simultaneously managed and controlled from a single hub that provides extremely flexible connectivity solutions.

  • Conventional phone line, either ISDN or analog
  • Extensions for analog phones, faxes or answering machines, ISDN phone or PBX
  • Integrated DECT base station (GAP) for up to 6 cordless telephones
  • Provides for WLAN wireless connections compliant with common standards
  • Ethernet ports (10/100 Mbit/s) for computers, game consoles (such as Xbox or PlayStation), or LAN hub or switch to connect additional PCs
  • USB 2.0 host for USB printers or USB mass storage media in the network

Some key facts, technical features and capabilities of AVM’s FRITZ!Box are presented below. These technical details may vary for different models and production series and depending on the country in which the FRITZ!Box was purchased.

  • WLAN router with DHCP server and IP masquerading/Network Address Translation
  • Integrated ADSL modem supports ADSL and ADSL 2+
  • PBX for Internet and fixed-line network (ISDN and fixed lines)
  • Integrated DECT base station (GAP) for up to 6 cordless telephones; ready for the new DECT standard with better voice quality (CAT-iq)
  • WLAN wireless networks in accordance with 802.11n (up to 300 Mbit/s gross), WLAN 802.11g, b and a
  • WLAN support for 2.4-GHz and 5-GHz connections
  • WLAN encryption with WPA/WPA2 Mixed Mode, WPA2, WPA, WEP-64 or WEP-128
  • WLAN Eco Mode reduces output power and power consumption
  • USB 2.0 port for USB devices such as printers and storage media for combined use on the network; memory available on the LAN, WLAN and Internet
  • Distribution of video and audio in the network (integrated NAS storage and media server)
  • Secure WDS repeater mode for extending WLAN range
  • Secure WLAN connection to new devices at touch of a button(WPS)
  • Wake on LAN: Wake up network devices from standby operation
  • Media server distributes music on the network to UPnP AV-compatible receivers
  • Firewall with stateful packet inspection and secure port forwarding for local servers
  • WAN port for connection to an existing cable modem or router
  • Dimensions: 210 x 155 x 25 mm; can be mounted on a desktop or wall
  • Average consumption: 6-8 watts

More information about the serial

Alice Gate VoIP 2 Plus Wi-Fi AGPF_4.5.0sx – Rollback to 4.4.2 + Change the settings

Follow this guide to install 4.4.2:
http://www.ilpuntotecnicoeadsl.com/forum/index.php/topic,10572.0.html

+ this guide:
http://inglele.blogspot.com/2009/02/dd-wrt-on-alice-gate-voip-2-plus-wi-fi.html

Enable VOIP
Enable VOIP line
Discus> conf set /voip/line/0/enabled 1
Discus> conf set /voip/line/1/enabled 1
Discus> conf reconf 1

Add PPPOE Connection
usage: pppoe add dev [vpi vci encap {LLCVCMux}]

type:
connection pppoe add aliceadsl aliceadsl WANETHoA

Then save new discuss.conf and lookfor “ppp2” select from ( … to … ) and overwrite with this one to enable auto connection to web:

(ppp2
(enabled(1))
(logical_network(1))
(type(pppoe))
(has_ip(1))
(is_sync(0))
(is_dns_neg(1))
(mtu_mode(1))
(default_route(0))
(route_level(1))
(rip
(enabled(0))
)
(mcast
(igmp_proxy_default(1))
(version(3))
)
(is_trusted(0))
(dyn
(override_netmask(0.0.0.0))
(use_override_netmask(0))
)
(static
(ip(0.0.0.0))
(netmask(0.0.0.0))
(gateway(0.0.0.0))
)
(ppp
(auth
(pap(1))
(chap(1))
(ms_chap_v1(1))
(ms_chap_v2(1))
)
(reconnect_time(30))
(compression
(bsdcomp(1))
(deflate(1))
)
)
(max_idle(600))
(is_clamp_mtu(1))
(is_on_demand(0))
(depend_on_name(ethoa0))
(ppp_lcp_echo(120))
(ppp_lcp_echo_retry(4))
(id(12))
(description(Alice ADSL))
(connection_type(IP_Routed))
(nat_enable(1))
(nat_service(Generic))
(username(aliceadsl))
(password(&b7;`X&b3;&99;&0b;S&de;&c1;))
(dns_override(1))
(name_server
(0(151.99.125.1))
(1(151.99.0.100))
)
(connection_trigger(X_TELECOMITALIA_IT_Conditional))
(nat_pers_time(300))
(alias)
(dhcps(lease))
(cwmp_id())
(service_name())
(metric(1))
(is_unnumbered(0))
(ppp_open_session
(ppp_session_id(9482))
(ppp_server_addr(00:19:55:4c:7d:4a))
)
)

Alice Gate VoIP 2 Plus Wi-Fi AGPF_4.3.5 – Change the settings

[POST IN PROGRESS]

Please note that you shouldn’t modify your original Alice Router firmware provided by your ISP but, you could buy a new one on Ebay.

The router manufacturer is Pirelli and the firmware is released under GPL license.
A PDF with technical specifications is available.

Original Firmware Configuration

Technical details of the router are:

  • Nome = Alice Gate VoIP
  • Versione hardware = S1
  • Versione globale = AGPF_4.3.5
  • Versione boot loader = cfe-AGPF-10-0007
  • Versione kernel = 2.6
  • Versione drv ADSL = A2pB021.d17i
  • Versione drv Wi-Fi = 4.150.10.5.cpe2.0

The target of the post is to install DD-WRT firmware or to be able to use the 2 x RJ11 ports with a SIP account.

Access to the original Pirelli webpage connecting to the following page:
http://192.168.1.1/admin.cgi?active%5fpage=730&user_name=admin&password=admin

Hardware Configuration

The detailed images of the PCB layer are available.

According to the PCB Layer of the router you could identify the following chips:

Upgrade firmware

The full specification of the HW and chips are available at OpenWRT Docs

J10 is a connector for a RS232 serial port with the following pinout:
6 = GND 5 = RX
4 = GND 3 = Vcc (3.3 Volts)
2 = GND 1 = TX

Connect pin 1 and 5 to activate the upload webpage to send new firmware to the router with the RED power supply LED: http://192.168.1.1/

The OpenWRT firmware is available to install on this router.

All firmware files are available at Darviniano website.

Enable admin.html page

Save the configuration file from this page:
http://192.168.1.1/admin.cgi?active%5fpage=9167&user_name=admin&password=admin

and enable Telnet changing the following line:

(telnets
(disabled(0))

  • Open CMD –> TELNET –> OPEN 192.168.1.1
  • Username: admin
  • Password: admin
  • Enable admin.html webpage with the following commands:
    Discus> conf set /wbm/admin_on 1
    Discus> conf reconf 1
    Discus> system reboot
  • Enable VOIP line
    Discus> conf set /voip/line/0/enabled 1
    Discus> conf set /voip/line/1/enabled 1
    Discus> conf reconf 1
  • Enable advanced menu
    Discus> conf set /wbm/X_TELECOMITALIA_IT_lan_option biz-rt-napt
    Discus> conf set /wbm/X_TELECOMITALIA_IT_conn_mode Bridged+Routed
    Discus> conf reconf 1
  • Disable remote management by Telecom =
    Discus> conf set /dev/ppp0/enabled 0
    Discus> conf set /cwmp/enabled 0
    Discus> conf reconf 1

Change WiFi settings

To change the Wireless SID and WPA password, follow these steps:

Change Voice over IP settings

To change the Wireless SID and WPA password, follow these steps:

  • [Signaling Protocol]
    Local SIP Port: 5060
    Use Strict SIP Message Checking = enable
    Enable transparent SIP Mode = enable
    Enable Server look-up = disable
    Enable Sip on Interface:
  • [RTP]
    Local RTP Port Range – Contiguous Series of 494 Ports Starting From: 49648
  • [Quality of Service]
    Type Of Service (Hex): 0xa0
  • [Codecs]
    G.729, 8kbps = enable 20
    G.711, 64kbps, A-Law = enable 20
    G.711, 64kbps, u-Law = enable 20
    G.723, 5.3/6.3kbps = disable 20
    G.726-32, 32kbps = disable 30
  • [Silence Suppression]
    Enable Silence Suppression = disable
    Enable Comfort Noise = disable
  • [Echo Cancellation]
    Enable Echo Cancellation = enable
  • [DSP Country]
    DSP Country: Italy
    • In the “Line Settings” tab, check these values for each line:
    • Line Number: 1
      User ID: {YourVoipUsername}
      Block Caller ID = disable
      Display Name: Line 1
    • [Services]
      Enable Call Waiting = enable
      Enable 3-Way Calling = enable
      Enable Message Waiting Indication = disable
      Enable Do Not Disturb = disable
      Enable Call Forwarding Always = disable
      Enable Call Forwarding on Busy = disable
      Enable Call Forwarding on No Answer = disable
    • [SIP Account]
      Authentication User Name: {YourVoipUsername}
      Authentication Password: {YourVoipPassword}
    • [SIP Proxy]
      Use SIP Proxy = enable
      Host Name or Address: {sip.YourVoipProvider.com}
      Port: 5060
      Register with Proxy = enable
      Register Expires: 3600 seconds
      Use Proxy Address as User Agent Domain = enable
    • [Outbound Proxy]
      Use Outbound Proxy = enable
      Host Name or Address: {sip.YourVoipProvider.com}
      Port: 5060
    • [Fax Transmission]
      Fax Transmission Method: None
    • [Numbering Plan]
      Minimum Number of Digits: 1
      Maximum Number of Digits: 40
      Inter-Digit Timer: 3000 milliseconds
    • [Prefixes]
      -empty list-
    • [Advanced SIP Settings]
      DTMF Transmission Method: Out-of-Band by Negotiation (RFC2833)
      Compatibility Mode: Off
    • In case of “Proxy unreachable” check the System Log at this page:
      http://192.168.1.1/admin.cgi?active%5fpage=9091&user_name=admin&password=admin

      If you find any releated Asterisk errors, reboot the router.

    Structure of Discus.conf file

    There are a lot of sections in the structure of the Discus.conf file.

    Download it from this webpage:
    http://192.168.1.1/admin.cgi?active%5fpage=9167&user_name=admin&password=admin
    The sections are:

    • dev
    • admin
    • system
    • wbm
    • syslog
    • dns
    • disk
    • fs
    • print_server
    • service
    • fw
    • rip
    • mcast
    • rmt_udp
    • voip
    • enotify
    • email
    • radius
    • cwmp
    • manufacturer
    • cert
    • ssh
    • upnp
    • pppoe_relay
    • qos
    • network
    • internal
    • ddns

    Guide to unlock the router =