OpenWrt Forum Archive

Topic: Help! - 'Asus WL-330N3G' with OpenWrt Attitude Adjustment 12.09-rc1"

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi Everyone, I wonder if someone will be kind enough to assist me.

I flashed "OpenWrt Attitude Adjustment 12.09-rc1" on my 'Asus WL-330N3G' and it flashed ok etc., no problems with that and i can use 'LuCi' easily to configure it or i can also use 'WinSCP' to access files on it via SCP no problem with that as well.

Now for the scenarios -

I can configure it to connect to a wifi connection from another router and then able to use the internet through the 'Asus WL-330N3G' by using an ethernet cable and thats ok, however what i really want to be able to do is use the internet via ethernet cable as well as via the wifi from the 'Asus WL-330N3G', as this is one of the possible options available to the 'Asus WL-330N3G' with the manufacturer's firmware (WL-330N3G_1.0.2.8.trx).

If someone does have the 'Asus WL-330N3G' or if not understands OpenWrt more than me can help me to do this I will be most grateful neutral

What i am looking for is for someone who knows more than me to edit the default setting (below) in such a way as to allow me to use the  'Asus WL-330N3G' to connect to another routers wifi signal (which has internet access and working) and once thats done then allow me to connect to the  'Asus WL-330N3G' wirelessly and be able to use the internet that the 'Asus WL-330N3G' gets from the other wifi router it is currently connected to.

As i said thats one of the available 6 possible connections possible on the  'Asus WL-330N3G' with the manufacturers original firmwire (WL-330N3G_1.0.2.8.trx), but can not seem to be able to figure out how to do this using "OpenWrt Attitude Adjustment 12.09-rc1".

For clarification - I can do the following on the  'Asus WL-330N3G' with "OpenWrt Attitude Adjustment 12.09-rc1"

(1) configure it so that i can connect to the 'Asus WL-330N3G' locally via ethernet cable & wifi, but without internet connectivity whilst it is connected to th other router's wifi.

(2) I can then also re-configure it so that i can connect to the internet only whilst it is connected to another router's wifi connection via ethernet cable only.

What i can not seem to be able to do is -

(1) re-configure it properly, so that i can connect to it locally via ethernet cable, as well as connect to it through wifi and also have internet connectivity whilst it is connected to the other router's wifi connection, which as i said above, can be done with this device using the manufacturer's original firmware (WL-330N3G_1.0.2.8.trx).

===

Below is my setting on the 'Asus WL-330N3G' as per "MODE 2: REPEATER, DIFFERENT NETWORK" that also didnt work sad

-----------
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 ifname 'eth0.1'
    option type 'bridge'
    option proto 'static'
    option ipaddr '192.168.10.1'
    option netmask '255.255.255.0'

config interface 'wan'
        option ifname 'eth0.2'
    option proto 'dhcp'

config switch
    option name 'rt305x'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'rt305x'
    option vlan '1'
    option ports '1 2 3 4  6t'

config switch_vlan
    option device 'rt305x'
    option vlan '2'
    option ports '0  6t'

-----------
wireless
-----------

config wifi-device 'radio0'
    option type 'mac80211'
    option channel '11'
    option macaddr 'aa:bb:cc:dd:ee:ff'
    option hwmode '11ng'
    option htmode 'HT20'
    list ht_capab 'GF'
    list ht_capab 'SHORT-GI-20'
    list ht_capab 'SHORT-GI-40'
    list ht_capab 'RX-STBC1'
    option txpower '20'
    option country '00'

config wifi-iface
    option device 'radio0'
    option mode 'sta'
    option key '0000000000000'
    option ssid 'Other-Wifi-Router'
    option encryption 'psk'
    option network 'wwan wan'

config wifi-iface
    option device 'radio0'
    option network 'lan'
    option mode 'ap'
    option key '1111111111111'
    option ssid 'WL-330n3g'
    option encryption 'psk'

-----------
firewall
-----------

config defaults
    option syn_flood    1
    option input        ACCEPT
    option output        ACCEPT
    option forward        REJECT
# Uncomment this line to disable ipv6 rules
#    option disable_ipv6    1

config zone
    option name        lan
    option network        'lan'
    option input        ACCEPT
    option output        ACCEPT
    option forward        REJECT

config zone
    option name        'wan'
    option input        'REJECT'
    option output        'ACCEPT'
    option forward    'REJECT'
    option masq        '1'
    option mtu_fix    '1'
    option network    'wan wwan'

config forwarding
    option src        lan
    option dest        wan

# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
    option name        Allow-DHCP-Renew
    option src        wan
    option proto        udp
    option dest_port    68
    option target        ACCEPT
    option family        ipv4

# Allow IPv4 ping
config rule
    option name        Allow-Ping
    option src        wan
    option proto        icmp
    option icmp_type    echo-request
    option family        ipv4
    option target        ACCEPT

# Allow DHCPv6 replies
# see https://dev.openwrt.org/ticket/10381
config rule
    option name        Allow-DHCPv6
    option src        wan
    option proto        udp
    option src_ip        fe80::/10
    option src_port        547
    option dest_ip        fe80::/10
    option dest_port    546
    option family        ipv6
    option target        ACCEPT

# Allow essential incoming IPv6 ICMP traffic
config rule
    option name        Allow-ICMPv6-Input
    option src        wan
    option proto    icmp
    list icmp_type        echo-request
    list icmp_type        echo-reply
    list icmp_type        destination-unreachable
    list icmp_type        packet-too-big
    list icmp_type        time-exceeded
    list icmp_type        bad-header
    list icmp_type        unknown-header-type
    list icmp_type        router-solicitation
    list icmp_type        neighbour-solicitation
    list icmp_type        router-advertisement
    list icmp_type        neighbour-advertisement
    option limit        1000/sec
    option family        ipv6
    option target        ACCEPT

# Allow essential forwarded IPv6 ICMP traffic
config rule
    option name        Allow-ICMPv6-Forward
    option src        wan
    option dest        *
    option proto        icmp
    list icmp_type        echo-request
    list icmp_type        echo-reply
    list icmp_type        destination-unreachable
    list icmp_type        packet-too-big
    list icmp_type        time-exceeded
    list icmp_type        bad-header
    list icmp_type        unknown-header-type
    option limit        1000/sec
    option family        ipv6
    option target        ACCEPT

