opkg install kmod-usb-ohci

Posted by Paulfichtre 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
opkg install kmod-usb-ohci
April 01, 2012 11:27AM
Hello,

I am at step 16 for the MR3020 tuto.

when i try to opkg install kmod-usb-ohci I get this message :

root@OpenWrt:~# opkg install kmod-usb-ohci
Multiple packages (kmod-usb-ohci and kmod-usb-ohci) providing same name marked HOLD or PREFER. Using latest.
Upgrading kmod-usb-ohci on root from 3.2.5-1 to 3.2.9-1...
Downloading [downloads.openwrt.org].
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-ohci:
 * 	kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * 
 * opkg_install_cmd: Cannot install package kmod-usb-ohci.
root@OpenWrt:~#

What can I do ?

thank you

PF
Re: opkg install kmod-usb-ohci
April 01, 2012 11:31AM
Which Image file are you using?
Re: opkg install kmod-usb-ohci
April 01, 2012 11:43AM
I am the one who made this thread : http://forum.daviddarts.com/read.php?2,2632,2637#msg-2637
I wanted to undo the rm command of the recovery steps, but instead I thought I could start again the whole tuto.

So i am following this tuto : http://wiki.daviddarts.com/PirateBox_DIY_OpenWrt#TP-Link_MR3020_OR_WR703N

I do not really understand what is the image file you are talking about, but I am following each step of this tuto.

I would like to make my PirateBox works again, the best would be with the shoutbox of course smiling smiley

thank you Matthias for your help smiling smiley

PF
Re: opkg install kmod-usb-ohci
April 01, 2012 12:31PM
Mh using the current trunk image should work without any problems.

Try this (combined) how-to:
[github.com]

with mycustom image.. its not depending on the kernel-modul
Re: opkg install kmod-usb-ohci
April 01, 2012 12:37PM
Thank you Matthias, here is the error I get when i try your idea :

Language: PHP
root@OpenWrt:~# cd /tmp root@OpenWrt:/tmp# wget http://piratebox.aod-rpg.de/piratebox_0.3-2_all.ipk Connecting to piratebox.aod-rpg.de (87.237.121.137:80) piratebox_0.3-2_all. 100% |*******************************| 13178 0:00:00 ETA root@OpenWrt:/tmp# opkg update && opkg install piratebox* Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/Packages.gz. Inflating http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/Packages.gz. Updated list of available packages in /var/opkg-lists/snapshots. Installing piratebox (0.3-2) to root... Multiple packages (kmod-usb2 and kmod-usb2) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kmod-nls-base and kmod-nls-base) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kmod-nls-base and kmod-nls-base) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kmod-nls-base and kmod-nls-base) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kmod-nls-base and kmod-nls-base) providing same name marked HOLD or PREFER. Using latest. Multiple packages (kmod-nls-base and kmod-nls-base) providing same name marked HOLD or PREFER. Using latest. Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for piratebox: * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * * opkg_install_cmd: Cannot install package piratebox. root@OpenWrt:/tmp#

The download is ok, but not the installation, any idea ?

PF
Re: opkg install kmod-usb-ohci
April 01, 2012 12:46PM
Do you think I should to a complete recovery and then a clean install ?

PF



Edited 2 time(s). Last edit at 04/01/2012 01:15PM by Paulfichtre.
Re: opkg install kmod-usb-ohci
April 01, 2012 04:29PM
Hi,
a clean install with an image is always the better choice. Don't use sysupgrade - use the image named "factory"

Matthias
Re: opkg install kmod-usb-ohci
April 01, 2012 04:41PM
Hi Matthias,

Thank you for your help, I just sent you a MP smiling smiley

PF
Re: opkg install kmod-usb-ohci
April 01, 2012 08:44PM
Hi,
we've fixed the problem and reinstalled the MR3020 with custom image step by step.

There was one lessons learned:
On openwrt you cannot download from https sites (so download directly from github not possible... I will upload it on piratebox.aod-rpg.de soon)

Matthias
Re: opkg install kmod-usb-ohci
April 01, 2012 08:46PM
Thank you very much Matthias smiling smiley

PF
Re: opkg install kmod-usb-ohci
April 01, 2012 10:32PM
Matthias Wrote:
-------------------------------------------------------
> Hi,
> we've fixed the problem and reinstalled the MR3020
> with custom image step by step.
>
> There was one lessons learned:
> On openwrt you cannot download from https
> sites (so download directly from github not
> possible... I will upload it on
> piratebox.aod-rpg.de soon)
>
> Matthias

Hi Matthias,

The following command works on Debian - perhaps it will also work on OpenWrt (I'm away from my router so I haven't had a chance to try it):
Language: PHP
wget --no-check-certificate https://github.com



