Mips & Airteis
- Airteis RT-205 modemi kullanmaktayım. İçerisinde linux çekirdeği bulunmaktadır. Modeme telnet ile bağlanıp çeşitli bilgileri almak mümkündür.
Modeme Telnet ile Bağlanmak
loginde kullanıcı olarak “root” yazıyoruz, passwordu boş bırakabiliriz. Eğer web arayüzü için bir şifre tanımlamışsak burada o şifreyi kullanıyoruz.
gurcan@yavuz:~$ telnet 192.168.2.1 Trying 192.168.2.1... Connected to 192.168.2.1. Escape character is '^]'. BusyBox on localhost login: root Password:
* Bağlandığımızda aşağıdaki ekran bizi karşılar:
BusyBox v0.61.pre (2007.08.15-10:02+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. #
Cpu ait bilgiler
Modemin işlemcisine ait bilgiler.
# cat /proc/cpuinfo processor : 0 cpu model : MIPS 4KEc V4.8 BogoMIPS : 140.90 wait instruction : no microsecond timers : yes extra interrupt vector : yes hardware watchpoint : yes VCED exceptions : not available VCEI exceptions : not available
Modemdeki işletim sistemine ait bilgiler
# cat /proc/version Linux version 2.4.17_mvl21-malta-mips_fp_le (onur@otavil) (gcc version 2.95.3 20010315 (release/MontaVista)) #4 Wed Aug 15 13:09:13 EEST 2007
Memory Bilgileri
# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 14606336 14200832 405504 0 651264 5005312
Swap: 0 0 0
MemTotal: 14264 kB
MemFree: 396 kB
MemShared: 0 kB
Buffers: 636 kB
Cached: 4888 kB
SwapCached: 0 kB
Active: 5464 kB
Inactive: 2364 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 14264 kB
LowFree: 396 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dış ip numarasını öğrenmek
# ifconfig | grep P-t inet addr:88.240.246.86 P-t-P:88.240.244.1 Mask:255.255.255.255
Kaynaklar
[1] http://www.pmx.it/DG834v2.html [erişim : 02.05.2011]