LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-16-2007, 08:18 AM   #1
NetworkMD
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Rep: Reputation: 0
How to install csh shell on Asus EEE???


I get "csh" requiredwhen tring to install a CUP printer driver on a Asus EEE laptop

I understand the version of linux on the eee does not have the csh shell installed, is this something I can download or a command I should enter to redirect the command?

Thank you

Sorry I am still new to Linux but learning sometimes the hard way
 
Old 12-16-2007, 10:15 AM   #2
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
Sorry I am still new to Linux but learning sometimes the hard way
No need to apologise

I am going to recommend that you set off for these places:
http://forum.eeeuser.com/ and
http://wiki.eeeuser.com/
where you can learn a lot about using (and hacking) the eee.

You'll probably need to enable add extra repositories [ http://wiki.eeeuser.com/addingxandrosrepos ] before you can get csh.

What printer are you trying to install and why does it need csh?
Do you have a network and another win or linux computer?
I love my eee - you made a good choice
 
Old 12-16-2007, 11:55 AM   #3
NetworkMD
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you

Yes I have liked the E so far I have the black 4gb, I have ordered the 2gb ram upgrade

I have a Brother MFC5440CN printer, I downloaded the Linux .deb LPR and Cup from Brothers Linux site and followed thier install instructions. It said to install the Lpr drivers first so that is what I did, but when I try to run thier CUP .deb install it errors with Csh required, the Brother site also states that Csh is required. This is a networked printer am I on the right track?

On the eeeusr link I see a link to a package called "cshelf" http://download.tuxfamily.org/cshelf/
would this be the CSH shell? do I just download the i386.deb version and use pkup to install? Thanks

Thanks

Last edited by NetworkMD; 12-16-2007 at 12:06 PM.
 
Old 12-16-2007, 12:33 PM   #4
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
Yes I have liked the E so far I have the black 4gb, I have ordered the 2gb ram upgrade
Had mine exactly a week, it's an awesome piece of kit for the price: 9/10 non-geeks I have shown it to say "I want one now!" - but they are in short supply Also, there are a lot of useful hacks being published. Next is for me to up the CPU speed to its rated 900MHz from its current power-saving 600MHz. Way too much fun

I have installed KDE (this took all of two minutes) and much prefer this to the Easy inerface.

To use 2GB RAM you'll need to recompile the kernel, as it is set to ignore anything above 1GB, but the sites I linked to in post #2 have good instructions (which I was just reading as I'd also like to put 2GB in).

As for your printer, it looks as though you'll need to install csh for their installer scripts to work. The xandros repositories may have it, otherwise, try debian.

If you have to use debian, I strongly recommend you do a backup of your eee to a USB stick or SD card in case you mess up and need to do the F9 Factory-restore thing.

Backups of the eee are really easy: http://forum.eeeuser.com/viewtopic.php?id=1687
and take only a couple of minutes.

The Factory restore restores the OS, the backup then restores all the extra changes you have made plus, of course, any documents and files you may have saved on your eee.

The reason I asked if you have another computer & a network is that I managed to get my HPLaserjet (connected to a networked desktop computer running kubuntu (and a cups server)) recognised by and printing from my wireless eee in about 30 seconds. Amazing. This is linux at its best.

Anyhow, the point I am making is that it might be easier to leave your printer connected to whatever it already is connected to, and then print to it over the network, by talking to whatever PC is curently controlling it. Otherwise it looks as though you'll have to install csh
 
Old 12-16-2007, 12:41 PM   #5
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Please do not edit your posts whilst I am replying to them, without giving a reason, it makes these threads totally unintelligible!
The new link you have given me does not tell me what these packages are, but I do not think they are what you need.

See the wiki.
Add the xandros repository(s)
See if they have csh
if so, install it.

If not :
Make a backup

See the wiki so you can ..
Add the debian repository(s)
Install csh
Remove the debian repository(s)
Try to install your printer again.

Last edited by tredegar; 12-16-2007 at 12:43 PM. Reason: spelling
 
Old 12-17-2007, 09:01 AM   #6
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
A follow-up for you:

I think I have cracked the installation of csh for you. You need to add the xandros repository:
In a terminal:
Code:
sudo kate /etc/apt/sources.list
Add this line:
So now the file looks like this:
In a terminal:
Code:
sudo apt-get update
It complains like this:
Code:
W: GPG error: http://xnv4.xandros.com etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A3CCB76FA8BCF0C9
W: You may want to run apt-get update to correct these problems
Ignore this error.

Now install csh
In a terminal:
Code:
sudo apt-get install csh
Now, before you forget, you must undo the change you made to sources.list or you will soon find your system is hosed
Code:
sudo kate /etc/apt/sources.list
Delete the last line that we just added.
Save the file
Make this change recognised:
Code:
sudo apt-get update
Now you can try your csh in a terminal:
Code:
/home/user> which csh
/bin/csh
/home/user> csh
% ls
Desktop  MMC-SD  My Documents  Trash
% exit
/home/user>
So, it seems to be working
 