Edited 1 time(s). Last edit at 04/01/2012 11:20PM by darts.
Re: opkg install kmod-usb-ohci
April 02, 2012 04:36AM
Hi David,
good idea, but the command says, it only wants http or ftp sad smiley


Matthias
Cut
Re: opkg install kmod-usb-ohci
April 02, 2012 10:00PM
Hi Matthias,

I have the same problem Paulfichtre :

Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-ohci:
* kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) *
* opkg_install_cmd: Cannot install package kmod-usb-ohci.

AND :

Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for piratebox:
* kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) * kernel (= 3.2.9-1-7ca3c65ac3709dabad42d460596851da) *
* opkg_install_cmd: Cannot install package piratebox.


I test to change firmware with your custom "factory" using "Flash new firmware image" in interface, i'm not sure firmware is realy changed with this method. I think I can not resolve the following if the firmware is not correct.

It's possible to list differents steps, plz ?
Re: opkg install kmod-usb-ohci
April 03, 2012 05:08AM
Hi,

Do the following:

Power-Off
take USB Stick to your computer.
Clean your usb drive.
Power MR3020 on
Login to your MR3020
If not internet, set the /etc/config/network that you have internet access.
Language: PHP
cd /tmp wget http**** mtd write openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin firmware reboot ..... (Setup your computer to 192.168.1.2 telnet 192.168.1.1 cd /tmp wget http://piratebox.aod-rpg.de/piratebox_0.3-2_all.ipk opkg install piratebox*

Hope it helps.
Yes I missed out the update step... it may causes this problem.

I still don't understand what the problem is. If you take the current trunk image, why he can't solve the dependencies.. seems I have to ask in OpenWRT forums.


Matthias

edited out the link...



Edited 1 time(s). Last edit at 04/27/2014 08:07PM by Matthias.
Re: opkg install kmod-usb-ohci
April 03, 2012 07:37PM
Hi Matthias,

Thank you for your explanations.

I wanted to try tonight ...
but I have a new problem happened :/:
After I type the command vi / etc / config / network I can not use the keyboard to edit it: the letters do not match, the numbers not as if the keyboard did not correspond to the keys.

I use Putty.
Re: opkg install kmod-usb-ohci
April 03, 2012 08:23PM
Hi,
this might help vi cheat sheet

Matthias
Re: opkg install kmod-usb-ohci
April 06, 2012 07:59AM
Hi,

It took me time but I was able to get out and successfully install PirateBox.
Thank you for all information.

I followed your new instructions at the file level Network but I find myself with the same worries that David [http://forum.daviddarts.com/read.php?2, 2786].
I followed the last advice you give, Matthias, but it still does not work.
I would post in this section shortly to discuss about it.
Matthias Wrote:
-------------------------------------------------------
> Mh using the current trunk image should work
> without any problems.
>
> Try this (combined) how-to:
> [github.com]
> nstallation-on-MR3020
>
> with mycustom image.. its not depending on the
> kernel-modul

You said that instead of downloading the linked files that we can use the files listed here [github.com]
Could you clarify the steps to doing it this way? I have tried davids tutorial 3 times and every time i get to the usb support I get the error opkg_install_cmd: Cannot install package kmod-usb-ohci.
Re: opkg install kmod-usb-ohci
April 12, 2012 03:58AM
nathan1942 Wrote:
-------------------------------------------------------
> Could you clarify the steps to doing it this way?
> I have tried davids tutorial 3 times and every
> time i get to the usb support I get the error
> opkg_install_cmd: Cannot install package
> kmod-usb-ohci.

Nathan, I am also in the same boat as yourself - I did everything to the letter using both of these tutorials:
[wiki.daviddarts.com] and [sites.google.com]
- and I get the same error when installing the kmod-usb-ohci
Re: opkg install kmod-usb-ohci
April 12, 2012 07:56PM
Can someone cross-read the current version of the howto ? [github.com]
Is this understandable?
Links are not included, currently... I'm working on it...
Re: opkg install kmod-usb-ohci
April 13, 2012 03:46AM
I had my PirateBox up and running for about a month. After attempting to tweak it, I decided to reinstall everything completely. I executed the rm -r /overlay/* and then reboot -f commands, and began the installation fresh.

This time around, even though my first time through I had no issues, I encountered the same problem described by the original poster. "Cannot satisfy the following dependencies for kmod-usb-ohci:
* kernel (=3.2.14-1-eb...) etcetera

Is it possible that OpenWRT just updated the kmod-usb-ohci package and for some reason this one is causing errors? Is it possible that the reset process affects something permanently that interferes with the installation of this package?
Re: opkg install kmod-usb-ohci
April 13, 2012 04:29AM
SOLVED:

This worked for my MR3020. Previously I did not have a problem setting everything up, but the original setup was about a month ago and something seems to have changed. I'm not sure if the change is because of the system erase that I did or with something else to do with new packages.

It took me a while, but I realized that the kernel was just out of date and I guessed that it could be updated like any of these other packages. I typed the following:

opkg install kernel

It updated my kernel to 3.2.14 and everything went smoothly after that.

EDIT: by "everything went smoothly" I should clarify that I no longer got the dependency error messages. My system installed the kmod-usb-uhci and piratebox packages. I am now having a different problem, however, that after installing the piratebox package my router does not recognize the usb stick.



Edited 1 time(s). Last edit at 04/13/2012 04:50AM by AdVATAR.
Re: opkg install kmod-usb-ohci
April 13, 2012 04:44AM
That worked for you?
I tried this on my WRT54GL and it doesn't .

I'll add this to my howto!
Re: opkg install kmod-usb-ohci
April 13, 2012 12:19PM
Same problem here on a wr-703n, dependencies issue with kmod-usb-ohci.
Re: opkg install kmod-usb-ohci
April 13, 2012 12:49PM
AdVATAR Wrote:
-------------------------------------------------------
> SOLVED:
>
> This worked for my MR3020. Previously I did not
> have a problem setting everything up, but the
> original setup was about a month ago and something
> seems to have changed. I'm not sure if the change
> is because of the system erase that I did or with
> something else to do with new packages.
>
> It took me a while, but I realized that the kernel
> was just out of date and I guessed that it could
> be updated like any of these other packages. I
> typed the following:
>
>
> opkg install kernel
>
>
> It updated my kernel to 3.2.14 and everything went
> smoothly after that.
>
> EDIT: by "everything went smoothly" I should
> clarify that I no longer got the dependency error
> messages. My system installed the kmod-usb-uhci
> and piratebox packages. I am now having a
> different problem, however, that after installing
> the piratebox package my router does not recognize
> the usb stick.

I tried your suggestion of opkg install kernel - with the same results.
All of the previous errors were eliminated during the installation process.

But during the opkg update && opkg install piratebox* - it when through the whole process without error
and will not recognize my usb disk plugged in.
Re: opkg install kmod-usb-ohci
April 16, 2012 09:50AM
Problem solved on my side with a clean install:
cd /tmp
wget [downloads.openwrt.org]
mtd write openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin firmware

And then following the tutorial as usual.
Re: opkg install kmod-usb-ohci
May 01, 2012 09:33AM
AdVATAR Wrote:
-------------------------------------------------------
> I had my PirateBox up and running for about a
> month. After attempting to tweak it, I decided to
> reinstall everything completely. I executed the
> rm -r /overlay/* and then reboot -f commands, and
> began the installation fresh.
>
> This time around, even though my first time
> through I had no issues, I encountered the same
> problem described by the original poster. "Cannot
> satisfy the following dependencies for
> kmod-usb-ohci:
> * kernel (=3.2.14-1-eb...) etcetera
>
> Is it possible that OpenWRT just updated the
> kmod-usb-ohci package and for some reason this one
> is causing errors? Is it possible that the reset
> process affects something permanently that
> interferes with the installation of this package?

Same thing happened to me AdVATAR.

I've also tried installing a second box for a friend and am got the same problem as the second install on my original box. Maybe openwrt have changed something?
Re: opkg install kmod-usb-ohci
May 01, 2012 09:35AM
Also, on my second box I've somehow disabled the ethernet port and can no longer connect. It won't register an ethernet connection at all. Any help folks? I've tried failsafe with no luck.
Re: opkg install kmod-usb-ohci
May 01, 2012 11:27AM
I don't think you disabled your ethernet port.. you maybe have a typo in the /etc/config/network .

> I've tried failsafe with no luck.
Did you set your computers IP to a fixed value ( 192.168.1.2 ) ?
Re: opkg install kmod-usb-ohci
May 08, 2012 08:32AM
FIXED.
drhitchcock has it exactly right. If you attempt to reinstall the firmware it's not as simple as "rm -f /overlay/*"

You have to follow all of the commands described in the David Darts PirateBox wiki. The final step after the overlay is to execute a firmware upgrade. This is essentially the same thing that Dr.Hitchcock did except that he did a fresh install instead of an "upgrade"

The end result is a smooth and by-the-book install.

type all of the following. The "stop" and "nodns" commands won't matter if you don't have piratebox functioning, but it won't hurt to type them in and just go with it.

rm -rf /overlay/*
/etc/init.d/piratebox stop
/etc/init.d/piratebox nodns
sysupgrade -n [downloads.openwrt.org]

Again, this is straight out of the Wiki, but it worked perfectly for me and it's similar to what DrHitchcock did (props to him for getting it fixed on his/her own!!)