What is the best way to edit config files?
I wonder what is the best way to edit config files? I would like to edit
/home/etc/inetd.conf in order to enable the ftp server.
__________________
- Login or register to post comments
- Email this page
I wonder what is the best way to edit config files? I would like to edit
/home/etc/inetd.conf in order to enable the ftp server.
Your favorite text editor is
Your favorite text editor is the way to go in many if not most cases. Many/most config files don't have a GUI to edit them from.
SL-C750 with pdaXrom beta 1 for 2.4.x compiling
SL-C3100 with latest pdaXrom build
Ambicom WL1100C WLAN
1 GB Lexar SD
3 GB Hitachi Microdrive
On Sharp ROMs, the built-in
On Sharp ROMs, the built-in command line editor is "vi".
You should first make a backup copy of the file, in case your editing messes something up:
cp -p /home/etc/inetd.conf /home/etc/inetd.conf.bak
and then use vi:
vi /home/etc/inetd.conf
Do you know how to use vi? If you don't know how to use it, check out my Linux Newbie resources page:
http://sdjf.esmartdesign.com/new.html
A quick guide to vi is at:
http://freeengineer.org/learnUNIXin10minutes.html#Vi
sdjf
sl5500 ROM 2.38
sl6000l ROM 1.12
Lynx Version 2.8.1rel.2
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
Oh, if you want to know how
Oh, if you want to know how to make the Zaurus an ftp server, that is a different question. I don't know, but one of the how to guides mentioned in my blog should have some good hints.
Did you try googling for the following?
zaurus ftp-server
Are you sure you want ftp and not ssh? There's no security in ftp, passwords alone afford only minimal protection from hackers.
sdjf
sl5500 ROM 2.38
sl6000l ROM 1.12
Lynx Version 2.8.1rel.2
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
Thanks for all your answers!
Thanks for all your answers! I know how use vi, I wonder though where I can find the shell program on my Zaurus 5500. Or do I need to install it manually
Thanks for all your answers!
Thanks for all your answers! I know how use vi, I wonder though where I can find the shell program on my Zaurus 5500. Or do I need to install it manually
It most likely needs to be
It most likely needs to be installed manually.
SL-C750 with pdaXrom beta 1 for 2.4.x compiling
SL-C3100 with latest pdaXrom build
Ambicom WL1100C WLAN
1 GB Lexar SD
3 GB Hitachi Microdrive
What shell program are you
What shell program are you talking about? You do have a console, don't you?
Please, what ROM do you have? The Sharp ROMs have the Bash Shell built in!
You never really explained your problem.
sdjf
sl5500 ROM 2.38
sl6000l ROM 1.12
Lynx Version 2.8.1rel.2
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
My ROM version is 2.39. It
My ROM version is 2.39. It mentiones "compiled by Sharp" therefor I assume it's the stock rom, however I can't find the console anywhere?!
Oh, you have to install it!
Oh, you have to install it! You have several to choose from.
Here's the scoop (written up for just such times when I'm busy and need to share info) ;)
http://sdjf.esmartdesign.com/tutorial.html
It links to a number of various consoles you can try that I know work on our rom (which is really 2.38 I think).
sdjf
sl5500 ROM 2.38
sl6000l ROM 1.12
Lynx Version 2.8.1rel.2
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
Thanks for the link! I only
Thanks for the link! I only have to get either my wifi card working or my sdcard before I can install anything :(
I didn't have ANY trouble
I didn't have ANY trouble getting dialup to work via a CF 56K modem from Socket.
sdjf
sl5500 ROM 2.38
sl6000l ROM 1.12
Lynx Version 2.8.1rel.2
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
Ok, now that I have the
Ok, now that I have the terminal installed I would like to try editing config files. However I encounter 2 problems:
1) There isn't any text editor available (not even vi?!)
2) I tried to install nano just like the terminal but unfortunately it doens't get recognized. The add/remove function only sees the terminal ipkg?!
Okay, which terminal and how
Okay, which terminal and how did you install it?
You should be able to just enter "vi" on the command line and it'll be there.
Are you expecting a GUI for vi? There isn't one on default setup.
sdjf
sl5500 ROM 2.38
sl6000l ROM 1.12
Lynx Version 2.8.1rel.2
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
Hmmm. Did you solve your
Hmmm. Did you solve your editing problems?
Please, if more questions, it helps us a lot in helping you debug if you can post the detailed screen output or a list of the steps you followed when you encountered the problem. At this point, it is not clear if you actually installed the console on your system, or just got the ipk there, ready to install.
For detailed steps about installing software, you might want to refer to the following page:
http://sdjf.esmartdesign.com/ipks/install.html
If any section is unclear or you have information that should be added to help others on that page, let me know.
sdjf
sl5500 ROM 2.38
sl6000l ROM 1.12
Lynx Version 2.8.1rel.2
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
They are mostly right. You
They are mostly right. You need to install it on your own. I think any will do, actually. Then you can type vi from there.
Sharp Zaurus SL-5600
Sharp ROM v1.32