fonのAPを登録するアドレス †http://www.fon.com/jp/userzone/saveRegisterAP 演習課題ではありません。 作業メモ(記録)です。 †以下メモは、個人の責任のもと参考にしてください。 †DD-WRT化 †
Linux(ssh)むき出し化? †作業概要 †
こんな感じ login as: root root@169.254.255.1's password: BusyBox v1.1.3 (2006.11.21-19:49+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. _______ _______ _______ | ____|| || _ | | ____|| - || | | | | | |_______||__| |__| |___| Fonera Firmware (Version 0.7.1 rev 1) ------------- * * Based on OpenWrt - http://openwrt.org * Powered by FON - http://www.fon.com --------------------------------------------------- root@OpenWrt:~# root@OpenWrt:~# mv /etc/init.d/dropbear /etc/init.d/S50dropbear root@OpenWrt:~# vi /etc/firewall.user root@OpenWrt:~# ls /sbin halt ifup.pppoe logread poweroff sysctl hotplug ifup.pptp lsmod reboot syslogd ifconfig init mount_root rmmod udhcpc ifdown insmod mtd route vconfig ifup klogd pivot_root switch_root watchdog root@OpenWrt:~# ls /bin ash df gzip more pwd touch busybox dmesg ipcalc mount rm true cat echo kill mv rmdir umount chgrp egrep ln netmsg sed uname chmod false lock netstat sh vi chown fgrep login pidof sleep zcat cp fonverify ls ping sync date grep mkdir ping6 tar dd gunzip mktemp ps thinclient root@OpenWrt:~# ls / bin etc lib proc sbin tmp var dev jffs mnt rom sys usr www root@OpenWrt:~# ls /lib/ ld-uClibc-0.9.28.so libgcc_s.so.1 librt-0.9.28.so ld-uClibc.so.0 libm-0.9.28.so librt.so.0 libc.so.0 libm.so.0 libuClibc-0.9.28.so libcrypt-0.9.28.so libnsl-0.9.28.so libutil-0.9.28.so libcrypt.so.0 libnsl.so.0 libutil.so.0 libdl-0.9.28.so libresolv-0.9.28.so modules libdl.so.0 libresolv.so.0 root@OpenWrt:~# ifconfig ath1 Link encap:Ethernet HWaddr 00:18:xx:xx:xx:xx inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:2290 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) eth0 Link encap:Ethernet HWaddr 00:18:xx:xx:xx:xx UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:1600 errors:0 dropped:0 overruns:0 frame:0 TX packets:1677 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:164279 (160.4 KiB) TX bytes:688731 (672.5 KiB) Interrupt:4 Base address:0x1000 eth0:1 Link encap:Ethernet HWaddr 00:18:xx:xx:xx:xx inet addr:169.254.255.1 Bcast:169.254.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 Interrupt:4 Base address:0x1000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wifi0 Link encap:Ethernet HWaddr 00:18:xx:xx:xx:xx UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:26056 errors:0 dropped:0 overruns:0 frame:970 TX packets:186 errors:7 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:199 RX bytes:2330168 (2.2 MiB) TX bytes:24631 (24.0 KiB) Interrupt:3 Memory:b0000000-b00ffffc その他情報 † |