# include a file with users custom iptables rules
config include
    option path /etc/firewall.user

### EXAMPLE CONFIG SECTIONS
# do not allow a specific ip to access wan
#config rule
#    option src        lan
#    option src_ip    192.168.45.2
#    option dest        wan
#    option proto    tcp
#    option target    REJECT

# block a specific mac on wan
#config rule
#    option dest        wan
#    option src_mac    00:11:22:33:44:66
#    option target    REJECT

# block incoming ICMP traffic on a zone
#config rule
#    option src        lan
#    option proto    ICMP
#    option target    DROP

# port redirect port coming in on wan to lan
#config redirect
#    option src            wan
#    option src_dport    80
#    option dest            lan
#    option dest_ip        192.168.16.235
#    option dest_port    80
#    option proto        tcp

# port redirect of remapped ssh port (22001) on wan
#config redirect
#    option src        wan
#    option src_dport    22001
#    option dest        lan
#    option dest_port    22
#    option proto        tcp

# allow IPsec/ESP and ISAKMP passthrough
#config rule
#    option src        wan
#    option dest        lan
#    option protocol        esp
#    option target        ACCEPT

#config rule
#    option src        wan
#    option dest        lan
#    option src_port        500
#    option dest_port    500
#    option proto        udp
#    option target        ACCEPT

### FULL CONFIG SECTIONS
#config rule
#    option src        lan
#    option src_ip    192.168.45.2
#    option src_mac    00:11:22:33:44:55
#    option src_port    80
#    option dest        wan
#    option dest_ip    194.25.2.129
#    option dest_port    120
#    option proto    tcp
#    option target    REJECT

#config redirect
#    option src        lan
#    option src_ip    192.168.45.2
#    option src_mac    00:11:22:33:44:55
#    option src_port        1024
#    option src_dport    80
#    option dest_ip    194.25.2.129
#    option dest_port    120
#    option proto    tcp

-----------
dhcp
-----------

config dnsmasq
    option domainneeded    1
    option boguspriv    1
    option filterwin2k    0  # enable for dial on demand
    option localise_queries    1
    option rebind_protection 1  # disable if upstream must serve RFC1918 addresses
    option rebind_localhost 1  # enable for RBL checking and similar services
    #list rebind_domain example.lan  # whitelist RFC1918 responses for domains
    option local    '/lan/'
    option domain    'lan'
    option expandhosts    1
    option nonegcache    0
    option authoritative    1
    option readethers    1
    option leasefile    '/tmp/dhcp.leases'
    option resolvfile    '/tmp/resolv.conf.auto'
    #list server        '/mycompany.local/1.2.3.4'
    #option nonwildcard    1
    #list interface        br-lan
    #list notinterface    lo
    #list bogusnxdomain     '64.94.110.11'

config dhcp lan
    option interface    lan
    option start     100
    option limit    150
    option leasetime    12h
    option ignore    0

config dhcp wan
    option interface    wan
    option ignore    1

================

Thank you for your time and assistance smile

Hi.
In network, add,

config  interface 'wwan'
     option proto 'dhcp'

In wireless,change:

option network 'wan wwan'

To:

option network 'wwan'

The rest seems to be ok.
Good luck! smile

(Last edited by dabyd64 on 28 Feb 2013, 23:39)

dabyd64 wrote:

Hi.
In network, add,

config  interface 'wwan'
     option proto 'dhcp'

In wireless,change:

option network 'wan wwan'

To:

option network 'wwan'

The rest seems to be ok.
Good luck! smile

Thanks for the quick response dabyd64, will try it out and report back...appreciated smile

dabyd64 wrote:

Hi.
In network, add,

config  interface 'wwan'
     option proto 'dhcp'

In wireless,change:

option network 'wan wwan'

To:

option network 'wwan'

The rest seems to be ok.
Good luck! smile


Nah, it doesn't work mate neutral

I edited as you suggested but still no joy.

It seems like when the 'WL-330N3G' is connected to the the wifi of the 'MainWirelessNetwork', the 'WL-330N3G' (which is the 'RepeaterWirelessNetwork') is auto disabled and visi-versa.

