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
