Una vez tenemos acceso tanto a consola como a SSH, vamos a ver qué elementos software tenemos.
CPU:
root@irouter:~# cat /proc/cpuinfo Processor : ARMv6-compatible processor rev 1 (v6l) BogoMIPS : 448.92 Features : swp half thumb fastmult edsp java CPU implementer : 0x41 CPU architecture: 6TEJ CPU variant : 0x1 CPU part : 0xb36 CPU revision : 1 Hardware : Comcerto 100 (Teldat board) Revision : 0002 Serial : 0000000000000000
Espacio en Disco:
root@irouter:~# df -h Filesystem Size Used Available Use% Mounted on /dev/root 100.0M 82.4M 17.6M 82% / none 115.5M 2.9M 112.6M 3% /tmp tmpfs 512.0K 4.0K 508.0K 1% /dev none 115.5M 2.9M 112.6M 3% /etc none 115.5M 2.9M 112.6M 3% /mnt /dev/mtdblock9 52.0M 1.5M 50.5M 3% /tmp/persist
Estructura de la MTD:
root@irouter:~# cat /proc/mtd dev: size erasesize name mtd0: 00040000 00010000 "boot" mtd1: 00020000 00010000 "env" mtd2: 00020000 00010000 "tldt" mtd3: 00140000 00010000 "kr" mtd4: 00240000 00010000 "fs" mtd5: 00200000 00020000 "kr1" mtd6: 06400000 00020000 "fs1" mtd7: 00200000 00020000 "kr2" mtd8: 06400000 00020000 "fs2" mtd9: 03400000 00020000 "cfg"
Kernel Linux:
root@irouter:/# uname -a Linux irouter 2.6.33.5-iR4-1.0.4.3 #1 Fri Jul 6 11:53:10 CEST 2012 armv6l GNU/Linux root@irouter:/# cat /proc/version Linux version 2.6.33.5-iR4-1.0.4.3 (amata@orion) (gcc version 4.1.2) #1 Fri Jul 6 11:53:10 CEST 2012
Esta versión se basa en configuración U.C.I. :
root@irouter:~# uci show ddns.teldat=service ddns.teldat.enabled=0 ddns.teldat.service_name=dyndns.org ddns.teldat.domain=mypersonaldomain.dyndns.org ddns.teldat.username=myusername ddns.teldat.password=mypassword ddns.teldat.force_interval=72 ddns.teldat.force_unit=hours ddns.teldat.check_interval=10 ddns.teldat.check_unit=minutes ddns.teldat.ip_source=web ddns.teldat.ip_url=http://www.whatismyip.com/automation/n09230945.asp dhcp.lan=dhcp dhcp.lan.enabled=1 dhcp.lan.start=100 dhcp.lan.limit=150 dhcp.lan.lease=720m dropbear.cfg1=dropbear dropbear.cfg1.PasswordAuth=on dropbear.cfg1.Port=22 fastforward.ftp=fastforward fastforward.ftp.proto=tcp fastforward.ftp.port=21 fastforward.sip=fastforward fastforward.sip.proto=udp fastforward.sip.port=5060 fastforward.rtsp=fastforward fastforward.rtsp.port=554 fastforward.pptp=fastforward fastforward.pptp.proto=tcp fastforward.pptp.port=1723 network.loopback=interface network.loopback.ifname=lo network.loopback.status=1 network.loopback.proto=static network.loopback.ipaddr=127.0.0.1 network.loopback.netmask=255.0.0.0 /bin/uci: /etc/config/openvpn: line 1: package: not found /bin/uci: /etc/config/openvpn: line 319: list: not found openvpn.custom_config=openvpn openvpn.custom_config.enable=0 openvpn.custom_config.config=/etc/openvpn/my-vpn.conf openvpn.sample_server=openvpn openvpn.sample_server.enable=0 openvpn.sample_server.port=1194 openvpn.sample_server.proto=udp openvpn.sample_server.dev=tun openvpn.sample_server.ca=/etc/openvpn/ca.crt openvpn.sample_server.cert=/etc/openvpn/server.crt openvpn.sample_server.key=/etc/openvpn/server.key openvpn.sample_server.dh=/etc/openvpn/dh1024.pem openvpn.sample_server.server=10.8.0.0 255.255.255.0 openvpn.sample_server.ifconfig_pool_persist=/tmp/ipp.txt openvpn.sample_server.keepalive=10 120 openvpn.sample_server.comp_lzo=1 openvpn.sample_server.persist_key=1 openvpn.sample_server.persist_tun=1 openvpn.sample_server.status=/tmp/openvpn-status.log openvpn.sample_server.verb=3 openvpn.sample_client=openvpn openvpn.sample_client.enable=0 openvpn.sample_client.client=1 openvpn.sample_client.dev=tun openvpn.sample_client.proto=udp openvpn.sample_client.resolv_retry=infinite openvpn.sample_client.nobind=1 openvpn.sample_client.persist_key=1 openvpn.sample_client.persist_tun=1 openvpn.sample_client.ca=/etc/openvpn/ca.crt openvpn.sample_client.cert=/etc/openvpn/client.crt openvpn.sample_client.key=/etc/openvpn/client.key openvpn.sample_client.comp_lzo=1 openvpn.sample_client.verb=3 p910nd.cfg1=p910nd p910nd.cfg1.TYPE=p910nd p910nd.cfg1.device=/dev/lp0 p910nd.cfg1.port=0 p910nd.cfg1.bidirectional=1 p910nd.cfg1.enabled=1 pppoerelay.general=pppoerelay pppoerelay.general.enable=0 pppoerelay.general.max_sessions=16 qos.general=qos qos.general.TYPE=qos qos.general.flow_count=0 qos.general.group_count=0 qos.lan=qos qos.lan.TYPE=qos qos.lan.status=disable qos.lan.sdlr=pq qos.lan.queue=8 qos.lan.ifname=eth2 qos.wan=qos qos.wan.status=disable qos.wan.sdlr=pq qos.wan.queue=8 qos.wan.ifname=eth0 /bin/uci: /etc/config/radvd: line 6: list: not found /bin/uci: /etc/config/radvd: line 12: list: not found /bin/uci: /etc/config/radvd: line 20: list: not found /bin/uci: /etc/config/radvd: line 26: list: not found /bin/uci: /etc/config/radvd: line 31: list: not found radvd.cfg1=interface radvd.cfg1.TYPE=interface radvd.cfg1.interface=lan radvd.cfg1.AdvSendAdvert=1 radvd.cfg1.AdvManagedFlag=0 radvd.cfg1.AdvOtherConfigFlag=0 radvd.cfg1.ignore=1 radvd.cfg2=prefix radvd.cfg2.interface=lan radvd.cfg2.AdvOnLink=1 radvd.cfg2.AdvAutonomous=1 radvd.cfg2.AdvRouterAddr=0 radvd.cfg2.ignore=1 radvd.cfg3=route radvd.cfg3.interface=lan radvd.cfg3.ignore=1 radvd.cfg4=rdnss radvd.cfg4.interface=lan radvd.cfg4.ignore=1 radvd.cfg5=dnssl radvd.cfg5.interface=lan radvd.cfg5.ignore=1 system.cfg1=system system.cfg1.TYPE=system system.cfg1.hostname=irouter
Listado de Módulos Kernel:
root@irouter:~# lsmod Module Size Used by Tainted: P rt3052_iNIC 53644 0 pppoe 7232 0 pppox 952 1 pppoe ppp_generic 13788 2 pppoe,pppox slhc 4144 1 ppp_generic xt_MARK 428 2 xt_mark 432 8 xt_DSCP 1304 0 xt_dscp 988 0 xt_mac 500 0 xt_CONNMARK 784 14 ipt_REJECT 1552 0 fci 2904 5 comcerto_fpp 7092 3 fci fpp_csme 3120 0 csmencaps 14724 0 ebt_mark_m 536 0 ebt_ip6 1304 0 ebt_vlan 1488 0 ebt_ip 1168 0 ebtable_filter 836 0 ebtable_broute 640 0 ebtable_nat 836 0 ebtables 15060 3 ebtable_filter,ebtable_broute,ebtable_nat ip6table_raw 576 0 ip6table_mangle 908 1 ip6table_filter 672 1 ip6t_mh 620 0 ip6t_eui64 640 0 ip6t_ah 720 0 ip6t_REJECT 2028 0 ip6_queue 3884 0 xt_string 772 0 nf_nat_rtsp 3192 0 nf_conntrack_rtsp 3924 1 nf_nat_rtsp nf_nat_sip 4152 0 nf_conntrack_sip 11720 1 nf_nat_sip nf_nat_ftp 1164 0 nf_conntrack_ftp 4692 1 nf_nat_ftp xt_TCPMSS 2324 2 xt_tcpmss 884 2 xt_multiport 1888 0 ipt_MASQUERADE 1976 1 iptable_mangle 992 1 iptable_raw 632 0 iptable_nat 2500 1 iptable_filter 784 1 xt_tcpudp 1728 2 xt_state 744 0 xt_helper 708 0 xt_conntrack 1772 16 xt_connmark 596 0 xt_connbytes 1036 0 nf_conntrack_netlink 13108 0 nf_nat_pptp 1364 0 nf_conntrack_pptp 2996 1 nf_nat_pptp nf_nat_proto_gre 690 1 nf_nat_pptp nf_conntrack_proto_gre 2508 1 nf_conntrack_pptp ip_gre 11636 0 nf_nat 10146 7 nf_nat_rtsp,nf_nat_sip,nf_nat_ftp,ipt_MASQUERADE,iptable_nat,nf_nat_pptp,nf_nat_proto_gre nf_conntrack_ipv6 8780 2 nf_conntrack_ipv4 7728 31 iptable_nat,nf_nat nf_conntrack 40580 21 xt_CONNMARK,nf_nat_rtsp,nf_conntrack_rtsp,nf_nat_sip,nf_conntrack_sip,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,xt_state,xt_helper,xt_conntrack,xt_connmark,xt_connbytes,nf_conntrack_netlink,nf_nat_pptp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_nat,nf_conntrack_ipv6,nf_conntrack_ipv4 nf_defrag_ipv4 568 1 nf_conntrack_ipv4 nfnetlink 1504 3 nf_conntrack_netlink ip6_tables 9008 4 ip6table_raw,ip6table_mangle,ip6table_filter,ip6t_ah ip_tables 8472 4 iptable_mangle,iptable_raw,iptable_nat,iptable_filter x_tables 8200 30 xt_MARK,xt_mark,xt_DSCP,xt_dscp,xt_mac,xt_CONNMARK,ipt_REJECT,ebt_mark_m,ebt_ip6,ebt_vlan,ebt_ip,ebtables,ip6t_mh,ip6t_eui64,ip6t_ah,ip6t_REJECT,xt_string,xt_TCPMSS,xt_tcpmss,xt_multiport,ipt_MASQUERADE,iptable_nat,xt_tcpudp,xt_state,xt_helper,xt_conntrack,xt_connmark,xt_connbytes,ip6_tables,ip_tables leds_irouter 2792 0 gpio_keys 2884 0 pcf857x 2320 3 fuse 42600 0 i2c_comcerto 4760 0 ftdi_sio 28028 0 cp210x 9832 0 usb_storage 31312 0 usbserial 22092 2 ftdi_sio,cp210x usblp 8116 0 usbnet 10994 0 snd_usb_lib 12276 0 evdev 5724 1 i2c_dev 3916 0 i2c_core 11792 3 pcf857x,i2c_comcerto,i2c_dev input_core 17092 4 gpio_keys,evdev ehci_hcd 30020 0 sd_mod 22584 0 msdos 5204 0 ar8316 149444 1 tun 9420 0 snd_timer 13356 0 snd_rawmidi 13092 1 snd_usb_lib snd_seq_device 3600 1 snd_rawmidi snd_hwdep 3852 0 snd 30924 5 snd_usb_lib,snd_timer,snd_rawmidi,snd_seq_device,snd_hwdep soundcore 3420 1 snd vfat 7616 0 fat 40036 2 msdos,vfat ntfs 93300 0 ext3 85476 0 jbd 31356 1 ext3 ext2 40224 0 nls_iso8859_15 3280 0 nls_iso8859_1 2768 0 nls_cp437 4300 0 usbcore 104816 9 ftdi_sio,cp210x,usb_storage,usbserial,usblp,usbnet,snd_usb_lib,ehci_hcd scsi_mod 64496 2 usb_storage,sd_mod nls_base 4528 7 vfat,fat,ntfs,nls_iso8859_15,nls_iso8859_1,nls_cp437,usbcore crc_ccitt 884 0
Listado de paquetes OpenWrt instalados:
root@irouter:~# opkg list ar8316-lib - 0.9.5-1 - asterisk - 1.2.7.1-1 - asterisk-addons - 1.2.5-1 - base-files-comcerto100 - 14-r3643 - blkid - 1.40.11-1 - bridge - 1.4-1 - busybox - 1.14.4-1 - buttond - 1.00-1 - cmm - 7.00-5 - com.teldat.action - 1.0.4-1 - com.teldat.action.rt3052 - 1.0.4-1 - com.teldat.applications - 1.0.4-1 - com.teldat.config - 1.0.4-1 - com.teldat.config.web - 1.0.4-1 - com.teldat.jdk - 1.0.4-1 - com.teldat.jdk.common - 1.0.4-1 - com.teldat.systemoperations - 1.0.4-1 - com.teldat.theme.standard - 1.0.4-1 - com.teldat.tr69 - 1.0.4-1 - com.teldat.tr69.osconfig - 1.0.4-1 - com.teldat.upnp.mediaserver - 1.0.4-1 - com.teldat.upnp.storagemediaserver - 1.0.4-1 - ddns-scripts - 1.0.0-6 - de.rtner.security - 1.0.4-1 - deviceinfo - 1.0.0-1 - dibbler-client - 0.8.0RC1-teldat-6 - dibbler-poslib - 0.8.0RC1-teldat-6 - dibbler-server - 0.8.0RC1-teldat-6 - dnsmasq - 2.38-1 - dosfstools - 3.0.5-1 - dropbear - 0.49-1 - dspg-dect - 2.30_1-1 - e2fsprogs - 1.40.11-1 - ebtables - 2.0.9-2-1 - ejre1.6 - 1.6.0_21-1 - equinox - 3.3.2-1 - ethtool - 3-0 - fdisk - 2.12r-1 - firmwared - 1-r3643 - fpp-firmware - 2.6.33.5+3.00.1-comcerto100-1 - gnupg - 1.4.10-1 - haserl - 0.9.26-1 - hotplug2 - 0.9-1 - igmpproxy - 0.1-beta2-1 - ip - 2.6.23-1 - ip6tables - 1.4.7-1 - iptables - 1.4.7-1 - iptables-mod-conntrack - 1.4.7-1 - iptables-mod-conntrack-extra - 1.4.7-1 - iptables-mod-extra - 1.4.7-1 - iptables-mod-filter - 1.4.7-1 - iptables-mod-ipopt - 1.4.7-1 - iptables-mod-nat - 1.4.7-1 - iputils-arping - 20071127-1 - iputils-ping - 20071127-1 - iputils-ping6 - 20071127-1 - iputils-traceroute6 - 20071127-1 - javax.servlet - 3.3.2-1 - javax.xml.soap - 1.0.4-1 - kernel - 2.6.33.5-comcerto100-1 - kmod-ar8316 - 2.6.33.5+0.9.5-comcerto100-1 - kmod-crc-ccitt - 2.6.33.5-comcerto100-1 - kmod-csme - 2.6.33.5+2.14.0-comcerto100 - kmod-ebtables - 2.6.33.5+2.0.9-2-comcerto100-1 - kmod-fci - 2.6.33.5+7.00-comcerto100-1 - kmod-fpp-csme - 2.6.33.5+2.14.0-comcerto100 - kmod-fpp-driver - 2.6.33.5-comcerto100-1 - kmod-fs-ext2 - 2.6.33.5-comcerto100-1 - kmod-fs-ext3 - 2.6.33.5-comcerto100-1 - kmod-fs-msdos - 2.6.33.5-comcerto100-1 - kmod-fs-ntfs - 2.6.33.5-comcerto100-1 - kmod-fs-vfat - 2.6.33.5-comcerto100-1 - kmod-fuse - 2.6.33.5-1 - kmod-gre - 2.6.33.5-comcerto100-1 - kmod-i2c-comcerto - 2.6.33.5-comcerto100-1 - kmod-i2c-core - 2.6.33.5-comcerto100-1 - kmod-input-core - 2.6.33.5-comcerto100-1 - kmod-input-evdev - 2.6.33.5-comcerto100-1 - kmod-input-gpio-keys - 2.6.33.5-comcerto100-1 - kmod-ip6tables - 2.6.33.5-comcerto100-1 - kmod-ipt-conntrack - 2.6.33.5-comcerto100-1 - kmod-ipt-conntrack-extra - 2.6.33.5-comcerto100-1 - kmod-ipt-core - 2.6.33.5-comcerto100-1 - kmod-ipt-extra - 2.6.33.5-comcerto100-1 - kmod-ipt-filter - 2.6.33.5-comcerto100-1 - kmod-ipt-ipopt - 2.6.33.5-comcerto100-1 - kmod-ipt-nat - 2.6.33.5-comcerto100-1 - kmod-ipt-nathelper - 2.6.33.5-comcerto100-1 - kmod-ipt-nathelper-extra - 2.6.33.5-comcerto100-1 - kmod-leds-irouter - 2.6.33.5+0.9.9-comcerto100-1 - kmod-matisse - 1.00-0 - kmod-nf-conntrack-netlink - 2.6.33.5-comcerto100-1 - kmod-nfnetlink - 2.6.33.5-comcerto100-1 - kmod-nls-base - 2.6.33.5-comcerto100-1 - kmod-nls-cp437 - 2.6.33.5-comcerto100-1 - kmod-nls-iso8859-1 - 2.6.33.5-comcerto100-1 - kmod-nls-iso8859-15 - 2.6.33.5-comcerto100-1 - kmod-pcf857x - 2.6.33.5-comcerto100-1 - kmod-ppp - 2.6.33.5-comcerto100-1 - kmod-pppoe - 2.6.33.5-comcerto100-1 - kmod-rt3052 - 2.6.33.5+v2.4.0.7-comcerto100-1 - kmod-sched - 2.6.33.5-comcerto100-1 - kmod-scsi-core - 2.6.33.5-comcerto100-1 - kmod-sound-core - 2.6.33.5-comcerto100-1 - kmod-tun - 2.6.33.5-comcerto100-1 - kmod-usb-audio - 2.6.33.5-comcerto100-1 - kmod-usb-core - 2.6.33.5-comcerto100-1 - kmod-usb-net - 2.6.33.5-comcerto100-1 - kmod-usb-printer - 2.6.33.5-comcerto100-1 - kmod-usb-serial - 2.6.33.5-comcerto100-1 - kmod-usb-serial-cp2101 - 2.6.33.5-comcerto100-1 - kmod-usb-serial-ftdi - 2.6.33.5-comcerto100-1 - kmod-usb-storage - 2.6.33.5-comcerto100-1 - kmod-usb2 - 2.6.33.5-comcerto100-1 - libblkid - 1.40.11-1 - libc - 2.7-14 - libcli - 1.9.3-1 - libcurl - 7.19.7-1 - libdaemon - 0.14-2 - libext2fs - 1.40.11-1 - libgcc - 4.1.2-14 - libiptc - 1.4.7-1 - libiw - 29-4 - liblua - 5.1.4-5 - liblzo - 2.03-1 - libncurses - 5.2-8 - libnfconntrack - 0.0.100 - libnfnetlink - 1.0.0 - libopenssl - 0.9.8q-1 - libpcap - 1.1.1-2 - libpcre - 8.00-1 - libpthread - 2.7-14 - libreadline - 5.1-1 - librt - 2.7-14 - librt3052action - 1.0.1-1 - libstdcpp - 4.1.2-14 - libuuid - 1.40.11-1 - libxtables - 1.4.7-1 - lighttpd - 1.4.25-1 - lighttpd-mod-alias - 1.4.25-1 - lighttpd-mod-magnet - 1.4.25-1 - lighttpd-mod-proxy - 1.4.25-1 - lua - 5.1.4-5 - mmiotool - 1.00-1 - msp-firmware - 2.6.33.5+3.00.11-comcerto100-1 - msp-io-app - 2.6.33.5+1.00.0-comcerto100-1 - mtd - 5 - mtd-utils - 20090227-1 - net-tools-arp - 1.60-1 - net.java.stun4j - 1.0.4-1 - netstat-nat - 1.4.10-1 - ntfs-3g - 2009.4.4-1-fuseint - ntfsprogs - 2.0.0-1 - openvpn - 2.1.1-1 - opkg - 215-3 - org.apache.commons.codec - 1.0.4-1 - org.apache.commons.fileupload - 1.0.4-1 - org.apache.commons.httpclient - 1.0.4-1 - org.apache.commons.logging - 3.3.2-1 - org.apache.commons.net.ntp - 1.0.4-1 - org.apache.felix.upnp.basedriver - 1.0.4-1 - org.apache.felix.upnp.extra - 1.0.4-1 - org.asteriskjava - 1.0.4-1 - org.dhcp4java - 1.0.4-1 - org.eclipse.equinox.common - 3.3.2-1 - org.eclipse.equinox.http.jetty - 3.3.2-1 - org.eclipse.equinox.http.registry - 3.3.2-1 - org.eclipse.equinox.http.servlet - 3.3.2-1 - org.eclipse.equinox.registry - 3.3.2-1 - org.eclipse.osgi.services - 3.3.2-1 - org.jabsorb - 1.0.4-1 - org.mortbay.jetty - 3.3.2-1 - org.sqlite - 1.0.4-1 - p910nd - 0.93-1 - ppp - 2.4.4-4 - ppp-mod-pppoe - 2.4.4-4 - pure-ftpd - 1.0.29-2 - qos-scripts - 1.1.1-1 - quagga - 0.98.6-3 - quagga-libzebra - 0.98.6-3 - quagga-ripd - 0.98.6-3 - radvd - 1.8-3 - radvdump - 1.8-3 - rp-pppoe-relay - 3.8-1 - samba3-common - 3.4.5-1 - samba3-libs - 3.4.5-1 - samba3-server - 3.4.5-1 - ssdkd - 0.9.8-1 - tc - 2.6.23-1 - tcpdump - 4.1.1-3 - tr143-diagnostics - 0.9.5-1 - ubootenv - 0.9.5-1 - udev - 106-1 - udevtrigger - 106-1 - vapi - 2.14.0 - wireless-tools - 29-4 - zlib - 1.2.3-3 -
Todo esto nos da una idea, de la capacidad real del router, IPV6, soporte RADVD, soporte avanzado de routing, OSPF y BGP a través de Quagga/Zebra, plataforma JAVA y Eclipse incorporada, OpenVPN, MultiWAN, y @sterisk, entre otras cosas.
No cabe duda que la potencia real de este router está completamente desaprovechada, aún así, vamos a seguir excavando en este router.