Old 12-17-2007, 09:41 AM   #7
NetworkMD
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Tredegar you are fantastic

I am at work now without the Eee but look forward to following these instructions when I get home. I reset the Eee to factory last night, and then ran the "Apt-Get Upgrade" so I will start fresh it is easy with the F9 reload option since I have not done a lot of customization yet, it would be more painful later.

"sudo kate /etc/apt/sources.list" Is this a editor type command, so I will be adding these links, so on the next update it will connect over IP and load these files? I had been manually downloading .deb files and then processing, looks like I have a lot to learn

I really appreciate the help, and look forward to getting the Brother MFC5440CN printer working that is a base requirement to be able to use the laptop.

Thank you, I will report later and once this is working I look forward to moving to the advanced desktop, and loading other useful approprate software.
 
Old 12-17-2007, 10:10 AM   #8
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
"sudo kate /etc/apt/sources.list" Is this a editor type command
Yes it is. Break it up like this:

sudo gives you root priviledges, because the sources.list file belongs to root.
kate is the name of the (simple GUI) editor to run
/etc/apt/sources.list is the path to the file to be edited.

But I have just realised that you are running the Easy interface, not KDE (AKA "Full Desktop"), like I am, so you may not have kate to play with. But there's another really easy editor you can use, called nano, and that comes with Easy Desktop.
So open a terminal and type sudo nano /etc/apt/sources.list
Add that line to the end of the file
Save the file with <CTRL><o> and then <Enter>
Exit nano with <CTRL><x>

Quote:
so on the next update it will connect over IP and load these files?
Nooooooooo!
Once you have added that line referring to the xandros / debian sources do not attempt any upgrade through the GUI - you will probably hose your system, because many packages that you do not want will be downloaded and substituted for versions you already have that have been specially customised for your eee.
That's why I asked you to
[1] Add the repository line
[2] sudo apt-get update This just updates where apt-get goes looking for software, and we need it to be able to find csh
[3] sudo apt-get install csh This just fetches & installs csh, it does nothing else. We do not want anything else doing.
[4] Undo the change you made to sources.list and remove that xandros repository.

So, please follow the instructions in post #6 to the letter (except you'll need to use nano, not kate)!
 
Old 12-17-2007, 12:17 PM   #9
NetworkMD
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks again, yes I am familier with Nano and will use that to edit the file, and will issue the commands verbatium

Your great detail is very helpful and with your explaination I fully understand what it is doing now, basically an internal link so apt-get knows where to look using IP. If there are additional utilities I need from the repository in the future would I need to put the line back in, or once the "sudo apt-get update" is ran does it save them? I will pick up a book to better understand these commands, I am an old assembler-Cobol coder so the commands are foreign to me so far.

Thank you very much, I hope this information is helpful to others especially that have the Eee.
 
Old 12-17-2007, 12:55 PM   #10
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
Thanks again, yes I am familier with Nano and will use that to edit the file
Well, that's a relief!

Quote:
If there are additional utilities I need from the repository in the future would I need to put the line back in, or once the "sudo apt-get update" is ran does it save them?
Yes, if there is more stuff that you need, that's not available from the standard eee repositories, then you have to put that line back in, run sudo apt-get update then sudo apt-get anotherpackage and then remove that line from the sources.list and re-run sudo apt-get update to make sure apt does not go looking at the xandros repository the next time you do a "Update everything" from the GUI.

I posted you a link about how to backup your eee easily. Read it. Do it.

Keep a log of what you did, how you did it, and when.

Right now you have a bare-bones install, and yes, it works nicely, but there are a whole load of improvements you can make, and when you have spent time doing all these, it is a shame to find you have killed your eee, and have to do a factory restore, and then start again from scratch.

Right now, I am taking daily backups, calling them eee-DATE.tar.gz, as I am hacking this little thing to bits, and one day I expect I'll find I have killed it by applying a "wrong" patch or install. Grrrr.

But with those backups I can eee-easily go back to the last step and try again.
You have been warned

Helping you has helped me (as I find is often the case with LQ!): I didn't want csh, and have now removed it, but I did want an ssh server daemon running on my eee (Don't mock: "You are using that little thing as a ssh server?". Yup. and it's GREAT!), and now I have it, from following my instructions to you, but installing openssh-server instead of csh

If you are still having problems installing your printer, even once you have csh installed, please start another thread called, maybe, "Trouble installing xxx printer with CUPS", as it'll get better attention than this one. Errr, replace xxx with what is appropriate.

Quote:
I am an old assembler-Cobol coder so the commands are foreign to me
I am just old. Wrote my first programs on punched paper tape for a GE KDF9. (Search for it!). I would have given my testicles for an eee way back then (well, maybe not )

