I set up my home network all through this 3G wifi router. Problem is it only allows 5 devices to connect. That's not much especially if a wifi printer and gaming consoles keep hogging these slots. On the other hand I don't see the point on blocking these devices. They are (should) not doing anything online just intern in my network.

The documentation I can find is surpirisingly unhelpful and focuses how to plug the device in a power socket.

So what would be my options.

Notes: I have already been able to get a shell on the device using ssh. It's running some Busybox. But I fail to find the how and where this limit is enforced/created.

Notes 2: Specifically my device is a 3WebCube - unfortunately not specifically marked with the Huawei Model number.

Successes so far

After enabling ssh in the options I can login:

ssh -T admin@3.home

admin@3.home's password: 
-------------------------------
-----Welcome to ATP Cli------
-------------------------------

unfortunately because of this -T - the tab key does not work for autocomplete and all inputted commands will be echoed. Also no history with arrow keys.

ATP interface

this custom interface is not very useful:

ATP>help

help
Welcome to ATP command line tool.
If any question, please input "?" at the end of command.

ATP>?
?
cls 
debug 
help 
save 
? 
exit 
ATP>save?
save?
Command failed.
ATP>save ?
save ?
ATP>debug ?
debug ?
display 
set 
trace 
? 

Shell

BUT undocumented - I somehow found on a auto translated chinese website - all you need to do is input sh

ATP>sh
sh


