Page 1 of 1
USBmount issue
Posted: Fri Jul 03, 2015 8:48 am
by JohnnyBGoode
Hi I have tried
apt-get install usbmount
and I'm getting an error
Unable to locate package usbmount
How can I fix this?
Re: USBmount issue
Posted: Fri Jul 03, 2015 9:41 am
by mcallegari
Have you ran
as indicated in the user guide PDF FAQ ?
Re: USBmount issue
Posted: Fri Jul 03, 2015 10:06 am
by JohnnyBGoode
I followed this part
Q: How do I access the data of my USB pendrive ?
A: USB mass storage automount is possible with an extra package that
can be installed in this way:
apt-get install usbmount
Didn't see apt-get update
Re: USBmount issue
Posted: Fri Jul 03, 2015 10:09 am
by mcallegari
And when you got the error, you should have read a few lines above:
Q: When I type aptĀ-get install ... I always get 'No package found'
A: That's because to save some SD card space, the cache of the apt packages has been removed. To re-create it just type:
aptĀ-get update
Re: USBmount issue
Posted: Fri Jul 03, 2015 11:33 am
by JohnnyBGoode
OK that worked expect I now can't get the wifi dongle to work.
Will try and get that working and then it should download the info.
Re: USBmount issue
Posted: Sat Jul 04, 2015 3:03 pm
by Frank
Hi Massimo,
it's not exactly the same problem here, but to test some instruction you'd given regarding the "
7.4. Touchscreens" I'd like to test the "evtest" command...
... but the Raspi always answers
And here are the similarities to this topic:
When I want to install "evtest" before...
Code: Select all
root@raspberry-pi:~# apt-get install evtest
then it results in:
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package evtest
So I tried
Code: Select all
root@raspberry-pi:~# apt-get update
firstly, but the Raspi anwers:
Code: Select all
Err http://apt.openlighting.org wheezy Release.gpg
Could not resolve 'apt.openlighting.org'
Err http://archive.raspbian.org wheezy Release.gpg
Could not resolve 'archive.raspbian.org'
Err http://archive.raspberrypi.org wheezy Release.gpg
Could not resolve 'archive.raspberrypi.org'
Reading package lists... Done
W: Failed to fetch http://archive.raspbian.org/raspbian/dists/wheezy/Release.gpg Could not resolve 'archive.raspbian.org'
W: Failed to fetch http://apt.openlighting.org/raspbian/dists/wheezy/Release.gpg Could not resolve 'apt.openlighting.org'
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/wheezy/Release.gpg Could not resolve 'archive.raspberrypi.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Do you know what goes wrong?
BTW, the Raspi is connected via WLAN and should be connected to the internet too... (shouldn't it ???)
Frank
PS:
Sorry, but at the moment I think that the Raspi isn't connected to the internet. What can / should I do...?
Re: USBmount issue
Posted: Sat Jul 04, 2015 3:47 pm
by mcallegari
Oh my goodness Frank, this is out of topic (title says usbmount...nothing to do with touchscreens) and at this point I think you should really study how Linux and a Debian distribution work before asking questions here.
The package lists are ONLINE, so if your Raspberry is not connected to the internet it's obvious you won't be able to install any package OR update the packages list.
To check if you're connected just run: ping
http://www.google.com. Is this that difficult ?
The evtest package exists and you should get an output like this:
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
evtest
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 21.9 kB of archives.
After this operation, 100 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main evtest armhf 1:1.30-1 [21.9 kB]
Fetched 21.9 kB in 9s (2,381 B/s)
Selecting previously unselected package evtest.
(Reading database ... 73814 files and directories currently installed.)
Unpacking evtest (from .../evtest_1%3a1.30-1_armhf.deb) ...
Processing triggers for man-db ...
Setting up evtest (1:1.30-1) ...
Sorry but I'm not going to spend any more time on this forum answering questions that are basic to me. And this in not a matter of being expert, but just to find solutions to problems with the tons of information you can easily find by yourself on the internet.
For the last time: who wants to play with the Raspberry Pi must have a basic knowledge of a Linux system, or at least the curiosity to learn something new and use Google to solve problems.
Re: USBmount issue
Posted: Sat Jul 04, 2015 7:21 pm
by Frank
Sorry, Massimo,
as I mentioned above I asked my question because the "answer" of the Raspi was similarly to that the questioner got while trying to receive the usbmount package ("unable to locate..."). That and only that was the match...
And as the discussion led to the command "apt-get update" it was the next step for me too...
Then I received the error messages (I described above) and couldn't see what to do next.
For me this was a problem, not related to the touchscreen, but more basic. Therefore I didn't start a new topic,"misused" the "similar" one...
When I'd sent my question to the forum, but a few minutes later, I got the suggestion, that it could be a missing internet connection. Sorry. Therefore I added the appendix to my question (marked in yellow letters). I didn't want to delete the whole "article", but as I see now, I should have known better...
Okay, I hope, now you can understand this a little bit better nevertheless...
Shall I open a new topic like "Raspi using QLC+ doesn't connect to internet" or may I add the following additional remarks here???
Now it is fact that the Raspi has no access to the internet, but I don't know what to do. When I start any Raspi with the original Raspbian image, after configuring the WLAN (very efficiently by editing the /etc/network/interfaces file) the access to the internet is given, without additional work.
I configured the "Network interface: eth0" as well as the "Network interface: wlan0" and the remote access is therefore given via Web Interface as well as via SSH (using WinSCP and/or PuTTY) and everything works fine! But - as mentioned several times - no internet connection is possible...
Would you please let me know, if QLC+ (on Raspi) has to be configured for this (necessary) connectivity, please? Maybe you'd described this in any documentation, but I couldn't find it until now.
Thank you very much in advance
Frank
Re: USBmount issue
Posted: Sat Jul 04, 2015 8:24 pm
by mcallegari
Frank, this is a network related question, so please open a new thread and call it "WiFi configuration with xyz USB dongle" where xyz is the vendor/model of the adapter you're using and that you omitted to mention.
Maybe the default Raspbian has more drivers than the one I provide. Have you googled the dongle name for more information ?
In any case QLC+ has nothing to do with a faulty network connection, unless the /etc/network/interfaces file is not created properly via web interface.
Then I would fix it, but as far as I understand your issue lies somewhere else.
Re: USBmount issue
Posted: Sat Jul 04, 2015 9:13 pm
by Frank
Dear Massimo,
because of your remarks, I copied the whole content of my "standard" /etc/network/interfaces file into that one, created from QLC+ (webinterface) and now...
... the internet connection runs as expected!!!
I don't know why the Raspi was always available via SSH (PuTTY, ...) and via Web Interface (from Windows Chrome browser and from smartphone), was working perfectly via WLAN, but the internet wasn't accessible. Do you have any idea???
Should I really open a new thread concerning these behaviour?
Your fast answer at last guided to a solution, even if I don't know what's the cause of that misbehaviour...
Maybe you can explain what happened so far.
Many, many thanks
Frank