Friday, April 13, 2012

OpenWRT Switch configuration with vlan

When you have a  adsl interface for WAN Option in such devices (HG556a) and you want to use Ethernet as a WAN Connection, you required following configurations in your network configuration file :

Default network Interface config :

br-lan = LAN & WIFI
eth0   = LAN Ports (4 Port)
wlan0  = Wireless Interface



In Default configuration Device is configured to use adsl Modem as a WAN port

4 port ethernet switch (eth0) and Wireless radio are bridged.



LAN 1 = Switch Port 0
LAN 2 = Switch port 1
LAN 3 = Switch port 2

WAN   = Switch port 3

------------------------------------------------------------------------------------------------------------------


# cat /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 type bridge
option ifname eth0.0
option proto static
option ipaddr 192.168.0.1
option netmask 255.255.255.0
option nat 1

config interface wan
option ifname eth0.1
option proto dhcp
option defaultroute 1

config switch eth0
option enable 1
option reset 1
option enable_vlan 1

config switch_vlan
option device eth0
option vlan 0
option ports "0 1 2 5t"

config switch_vlan
option device eth0
option vlan 1
option ports "3 5t"
-----------------------------------------------------------------------------------------------------------------------

Saturday, April 7, 2012

Technical Info About HG556a

CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE) 
Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693) 
Boot Address 0xbe000000 Initializing Arena. Initializing Devices. 
@w45260: Flash Manufacture id :c2 
@w45260Flash Device id :2201 
@w45260flipCFIGeometry:1 Parallel flash device: name , id 0x2201, size 16384KB *** GetHG556aBoardVersion = <0> *** CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz Total memory: 67108864 bytes (64MB)

Linux version 2.6.8.1


CFE version cfe.d081.5003 for BCM96358 (32bit,SP,BE)

Boot Address 0xbe000000

CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz Total memory: 67108864 bytes (64MB)


*** GetHG556aBoardVersion = <0> *** 
host run file name : vmlinux 
Default host flash file name : bcm963xx_fs_kernel 
Boot delay (0-9 seconds) : 1 
Board Id Name : HW556 
Psi size in KB : 64 
Internal Memory size in MB : 64 
CMT Thread Number : 1



<sysPassword value="VFIE-hg556"/>
<admPassword value="advanced"/>
<sptPassword value="support"/>
<usrPassword value="vodafone"/>

Url for Firmware :http://testvf.co.nz/files/hg556a/


     

Friday, April 6, 2012

HG556a for OpenRouter Project


Spec of HG556a Hardware



Platform:                             Broadcom 6358

System-On-Chip:                Broadcom 6358KFBG

CPU :                                 BMIPS4350 V1.0

Processor Speed :              300 Mhz

Flash-Chip:                         Macronix MX29GL128EH

Flash :                                16 MB

RAM:                                 64 MB

Wireless NIC:                    Atheros AR9223 (onboard)

Wireless Standard :            11b/g/n

Wired Ports :                     4xEthernet, 1x ADSL, 2x VOIP

Ethernet:                            Broadcom BCM5325 w/ vlan support

USB:                                 2x 2.0 / SMSC HUB USB2502-AEZG 1x 1.1

VoIP:                                 Zarlink Le88266DLC, Si3050 DAA

Modem :                           ADSL2+

Default Username : advanced  |    Password    :  advanced