Good luck!
 
Old 12-17-2007, 06:03 PM   #11
NetworkMD
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Original Poster
Rep: Reputation: 0
YAHOOOOOOOOOOOOO


Tredegar You are great, and from across the pond Thank youThe instructions were perfect, and the exact responses that you documented

I have my first test print; nice colorwheel on left and gray scale on right and the text looks sharp and clean.

Could your instructions be placed on a sticky I have seen posts on the Eee forum where others are having the same issue?
 
Old 12-18-2007, 03:25 AM   #12
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
I have my first test print
Excellent. Your first steps with linux have worked!

Quote:
Could your instructions be placed on a sticky I have seen posts on the Eee forum where others are having the same issue?
If other people are having trouble, you could post a link in the appropriate thread on the eee forum pointing at this thread, here on LQ, for them to read.

Now, don't forget that backup ....
 
Old 12-19-2007, 07:39 AM   #13
NetworkMD
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you,

Yes completed the backup to the installed SDHC card it used 143meg since I have not done very much so far

I purchased the 2gb ($34 W Free ship) ram and installed easily, as expected the E is only using 1G, is it worth the effort to recomp the Kernel? So far I am very pleased with the performance of this laptop it is very snappy considering the 600mz cpu I guess that is the benefit of the lighter Linux o/s from what I have been used to with Vista & XP pro

Thanks
 
Old 12-19-2007, 02:08 PM   #14
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
Yes completed the backup to the installed SDHC card
This is a memory card you have plugged into the slot I hope.
Quote:
I purchased the 2gb ($34 W Free ship) ram and installed easily, as expected the E is only using 1G, is it worth the effort to recomp the Kernel?
[RAM is very cheap in the US!] I am not sure, but the kernel will use free memory for buffers, so reducing read/write to its solid state disk. This may well increase the speed programs load (for the second & subsequent times). There's a precompiled for 2GB mem kernel available for download from http://forum.eeeuser.com/ , maybe even the eeeuser wiki by now. Otherwise you can play with "Compiling your own custom kernel". Major fun, with minor headaches, when I have done this in the past.
Quote:
it is very snappy considering the 600mz cpu I guess that is the benefit of the lighter Linux o/s from what I have been used to with Vista & XP pro
You are correct, but there are now some hacks and tricks on the eee forums for upping the linux speed to 900MHz. They are currently experimental, and may not be 100% relaible, but are worth trying if you would like to try some linux-fun. A 50% speed boost is worth the effort. (So long as you have a backup of your efforts so far). The win XP version of the eee (not sure if anyone has bought one of these - they'd have to be MAD) reputedly runs at 900MHz, otherwise it would be unusable, because win is bloated. I look forward to running my eee at 900MHz with linux, and 2GB RAM, but I am too busy right now, and it is perfectly satisfactory at 600MHz with linux.
 
Old 10-17-2008, 03:55 PM   #15
Petrous
LQ Newbie
 
Registered: Aug 2006
Location: France
Posts: 7

Rep: Reputation: 0
Smile csh tcsh

Quote:
Originally Posted by tredegar View Post
A follow-up for you:

I think I have cracked the installation of csh for you. You need to add the xandros repository:
In a terminal:
Code:
sudo kate /etc/apt/sources.list
Add this line:
So now the file looks like this:
In a terminal:
Code:
sudo apt-get update
It complains like this:
Code:
W: GPG error: http://xnv4.xandros.com etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A3CCB76FA8BCF0C9
W: You may want to run apt-get update to correct these problems
Ignore this error.

Now install csh
In a terminal:
Code:
sudo apt-get install csh
Now, before you forget, you must undo the change you made to sources.list or you will soon find your system is hosed
Code:
sudo kate /etc/apt/sources.list
Delete the last line that we just added.
Save the file
Make this change recognised:
Code:
sudo apt-get update
Now you can try your csh in a terminal:
Code:
/home/user> which csh
/bin/csh
/home/user> csh
% ls
Desktop  MMC-SD  My Documents  Trash
% exit
/home/user>
So, it seems to be working
I did that, it worked, but the csh did not provide me
the recalling of commands.
Therefore I did the same thing with tcsh, and it seems to work
(from /usr/bin/tcsh)

Much thanks to Tredegar! Petrous
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Asus Eee PC 701 Review LXer Syndicated Linux News 0 12-07-2007 06:50 PM
LXer: Review: Reviewing the Asus Eee PC 4G LXer Syndicated Linux News 1 11-27-2007 03:45 PM
LXer: Asus Eee PC doing well LXer Syndicated Linux News 0 11-24-2007 07:50 PM
EEE PC from Asus cccc Linux - Laptop and Netbook 12 11-13-2007 06:01 AM
Asus EEE, with Linux samael26 Linux - Hardware 1 06-09-2007 12:29 AM


All times are GMT -5. The time now is 01:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration