LinuxQuestions.org
Visit Jeremy's Blog.
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 11-28-2008, 01:05 PM   #16
confusarama
LQ Newbie
 
Registered: Nov 2008
Posts: 10

Original Poster
Rep: Reputation: 0

Ah! Didnt see the "edit" button. Doh!
 
Old 11-28-2008, 01:25 PM   #17
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
IP is gone. No harm done.
The output from env is a little sparse compared to mine.
To note: /opt/bin is not in your PATH
Your SHELL is /bin/sh but what is that linked to? Mine is /bin/bash
Quote:
fsck -N
Errr, my man fsck doesn't have that option.
But when I try it:
Code:
tred@vaio:~$ fsck -N
fsck 1.40.8 (13-Mar-2008)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 UUID=7591fe5b-8907-407f-854e-321684957104
tred@vaio:~$
shutdown used to have a F ( or was it f option ?) that would force a fsck at the next boot. That doesn't seem to be available to me since about a year ago, but you might try it.

shutdown -rF now or maybe shutdown -rf now

to reboot and check (and repair) the filesystems as linux comes up. Then check your kernel logs.

Otherwise, you'll have to unmount the filesystem, and then check it.

Quote:
Yes, file is missing, cant install it either (get an error).
What "error", the more information you provide, the faster we'll find the cause of the problems. If we ever find them.
Quote:
This is an unusual distro.
Looks like it. How old is it? Why are you running it?
 
Old 11-28-2008, 01:58 PM   #18
confusarama
LQ Newbie
 
Registered: Nov 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Code:
/ # shutdown -?
/bin/sh: shutdown: not found
Its the distro that comes with a bit of kit called a Freecom Network Drive Pro (ARM based network storage supporting SMB). Bought it because its actually a Linux box underneath and has preinstalled Apache, PHP, MySQL. However my Linux skills are basic (actually bragging now) so I should have started with something a bit more "standard".
 
Old 11-28-2008, 02:55 PM   #19
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Ah!
Now I am beginning to understand your frustrations. We assumed (always a bad thing to do) that you were running some "mainstream" distro.

The linux installed on your device will be a minimal install to save on space (& cost). It will not come with any development tools (C compiler, kernel source-code etc.) and many basic things like file will have been omitted, because they are not needed for the device to function (probably very well, as long as you do not break it).

In short, you are setting yourself a very hard task if you are new to linux, and want to play with it (IMHO the best way to learn linux is to play with it until you break it, then start again: like a bicycle - at first you keep falling off, but soon you wonder why everybody can't just ride one, the same as you can - it's EASY!).

You may well break the fuctionality of your device if you play with it without knowing what you are doing. Please take care, especially if you are working as root, which you have been doing.

I do not know where you found your lynx executable, but maybe it was not compiled for your ARM system: linux isn't windows - you can't just drop in an exe file and expect it to work. This is one of the many advantages of linux. (Drop in a virus: it doesn't work. Nothing happens).

If you'd like to learn linux to the level that you can hack linux-powered devices, start with a mainstream distro, and dual-boot with that "other" OS, until you earn your wings.

Start here http://distrowatch.com/ and pick any distro in the top ten. Maybe try them all.
I am currently recommending kubuntu 8.04 but make your own choice, and play as you wish.

Search-engine (or search this board) for dual boot linux to see what I am talking about.

I'm sure you'll have a lot of fun, and learn to appreciate all linux has to offer. Then you can play with hacking linux-powered devices.
That's fun too: My jailbroken iTouch! Whooo Hooo! I rarely listen to music, but hacking it was fun.

Explore a mainstream distro. Try others. Have fun. Good luck.
 
Old 11-28-2008, 04:28 PM   #20
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by confusarama View Post
Oh bllx! Just gave out my ip address. Dont look
Lol. Just to echo what tredegar has said, keep it simple to start with, use one of the mainstream distros until your find you feet.

Welcome to the world of the Penguin.
 
Old 11-28-2008, 08:13 PM   #21
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Code:
mount | grep noexec
If there's any output, you probably have the cause of your problem there.
 
Old 12-01-2008, 12:36 PM   #22
confusarama
LQ Newbie
 
Registered: Nov 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for all your advice guys, I still cant get it to work but I have learnt some stuff and the advice to start simple and build up is certainly useful. I am going to setup what I need on a Debian VM to practice, then reimplement on a freshly wiped Network Drive Pro once I have the prerequisite skills. No pain no gain

FYI: mount | grep noexec returned nothing, however

Code:
/ # mount
/dev/root on / type ext3 (rw,noatime,nodiratime,data=ordered)
proc on /proc type proc (rw,nodiratime)
sysfs on /sys type sysfs (rw)
none on /proc/bus/usb type usbfs (rw)
none on /ramdisk type tmpfs (rw)
/dev/hdd4 on /home type ext3 (rw,noatime,nodiratime,data=ordered,usrquota)
/dev/hdd4 on /opt type ext3 (rw,noatime,nodiratime,data=ordered,usrquota)
If I ever do figure it out then I will post the answer here.

Cheers,
Paul
 
  


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
Not able to execute binary files mmk_77 AIX 1 04-05-2007 06:42 PM
Why the './' to execute files? SlowCoder Linux - Newbie 8 03-09-2007 02:09 AM
how can i execute applications with SH files ? HalkEkmek Ubuntu 1 02-16-2006 02:27 PM
Cannot execute executable files without ./ brady9953 Linux - Newbie 3 10-13-2003 04:19 PM
normal user can't execute files in cd..? doublefailure Linux - Hardware 0 09-11-2002 02:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration