更新
基本上@NoUsername 的贡献解决了我的问题。但我发现实际“覆盖” JavaScript 有点棘手,关键问题是配置页面重新加载非常频繁。所以我只留下一些关于我在 Chrome 上如何实现这一点的注释:
- 在 wlan 配置页面,我打开了 Chrome 开发者控制台。
- 在那里我可以打开框架“wlan_config.asp”(或类似名称) - 它包含只是没有任何导航的配置窗口(此页面不会自动重新加载)
apply_submit();
在配置框架中进行设置后,不要单击“确定”,而是在 JavaScript 控制台中调用。这将提交所有设置无需检查他们!(所以要小心!)
我通过这个 3G wifi 路由器设置了我的家庭网络。问题是它只允许 5 台设备连接。这不算多,尤其是如果 wifi 打印机和游戏机一直占用这些插槽的话。另一方面,我看不出屏蔽这些设备有什么意义。它们(应该)不在线做任何事情,只是在我的网络中实习。
我发现的文档出奇地没啥帮助,只关注如何将设备插入电源插座。
那么我的选择是什么?
注意:我已经能够使用 ssh 在设备上获取 shell。它正在运行一些 Busybox。但我找不到如何以及在何处强制/创建此限制。
注 2:具体来说,我的设备是 3WebCube - 不幸的是没有特别标明华为型号。
迄今为止取得的成功
在选项中启用 ssh 后我可以登录:
ssh -T [email protected]
[email protected]'s password:
-------------------------------
-----Welcome to ATP Cli------
-------------------------------
不幸的是,由于这个原因-T
,Tab 键无法自动完成,所有输入的命令都会被回显。而且箭头键也没有历史记录。
ATP 接口
这个自定义接口不是很有用:
ATP>help
help
Welcome to ATP command line tool.
If any question, please input "?" at the end of command.
壳
但没有记录 - 我不知怎么在一个自动翻译的中文网站上找到了 - 你需要做的就是输入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.
#
使用 tftp 在我的桌面上安装 tftp 后,我能够使用
tftp -s -l curcfg.xml 192.168.1.103
并使用
tftp -g -r curcfg.xml 192.168.1.103
我想我会需要它——因为我没有看到安装任何编辑器。
读出内容
(仍在寻找可以获得有趣信息的地方)
硬件确认:
# 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
我最近发现了一个有趣的现象。使用范围扩展器WN3000RP当路由器“拒绝”一些附加设备时,我能够连接它们。
更正这只在短时间内起作用 - 现在我看到所有设备 - 也连接到扩展器算作一个。
答案1
我知道这个问题已经很老了,可能作者不再感兴趣,但也许其他人会像我一样通过网络搜索偶然发现这个问题,所以我想分享我的发现。
我实际上有 2 个这样的 WebCube,其中一个较新,没有 5 个设备的限制,而较旧的那个有。我能够更改此配置,并且它仍会重新启动。
我的做法完全不同,我只使用了 Web 管理界面。我的版本在那里显示一个字段,上面写着“最大设备数量”(不是字面意思),这可以在 wifi 设置中的某个地方找到。当我输入大于 5 的值时,据我记得,我认为它会立即被某些 JavaScript 重置,或者至少在您提交这些更改时它会被重置。因此,我挖掘了网站的 JavaScript 代码(使用 Chromes dev utils,按下 F12 即可获得),发现 HTML 表单的提交方法在某处有此代码,它会将值更改回最大值 5。我尝试更改它,它有点奏效,问题是还有某种 ajax 的东西在不断进行重新加载,并以某种方式干扰这些手动编辑,但经过反复试验后,我能够计时或以某种方式停止它,它起作用了,它确实提交了另一个值(我想我把它设置为 10)。之后,当我访问该页面时它显示 10(从那以后就不敢碰它了)。
我想这也可以通过以下方式完成卷曲或者一些类似的实用程序,但由于提交页面和 cookie 等时发生的 javascript 问题,我认为这种方式会更容易。
抱歉,我无法提供更详细的信息,但我这样做确实已经有一段时间了,而且我目前无法访问该设备来查找任何具体信息。
如前所述,这在我的 3WebCube 的旧版本上运行良好,因为新版本默认有 10 台设备的限制,所以我还没有在那里尝试过。
答案2
看起来您发布的 defaultcfg.xml 文件确实很有前途。它看起来像某种 XML 配置文件。
你可以试一试,但首先要确保你有办法将路由器重新初始化到初始状态。如果它无法启动,那么它就只是一块砖头而已。
我会把钱押在以 开头的 XML 标签上<WLANConfigurationInstance InstanceID="1"
。虽然有四个这样的标签,InstanceID
数字都在增加,但第一个是四个标签中唯一一个具有 的标签Enable="1"
。我还注意到其中一个参数是X_AssociateDeviceNum="5"
。现在我想知道如果您小心地将其增加到 会发生什么X_AssociateDeviceNum="6"
(不要急于进行太大的更改,并保存文件的本地和远程备份副本)。
至于寻找集成的文本编辑器,您可以尝试 old and trueed
或sed
。
还应该希望该文件不是在启动过程中从其他文件生成的。如果上述更改没有解决任何问题,并且文件在重新启动后恢复,并且如果find
和/或grep
已安装,您可以递归搜索整个文件系统以查找名为“无线局域网Config*"(不区分大小写)或 grep WLANConfig
。
答案3
抱歉,将此作为答案发布 - 无法将代码添加到问题中,因为它超过了允许的最大大小。
内容/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
的内容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>
到文件的末尾都有虚假的内容<ObjExtention MaxInstanceNum="5"/>
- 不幸的是我无法弄清楚它实际上设置了什么。
不幸的是,busybox 没有安装任何编辑器,所以我修改文件的唯一方法是通过 ftp 将它们传输到我的主机,在那里编辑并发回。
而且对此文件的更改不会在重新启动后保留 - 所以也许我需要在其他地方进行修改。
答案4
我也有这个设备,但是到目前为止我还无法获得它的 shell 访问权限。
我从设备上的 acl 配置中启用了 ssh 服务,并尝试获取访问权限,但不知道用什么登录。我用于 Web 界面的用户 admin 及其密码似乎不起作用,并显示以下消息:
PTY allocation request failed on channel 1
我还在 pastebin 上获得了带有 -vvv 选项的 ssh 的完整输出这里
我认为如果您告诉我您是如何获得 ssh 访问权限的,我就可以提供帮助,因为尽管 nmap 确实显示 dropbear 守护进程正在端口 22 上运行,但我仍然没有弄清楚什么凭据可以让您访问 shell。
要了解此限制,请执行以下步骤:
- 使用 ps 命令查找设备上运行的 Web 服务器。
- 查找您找到的服务器的站点配置。
- 查看 Web 界面代码来找到我们感兴趣的部分。