LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 02-26-2010, 09:41 PM   #1
loicloicloicloic
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
How to update Busybox on Router? (readonly filesystem)


Hello everyone,

I am not sure if this is the right section for this question.

I have a Linksys WRT54G with the Tomato firmware on it.

So the system running on the router is Busybox 1.14., which as far as I know is Linux-based.

I want to update the busybox to the newest version, using ipkg which is the only package manager it has installed on it.

By the way, I use telnet to access the router.
So I use # ipkg install (the url to newest busybox release)

but at some point it stops and says:

mkdir: cannot create directory '//opt/usr/': Read-only file system

so what can I do? How can I make the filesystem read-write?

someone suggested on another forum that I download the latest busybox image, and install it on an emulator and then upload that to the router...I don't really know how to do that either..

Can anyone help ? That would be really helpful!

Thanks a lot,

Loic
 
Old 02-27-2010, 09:11 AM   #2
rajansarc
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
I have the same issue[Read-only file system] in DLink DSL-2640T router

Hello

I have DLink DSL-2640T Modem. I have installed the latest firmware V3.02B01T01.EU-A.20091107. After updating this firmware, the WDS option in the Advanced->Wireless Management was gone away. How can I enable it?

While I login to the router using telnet it shows me
BusyBox v0.61.pre (2009.11.07-07:14+0000) Built-in shell (ash)

While I navigate into /usr/www/html/advanced/wireless_mang_file.htm using telnet the WDS option was commented.
I want to edit the file /usr/www/html/advanced/wireless_mang_file.htm

While try to edit the file it throws the following error
Read-only file system
How can I edit this file?
How can I change this folder with READ-WRITE permission?

Regards
Rajan
 
Old 03-01-2010, 01:52 PM   #3
loicloicloicloic
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Anyone?

Can anyone help out?
Thanks
 
Old 03-07-2010, 08:43 AM   #4
tthtlc
LQ Newbie
 
Registered: Aug 2007
Posts: 18

Rep: Reputation: 2
Check out DD-WRT?

Quote:
Originally Posted by loicloicloicloic View Post
Can anyone help out?
Thanks
check this page out:

http://www.dd-wrt.com/site/support/documentation

It gives instruction on how to update the image (search for "Router Database" and look for the one that matches your device) and flash into it.
 
Old 03-24-2010, 05:33 AM   #5
webquinty
Member
 
Registered: Apr 2008
Location: Espaņa
Distribution: Suse
Posts: 227

Rep: Reputation: 32
Quote:
Originally Posted by rajansarc View Post
Hello
I want to edit the file /usr/www/html/advanced/wireless_mang_file.htm

While try to edit the file it throws the following error
Read-only file system
How can I edit this file?
How can I change this folder with READ-WRITE permission?

Regards
Rajan
Hello,

mount -n -o remount,rw /

With this command, you can convert read-only file system to read-write file system.

To change back read-only file system..

mount -n -o remount,ro /

Best regards
 
1 members found this post helpful.
Old 12-22-2011, 10:46 PM   #6
peterpallesen
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by webquinty View Post
Hello,

mount -n -o remount,rw /

With this command, you can convert read-only file system to read-write file system.

To change back read-only file system..

mount -n -o remount,ro /

Best regards
I did that. Doesn't work.

Code:
# pwd
/
# mount -n -o remount,rw /
#
# vi /www/admin-cifs.asp
...
"/www/admin-cifs.asp" Read-only file system
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My filesystem is readonly , how can do read and write raghuveer520 Linux - Newbie 12 06-30-2017 05:57 AM
Difference between Readonly Filesystem and Mounting filesystem as readonly bluepenguine Linux - Newbie 1 06-19-2009 01:26 AM
Best filesystem for readonly data? pxumsgdxpcvjm Linux - General 1 03-27-2007 10:43 PM
how to detect readonly filesystem using C edenCC Linux - General 2 12-30-2006 06:35 AM
mounted fat32 filesystem becomes readonly after sometime, wierd? koodoo Linux - Newbie 6 11-23-2005 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration