Noob - Embedded Linux

I have wireless bridge that is having some software issues. I ran nmap and figured out that it is running Linux.

Running: Linux 2.4.X

OS CPE: cpe:/o:linux:linux_kernel:2.4

OS details: Linux 2.4.9 - 2.4.18 (likely embedded)

It also has a webserver running GoAhead-Webs embedded httpd and only port 8

0 is open.

This is a stupid question and I don't know much about Linux, but is it poss ible to re-install linux on this bridge to get full access to the OS or is there a way to get access to the OS that is currently installed. I am just mucking around before getting rid of the device because it can't bridge any connections. I was hoping I could SSH in, but the port isn't open.

Just looking for some direction.

Thanks/

Reply to
superoxygen
Loading thread data ...

Hi!

Am 04.07.2013 00:01, schrieb snipped-for-privacy@gmail.com:

It may be possible, but not like "insert a DVD and reboot" to install Linux. The device may have a JTAG i/f which could be used. (But presumbly not by a "Linux Noob" though. :-)

Another way would be to look out for the company which sells this Linux system. They will have some source code packages where you should find actual s/w and version numbers of installed s/w. With this info (and some architectural info) it'd be possible to craft an exploit against the device to gain root access.

But all this is lengthy and perhaps not feasible for a "Linux Noob".

HTH. Salut, Jo"rg

Reply to
Joerg Schmitz-Linneweber

d figured out that it is running Linux.

80 is open.

ssible to re-install linux on this bridge to get full access to the OS or i s there a way to get access to the OS that is currently installed. I am jus t mucking around before getting rid of the device because it can't bridge a ny connections. I was hoping I could SSH in, but the port isn't open.

Thanks Joerg!

Understood. I was trying to do something with the device as it came DOA and the manufacturer would not help.

I was trying to SSH into the device but I can't only port 80 is open on the webserver and thats it. All the info I got on the device is by running NMA P and logs from the device itself.

Not sure if this is helpful.

From the device ->

Jun 23 17:42:17 klogd started: BusyBox v1.00-pre8 (2005.09.16-02:17+0000) Jun 23 17:42:17 Linux version 2.4.18-MIPS-01.00 ( snipped-for-privacy@localhost.localdomain ) (gcc version 3.4.6-1.3.6) #10 Thu Jun 23 17:42:14 CST 2011 Jun 23 17:42:17 early printk enabled Jun 23 17:42:17 Determined physical RAM map: Jun 23 17:42:17 memory: 01000000 @ 00000000 (usable) Jun 23 17:42:17 On node 0 totalpages: 4096 Jun 23 17:42:17 zone(0): 4096 pages. Jun 23 17:42:17 zone(1): 0 pages. Jun 23 17:42:17 zone(2): 0 pages. Jun 23 17:42:17 Kernel command line: root=/dev/mtdblock1 console=0 sing le Jun 23 17:42:17 Calibrating delay loop... 389.12 BogoMIPS Jun 23 17:42:17 Memory: 9836k/16384k available (1950k kernel code, 6548k re served, 164k data, 56k init, 0k highmem) Jun 23 17:42:17 Dentry-cache hash table entries: 2048 (order: 2, 16384 byte s) Jun 23 17:42:17 Inode-cache hash table entries: 1024 (order: 1, 8192 bytes) Jun 23 17:42:17 Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Jun 23 17:42:18 wlan0: WPA-none PSK authentication in progress... Jun 23 17:42:18 br0: port 2(eth1) entering disabled state Jun 23 17:42:18 br0: port 2(eth1) entering listening state Jun 23 17:42:18 br0: port 2(eth1) entering learning state Jun 23 17:42:18 br0: port 2(eth1) entering forwarding state Jun 23 17:42:18 br0: topology change detected, propagating

-----------------

From NMAP -> Not shown: 999 closed ports PORT STATE SERVICE VERSION

80/tcp open http GoAhead-Webs embedded httpd |_http-methods: No Allow or Public header in OPTIONS response (status code 400) | http-title: WLAN AP Webserver |_Requested resource was http://192.168.1.252/home.asp Device type: general purpose Running: Linux 2.4.X OS CPE: cpe:/o:linux:linux_kernel:2.4 OS details: Linux 2.4.9 - 2.4.18 (likely embedded) Uptime guess: 0.006 days (since Wed Jul 03 20:23:41 2013) Network Distance: 1 hop TCP Sequence Prediction: Difficulty=200 (Good luck!) IP ID Sequence Generation: All zeros

------

Reply to
superoxygen

So it's a MIPS processor. IF you are able to access it, you'll probably will have to crosscompile to install new executables.

mtdblock1 is probably some flash memory. Maybe you can open the device and put it in another computer and modify the boot sequence. This is probably your best bet. (and when you have it open, look for a console (probably rs232) connection, it might just give you a prompt.)

16 Megs of memory. Don't count on being able to run anything else than what is already running on the device.

(snip)

No possibilities here.

M4

Reply to
Martijn Lievaart

d figured out that it is running Linux.

80 is open.

ssible to re-install linux on this bridge to get full access to the OS or i s there a way to get access to the OS that is currently installed. I am jus t mucking around before getting rid of the device because it can't bridge a ny connections. I was hoping I could SSH in, but the port isn't open.

Thank for the reponse! Not much for noob Linux guy. I will move on..what a waste :)

Reply to
superoxygen

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.