BusyBox vv1.9.1 (2011-03-27 11:59:11 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# 

builtin commands

# help

Built-in commands:
-------------------
    . : alias bg break cd chdir command continue eval exec exit export
    false fg getopts hash help jobs kill let local pwd read readonly
    return set shift source times trap true type ulimit umask unalias
    unset wait

shows standard unix structure:

# ls / 
var      tmp      proc     linuxrc  init     etc      bin
usr      sbin     mnt      lib      html     dev

in /bin

# ls /bin
zebra       strace      ppps        ln          echo        cat
wscd        startbsp    pppc        klog        ebtables    busybox
wlancmd     sshd        ping        kill        dns         brctl
web         sntp        netstat     iwpriv      dhcps       auth
usbdiagd    sms         mount       iwcontrol   dhcpc       atserver
upnp        sleep       mknod       iptables    date        atcmd
upg         siproxd     mkdir       ipcheck     cp          at
umount      sh          mini_upnpd  ip          console     ash
test_at     rm          mic         igmpproxy   cms
telnetd     ripd        ls          ethcmd      cmgr
swapdev     ps          log         equipcmd    cli

in /sbin

# ls /sbin
vconfig   reboot    insmod    ifconfig  arp
route     poweroff  init      halt

using tftp after installing tftp on my desktop I was able to send files with

tftp -s -l curcfg.xml  192.168.1.103

and to download onto the huawei with

tftp -g -r curcfg.xml  192.168.1.103

I think I'll need that - because I don't see any editor installed.

readout stuff

(still playing around where I would get interesting info)

For confirmation of hardware:

# cat /var/log/modem_hardware_name
^HWVER:"WL1B153M001"# 

# cat /var/log/modem_software_name
1096.11.03.02.107 
# cat /var/log/product_name
B153

output iptables -L -n -v

Chain INPUT (policy ACCEPT 1876K packets, 131M bytes)
 pkts bytes target     prot opt in     out     source               destination         
2123K  162M INPUT_URLFLT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
2123K  162M INPUT_SERVICE  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
1877K  131M INPUT_FIREWALL  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy ACCEPT 150K packets, 11M bytes)
 pkts bytes target     prot opt in     out     source               destination         
  37M   34G FWD_FILTER  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
  37M   34G FWD_WHITEFILTER  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
  37M   34G FWD_IPFLT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
  37M   34G FWD_APPFLT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
  37M   34G FWD_URLFLT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
  37M   34G FWD_SERVICE  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 150K   11M FWD_FIREWALL  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain OUTPUT (policy ACCEPT 2087K packets, 168M bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain FWD_APPFLT (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain FWD_FILTER (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain FWD_FIREWALL (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 LOG        tcp  --  ppp258 *       0.0.0.0/0            0.0.0.0/0           tcp flags:0x16/0x02 limit: avg 6/hour burst 5 LOG flags 0 level 1 prefix `Intrusion -> ' 

Chain FWD_IPFLT (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain FWD_SERVICE (1 references)
 pkts bytes target     prot opt in     out     source               destination         
  37M   34G ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:3335 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:3335 
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:30020 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:30020 
    0     0 ACCEPT     all  --  ppp258 *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 

Chain FWD_URLFLT (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain FWD_WHITEFILTER (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain INPUT_FIREWALL (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 LOG        tcp  --  ppp258 *       0.0.0.0/0            0.0.0.0/0           tcp flags:0x16/0x02 limit: avg 6/hour burst 5 LOG flags 0 level 1 prefix `Intrusion -> ' 
    3  2101 DROP       all  --  ppp258 *       0.0.0.0/0            0.0.0.0/0           

Chain INPUT_SERVICE (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       tcp  --  !br+   *       0.0.0.0/0            0.0.0.0/0           tcp dpt:22 
    0     0 DROP       tcp  --  !br+   *       0.0.0.0/0            0.0.0.0/0           tcp dpt:23 
    0     0 DROP       tcp  --  !br+   *       0.0.0.0/0            0.0.0.0/0           tcp dpt:21 
    0     0 DROP       tcp  --  !br+   *       0.0.0.0/0            0.0.0.0/0           tcp dpt:80 
    0     0 DROP       tcp  --  !br+   *       0.0.0.0/0            0.0.0.0/0           tcp dpt:443 
 246K   31M ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 
  519 38566 ACCEPT     tcp  --  br+    *       0.0.0.0/0            0.0.0.0/0           tcp dpt:443 
    9   544 DROP       tcp  --  br+    *       0.0.0.0/0            0.0.0.0/0           tcp dpt:80 
    0     0 DROP       tcp  --  br+    *       0.0.0.0/0            0.0.0.0/0           tcp dpt:21 
    0     0 DROP       tcp  --  br+    *       0.0.0.0/0            0.0.0.0/0           tcp dpt:23 
    1    64 ACCEPT     tcp  --  br+    *       0.0.0.0/0            0.0.0.0/0           tcp dpt:22 
    0     0 ACCEPT     udp  --  ppp258 *       0.0.0.0/0            0.0.0.0/0           udp dpt:500 
    0     0 ACCEPT     udp  --  ppp258 *       0.0.0.0/0            0.0.0.0/0           udp dpt:4500 
    0     0 ACCEPT     esp  --  ppp258 *       0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  ppp258 *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 
    0     0 ACCEPT     udp  --  ppp258 *       0.0.0.0/0            0.0.0.0/0           udp dpts:67:68 

Chain INPUT_URLFLT (1 references)
 pkts bytes target     prot opt in     out     source               destination   
link|improve this question

25% accept rate
I picked up that the limit might be related with the vlan configuration. But I fail to find anything in the documentation - can anyone confirm that? – bdecaf Nov 29 '11 at 15:35
What is iptables config ? Does this article relate to the problem ? – harrymc Feb 20 at 8:53
I will check it. But the limit of 5 devices seems so extremely low - I doubt it's because the router runs out of ports. It reminds me on android - but couldn't figure out how they enforce this limit. – bdecaf Feb 20 at 13:03
Anything useful in iptables config ? – harrymc Feb 21 at 12:13
I added the output. I don't see anything suspicious. – bdecaf Feb 22 at 20:47
show 3 more comments
feedback

4 Answers

I have this device as well, but so far I haven't been able to get shell access to it.

I enabled the ssh service from the acl-configuration on the device, and tried gaining access, but can't figure out what to login with. The user admin and it's password I use for the web interface don't seem to work, and gives me the following message:

PTY allocation request failed on channel 1

I also have the full output of ssh with -vvv option on pastebin here

I think I can help if you tell me how you gained ssh access, because even though nmap does show that the dropbear daemon is running on port 22, I still haven't figured what credentials give you access to the shell.

The following steps are to be made to get to know what this limitation is about:

  • Look for the web servers running on the device by using the ps command.
  • Find the sites configuration of the server you found.
  • Look in the web interfaces code to find the section of interest for us.

Hope to hear more from you, and looking forwards to your response!

link|improve this answer
I remember - I also had problems. If I remember right I had to set the pseudo terminal in ssh with "-t". But I'll tell you exactly when I'm back at the device. – bdecaf Nov 25 '11 at 11:05
Any news? did you have to open the device at all? If I can't find the solution, I might end up taking it apart, and hoping there is a serial header on there somewhere. – Joe R. Nassimian Nov 29 '11 at 4:07
Sorry was a bit busy - no I didn't have to open it. And I am able to log in via ssh through the wlan. Also I am able to get into a simple unix shell and tranfer files to and from through tftp. Basically I found out to connect on some autotranslated chinese forum. I will dig out my notes about it - hopefully today ;) – bdecaf Nov 29 '11 at 9:31
ok - just put most of my notes here. Maybe you got ideas how to continue ;) – bdecaf Nov 29 '11 at 15:36
feedback

Sorry posting this as answer - couldn't add the code to the question as it would be over the max allowed size.


Contents of /etc

wscd.conf             root.pem              handy_rsa_key
upnp                  rf.conf               handy_dss_key
sysmsg                resolv.conf           group
simplecfgservice.xml  profile               fstab
share.map             passwd                ethertypes
services              operator_list.res     dhcps2.leases
serverkey.pem         lmhosts               dhcps.leases
servercert.pem        inittab               dhcps.conf
samba                 init.d                defaultcfg.xml
rsa_host_key          inetd.conf            bootfile.txt

contents of defaultcfg.xml

<?xml version="1.0" ?>
<InternetGatewayDeviceConfig>
<InternetGatewayDevice>
<DeviceInfo ProvisioningCode="">
<X_PortalManagement Enable="0" PortalUrl-Computer="" PortalUrl-STB="" PortalUrl-Phone=""/>
<X_ServiceManage FtpEnable="1" FtpUserName="ftp" FtpPassword="ftp" FtpPort="21" FtpPath="/mnt" TelnetEnable="1" TelnetPort="23" SambaEnable="0"/>
<X_PlmnProfile NumberOfInstances="1">
<X_PlmnProfileInstance InstanceID="1"  X_PLMN_ID="22299" X_ProfileName="Drei AT"/>
</X_PlmnProfile>
</DeviceInfo>
<ManagementServer URL="http://hcms.huawei.com" Username="hgw" Password="hgw" PeriodicInformEnable="1" PeriodicInformInterval="7200" ConnectionRequestUsername="acs" ConnectionRequestPassword="acs" PeriodicInformTime="" X_SSLCertEnable="0" X_BindInterface="" KickURL="" UpgradesManaged="1" DownloadProgressURL="" ManageableDeviceNotificationLimit="0" UDPConnectionRequestAddressNotificationLimit="0" STUNEnable="0" STUNServerAddress="" STUNServerPort="3478" STUNUsername="handy" STUNPassword="handy" STUNMaximumKeepAlivePeriod="90" STUNMinimumKeepAlivePeriod="30" X_ConnReqPort="8081">
</ManagementServer>
<Time Enable="0" NTPServer1="" NTPServer2="" NTPServer3="" NTPServer4="" NTPServer5="" LocalTimeZoneName="GMT+8" X_Label="-1"/>
<UserInterface>
<X_Web Timeout="5" Language="de">
<UserInfo NumberOfInstances="2">
<UserInfoInstance InstanceID="1"  Username="admin" Userpassword="admin">
<ObjExtention>
<Userpassword HideBits="27"/>
</ObjExtention>
</UserInfoInstance>
<UserInfoInstance InstanceID="2"  Username="user" Userpassword="user"/>
</UserInfo>
</X_Web>
<X_Cli>
<UserInfo NumberOfInstances="2">
<UserInfoInstance InstanceID="1"  Username="admin" Userpassword="admin" Userlevel="0"/>
<UserInfoInstance InstanceID="2"  Username="user" Userpassword="user" Userlevel="1"/>
</UserInfo>
</X_Cli>
</UserInterface>
<X_SyslogConfig Enable="0" Level="Debug" DisplayLevel="Error" LogServerEnable="0" MainServer="" MainServerPort="514" MinorServer="" MinorServerPort="514"/>
<X_Security MacFilterNumberOfEntries="0" MacFilterPolicy="0" MacFilterRight="1" IpFilterInNumberOfEntries="0" IpFilterInRight="0" IpFilterOutNumberOfEntries="0" IpFilterOutPolicy="0" IpFilterOutRight="1" X_FirewallGeneralLevel="2" X_UrlFilterNumberOfEntries="0" X_UrlFilterEnabled="1" X_UrlFilterPolicy="0" X_ICMPRight="0">
<WhiteUrlFilter NumberOfInstances="0"/>
<WhiteMacFilter NumberOfInstances="16">
<WhiteMacFilterInstance InstanceID="1" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="2" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="3" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="4" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="5" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="6" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="7" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="8" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="9" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="10" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="11" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="12" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="13" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="14" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="15" SourceMACAddress=""/>
<WhiteMacFilterInstance InstanceID="16" SourceMACAddress=""/>
</WhiteMacFilter>
<BlackMacFilter NumberOfInstances="16">
<BlackMacFilterInstance InstanceID="1" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="2" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="3" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="4" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="5" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="6" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="7" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="8" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="9" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="10" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="11" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="12" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="13" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="14" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="15" SourceMACAddress=""/>
<BlackMacFilterInstance InstanceID="16" SourceMACAddress=""/>
</BlackMacFilter>
<IpFilterIn NumberOfInstances="0"/>
<AclServices HTTPLanEnable="1" HTTPWanEnable="0" TELNETLanEnable="1" TELNETWanEnable="0" FTPLanEnable="0" FTPWanEnable="0" SSHLanEnable="0" SSHWanEnable="0" HTTPSLanEnable="1" HTTPSWanEnable="0"/>
</X_Security>
<Layer3Forwarding X_AutoDefaultGatewayEnable="0" X_DefaultGatewayIPAddress="" DefaultConnectionService="">
</Layer3Forwarding>
<LANDevice NumberOfInstances="1">
<LANDeviceInstance InstanceID="1"  X_WLANEnable="1">
<LANHostConfigManagement DHCPServerEnable="1" MinAddress="192.168.1.100" MaxAddress="192.168.1.150" ReservedAddresses="" DNSServers="" DomainName="3.home" IPRouters="" DHCPLeaseTime="86400" UseAllocatedWAN="" AssociatedConnection="" PassthroughLease="60" PassthroughMACAddress="">
<DHCPConditionalServingPool NumberOfInstances="4">                              
<ObjExtention MaxInstanceNum="4"/>                                              
<DHCPConditionalServingPoolInstance InstanceID="1"  Enable="1" MinAddress="0.0.0.0" MaxAddress="0.0.0.0" VendorClassID="STB" X_DeviveDhcpRelay="0"/>
<DHCPConditionalServingPoolInstance InstanceID="2"  Enable="1" MinAddress="0.0.0.0" MaxAddress="0.0.0.0" VendorClassID="Phone" X_DeviveDhcpRelay="0"/>
<DHCPConditionalServingPoolInstance InstanceID="3"  Enable="1" MinAddress="0.0.0.0" MaxAddress="0.0.0.0" VendorClassID="Camera" X_DeviveDhcpRelay="0"/>
<DHCPConditionalServingPoolInstance InstanceID="4"  Enable="1" MinAddress="0.0.0.0" MaxAddress="0.0.0.0" VendorClassID="Computer" X_DeviveDhcpRelay="0"/>
</DHCPConditionalServingPool>                                                   
<IPInterface NumberOfInstances="1">
<IPInterfaceInstance InstanceID="1"  Enable="0" IPInterfaceIPAddress="192.168.1.1" IPInterfaceSubnetMask="255.255.255.0" IPInterfaceAddressingType="DHCP" X_RouteProtocolRx="Off" X_RIPOperation="Active"/>
</IPInterface>
</LANHostConfigManagement>
<LANEthernetInterfaceConfig NumberOfInstances="4">
<ObjExtention MaxInstanceNum="4"/>
<LANEthernetInterfaceConfigInstance InstanceID="1"  Enable="1">
</LANEthernetInterfaceConfigInstance>
<LANEthernetInterfaceConfigInstance InstanceID="2"  Enable="0">
</LANEthernetInterfaceConfigInstance>
<LANEthernetInterfaceConfigInstance InstanceID="3"  Enable="0">
</LANEthernetInterfaceConfigInstance>
<LANEthernetInterfaceConfigInstance InstanceID="4"  Enable="0">
</LANEthernetInterfaceConfigInstance>
</LANEthernetInterfaceConfig>
<WLANConfiguration NumberOfInstances="4">
<WLANConfigurationInstance InstanceID="1"  SSIDAdvertisementEnabled="1" Enable="1" MaxBitRate="Auto" Channel="6" AutoChannelEnable="1" RegulatoryDomain="IT" SSID="SSID-1" BeaconType="WPA" MACAddressControlEnabled="1" Standard="b/g/n" WEPKeyIndex="1" WEPEncryptionLevel="104-bit" BasicEncryptionModes="WEPEncryption" BasicAuthenticationMode="None" WPAEncryptionModes="TKIPEncryption" WPAAuthenticationMode="PSKAuthentication" IEEE11iEncryptionModes="AESEncryption" IEEE11iAuthenticationMode="PSKAuthentication" WMMEnable="0" X_Wlan11NTxRxStream="1" X_MixedEncryptionModes="AESEncryption" X_MixedAuthenticationMode="PSKAuthentication" X_PowerValue="20" X_AssociateDeviceNum="5" X_WlanMacFilterpolicy="0" X_WlanStaWakeEnable="0" X_WlanIsolateControl="0" X_Wlan11NBWControl="20/40">
<WPS Enable="1" X_WPSMode="ap-pin" DevicePassword=""/>
<X_WlanMacFilter NumberOfInstances="16">
<X_WlanMacFilterInstance InstanceID="1" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="2" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="3" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="4" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="5" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="6" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="7" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="8" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="9" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="10" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="11" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="12" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="13" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="14" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="15" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="16" X_WlanSrcMacAddress=""/>
</X_WlanMacFilter>
<X_BridgeRestriction NumberOfInstances="4">
<X_BridgeRestrictionInstance InstanceID="1" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
<X_BridgeRestrictionInstance InstanceID="2" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
<X_BridgeRestrictionInstance InstanceID="3" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
<X_BridgeRestrictionInstance InstanceID="4" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
</X_BridgeRestriction>
<WEPKey NumberOfInstances="4">
<WEPKeyInstance InstanceID="1"  WEPKey="1111111111111"/>
<WEPKeyInstance InstanceID="2"  WEPKey="2222222222222"/>
<WEPKeyInstance InstanceID="3"  WEPKey="3333333333333"/>
<WEPKeyInstance InstanceID="4"  WEPKey="4444444444444"/>
</WEPKey>
<PreSharedKey NumberOfInstances="1">
<PreSharedKeyInstance InstanceID="1"  PreSharedKey="abcdedfg"/>
</PreSharedKey>
</WLANConfigurationInstance>
<WLANConfigurationInstance InstanceID="2"  SSIDAdvertisementEnabled="1" Enable="0" MaxBitRate="Auto" Channel="6" AutoChannelEnable="1" RegulatoryDomain="IT" SSID="SSID-2" BeaconType="WPAand11i" MACAddressControlEnabled="1" Standard="b/g/n" WEPKeyIndex="1" WEPEncryptionLevel="104-bit" BasicEncryptionModes="WEPEncryption" BasicAuthenticationMode="None" WPAEncryptionModes="TKIPEncryption" WPAAuthenticationMode="PSKAuthentication" IEEE11iEncryptionModes="AESEncryption" IEEE11iAuthenticationMode="PSKAuthentication" WMMEnable="0" X_Wlan11NTxRxStream="1" X_MixedEncryptionModes="AESEncryption" X_MixedAuthenticationMode="PSKAuthentication" X_PowerValue="20" X_AssociateDeviceNum="5" X_WlanMacFilterpolicy="0" X_WlanStaWakeEnable="0" X_WlanIsolateControl="0" X_Wlan11NBWControl="20/40">
<WPS Enable="0" X_WPSMode="ap-pin" DevicePassword=""/>
<X_WlanMacFilter NumberOfInstances="16">
<X_WlanMacFilterInstance InstanceID="1" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="2" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="3" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="4" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="5" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="6" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="7" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="8" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="9" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="10" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="11" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="12" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="13" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="14" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="15" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="16" X_WlanSrcMacAddress=""/>
</X_WlanMacFilter>
<X_BridgeRestriction NumberOfInstances="4">
<X_BridgeRestrictionInstance InstanceID="1" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
<X_BridgeRestrictionInstance InstanceID="2" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
<X_BridgeRestrictionInstance InstanceID="3" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
<X_BridgeRestrictionInstance InstanceID="4" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
</X_BridgeRestriction>
<WEPKey NumberOfInstances="4">
<WEPKeyInstance InstanceID="1"  WEPKey="1111111111111"/>
<WEPKeyInstance InstanceID="2"  WEPKey="2222222222222"/>
<WEPKeyInstance InstanceID="3"  WEPKey="3333333333333"/>
<WEPKeyInstance InstanceID="4"  WEPKey="4444444444444"/>
</WEPKey>
<PreSharedKey NumberOfInstances="1">
<PreSharedKeyInstance InstanceID="1"  PreSharedKey="abcdedfg"/>
</PreSharedKey>
</WLANConfigurationInstance>
<WLANConfigurationInstance InstanceID="3"  SSIDAdvertisementEnabled="1" Enable="0" MaxBitRate="Auto" Channel="6" AutoChannelEnable="1" RegulatoryDomain="IT" SSID="SSID-3" BeaconType="WPAand11i" MACAddressControlEnabled="1" Standard="b/g/n" WEPKeyIndex="1" WEPEncryptionLevel="104-bit" BasicEncryptionModes="WEPEncryption" BasicAuthenticationMode="None" WPAEncryptionModes="TKIPEncryption" WPAAuthenticationMode="PSKAuthentication" IEEE11iEncryptionModes="AESEncryption" IEEE11iAuthenticationMode="PSKAuthentication" WMMEnable="0" X_Wlan11NTxRxStream="1" X_MixedEncryptionModes="AESEncryption" X_MixedAuthenticationMode="PSKAuthentication" X_PowerValue="20" X_AssociateDeviceNum="5" X_WlanMacFilterpolicy="0" X_WlanStaWakeEnable="0" X_WlanIsolateControl="0" X_Wlan11NBWControl="20/40">
<WPS Enable="0" X_WPSMode="ap-pin" DevicePassword=""/>
<X_WlanMacFilter NumberOfInstances="16">
<X_WlanMacFilterInstance InstanceID="1" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="2" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="3" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="4" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="5" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="6" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="7" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="8" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="9" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="10" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="11" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="12" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="13" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="14" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="15" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="16" X_WlanSrcMacAddress=""/>
</X_WlanMacFilter>
<X_BridgeRestriction NumberOfInstances="4">
<X_BridgeRestrictionInstance InstanceID="1" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
<X_BridgeRestrictionInstance InstanceID="2" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
<X_BridgeRestrictionInstance InstanceID="3" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
<X_BridgeRestrictionInstance InstanceID="4" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
</X_BridgeRestriction>
<WEPKey NumberOfInstances="4">
<WEPKeyInstance InstanceID="1"  WEPKey="1111111111111"/>
<WEPKeyInstance InstanceID="2"  WEPKey="2222222222222"/>
<WEPKeyInstance InstanceID="3"  WEPKey="3333333333333"/>
<WEPKeyInstance InstanceID="4"  WEPKey="4444444444444"/>
</WEPKey>
<PreSharedKey NumberOfInstances="1">
<PreSharedKeyInstance InstanceID="1"  PreSharedKey="abcdedfg"/>
</PreSharedKey>
</WLANConfigurationInstance>
<WLANConfigurationInstance InstanceID="4"  SSIDAdvertisementEnabled="1" Enable="0" MaxBitRate="Auto" Channel="6" AutoChannelEnable="1" RegulatoryDomain="IT" SSID="SSID-4" BeaconType="WPAand11i" MACAddressControlEnabled="1" Standard="b/g/n" WEPKeyIndex="1" WEPEncryptionLevel="104-bit" BasicEncryptionModes="WEPEncryption" BasicAuthenticationMode="None" WPAEncryptionModes="AESEncryption" WPAAuthenticationMode="PSKAuthentication" IEEE11iEncryptionModes="AESEncryption" IEEE11iAuthenticationMode="PSKAuthentication" WMMEnable="0" X_Wlan11NTxRxStream="1" X_MixedEncryptionModes="AESEncryption" X_MixedAuthenticationMode="PSKAuthentication" X_PowerValue="20" X_AssociateDeviceNum="5" X_WlanMacFilterpolicy="0" X_WlanStaWakeEnable="0" X_WlanIsolateControl="0" X_Wlan11NBWControl="20/40">
<WPS Enable="0" X_WPSMode="ap-pin" DevicePassword=""/>
<X_WlanMacFilter NumberOfInstances="16">
<X_WlanMacFilterInstance InstanceID="1" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="2" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="3" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="4" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="5" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="6" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="7" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="8" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="9" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="10" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="11" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="12" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="13" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="14" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="15" X_WlanSrcMacAddress=""/>
<X_WlanMacFilterInstance InstanceID="16" X_WlanSrcMacAddress=""/>
</X_WlanMacFilter>
<X_BridgeRestriction NumberOfInstances="4">
<X_BridgeRestrictionInstance InstanceID="1" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
<X_BridgeRestrictionInstance InstanceID="2" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
<X_BridgeRestrictionInstance InstanceID="3" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
<X_BridgeRestrictionInstance InstanceID="4" X_WlanBridgeMacAddress="" X_WlanBridgeStatus="0"/>
</X_BridgeRestriction>
<WEPKey NumberOfInstances="4">
<WEPKeyInstance InstanceID="1"  WEPKey="1111111111111"/>
<WEPKeyInstance InstanceID="2"  WEPKey="2222222222222"/>
<WEPKeyInstance InstanceID="3"  WEPKey="3333333333333"/>
<WEPKeyInstance InstanceID="4"  WEPKey="4444444444444"/>
</WEPKey>
<PreSharedKey NumberOfInstances="1">
<PreSharedKeyInstance InstanceID="1"  PreSharedKey="abcdedfg"/>
</PreSharedKey>
</WLANConfigurationInstance>
</WLANConfiguration>
<Hosts>
</Hosts>
</LANDeviceInstance>
</LANDevice>
<WANDevice NumberOfInstances="3">
<WANDeviceInstance InstanceID="1" >
<WANCommonInterfaceConfig WANAccessType="DSL" Layer1UpstreamMaxBitRate="2000000" Layer1DownstreamMaxBitRate="24000000" WANAccessProvider="HUAWEI"/>
<WANDSLInterfaceConfig Enable="1" X_ConfigMode="ALL">
<Stats>
</Stats>
</WANDSLInterfaceConfig>
<WANEthernetInterfaceConfig>
<ObjExtention HideBits="30"/>
</WANEthernetInterfaceConfig>
<X_WANUMTSInterfaceConfig>
<ObjExtention HideBits="30"/>
</X_WANUMTSInterfaceConfig>
<WANConnectionDevice NumberOfInstances="1">
<WANConnectionDeviceInstance InstanceID="1">
<WANEthernetLinkConfig>
<ObjExtention HideBits="30"/>
</WANEthernetLinkConfig>
<X_WANUMTSLinkConfig>
<ObjExtention HideBits="30"/>
</X_WANUMTSLinkConfig>
<WANDSLLinkConfig Enable="1" LinkType="EoA" DestinationAddress="PVC:8/35" ATMEncapsulation="LLC" ATMQoS="UBR" ATMPeakCellRate="0" ATMMaximumBurstSize="0" ATMSustainableCellRate="0" X_VLANIDMark="-1" X_802-1pMark="-1"/>
<WANPPPConnection NumberOfInstances="1">
<WANPPPConnectionInstance InstanceID="1"  X_LanInterface="" X_ServiceList="INTERNET" X_DHCPRelay="0" X_ProxyEnable="0" X_MAXUser="4" Enable="1" PossibleConnectionTypes="IP_Routed,PPPoE_Bridged,DHCP_Spoofed" ConnectionType="IP_Routed" name="" AutoDisconnectTime="0" IdleDisconnectTime="600" X_APN="" X_DialNumber="" NATEnabled="1" Username="123@neufpnp" Password="123" PPPAuthenticationProtocol="AUTO" MaxMRUSize="1492" DNSEnabled="1" DNSOverrideAllowed="1" DNSServers="" ConnectionTrigger="Manual" RouteProtocolRx="Off">
<X_DMZ DMZEnable="0" DMZHostIPAddress=""/>
</WANPPPConnectionInstance>
</WANPPPConnection>
</WANConnectionDeviceInstance>
</WANConnectionDevice>
</WANDeviceInstance>
<WANDeviceInstance InstanceID="2" >
<WANCommonInterfaceConfig WANAccessType="Ethernet" Layer1UpstreamMaxBitRate="100000000" Layer1DownstreamMaxBitRate="100000000" WANAccessProvider="HUAWEI"/>
<WANDSLInterfaceConfig>
<Stats>
</Stats>
<ObjExtention HideBits="30"/>
</WANDSLInterfaceConfig>
<WANEthernetInterfaceConfig Enable="1" MACAddress="" MaxBitRate="Auto" DuplexMode="Auto">
</WANEthernetInterfaceConfig>
<X_WANUMTSInterfaceConfig>
<ObjExtention HideBits="30"/>
</X_WANUMTSInterfaceConfig>
<WANConnectionDevice NumberOfInstances="1">
<WANConnectionDeviceInstance InstanceID="1">
<WANEthernetLinkConfig X_VLANIDMark="-1" X_802-1pMark="-1"/>
<X_WANUMTSLinkConfig>
<ObjExtention HideBits="30"/>
</X_WANUMTSLinkConfig>
<WANDSLLinkConfig>
<ObjExtention HideBits="30"/>
</WANDSLLinkConfig>
<WANPPPConnection NumberOfInstances="1">
<WANPPPConnectionInstance InstanceID="1"  X_LanInterface="" X_ServiceList="INTERNET" X_DHCPRelay="0" X_ProxyEnable="0" X_MAXUser="4" Enable="1" PossibleConnectionTypes="IP_Routed,PPPoE_Bridged,DHCP_Spoofed" ConnectionType="IP_Routed" name="" AutoDisconnectTime="0" IdleDisconnectTime="600" X_APN="" X_DialNumber="" NATEnabled="1" Username="123@neufpnp" Password="123" PPPAuthenticationProtocol="AUTO" MaxMRUSize="1492" DNSEnabled="1" DNSOverrideAllowed="1" DNSServers="" ConnectionTrigger="Manual" RouteProtocolRx="Off">
<X_DMZ DMZEnable="0" DMZHostIPAddress=""/>
</WANPPPConnectionInstance>
</WANPPPConnection>
</WANConnectionDeviceInstance>
</WANConnectionDevice>
</WANDeviceInstance>
<WANDeviceInstance InstanceID="3" >
<WANCommonInterfaceConfig WANAccessType="UMTS" Layer1UpstreamMaxBitRate="2000000" Layer1DownstreamMaxBitRate="8000000" WANAccessProvider="HUAWEI"/>
<WANDSLInterfaceConfig>
<Stats>
</Stats>
<ObjExtention HideBits="30"/>
</WANDSLInterfaceConfig>
<WANEthernetInterfaceConfig>
<ObjExtention HideBits="30"/>
</WANEthernetInterfaceConfig>
<X_WANUMTSInterfaceConfig Enable="1">
</X_WANUMTSInterfaceConfig>
<X_WANUMTSProfile NumberOfInstances="1">                                                                                            
<ObjExtention MaxInstanceNum="5"/>                                                                                                  
<X_WANUMTSProfileInstance InstanceID="1" ProfileName="Drei AT" APN="drei.at" DialNumber="*99#" UserName="" Password="" IPAddress="" AuthenticationProtocol="AUTO" ReadOnly="1" ConnectionTrigger="OnDemand" IdleDisconnectTime="600" MaxMRUSize="1500"/>
</X_WANUMTSProfile>                                                                                                                 
<WANConnectionDevice NumberOfInstances="1">
<WANConnectionDeviceInstance InstanceID="1">
<WANEthernetLinkConfig>
<ObjExtention HideBits="30"/>
</WANEthernetLinkConfig>
<X_WANUMTSLinkConfig Enable="1"/>
<WANDSLLinkConfig>
<ObjExtention HideBits="30"/>
</WANDSLLinkConfig>
<WANPPPConnection NumberOfInstances="1">
<WANPPPConnectionInstance InstanceID="1"  X_LanInterface="" X_ServiceList="INTERNET" X_DHCPRelay="0" X_ProxyEnable="0" X_MAXUser="4" Enable="1" PossibleConnectionTypes="IP_Routed,DHCP_Spoofed" ConnectionType="IP_Routed" name="" AutoDisconnectTime="0" IdleDisconnectTime="600" X_APN="drei.at" X_DialNumber="*99#" NATEnabled="1" Username="" Password="" PPPAuthenticationProtocol="AUTO" MaxMRUSize="1500" DNSEnabled="1" DNSOverrideAllowed="1" DNSServers="" ConnectionTrigger="OnDemand" RouteProtocolRx="Off" X_ProfileName="Drei AT">
<X_DMZ DMZEnable="0" DMZHostIPAddress=""/>
</WANPPPConnectionInstance>
</WANPPPConnection>
</WANConnectionDeviceInstance>
</WANConnectionDevice>
</WANDeviceInstance>
</WANDevice>
<Layer2Bridging>
<Bridge NumberOfInstances="1">
<BridgeInstance InstanceID="1"  BridgeName="br0">
</BridgeInstance>
</Bridge>
</Layer2Bridging>
<Services>
<X_ALGAbility H323Enable="1" SIPEnable="0" SIPPort="5060" SIPWanPath="" RTSPEnable="1" L2TPEnable="1" IPSECEnable="1" PPTPEnable="1" FTPEnable="1"/>
<X_IPTV IGMPProxyEnable="0" IGMPSnoopingEnable="1" GroupNumber="32" WanList=""/>
<X_WANBackup Mode="Disable"/>
<X_MCAST McastEnable="0" McastAddr="239.10.0.100" McastPort="37123"/>
<X_MWBAND Mode="0" TotalTerminalNumber="4" STBRestrictEnable="0" STBNumber="1" CameraRestrictEnable="0" CameraNumber="1" ComputerRestrictEnable="0" ComputerNumber="1" PhoneRestrictEnable="0" PhoneNumber="1"/>
<X_UPnP Enable="0" TR064ConfigPwd="admin"/>
</Services>
<X_SYSCONTROL SMSEnable="1" QuickUpEnable="0"/>
</InternetGatewayDevice>
</InternetGatewayDeviceConfig>

Quite to the end of the file it has the spurious <ObjExtention MaxInstanceNum="5"/> - unfortunately I can't figure out what it actually sets.

Unfortunately the busybox doesn't have any editor installed so my only way to modify the files are through ftp-ing them to my main machine, edit there and send back.

Also changes to this file do not persist a reboot - so maybe I need to modify somewhere else.

link|improve this answer
feedback

It seems like the file defaultcfg.xml that you have posted is very promising indeed. It looks like some sort of an XML configuration file.

You could play with it, but assure first that you have the means to reinitialize the router back to its initial state. If it cannot boot then it is just a nice brick.

I would put my money on the XML tag starting with <WLANConfigurationInstance InstanceID="1". While there are four such with increasing InstanceID numbers, the first is the only one of the four that has Enable="1". I notice also that one of the parameters is X_AssociateDeviceNum="5". Now I wonder what would happen if you carefully increased this to X_AssociateDeviceNum="6" (don't jump the gun with too-large changes and save a local and remote backup copy of the file).

As regarding finding an integrated text editor, you could try for the old and true ed or for sed.

One should also hope that this file is not generated from other files during the boot. If the above change doesn't solve anything and the file reverts after a reboot, and if find and/or grep are installed, you could recursively search the entire file-system for files named "*WLAN*Config*" (case insensitive) or grep for WLANConfig.

link|improve this answer
Oh yes that also seems good. My key problem is - To make the modifications I need to restart some process. I can not alter the file permanently (yet I hope) - but so reboot is not useful. And unfortunately the busybox documentation is very vague. – bdecaf Feb 23 at 22:03
You can see by the date on the file if it is really regenerated at boot. You will need to reboot the router to be sure that the modification "took". The name defaultcfg.xml might also mean that this is the default configuration to be used when you revert to "factory settings". You will have to try and see. – harrymc Feb 24 at 7:04
feedback

An interesting observation I recently made. Using a range extender WN3000RP I was able to connect some additional devices when they were "denied" at the router.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.