When i try to enable both 'Client' i.e. 'MainWirelessNetwork' (the network that the 'WL-330N3G' router connects to via it's wifi) and 'Master' (the 'AP' created on OpenWrt for the 'WL-330N3G' router) i.e. 'RepeaterWirelessNetwork',  i can see that the 'Master' 'AP' comes live for a few second and then goes back off as the 'WL-330N3G' router connect to the 'MainWirelessNetwork's wifi signal (i  know this as i am monitoring all wifi networks).

When this happen i can use the internet but only via the ethernet cable connected directly onto the ethernet port of the 'WL-330N3G' router i.e. 'RepeaterWirelessNetwork'.

So basically the the two items created under "Generic 802.11bgn Wireless Controller (radio0)" in "Wireless Overview" under 'Wifi' in the LuCi, can not both 'be enabled' at the same time.

If both are disable then there is no internet as the 'WL-330N3G' router is not connected to the external router, nor do i see the 'Master' 'AP' wifi signal when i browse for wifi network using a tablet. When the 'Client' is enable i get internet through the ethernet port but the 'Master' 'AP' is disabled automatically.

I hope i am making sense smile


P.S.

By the way when i said at the top of my first post that my setting is as per 'MODE 2: REPEATER, DIFFERENT NETWORK' I was referring to this post - https://forum.openwrt.org/viewtopic.php?id=39077

(Last edited by des245 on 1 Mar 2013, 04:38)

I've seen issues by changing the country.
Set country to 'US' in wireless config.
Also, your router has broadcom chipset, maybe there is some kind of issue. I'm used with atheros hardware.

Post your actual wireless config, but this time, put the code tags between the config, so it is easier to read:

[c0de]
YOUR CONFIG
BLAHBLAH
[/c0de]
It will generate this:

your config

(it's written code instead c0de, but I have put it that way to show you)


By the way, this is my actual wireless config:

config wifi-iface
        option device 'radio0'
        option network 'wwan'
        option mode 'sta'
        option encryption 'psk'            #USES WPA
        option ssid 'MAIN_ROUTER_WIFI'
        option key 'MAIN_ROUTER_KEY'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option encryption 'psk2'           #USES WPA2
        option ssid 'REPEATER_WIFI'
        option key 'REPEATER_KEY'


Uh...I forgot. Reboot the router and when it's finished booting, type "dmesg" and copy the result here.
Also do the same, this time typing "logread".
Remember the CODE tags... smile

(Last edited by dabyd64 on 1 Mar 2013, 09:38)

Are trying to do version 1 of the instructions?

Have you installed relayed?

opkg update 
opkg install relayd
/etc/init.d/relayd enable
robthebrew wrote:

Are trying to do version 1 of the instructions?

Have you installed relayed?

opkg update 
opkg install relayd
/etc/init.d/relayd enable

Hi robthebrew, thanx for your response smile

I had previously tried to do version 1 of the instructions i.e. with relayd, just to see if it will work but that didnt work at all for some reason and i didnt pursue that route further, as it is not feasible for both wireless networks ('main router' & 'repeater router') to be on the same network and most important, I do not want all computers to see each other.

So what i am trying to do and use is version 2 of the instruction i.e. without having to install relayd.

The only other thing that strikes me is your mixed use of wan and wwan.
I would try replacing all instances of wan with wwan (or vice versa).
Also, only have

config  interface 'wwan'
option proto 'dhcp'

and not

config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
dabyd64 wrote:

I've seen issues by changing the country.
Set country to 'US' in wireless config.
Also, your router has broadcom chipset, maybe there is some kind of issue. I'm used with atheros hardware.

Post your actual wireless config, but this time, put the code tags between the config, so it is easier to read:

[c0de]
YOUR CONFIG
BLAHBLAH
[/c0de]
It will generate this:

your config

(it's written code instead c0de, but I have put it that way to show you)


By the way, this is my actual wireless config:

config wifi-iface
        option device 'radio0'
        option network 'wwan'
        option mode 'sta'
        option encryption 'psk'            #USES WPA
        option ssid 'MAIN_ROUTER_WIFI'
        option key 'MAIN_ROUTER_KEY'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option encryption 'psk2'           #USES WPA2
        option ssid 'REPEATER_WIFI'
        option key 'REPEATER_KEY'


Uh...I forgot. Reboot the router and when it's finished booting, type "dmesg" and copy the result here.
Also do the same, this time typing "logread".
Remember the CODE tags... smile


Hello again dabyd64 and thanx for your time smile

I changed the country to 'US' as you suggested but that didnt change anything, still having the same issues i.e.

- both 'client' and 'master' cant be enabled at the same time as if so nothing works, but if 'client' only (Main_Router) is enabled I can use internet via (Repeater_Router) ethernet connection only. Also when i try to do this i.e. switching one off and the other on or both using LuCi and then look  at my 'wireless' configuration using WinSCP, I can see that OpenWrt has auto added "option disabled '1'" to the (Repeater_Router) setting in the  'wireless' configuration, as you can see from my 'wireless' configuration posted below.

As it is now, with all settings i.e. wireless, network, dhcp, firewall as is below, i get internet connection on the (Repeater_Router) but only by connecting via ethernet cables from the (Repeater_Router) to my laptop which means that the (Repeater_Router) does indeed gets connected to the (Main_Router)'s wifi and that is what i get internet from, but no wifi from the (Repeater_Router), as of-course it had been disabled by OpenWrit and if i then try to manually enable it, then i lose internet, even through the ethernet cables.

Anyway here are my setting using the '[c0de]' brackets at requested and also at the end of that, the "dmesg" & "logread" outputs.



wireless:

config wifi-device 'radio0'
    option type 'mac80211'
    option channel '11'
    option macaddr '00:11:22:33:44:55'
    option hwmode '11ng'
    list ht_capab 'GF'
    list ht_capab 'SHORT-GI-20'
    list ht_capab 'SHORT-GI-40'
    list ht_capab 'RX-STBC1'
    option country 'US'
    option htmode 'HT20'
    option txpower '27'

config wifi-iface
    option device 'radio0'
    option mode 'sta'
    option key '0000000000'
    option ssid 'Main_Router'
    option network 'wwan'
    option encryption 'psk2+tkip+ccmp'

config wifi-iface
    option device 'radio0'
    option network 'lan'
    option mode 'ap'
    option key '1111111111111'
    option ssid 'Repeater_Router'
    option encryption 'psk'
    option disabled '1'


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 ifname 'eth0.1'
    option type 'bridge'
    option proto 'static'
    option ipaddr '192.168.10.1'
    option netmask '255.255.255.0'

config interface 'wan'
    option ifname 'eth0.2'
    option proto 'dhcp'

config interface 'wwan'
    option proto 'dhcp'

config switch
    option name 'rt305x'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'rt305x'
    option vlan '1'
    option ports '1 2 3 4  6t'

config switch_vlan
    option device 'rt305x'
    option vlan '2'
    option ports '0  6t'


firewall:

config defaults
    option syn_flood    1
    option input        ACCEPT
    option output      ACCEPT
    option forward    REJECT
# Uncomment this line to disable ipv6 rules
#    option disable_ipv6    1

config zone
    option name        lan
    option network    'lan'
    option input        ACCEPT
    option output      ACCEPT
    option forward    REJECT

config zone
    option name        'wan'
    option input        'REJECT'
    option output      'ACCEPT'
    option forward    'REJECT'
    option masq        '1'
    option mtu_fix     '1'
    option network    'wan wwan'

config forwarding
    option src        lan
    option dest      wan

# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
    option name        Allow-DHCP-Renew
    option src        wan
    option proto        udp
    option dest_port    68
    option target        ACCEPT
    option family        ipv4

# Allow IPv4 ping
config rule
    option name        Allow-Ping
    option src        wan
    option proto        icmp
    option icmp_type    echo-request
    option family        ipv4
    option target        ACCEPT

# Allow DHCPv6 replies
# see https://dev.openwrt.org/ticket/10381
config rule
    option name        Allow-DHCPv6
    option src        wan
    option proto        udp
    option src_ip        fe80::/10
    option src_port        547
    option dest_ip        fe80::/10
    option dest_port    546
    option family        ipv6
    option target        ACCEPT

# Allow essential incoming IPv6 ICMP traffic
config rule
    option name        Allow-ICMPv6-Input
    option src        wan
    option proto    icmp
    list icmp_type        echo-request
    list icmp_type        echo-reply
    list icmp_type        destination-unreachable
    list icmp_type        packet-too-big
    list icmp_type        time-exceeded
    list icmp_type        bad-header
    list icmp_type        unknown-header-type
    list icmp_type        router-solicitation
    list icmp_type        neighbour-solicitation
    list icmp_type        router-advertisement
    list icmp_type        neighbour-advertisement
    option limit        1000/sec
    option family        ipv6
    option target        ACCEPT

# Allow essential forwarded IPv6 ICMP traffic
config rule
    option name        Allow-ICMPv6-Forward
    option src        wan
    option dest        *
    option proto        icmp
    list icmp_type        echo-request
    list icmp_type        echo-reply
    list icmp_type        destination-unreachable
    list icmp_type        packet-too-big
    list icmp_type        time-exceeded
    list icmp_type        bad-header
    list icmp_type        unknown-header-type
    option limit        1000/sec
    option family        ipv6
    option target        ACCEPT

# include a file with users custom iptables rules
config include
    option path /etc/firewall.user

### EXAMPLE CONFIG SECTIONS
# do not allow a specific ip to access wan
#config rule
#    option src        lan
#    option src_ip    192.168.45.2
#    option dest        wan
#    option proto    tcp
#    option target    REJECT

# block a specific mac on wan
#config rule
#    option dest        wan
#    option src_mac    00:11:22:33:44:66
#    option target    REJECT

# block incoming ICMP traffic on a zone
#config rule
#    option src        lan
#    option proto    ICMP
#    option target    DROP

# port redirect port coming in on wan to lan
#config redirect
#    option src            wan
#    option src_dport    80
#    option dest            lan
#    option dest_ip        192.168.16.235
#    option dest_port    80
#    option proto        tcp

# port redirect of remapped ssh port (22001) on wan
#config redirect
#    option src        wan
#    option src_dport    22001
#    option dest        lan
#    option dest_port    22
#    option proto        tcp

# allow IPsec/ESP and ISAKMP passthrough
#config rule
#    option src        wan
#    option dest        lan
#    option protocol        esp
#    option target        ACCEPT

#config rule
#    option src        wan
#    option dest        lan
#    option src_port        500
#    option dest_port    500
#    option proto        udp
#    option target        ACCEPT

### FULL CONFIG SECTIONS
#config rule
#    option src        lan
#    option src_ip    192.168.45.2
#    option src_mac    00:11:22:33:44:55
#    option src_port    80
#    option dest        wan
#    option dest_ip    194.25.2.129
#    option dest_port    120
#    option proto    tcp
#    option target    REJECT

#config redirect
#    option src        lan
#    option src_ip    192.168.45.2
#    option src_mac    00:11:22:33:44:55
#    option src_port        1024
#    option src_dport    80
#    option dest_ip    194.25.2.129
#    option dest_port    120
#    option proto    tcp

dhcp:

config dnsmasq
    option domainneeded    1
    option boguspriv    1
    option filterwin2k    0  # enable for dial on demand
    option localise_queries    1
    option rebind_protection 1  # disable if upstream must serve RFC1918 addresses
    option rebind_localhost 1  # enable for RBL checking and similar services
    #list rebind_domain example.lan  # whitelist RFC1918 responses for domains
    option local    '/lan/'
    option domain    'lan'
    option expandhosts    1
    option nonegcache    0
    option authoritative    1
    option readethers    1
    option leasefile    '/tmp/dhcp.leases'
    option resolvfile    '/tmp/resolv.conf.auto'
    #list server        '/mycompany.local/1.2.3.4'
    #option nonwildcard    1
    #list interface        br-lan
    #list notinterface    lo
    #list bogusnxdomain     '64.94.110.11'

config dhcp lan
    option interface    lan
    option start     100
    option limit    150
    option leasetime    12h
    option ignore    0

config dhcp wan
    option interface    wan
    option ignore    1


dmesg:


/etc/config$ dmesg
[    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Nov 18 18:54:19 UTC 2012
[    0.000000] prom: fw_arg0=00000001, fw_arg1=01b3efb0, fw_arg2=01b3f3b0, fw_arg3=00000000
[    0.000000] env[0]: memsize=32
[    0.000000] env[1]: initrd_start=0x00000000
[    0.000000] env[2]: initrd_size=0x0
[    0.000000] env[3]: flash_start=0x00000000
[    0.000000] env[4]: flash_size=0x400000
[    0.000000] env[0]: memsize=32
[    0.000000] env[1]: initrd_start=0x00000000
[    0.000000] env[2]: initrd_size=0x0
[    0.000000] env[3]: flash_start=0x00000000
[    0.000000] env[4]: flash_size=0x400000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] Ralink RT3350 id:1 rev:2 running at 320.00 MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80254770, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=WL_330N3G console=ttyS1,57600 mtdparts=spi0.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),2880k(rootfs),3776k@0x50000(firmware) rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=0005ab00
[    0.000000] Readback ErrCtl register=0005ab00
[    0.000000] Memory: 29672k/32768k available (2046k kernel code, 3096k reserved, 340k data, 176k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 212.58 BogoMIPS (lpj=1062912)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.090000] Mount-cache hash table entries: 512
[    0.100000] NET: Registered protocol family 16
[    0.110000] MIPS: machine is Asus WL-330N3G
[    0.120000] gpiochip_add: registered GPIOs 0 to 23 on device: RT305X-GPIO0
[    0.130000] gpiochip_add: registered GPIOs 24 to 39 on device: RT305X-GPIO1
[    0.140000] gpiochip_add: registered GPIOs 40 to 51 on device: RT305X-GPIO2
[    0.170000] bio: create slab <bio-0> at 0
[    0.180000] Switching to clocksource MIPS
[    0.190000] NET: Registered protocol family 2
[    0.200000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.220000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.230000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.250000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.260000] TCP reno registered
[    0.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.280000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.290000] NET: Registered protocol family 1
[    0.340000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.360000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.380000] msgmni has been set to 57
[    0.390000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.400000] io scheduler noop registered
[    0.410000] io scheduler deadline registered (default)
[    0.420000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.440000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    0.450000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.480000] m25p80 spi0.0: found w25q32, expected mx25l3205d
[    0.500000] m25p80 spi0.0: w25q32 (4096 Kbytes)
[    0.500000] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.520000] Creating 6 MTD partitions on "spi0.0":
[    0.530000] 0x000000000000-0x000000030000 : "u-boot"
[    0.540000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.560000] 0x000000040000-0x000000050000 : "factory"
[    0.570000] 0x000000050000-0x000000130000 : "kernel"
[    0.580000] 0x000000130000-0x000000400000 : "rootfs"
[    0.600000] mtd: partition "rootfs" set to be root filesystem
[    0.610000] mtd: partition "rootfs_data" created automatically, ofs=2F0000, len=110000 
[    0.630000] 0x0000002f0000-0x000000400000 : "rootfs_data"
[    0.640000] 0x000000050000-0x000000400000 : "firmware"
[    0.670000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 40, using 40
[    0.680000] TCP cubic registered
[    0.690000] NET: Registered protocol family 17
[    0.700000] Bridge firewalling registered
[    0.710000] 8021q: 802.1Q VLAN Support v1.8
[    0.740000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.760000] Freeing unused kernel memory: 176k freed
[    5.150000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    5.370000] Button Hotplug driver version 0.4.1
[    5.720000] Registered led device: asus:blue:3g
[    5.720000] Registered led device: asus:red:3g
[    5.730000] Registered led device: asus:blue:power
[    9.300000] JFFS2 notice: (383) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 28 of xref (0 dead, 21 orphan) found.
[   12.760000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[   12.780000] Backport based on wireless-testing.git master-2012-09-07
[   12.790000] compat.git: wireless-testing.git
[   12.840000] cfg80211: Calling CRDA to update world regulatory domain
[   12.860000] cfg80211: World regulatory domain updated:
[   12.870000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.880000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.900000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.910000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.930000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.950000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   13.740000] usbcore: registered new interface driver usbfs
[   13.750000] usbcore: registered new interface driver hub
[   13.770000] usbcore: registered new device driver usb
[   14.660000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.670000] Registered led device: rt2800pci-phy0::radio
[   14.670000] Registered led device: rt2800pci-phy0::assoc
[   14.670000] Registered led device: rt2800pci-phy0::quality
[   14.740000] PPP generic driver version 2.4.2
[   14.960000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.290000] NET: Registered protocol family 24
[   15.340000] nf_conntrack version 0.5.0 (466 buckets, 1864 max)
[   15.820000] dwc_otg: version 2.72a 24-JUN-2008
[   15.830000] dwc_otg: Core Release: 2.66a
[   16.040000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[   16.050000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[   16.070000] dwc_otg: Using DMA mode
[   16.070000] dwc_otg: Device using Buffer DMA mode
[   16.080000] dwc_otg dwc_otg.0: DWC OTG Controller
[   16.090000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[   16.110000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
[   16.120000] dwc_otg: Init: Port Power? op_state=1
[   16.130000] dwc_otg: Init: Power Port (0)
[   16.140000] hub 1-0:1.0: USB hub found
[   16.150000] hub 1-0:1.0: 1 port detected
[   20.100000] device eth0.1 entered promiscuous mode
[   20.110000] device eth0 entered promiscuous mode
[   20.130000] br-lan: port 1(eth0.1) entered forwarding state
[   20.140000] br-lan: port 1(eth0.1) entered forwarding state
[   22.140000] br-lan: port 1(eth0.1) entered forwarding state
[   22.720000] cfg80211: Calling CRDA for country: US
[   22.730000] cfg80211: Regulatory domain changed to country: US
[   22.740000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   22.760000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   22.770000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   22.790000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   22.800000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   22.820000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   22.830000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   24.250000] ramips-wdt: timeout value 60 must be 0 < timeout <= 40, using 40
[   27.940000] wlan0: authenticate with 00:21:6a:be:ef:01
[   28.050000] wlan0: send auth to 00:21:6a:be:ef:01 (try 1/3)
[   28.060000] wlan0: authenticated
[   28.090000] rt2800_wmac rt2800_wmac.0: wlan0: disabling HT as WMM/QoS is not supported by the AP
[   28.110000] rt2800_wmac rt2800_wmac.0: wlan0: disabling VHT as WMM/QoS is not supported by the AP
[   28.130000] wlan0: associate with 00:21:6a:be:ef:01 (try 1/3)
[   28.150000] wlan0: RX AssocResp from 00:21:6a:be:ef:01 (capab=0x431 status=0 aid=5)
[   28.160000] wlan0: associated


logread:


/etc/config$ logread
Mar  1 10:16:05 OpenWrt syslog.info syslogd started: BusyBox v1.19.4
Mar  1 10:16:05 OpenWrt kern.notice kernel: klogd started: BusyBox v1.19.4 (2012-11-18 16:44:02 UTC)
Mar  1 10:16:05 OpenWrt kern.notice kernel: [    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Nov 18 18:54:19 UTC 2012
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] prom: fw_arg0=00000001, fw_arg1=01b3efb0, fw_arg2=01b3f3b0, fw_arg3=00000000
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] env[0]: memsize=32
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] env[1]: initrd_start=0x00000000
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] env[2]: initrd_size=0x0
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] env[3]: flash_start=0x00000000
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] env[4]: flash_size=0x400000
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] env[0]: memsize=32
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] env[1]: initrd_start=0x00000000
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] env[2]: initrd_size=0x0
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] env[3]: flash_start=0x00000000
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] env[4]: flash_size=0x400000
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.000000] bootconsole [early0] enabled
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.000000] Ralink RT3350 id:1 rev:2 running at 320.00 MHz
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.000000] Determined physical RAM map:
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.000000]  memory: 02000000 @ 00000000 (usable)
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Mar  1 10:16:05 OpenWrt kern.warn kernel: [    0.000000] Zone PFN ranges:
Mar  1 10:16:05 OpenWrt kern.warn kernel: [    0.000000]   Normal   0x00000000 -> 0x00002000
Mar  1 10:16:05 OpenWrt kern.warn kernel: [    0.000000] Movable zone start PFN for each node
Mar  1 10:16:05 OpenWrt kern.warn kernel: [    0.000000] Early memory PFN ranges
Mar  1 10:16:05 OpenWrt kern.warn kernel: [    0.000000]     0: 0x00000000 -> 0x00002000
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] On node 0 totalpages: 8192
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 80254770, node_mem_map 81000000
Mar  1 10:16:05 OpenWrt kern.debug kernel: [    0.000000]   Normal zone: 64 pages used for memmap
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.090000] Mount-cache hash table entries: 512
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.100000] NET: Registered protocol family 16
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.110000] MIPS: machine is Asus WL-330N3G
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.120000] gpiochip_add: registered GPIOs 0 to 23 on device: RT305X-GPIO0
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.130000] gpiochip_add: registered GPIOs 24 to 39 on device: RT305X-GPIO1
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.140000] gpiochip_add: registered GPIOs 40 to 51 on device: RT305X-GPIO2
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.170000] bio: create slab <bio-0> at 0
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.180000] Switching to clocksource MIPS
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.190000] NET: Registered protocol family 2
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.200000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.220000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.230000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.250000] TCP: Hash tables configured (established 1024 bind 1024)
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.260000] TCP reno registered
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.280000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.290000] NET: Registered protocol family 1
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.340000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.360000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.380000] msgmni has been set to 57
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.390000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.400000] io scheduler noop registered
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.410000] io scheduler deadline registered (default)
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.420000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.440000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.450000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
Mar  1 10:16:05 OpenWrt kern.warn kernel: [    0.480000] m25p80 spi0.0: found w25q32, expected mx25l3205d
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.500000] m25p80 spi0.0: w25q32 (4096 Kbytes)
Mar  1 10:16:05 OpenWrt kern.notice kernel: [    0.500000] 6 cmdlinepart partitions found on MTD device spi0.0
Mar  1 10:16:05 OpenWrt kern.notice kernel: [    0.520000] Creating 6 MTD partitions on "spi0.0":
Mar  1 10:16:05 OpenWrt kern.notice kernel: [    0.530000] 0x000000000000-0x000000030000 : "u-boot"
Mar  1 10:16:05 OpenWrt kern.notice kernel: [    0.540000] 0x000000030000-0x000000040000 : "u-boot-env"
Mar  1 10:16:05 OpenWrt kern.notice kernel: [    0.560000] 0x000000040000-0x000000050000 : "factory"
Mar  1 10:16:05 OpenWrt kern.notice kernel: [    0.570000] 0x000000050000-0x000000130000 : "kernel"
Mar  1 10:16:05 OpenWrt kern.notice kernel: [    0.580000] 0x000000130000-0x000000400000 : "rootfs"
Mar  1 10:16:05 OpenWrt kern.notice kernel: [    0.600000] mtd: partition "rootfs" set to be root filesystem
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.610000] mtd: partition "rootfs_data" created automatically, ofs=2F0000, len=110000 
Mar  1 10:16:05 OpenWrt kern.notice kernel: [    0.630000] 0x0000002f0000-0x000000400000 : "rootfs_data"
Mar  1 10:16:05 OpenWrt kern.notice kernel: [    0.640000] 0x000000050000-0x000000400000 : "firmware"
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.670000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 40, using 40
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.680000] TCP cubic registered
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.690000] NET: Registered protocol family 17
Mar  1 10:16:05 OpenWrt kern.notice kernel: [    0.700000] Bridge firewalling registered
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.710000] 8021q: 802.1Q VLAN Support v1.8
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.740000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
Mar  1 10:16:05 OpenWrt kern.info kernel: [    0.760000] Freeing unused kernel memory: 176k freed
Mar  1 10:16:05 OpenWrt kern.info kernel: [    5.150000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
Mar  1 10:16:05 OpenWrt kern.info kernel: [    5.370000] Button Hotplug driver version 0.4.1
Mar  1 10:16:05 OpenWrt kern.debug kernel: [   14.670000] Registered led device: rt2800pci-phy0::radio
Mar  1 10:16:06 OpenWrt kern.debug kernel: [   14.670000] Registered led device: rt2800pci-phy0::assoc
Mar  1 10:16:06 OpenWrt kern.debug kernel: [   14.670000] Registered led device: rt2800pci-phy0::quality
Mar  1 10:16:06 OpenWrt kern.info kernel: [   14.740000] PPP generic driver version 2.4.2
Mar  1 10:16:06 OpenWrt kern.info kernel: [   14.960000] ip_tables: (C) 2000-2006 Netfilter Core Team
Mar  1 10:16:06 OpenWrt kern.info kernel: [   15.290000] NET: Registered protocol family 24
Mar  1 10:16:06 OpenWrt kern.info kernel: [   15.340000] nf_conntrack version 0.5.0 (466 buckets, 1864 max)
Mar  1 10:16:06 OpenWrt kern.info kernel: [   15.820000] dwc_otg: version 2.72a 24-JUN-2008
Mar  1 10:16:06 OpenWrt kern.info kernel: [   15.830000] dwc_otg: Core Release: 2.66a
Mar  1 10:16:06 OpenWrt kern.info kernel: [   16.040000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
Mar  1 10:16:06 OpenWrt kern.info kernel: [   16.050000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
Mar  1 10:16:06 OpenWrt kern.info kernel: [   16.070000] dwc_otg: Using DMA mode
Mar  1 10:16:06 OpenWrt kern.info kernel: [   16.070000] dwc_otg: Device using Buffer DMA mode
Mar  1 10:16:06 OpenWrt kern.info kernel: [   16.080000] dwc_otg dwc_otg.0: DWC OTG Controller
Mar  1 10:16:06 OpenWrt kern.info kernel: [   16.090000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
Mar  1 10:16:06 OpenWrt kern.info kernel: [   16.110000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
Mar  1 10:16:06 OpenWrt kern.info kernel: [   16.120000] dwc_otg: Init: Port Power? op_state=1
Mar  1 10:16:06 OpenWrt kern.info kernel: [   16.130000] dwc_otg: Init: Power Port (0)
Mar  1 10:16:06 OpenWrt kern.info kernel: [   16.140000] hub 1-0:1.0: USB hub found
Mar  1 10:16:06 OpenWrt kern.info kernel: [   16.150000] hub 1-0:1.0: 1 port detected
Mar  1 10:16:08 OpenWrt kern.info kernel: [   20.100000] device eth0.1 entered promiscuous mode
Mar  1 10:16:08 OpenWrt kern.info kernel: [   20.110000] device eth0 entered promiscuous mode
Mar  1 10:16:08 OpenWrt kern.info kernel: [   20.130000] br-lan: port 1(eth0.1) entered forwarding state
Mar  1 10:16:08 OpenWrt kern.info kernel: [   20.140000] br-lan: port 1(eth0.1) entered forwarding state
Mar  1 10:16:08 OpenWrt daemon.notice netifd: Interface 'lan' is now up
Mar  1 10:16:08 OpenWrt daemon.notice netifd: Interface 'loopback' is now up
Mar  1 10:16:08 OpenWrt daemon.notice netifd: wan (579): udhcpc (v1.19.4) started
Mar  1 10:16:09 OpenWrt daemon.notice netifd: wan (579): Sending discover...
Mar  1 10:16:10 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Mar  1 10:16:10 OpenWrt kern.info kernel: [   22.140000] br-lan: port 1(eth0.1) entered forwarding state
Mar  1 10:16:10 OpenWrt kern.info kernel: [   22.720000] cfg80211: Calling CRDA for country: US
Mar  1 10:16:11 OpenWrt kern.info kernel: [   22.730000] cfg80211: Regulatory domain changed to country: US
Mar  1 10:16:11 OpenWrt kern.info kernel: [   22.740000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Mar  1 10:16:11 OpenWrt kern.info kernel: [   22.760000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Mar  1 10:16:11 OpenWrt kern.info kernel: [   22.770000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Mar  1 10:16:11 OpenWrt kern.info kernel: [   22.790000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Mar  1 10:16:11 OpenWrt kern.info kernel: [   22.800000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Mar  1 10:16:11 OpenWrt kern.info kernel: [   22.820000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Mar  1 10:16:11 OpenWrt kern.info kernel: [   22.830000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Mar  1 10:16:12 OpenWrt daemon.notice netifd: wan (579): Sending discover...
Mar  1 10:16:12 OpenWrt kern.warn kernel: [   24.250000] ramips-wdt: timeout value 60 must be 0 < timeout <= 40, using 40
Mar  1 10:16:12 OpenWrt user.info sysinit: command failed: Device or resource busy (-16)
Mar  1 10:16:13 OpenWrt user.notice ifup: Enabling Router Solicitations on loopback (lo)
Mar  1 10:16:15 OpenWrt daemon.notice netifd: wan (579): Sending discover...
Mar  1 10:16:15 OpenWrt daemon.notice netifd: wwan (850): udhcpc (v1.19.4) started
Mar  1 10:16:15 OpenWrt daemon.notice netifd: wwan (850): Sending discover...
Mar  1 10:16:16 OpenWrt kern.info kernel: [   27.940000] wlan0: authenticate with 00:21:6a:be:ef:01
Mar  1 10:16:16 OpenWrt kern.info kernel: [   28.050000] wlan0: send auth to 00:21:6a:be:ef:01 (try 1/3)
Mar  1 10:16:16 OpenWrt kern.info kernel: [   28.060000] wlan0: authenticated
Mar  1 10:16:16 OpenWrt kern.info kernel: [   28.090000] rt2800_wmac rt2800_wmac.0: wlan0: disabling HT as WMM/QoS is not supported by the AP
Mar  1 10:16:16 OpenWrt kern.info kernel: [   28.110000] rt2800_wmac rt2800_wmac.0: wlan0: disabling VHT as WMM/QoS is not supported by the AP
Mar  1 10:16:16 OpenWrt kern.info kernel: [   28.130000] wlan0: associate with 00:21:6a:be:ef:01 (try 1/3)
Mar  1 10:16:16 OpenWrt kern.info kernel: [   28.150000] wlan0: RX AssocResp from 00:21:6a:be:ef:01 (capab=0x431 status=0 aid=5)
Mar  1 10:16:16 OpenWrt kern.info kernel: [   28.160000] wlan0: associated
Mar  1 10:16:17 OpenWrt user.info sysinit: Loading defaults
Mar  1 10:16:17 OpenWrt user.info sysinit: Loading synflood protection
Mar  1 10:16:17 OpenWrt user.info sysinit: Adding custom chains
Mar  1 10:16:18 OpenWrt user.info sysinit: Loading zones
Mar  1 10:16:18 OpenWrt daemon.notice netifd: wwan (850): Sending discover...
Mar  1 10:16:19 OpenWrt user.info sysinit: Loading forwardings
Mar  1 10:16:19 OpenWrt user.info sysinit: Loading rules
Mar  1 10:16:19 OpenWrt daemon.notice netifd: wwan (850): Sending select for 192.168.1.80...
Mar  1 10:16:19 OpenWrt daemon.notice netifd: wwan (850): Lease of 192.168.1.80 obtained, lease time 86400
Mar  1 10:16:20 OpenWrt daemon.notice netifd: Interface 'wwan' is now up
Mar  1 10:16:20 OpenWrt user.info sysinit: Loading redirects
Mar  1 10:16:20 OpenWrt user.info sysinit: Loading includes
Mar  1 10:16:20 OpenWrt user.info sysinit: Optimizing conntrack
Mar  1 10:16:20 OpenWrt user.info sysinit: Loading interfaces
Mar  1 10:16:20 OpenWrt user.info firewall: adding lan (br-lan) to zone lan
Mar  1 10:16:21 OpenWrt user.notice ifup: Allowing Router Advertisements on wwan (wlan0)
Mar  1 10:16:22 OpenWrt user.info firewall: adding wwan (wlan0) to zone wan
Mar  1 10:16:24 OpenWrt authpriv.info dropbear[1173]: Running in background
Mar  1 10:16:26 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Mar  1 10:16:26 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Mar  1 10:16:30 OpenWrt daemon.info dnsmasq[1227]: started, version 2.62 cachesize 150
Mar  1 10:16:30 OpenWrt daemon.info dnsmasq[1227]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
Mar  1 10:16:30 OpenWrt daemon.info dnsmasq-dhcp[1227]: DHCP, IP range 192.168.10.100 -- 192.168.10.249, lease time 12h
Mar  1 10:16:30 OpenWrt daemon.info dnsmasq[1227]: using local addresses only for domain lan
Mar  1 10:16:30 OpenWrt daemon.info dnsmasq[1227]: reading /tmp/resolv.conf.auto
Mar  1 10:16:30 OpenWrt daemon.info dnsmasq[1227]: using nameserver 192.168.1.254#53
Mar  1 10:16:30 OpenWrt daemon.info dnsmasq[1227]: using local addresses only for domain lan
Mar  1 10:16:30 OpenWrt daemon.info dnsmasq[1227]: read /etc/hosts - 1 addresses
Mar  1 10:16:30 OpenWrt daemon.info dnsmasq-dhcp[1227]: read /etc/ethers - 0 addresses
Mar  1 10:17:52 OpenWrt authpriv.info dropbear[1244]: Child connection from 192.168.10.191:52546
Mar  1 10:17:55 OpenWrt authpriv.notice dropbear[1244]: Password auth succeeded for 'root' from 192.168.10.191:52546

Thats it smile

robthebrew wrote:

The only other thing that strikes me is your mixed use of wan and wwan.
I would try replacing all instances of wan with wwan (or vice versa).
Also, only have

config  interface 'wwan'
option proto 'dhcp'

and not

config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'

Hi robthebrew

Im a little confused as to your suggestion i.e.

"I would try replacing all instances of wan with wwan (or vice versa)."

What exactly do you mean?

- do you mean that i should take out completely 'wwan' and replace with 'wan' for instance or just swop them round?

And also i tried your other suggestion i.e. taking out completely the code below:

config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'

but that didnt change anythng,

Thanx mate

(Last edited by des245 on 1 Mar 2013, 12:52)

What I meant was add a 'w' to all instances of 'wan' to make 'wwan'.

The only other difference between what you have and the instructions you followed are the network entries to do with switch.
Just to test, I would delete the whole lot (or comment them out)

config switch
    option name 'rt305x'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'rt305x'
    option vlan '1'
    option ports '1 2 3 4  6t'

config switch_vlan
    option device 'rt305x'
    option vlan '2'
    option ports '0  6t'

But I really don't have any other ideas!
Sorry.

maybe something else is wrong. Try to reset all, and try again with a fresh system.
To erase all, and left the device like as first boot, type:

mtd -r erase rootfs_data

The 'wwan' and 'wan' networks are sepparate, but this doesn't matter, this way it always worked well...

(Last edited by dabyd64 on 1 Mar 2013, 15:14)

robthebrew wrote:

What I meant was add a 'w' to all instances of 'wan' to make 'wwan'.

The only other difference between what you have and the instructions you followed are the network entries to do with switch.
Just to test, I would delete the whole lot (or comment them out)

config switch
    option name 'rt305x'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'rt305x'
    option vlan '1'
    option ports '1 2 3 4  6t'

config switch_vlan
    option device 'rt305x'
    option vlan '2'
    option ports '0  6t'

But I really don't have any other ideas!
Sorry.


Dont worry about it mate, any help is good as it ends up pointing you in the right direction.

Anyhow i tried taking out the switch setting as you suggested, but that didnt help with my problem and it ended up stopping the local adapter on my laptop getting any DHCP ip from the router.

But as i said, i am grateful that you tried to help smile

(Last edited by des245 on 1 Mar 2013, 20:56)

dabyd64 wrote:

maybe something else is wrong. Try to reset all, and try again with a fresh system.
To erase all, and left the device like as first boot, type:

mtd -r erase rootfs_data

The 'wwan' and 'wan' networks are sepparate, but this doesn't matter, this way it always worked well...

I am also beginning to think that there may be a problem with OpenWrt and my router.

I will start again as you suggested and if i get any joy, i will post again.

Thanks for all your help smile

(Last edited by des245 on 1 Mar 2013, 20:55)

Tried starting over on a fresh system, but alas, still no joy sad

So maybe there is a problem on my router.

With that said  - anyone who has  OpenWrt working on either "Asus WL-330N3G" or "Asus WL-330N"  routers or anyone with any new suggestions, please let me know smile

Hi Everyone,

does anyone know if this works on the Asus WL-330gE

smile

conclusions regarding openwrt on this device  - there is a reason why as of writing, its not supported, as whatever i did i couldn't get it to work in repeater mode, however the new router i bought, the TL-MR3040 works fine using almost identical setting i tried to use on the Asus WL-330N3G that didnt work on the WL-330N3G.

des245 wrote:

does anyone know if this works on the Asus WL-330gE

Sorry for reopening a topic that's nearing it's end but you didn't describe *what* didn't work.
Specifically, when you configure the first radio (the client) are you able to make it associate with the AP you're trying to connect to? One catch is that, to use WPA in client mode, you need to have wpa-supplicant (or -mini) installed. If you don't, and the network use WPA, you'll find that you mysteriously can't connect.

If you connect, you should be able to see packets with tcpdump and DHCP should work. Once you have IP, you should be able to ping other boxes in the network.

Once all that is done, you can configure a second radio (on the same wifi interface), make it an AP (you need wpad, usually wpad-mini is pre-installed) and work from there on.

I don't know if OpenWRT on the WL330N3G does support multiple SSID's, obviously the native ASUS firmware does, but I've fought the above issue on several platforms and I thought this is useful.

Geert Jan

Well, sadly the drivers for the wifi radio do not support running a virtual interface in AP-mode and another in Managed-mode.

The asus WL330n(3g) use the rt2800 wifi-drivers. These drivers currently aren't able to do that. There is however already a ticket for this issue: https://dev.openwrt.org/ticket/12133

There are also some patches available, which hopefully repair this issue. I however have not tried these.

A few weeks ago I only used my wl330n3g for 3G routing, which worked very well except for https://dev.openwrt.org/ticket/13693 and https://forum.openwrt.org/viewtopic.php?id=39352 . During that time I did dive into that and found that ticket. I hope they will be in the next openwrt release (together with some extroot fix when usb-switch-mode is used!)

The discussion might have continued from here.