problem executing a binary file

Hi all linux users

No, still writing from my windows disk…
Anyways, I hope you can help me out.

please conceder the following instructions:
unzip SpeedTouch330_firmware_3012.zip &&
chmod +x firmware-extractor &&
./firmware-extractor ZZZL_3.012

[COLOR=“Red”]Please ignore number one! I did not realise I was omitting the ./ part, What an idiot!!!

I have been running it but it keeps telling me that ‘firmware-extractor’ is not a known command. So what it does is, it unpacks the zip file, makes sure that the binary file ‘firmware-extractor’ is e[SIZE=“4”]X[/SIZE]ecutable and then tells me it does not know the command. So How do I run this binarry file?

I have found an actual installer to install my Speedtouch modem.
It starts running but fails as it has no permission to create folders in the /usr directory. I understand this but when I try to run the installer from a terminal as root again as with question 1, it does not recognise the file name as a command to run the file. So, what am I doing wrong? I can make sure that the /usr directory belongs to me for the installation but what happens after when I change the ownership back to root? will the program run correctly when I do not have the ownership of the containing folders and deirectories?

Thanks for looking.

[QUOTE=sabashuali]
…It starts running but fails as it has no permission to create folders in the /usr directory. I understand this but when I try to run the installer from a terminal as root again as with question 1, it does not recognise the file name as a command to run the file. So, what am I doing wrong? I can make sure that the /usr directory belongs to me for the installation but what happens after when I change the ownership back to root? will the program run correctly when I do not have the ownership of the containing folders and deirectories?..
[/QUOTE]
The problem is that you are confused about directory structures. Think of logging into a shell as ‘being somewhere’ on your system. When you first log in, you are ‘home’. For a normal user, this is /home/$USER … but for the root user, this is /root … perhaps that is where you’re getting messed up? The command su - root actually logs you in as root, which drops you in /root …so if you wanted to work with a file called $FILENAME in /home/$USER, you wouldn’t just be able to type ./$FILENAME – that file is not in the same directory as you. Instead, you’d have to move your presence to that directory to work on it with the cd (Change Directory) command. For instance, cd /home/$USER…understand?

All the best,
-AT

P.S. - It would definately benefit you greatly to read this page. It will help you better understand Linux, and operating systems in general. (But feel free to skip section 4.2 Error Messages)

[SIZE=“7”]I am connected!!![/SIZE]

[SIZE=“6”]Eu:swear: riKa[/SIZE]

[SIZE=“7”]HAHAHAHAHAHAHAHAHAH!!! I made it mum! Top of the :swear: world!!![/SIZE]

Hahaha, excellent! Good job, dude. I bet you learned a metric butt-load in the process too. :wink:

HA, Glad to hear things worked out for you…(you must be pleased by the writing size…)
Matt now has a headache from all the type-shouting :stuck_out_tongue:

I cannot beleive this.

I have to say I have learned a thing or two.
However, I do have one concern -

I made three attempts using three different method, using different pakges etc.
How do I ‘uninstall’ all of these?

Thanks!

Matt sorry about the headache…

Read the readme or install file that comes with the driver. Isn’t it good getting connected with Linux?!

Btw what methods of install did you use? urpmi/compile etc?

[QUOTE=Addis]
…Btw what methods of install did you use? urpmi/compile etc?
[/QUOTE]
He’s using Ubuntu, not Mandriva so it’d be apt-get… actually. Plus, Mandriva includes the USB Speedtouch drivers in its kernel, so he wouldn’t have even had to mess with it at all on that distro. :x:

Really? I get spoiled with urpmi :D. I might try another distro on a spare computer.

Hi guys…

Long time no posting…
I am still here with my Ubuntu and so far so good.
I am having a problem with my Totem player though.
I have posted on the Ubuntu forum so hopefuly they will be able to help.

If not I will be back!

AT, sorry for doubting and thanks for all the help!

Well… totem isn’t very good anyways. If I were you, I’d give Mplayer a try. With Myplayer, if you apt-get mozplugger and mplayerplugin, you can play movies in your browser. It is a great video player. If you get the chance, give it a shot.

Hi Fred

I would like to get Mplayer but so far it is a really lengthy proccess to build it.
Not to mention slightly bit incoherant…

I am still trying.
I just do not understand why there is no way of telling Totem that he has got the codecs… :frowning: Go figure… :confused:

[QUOTE=sabashuali]
Hi Fred

I would like to get Mplayer but so far it is a really lengthy proccess to build it.
Not to mention slightly bit incoherant…

I am still trying.
I just do not understand why there is no way of telling Totem that he has got the codecs… :frowning: Go figure… :confused:
[/QUOTE]
Why would you want to build it from source? Just install it with apt-get or Ubuntu’s package manager (aka Synaptic).

Tried but no go…

Totem will say -

To AVI and MPG files - cannot find codecs.
To DVD - Could not detrmine type of stream, or “Element doesn’t implement handling of this stream. Please file a bug.”

:confused: :confused: :confused:

Get the same with MP3…

You know how to install software in Ubuntu, right? You don’t have to download software from its respective website, e.g. http://www.mplayerhq.hu/homepage/design7/news.html … instead, you just open your package manager and choose mplayer from a list. Same goes with codecs, etc. Some advanced users prefer to build their software from source, but there is typically a good reason for that decision. In your case, you are new to Linux and you should be utilizing your distros package manager. The reasons for this are that software installation by this method is even easier than on Windows or Mac OS, shortcuts/icons are automatically setup for you, dependancies are taken care of behind the scenes, and the software can be updated automatically.

All the best,
-AT

… instead, you just open your package manager and choose Mplayer from a list. Same goes with codecs, etc.

Maybe it is me but there is no mentioning of MPlayer in my Synaptic…

That is why I went to the website…

Do you think that might indicate that something is wrong?

I have re-installed Totem, libdvdcss2, win32codecs etc. Rebooted but… nope it will not work… :confused: :confused: :confused:

Also when I call Synaptic, before it opens I see the following messages:

"(synaptic:10460): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL’ failed

(synaptic:10460): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL’ failed"

Does this mean anything to you?

I don’t think your GTK errors are anything to worry about. GTK is just the graphics framework for the synaptic window, nothing to do with anything really important in that case.

To get the full set of software that Ubuntu has available, you will need to set up certain additional software repositories that are disabled by default.

Here’s three howto’s that will help you:
Ubuntu Adding Repositories Howto
Ubuntu Synaptic Howto
Ubuntu Apt-Get Howto

Hi AT (and all)

Thanks for the help.
I did uncommented all the lines in my sources list and added the repositories from your links. So far I have had a few more packages which I will try shortly.
Hopefully they will work.

Will post an update…

Yep, that worked.

Got VLC through one of the repositories and I can watch movies now.
Not sure the extent of format coverage but I am not worried… hey, I have AT!
Only jesting! :confused:

Again AT many thanks for the guidance.

Oh, by the way… you would not beleive it.
The wife doesn’t mind the change so much…
Hell! I might never have to visit my Windows installation again!!!

I know I had my doubts and I know getting the modem to work was a bit of a struggle but all-in-all the change was not really that bad! My surfing speed is abit quicker as well… or maybe it is just me :ff:

Here is my desktop at the moment -

I am looking for a good theme so if anyone has a relly good one, please comment. I am very lazy and not at all creative!!!

Glad you got it working alright.