View previous topic :: View next topic |
Author |
Message |
klim888 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Feb 2013 Posts: 2
|
Posted: Mon Feb 04, 2013 5:15 pm Post subject: a remote usb modem needs reboot. how? |
|
|
Hi! The modem on my remote server hangs time to time.
The problem is that it has no console, web interface or other ways control.
In Ubuntu I do something like: sudo echo off|on > /sys/bus/usb/devices/usb1/power/level
Could anyone help me to do the same in Gentoo? Thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
albright Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/524660825462570600c7fb.jpg)
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Mon Feb 04, 2013 6:03 pm Post subject: |
|
|
Quote: | sudo echo off|on > /sys/bus/usb/devices/usb1/power/level |
why/how does that fail in gentoo? _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
klim888 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Feb 2013 Posts: 2
|
Posted: Tue Feb 05, 2013 1:09 pm Post subject: |
|
|
albright wrote: | Quote: | sudo echo off|on > /sys/bus/usb/devices/usb1/power/level |
why/how does that fail in gentoo? |
Thanks for your answer
As far as I know, such path doesn't exist in gentoo.
At least, there is no a folder "power", just like a file "level".
I've used "find" to seek for them without any results. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
albright Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/524660825462570600c7fb.jpg)
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Tue Feb 05, 2013 1:27 pm Post subject: |
|
|
Quote: | /sys/bus/usb/devices/usb1/power/level |
exists on my system - do you have all the usb stuff in
the kernel built?
(look for pappy's kernel seeds for advice if needed
http://kernel-seeds.org/) _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|