[OS] Debian Jessie

Moderators: mdrjr, odroid

Re: [OS] Debian Jessie

Unread postby RomaT » Thu Feb 23, 2017 3:24 am

the screen illuminates, but it is blank
Last edited by RomaT on Tue Feb 28, 2017 1:36 pm, edited 4 times in total.
RomaT
 
Posts: 69
Joined: Thu Oct 23, 2014 4:48 pm
Location: Perm, Russia
languages_spoken: Russian
ODROIDs: -XU3, -XU4, -C1, -C2, -W, -VU

Re: [OS] Debian Jessie

Unread postby rooted » Thu Feb 23, 2017 4:10 am

Through the full DietPi scripts you can setup what is shown where.
User avatar
rooted
 
Posts: 3653
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: [OS] Debian Jessie

Unread postby RomaT » Thu Feb 23, 2017 4:37 am

speech not about it, a question of fact that TFT screen blank.
the information is there only if connect to TV via HDMI.

a problem is found, a non-working USB3.0 port,
connected to the USB2.0 port and the information appeared on screen.
RomaT
 
Posts: 69
Joined: Thu Oct 23, 2014 4:48 pm
Location: Perm, Russia
languages_spoken: Russian
ODROIDs: -XU3, -XU4, -C1, -C2, -W, -VU

Re: [OS] Debian Jessie

Unread postby spyvsspy » Sat Mar 04, 2017 12:26 am

i installed the mainline 4.9 from your git, but after reboot i have no network..
tried to unplug everything (power,hdmi etc)
still nada.. any workarounds ?
spyvsspy
 
Posts: 56
Joined: Fri May 06, 2016 5:15 am
languages_spoken: english
ODROIDs: C2 XU4

Re: [OS] Debian Jessie

Unread postby meveric » Sat Mar 04, 2017 6:30 am

I don't have a "git" with 4.9 Kernel.. But I have a folder from where you can download and install Kernel 4.9 : http://oph.mdrjr.net/meveric/kernel/XU3/4.9.x/
Make sure you alter /etc/fstab:
Code: Select all
su -
sed -i "s?/dev/mmcblk0p1?UUID=`ls -l /dev/disk/by-uuid/ | grep mmcblk0p1 | awk '{print $9}'`?" /etc/fstab


Do this BEFORE you install Kernel 4.9 or else it won't be able to finish booting.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Wed Mar 08, 2017 6:35 am

Hi meveric. I'm using your image (as we spoke on the other thread) and I although I'm having no issues mostly, I can't log through SSH with PuTTY with normal users. I can acess with root (since I changed the PermitRootLogin to yes). But when I tried to swap the user after I loged with root, I still can't put my password through SSH, although I know is the right one since physically works. I tried some tweaks like editing ChallengeResponseAuthentication, GSSAPIAuthentication, UsePAM, UseLogin (everything with yes and no) and I have changed PasswordAuthentication to yes. Is there something I'm missing? I won't mind not login directly with normal user since I will put keys soon, but I don't like not being able to swap the user I added myself. Thanks in advance.
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Wed Mar 08, 2017 8:16 am

by default only root is forbidden via SSH, due to Debian's default policy, every other user should have no issues to connect via SSH.
How did you create the new user?
I normally just use adduser <username> I've used it many times and it always worked and i can login with these users both on console or via SSH.

And I really wonder what's the issue with not being able to switch to another user.. especially root can do this by default su - <user> as root will always make you to that user even without password.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Wed Mar 08, 2017 8:33 am

meveric wrote:How did you create the new user?
I normally just use adduser <username>

That's the way I did it. Actually, I can log in the physical board with no problem.

meveric wrote:And I really wonder what's the issue with not being able to switch to another user.. especially root can do this by default su - <user> as root will always make you to that user even without password.

I can do su - <user> perfectly, the issue comes when I have to put the password, for sudo for example, or if I don't want so log into PuTTy with root. It just says "access denied". I can provide DEBUG3 log if you want.

EDIT
I'm so sorry, I made a mistake yesterday. My keyboard layout changes from physical machine to PuTTy so when it came the time to enter the password on PuTTy, I though I was using the right one, but since the layout on physical machine is English, I did not put some special characters that I was introducing on PuTTy, so the passwords weren't the same. The image runs perfectly and I'm so sorry for making this mistake.
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby usr238 » Wed Mar 15, 2017 12:15 am

I am so glad I found this OS!

I would like to use ffmpeg to stream a video file to my XU4's hdmi. Could someone give me an example of a command to do this? ffmpeg -i bigbunny.avi -o hdmi? or something like that?

My googlefoo is failing me.

The reason I posted this here is meveric mentions using ffmpeg in the OP of this thread.
usr238
 
Posts: 3
Joined: Wed Mar 15, 2017 12:02 am
languages_spoken: english
ODROIDs: xu4

Re: [OS] Debian Jessie

Unread postby Trobin » Wed Mar 15, 2017 12:44 am

Hi meveric, I installed your kernel 4.9 and do this before :
Code: Select all
su -
sed -i "s?/dev/mmcblk0p1?UUID=`ls -l /dev/disk/by-uuid/ | grep mmcblk0p1 | awk '{print $9}'`?" /etc/fstab

Then I do
Code: Select all
dpkg -i linux-headers-4.9.13+_4.9.13-20170308-XU3_armhf.deb linux-image-4.9.13+_4.9.13-20170308-XU3_armhf.deb
reboot

It worked but now I have no network and it boots too fast (7 seconds, I don't think that's normal because normally it boots in 12-13 seconds).
Trobin
 
Posts: 9
Joined: Sun Mar 13, 2016 9:35 pm
languages_spoken: french
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Wed Mar 15, 2017 12:55 am

usr238 wrote:I am so glad I found this OS!

I would like to use ffmpeg to stream a video file to my XU4's hdmi. Could someone give me an example of a command to do this? ffmpeg -i bigbunny.avi -o hdmi? or something like that?

My googlefoo is failing me.

The reason I posted this here is meveric mentions using ffmpeg in the OP of this thread.

ffmpeg is a converter and can also be used as a server for online streams. If you just want to play something on the TV/Monitor, you can simply use ffplay with your file:
Code: Select all
ffplay bigbunny.avi

ffplay is a tool that comes mit dem ffmpeg package.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby meveric » Wed Mar 15, 2017 1:02 am

Trobin wrote:Hi meveric, I installed your kernel 4.9 and do this before :
Code: Select all
su -
sed -i "s?/dev/mmcblk0p1?UUID=`ls -l /dev/disk/by-uuid/ | grep mmcblk0p1 | awk '{print $9}'`?" /etc/fstab

Then I do
Code: Select all
dpkg -i linux-headers-4.9.13+_4.9.13-20170308-XU3_armhf.deb linux-image-4.9.13+_4.9.13-20170308-XU3_armhf.deb
reboot

It worked but now I have no network and it boots too fast (7 seconds, I don't think that's normal because normally it boots in 12-13 seconds).

First:
Please note, that I don't fully support Kernel 4.9 yet, and don't consider it stable in any case. The packages I provide is just for people that want to try it out, although they should work mostly fine.

That being said:
Generally the commands look fine can you see the terminal after the image is booted? Means do you have a login prompt, or a Desktop? Or how do you see it only takes 7 seconds?
I haven't had time to test all the Kernels yet. I tested the 4.9.12+ and it worked fine, the others I build since I had time to do so but did not test them yet.
I'll also build a new one soon I guess. Along with some other packages.
Can you check dmesg, /var/log/syslog and ip addr show for signs of the ethernet adapter and/or it's errors?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Trobin » Wed Mar 15, 2017 3:45 am

Yes I can see terminal after image is booted (I have no desktop GUI) and I can login.
I think (maybe I'm wrong) it takes 7 seconds to boot because the last line in dmesg is
Code: Select all
[6.942445] systemd-journald[274] : Received request to fush runtime jounral from PID1

I see nothing about network in dmesg.

In /var/log/syslog I have these lines concerning netowk:
Code: Select all
Mar 14 18:19:46 odroid-jessie systemd[1]: Starting LSB: Raise network interfaces....
...
Mar 14 18:19:46 odroid-jessie networking[357]: Cannot find device "eth0"
Mar 14 18:19:46 odroid-jessie networking[357]: Bind socket to interface: No such device
Mar 14 18:19:46 odroid-jessie networking[357]: If you think you have received this message due to a bug rather
...
Mar 14 18:19:46 odroid-jessie networking[357]: Failed to bring up eth0.
Mar 14 18:19:46 odroid-jessie networking[357]: done.
Mar 14 18:19:46 odroid-jessie systemd[1]: Started LSB: Raise network interfaces....

The results of "ip addr show" is:
Code: Select all
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueuestate UNKNOWN group default qlen 1
    link/lookback 00:00:00:00:00:00brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
        valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
Trobin
 
Posts: 9
Joined: Sun Mar 13, 2016 9:35 pm
languages_spoken: french
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Wed Mar 15, 2017 6:03 am

That's very odd.. I will try this later the week as well.. can you download the 4.9.12 Kernel in the same folder and try that? You can put it on boot on a windows pc or any other linux box.
I tried the 4.9.12 and I know that one was working fine with network.. If 4.9.12 is working.. then maybe the 4.9.13 is broken (or at least the one build).
have you checked that you're really on 4.9.13? uname -a?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Trobin » Wed Mar 15, 2017 10:03 pm

I reinstalled debian on an SDCard to test kernels, so I just upgraded packages already installed and I tried to install kernel 4.9.12.
I don't know if this helps but here the commands and the results :
Code: Select all
root@odroid-jessie:~# sed -i "s?/dev/mmcblk0p1?UUID=`ls -l /dev/disk/by-uuid/ | grep mmcblk0p1 | awk '{print $9}'`?" /etc/fstab

root@odroid-jessie:~# cd /media/ROBIN/linux/kernels/4.9.12/

root@odroid-jessie:/media/ROBIN/linux/kernels/4.9.12# dpkg -i linux-headers-4.9.12+_4.9.12-20170224-XU3_armhf.deb
Selecting previously unselected package linux-headers-4.9.12+.
(Reading database ... 44800 files and directories currently installed.)
Preparing to unpack linux-headers-4.9.12+_4.9.12-20170224-XU3_armhf.deb ...
Unpacking linux-headers-4.9.12+ (4.9.12-20170224-XU3) ...
Setting up linux-headers-4.9.12+ (4.9.12-20170224-XU3) ...
Examining /etc/kernel/header_postinst.d.

root@odroid-jessie:/media/ROBIN/linux/kernels/4.9.12# dpkg -i linux-image-4.9.12+_4.9.12-20170224-XU3_armhf.deb
Selecting previously unselected package linux-image-4.9.12+.
(Reading database ... 60534 files and directories currently installed.)
Preparing to unpack linux-image-4.9.12+_4.9.12-20170224-XU3_armhf.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/remove-old-on-upgrade 4.9.12+ /boot/vmlinuz-4.9.12+
Done.
Unpacking linux-image-4.9.12+ (4.9.12-20170224-XU3) ...
Replacing files in old package linux-image-3.10.104+ (3.10.104-20170221-XU3) ...
Setting up linux-image-4.9.12+ (4.9.12-20170224-XU3) ...

 Hmm. There is a symbolic link /lib/modules/4.9.12+/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/4.9.12+/build


 Hmm. The package shipped with a symbolic link /lib/modules/4.9.12+/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/4.9.12+/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.9.12+ /boot/vmlinuz-4.9.12+
run-parts: executing /etc/kernel/postinst.d/copy_dtb 4.9.12+ /boot/vmlinuz-4.9.12+
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.9.12+ /boot/vmlinuz-4.9.12+
update-initramfs: Generating /boot/initrd.img-4.9.12+
Image Name:   uInitrd
Created:      Wed Mar 15 12:48:38 2017
Image Type:   ARM Linux RAMDisk Image (uncompressed)
Data Size:    4193101 Bytes = 4094.83 kB = 4.00 MB
Load Address: 00000000
Entry Point:  00000000
run-parts: executing /etc/kernel/postinst.d/uInitrd 4.9.12+ /boot/vmlinuz-4.9.12+
run-parts: executing /etc/kernel/postinst.d/zImage 4.9.12+ /boot/vmlinuz-4.9.12+

I'm really on 4.9.12 with uname -a, I have no network (ifconfig only shows lo).
Trobin
 
Posts: 9
Joined: Sun Mar 13, 2016 9:35 pm
languages_spoken: french
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Thu Mar 16, 2017 2:53 am

Hmm everything looks fine from what I can see.
No desktop, no network-manager or such installed I guess?
I'm not sure what could cause this.. I tried in my ODROIDs and it's working.. I just uploaded a new version of 4.9.13+ and it's working on my side.
Network is up and running.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Trobin » Thu Mar 16, 2017 4:31 am

No desktop nor network-manager installed.
Maybe it's my XU4 the problem, I have some problems with it...
Trobin
 
Posts: 9
Joined: Sun Mar 13, 2016 9:35 pm
languages_spoken: french
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Thu Mar 16, 2017 4:44 am

could be.. and under Kernel 3.10 Network is fine?
can you compare /boot/boot.ini and /etc/udev/rules.d/70-persistent-net.rules both should have the same macaddress.
I wonder if there's even an entry for eth0 in /etc/udev/rules.d/70-persistent-net.rules.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Trobin » Thu Mar 16, 2017 7:46 am

Under kernel 3.10 it's fine yes.
In /boot/boot.ini there is this line with "macaddr" :
Code: Select all
setenv macaddr 00:1e:06:61:7a:50

In /etc/udev/rules.d/70-persistent-net.rules there is
Code: Select all
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:06:30:30:52", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL="eth*", NAME="eth0"
Trobin
 
Posts: 9
Joined: Sun Mar 13, 2016 9:35 pm
languages_spoken: french
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Thu Mar 16, 2017 8:02 am

hmm they do not match, which is odd.. can you try to alter the udev rule to match the MAC from the boot.ini? change the 52 to 50 and see if it's doing something...
I found the 4.9 Kernel is acting quite different than the 3.10 on network.
My device get's a different IP if I boot from 4.9 Kernel than when I boot from 3.10 although it has the same MAC. Very odd.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Trobin » Thu Mar 16, 2017 10:03 pm

I changed the udev rule to match the MAC from boot.ini and reboot but that doesn't change anything :/
In dmesg I have this:
Code: Select all
[6.257103] s5p-mfc 11000000.codec:: Direct firmware load for s5p-mfc-v8.fw failed with error -2
[6.25112] s5p-mfc_load_firmware:99: Firmware is not present in the /lib/firmware directory nor compiled in kernel
[6.257547] s5p-mfc 11000000.codec:: Direct firmware load for s5p-mfc-v8.fw failed with error -2
[6.257558] s5p-mfc_load_firmware:99: Firmware is not present in the /lib/firmware directory nor compiled in kernel
Trobin
 
Posts: 9
Joined: Sun Mar 13, 2016 9:35 pm
languages_spoken: french
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Thu Mar 16, 2017 11:18 pm

That firmware is for MFC video decoder (for example used in Kodi) you can fix that by installing "firmware-samsung".
But it has nothing to do with the network.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby bloodangel78 » Fri Mar 17, 2017 8:02 pm

Hi,

Great image. I have installed desktop mode (recommanded Mate).

Do you know if we can use Wifi module 0 with this OS?
=> http://www.hardkernel.com/main/products ... 5431421052

It's seems it is not recognized.
bloodangel78
 
Posts: 9
Joined: Fri Mar 03, 2017 10:02 pm
languages_spoken: english, french

Re: [OS] Debian Jessie

Unread postby meveric » Sat Mar 18, 2017 12:01 am

The OS uses the same Kernel than the Ubuntu images, so Kernel wise it should be able to run it.
If it does not, please check the output of dmesg when you plugin the module. Maybe it's just missing the firmware which can easily be installed, for example
Code: Select all
apt-get install firmware-ralink

I might even have a DKMS module for it not sure.
Please check the dmesg output and /var/log/syslog when you plug-in the module to see what could be the issue.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby bullghost » Sun Mar 19, 2017 1:52 pm

Hi,

i try compile ffmpeg from source and stuck with this error

Code: Select all

ERROR: librtmp not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.


i cannot find librtmp.pc file?
also the openssl.pc file i could not find
bullghost
 
Posts: 13
Joined: Thu Feb 16, 2017 8:48 pm
languages_spoken: english
ODROIDs: ODROID-XU4

Re: [OS] Debian Jessie

Unread postby meveric » Sun Mar 19, 2017 6:34 pm

Code: Select all
apt-get install librtmp-dev

openssl has similar files, you need to install the missing packages before you can build ffmpeg.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby tmihai20 » Tue Mar 21, 2017 3:40 am

Hello guys. I am preparing to install the 4.9 kernel provided by meveric. My XU4 also has a different MAC address in boot.ini and in 70-persistent-net.rules. The MAC address shown by ifconfig is the one in boot.ini. I am running OMV 3, based on Debiab 8 (Jessie). It would be a drag to not have network.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)
tmihai20
 
Posts: 62
Joined: Mon Nov 07, 2016 10:56 pm
Location: Romania
languages_spoken: english, french, italian, romanian
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby bullghost » Wed Mar 22, 2017 9:05 am

meveric wrote:
Code: Select all
apt-get install librtmp-dev

openssl has similar files, you need to install the missing packages before you can build ffmpeg.


yes you where right!,
thanks it work now :D
bullghost
 
Posts: 13
Joined: Thu Feb 16, 2017 8:48 pm
languages_spoken: english
ODROIDs: ODROID-XU4

Re: [OS] Debian Jessie

Unread postby bloodangel78 » Sat Mar 25, 2017 7:53 pm

meveric wrote:The OS uses the same Kernel than the Ubuntu images, so Kernel wise it should be able to run it.
If it does not, please check the output of dmesg when you plugin the module. Maybe it's just missing the firmware which can easily be installed, for example
Code: Select all
apt-get install firmware-ralink

I might even have a DKMS module for it not sure.
Please check the dmesg output and /var/log/syslog when you plug-in the module to see what could be the issue.


Thanks it was this missing package.
And sorry I have write in wrong topic, I have install Debian for C2 from this topic.
=> viewtopic.php?f=138&t=19403
bloodangel78
 
Posts: 9
Joined: Fri Mar 03, 2017 10:02 pm
languages_spoken: english, french

Re: [OS] Debian Jessie

Unread postby pajtaz » Mon Mar 27, 2017 6:56 am

Meveric,

I've been using your image for Tvheadend backend and Oscam for my PVR on Odroid XU4. Thank you very much for the image, it works perfectly. My kernel is 3.10.104+.

Now I want to use transcoding in Tvheadend. I want to use hardware transcoding and I found out that this only works in kernel 4.9 for Odroid XU4. This is the ONLY thing I want to add to my current image. I just want everything else to work as it did and just implement hardware transcoding.

I see from previous posts you do not support 4.9 and don't consider it stable even though you made few kernel images. Do you think it would be possible to just install one of your kernel 4.9 images and have the hardware transcoding work while other essentials (network, USB, ssh, tvheadend, oscam) working without issues? If not, is it even possible to implement hardware transcoding in 3.10.104+ by compiling with some crazy patch? Any answer is appreciated.
pajtaz
 
Posts: 37
Joined: Mon Oct 24, 2016 3:46 am
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Mon Mar 27, 2017 7:45 am

pajtaz wrote:Do you think it would be possible to just install one of your kernel 4.9 images and have the hardware transcoding work while other essentials (network, USB, ssh, tvheadend, oscam) working without issues?

No, that's exactly the reason why I haven't switched to 4.9 yet. If you switch to 4.9 the Kernel is able to use hardware transcoding, but the applications are not.
You need to recompile ffmpeg with the correct options to use hardware transcoding of the new Kernel.
Also I don't know if this is working with TVHeadend or not, since TV Headend uses his own ffmpeg as well.. So their might be some hacking invovled to tell tvheadend to use the correct ffmpeg version.
Besides that, several people have issues with network on 4.9 Kernel. the MAC address set in /boot/boot.ini seems to be ignored and not everyone has network after a reboot.
There are also some issues with the colors which can cause everything to have a blue/red tint : viewtopic.php?p=180906#p180906
I've noticed that in several OpenGL(ES) applications.
pajtaz wrote:If not, is it even possible to implement hardware transcoding in 3.10.104+ by compiling with some crazy patch? Any answer is appreciated.

Unlikely or else it would have been done a long time ago already.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby pajtaz » Mon Mar 27, 2017 7:50 am

Thank you. I will wait until you give your blessing to the 4.9 kernel for Odroid XU4.
pajtaz
 
Posts: 37
Joined: Mon Oct 24, 2016 3:46 am
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Wed Mar 29, 2017 3:01 pm

What errors do you get?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby pajtaz » Thu Mar 30, 2017 4:12 pm

meveric wrote:What errors do you get?

Meveric, are you asking me? I did not install the 4.9 kernel yet. Maybe you posted this for someone else?
pajtaz
 
Posts: 37
Joined: Mon Oct 24, 2016 3:46 am
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Thu Mar 30, 2017 5:31 pm

Hmm nope, there was another post, someone saying he had errors with deb-multimedia and oph.mdrjr.net so I wanted to know what errors it was.
Strangely the post vanished ;)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Fri Mar 31, 2017 9:18 am

Hi! I think I stepped on an issue but after searching and searching I came up with nothing, so I'm asking to you, meverick (I'm using your image, what's pretty sweet btw)

I was messing around, learning to Transmission and such, when I discovered that it is not recognizing any directory that has special characters as [Whatever] or (Stuff). I can read them if they're part of some listing with * or if I do '[Some]Stuff'.

Then, the issue is that system is not able to recognize that directories even if I go with \, as example

Code: Select all
ls -la \[Audio-4U\]\ \(С88\)\ HARDCORE\ TANO*C\ —\ HARDCORE\ SYNDROME\ 9\
ls: cannot access [Audio-4U] (С88) HARDCORE TANO*C — HARDCORE SYNDROME 9 : No such file or directory

cd, cp and mv will give the same output as the previous one, but if I do
Code: Select all
ls -la \[Audio-4U\]\ \(С88\)\ HARDCORE\ TANO*C\ —\ HARDCORE\ SYNDROME\ 9\ *

I will be getting the inside files. I googled around and I found nothing, sorry. I think MAYBE can be related with locales, so I put them here. I will be aware of the thread. Thanks beforehand.
Code: Select all

LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Fri Mar 31, 2017 4:57 pm

well it's very uncommon that a folder name ENDS with a "space" what's the point of having a space after the 9?
Anyway, if you make a / behind the folder name you should be able to access it.
ls -la \[Audio-4U\]\ \(С88\)\ HARDCORE\ TANO*C\ —\ HARDCORE\ SYNDROME\ 9\ /
Although once again, I don't know why you would have a space at the end of your folder.
And if you do NOT have a space at the end of your folder, than the last backslash should actually be a SLASH to make it work:
ls -la \[Audio-4U\]\ \(С88\)\ HARDCORE\ TANO*C\ —\ HARDCORE\ SYNDROME\ 9/
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Fri Mar 31, 2017 8:42 pm

Sorry, I was very wrong, it was a permission issue. You can delete my posts if you feel it.
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby chymian » Fri Apr 07, 2017 12:26 am

hey meveric,
I also do have the Network Issue, with your latest 4.9er (4.9.13+ Mar 16, 7:41) with missing eth0.

MAC-Adr. in UDEV and boot.ini are the same.
lsusb does NOT show BUS Device 5 & 6: (compare with armbian's 4.9.20…)

Code: Select all
lsusb
Bus 004 Device 003: ID 05e3:0735 Genesys Logic, Inc.
Bus 004 Device 002: ID 05e3:0616 Genesys Logic, Inc.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 1c4f:0016 SiGma Micro
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



on a SD card, I have a testinstall of armbian's next 4.9.20 (config attached)

Code: Select all
lsusb
Bus 006 Device 002: ID 0bda:8153 Realtek Semiconductor Corp.
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 05e3:0735 Genesys Logic, Inc.
Bus 004 Device 002: ID 05e3:0616 Genesys Logic, Inc.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 1c4f:0016 SiGma Micro
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


so which USB/network driver need to be loaded? (rtl815?)
the exact chip it's not mentioned on the XU4 HW-description-wiki-page (http://odroid.com/dokuwiki/doku.php?id=en:xu4_hardware)

My Board:
XU4-REV.: 0.1 20151201
bought dec. 2016

any additional info I can provide? let me know

is there a place to download your toolchain, which creates the kernel-debs?
chymian
 
Posts: 2
Joined: Thu Jan 19, 2017 9:47 pm
languages_spoken: english, german
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Fri Apr 07, 2017 2:18 am

please check http://oph.mdrjr.net/meveric/kernel/XU3/4.9.x/ there's already 4.9.20 available which should have a fix for eth interface.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Fri Apr 07, 2017 1:06 pm

So I just read around the thread about UAS thing, and the kernel 4.9 If I didn't get it wrong (I'm a little new):

A) Would be seeing an improvement of our transfer speeds (based on the other PC's distro/OS) when you decide to switch up?

B) Would we have to do something to use the UAS once we upgrade it?

If I said something wrong, please, tell me, I'm very interesting on understanding this.
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Fri Apr 07, 2017 2:11 pm

ChicoDeGoma wrote:So I just read around the thread about UAS thing, and the kernel 4.9 If I didn't get it wrong (I'm a little new):

A) Would be seeing an improvement of our transfer speeds (based on the other PC's distro/OS) when you decide to switch up?

B) Would we have to do something to use the UAS once we upgrade it?

If I said something wrong, please, tell me, I'm very interesting on understanding this.

I'm not sure if UAS is already activated in the new Kernel, I know there were some discussions about it and it had good results when it was working, but I don't know if mdrjr already turned it on by default.
Still UAS requires a UAS compatible HDD, not all harddrives support this feature and it won't change anything with normal harddrives.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby odroid » Fri Apr 07, 2017 2:38 pm

The UAS driver was enabled by default in HK's Kernel 4.9 late February.
If your USB-SATA bridge supports the UAS mode, you can find something like this in dmesg output.
[ 7.716467] usbcore: registered new interface driver uas
User avatar
odroid
Site Admin
 
Posts: 24992
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [OS] Debian Jessie

Unread postby tmihai20 » Fri Apr 07, 2017 3:52 pm

How are you guys installing the deb packages? I tried installing kernel 3.x.x on Ubuntu and Debian Jessie and it failed with an error that it could not find the modules. I even tried installing kernel 4.9.x on thebeta Ubuntu 16.04 that already has kernel 4.9.x and it failed with the same error.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)
tmihai20
 
Posts: 62
Joined: Mon Nov 07, 2016 10:56 pm
Location: Romania
languages_spoken: english, french, italian, romanian
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Fri Apr 07, 2017 5:12 pm

the question should rather be how YOU install these packages.
Kernel 3.10 packages are already part of the image you just do an apt-get dist-upgrade and get the newest Kernel... so there is really no issue at all to install 3.10er Kernel packages.
4.9er Packages currently have to be installed manually with dpkg -i on my image.
But on the Ubuntu Beta image you also just have to do apt-get dist-upgrade... so the real question is once again, what and how do YOU install it?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Sat Apr 08, 2017 2:06 am

odroid wrote:The UAS driver was enabled by default in HK's Kernel 4.9 late February.
If your USB-SATA bridge supports the UAS mode, you can find something like this in dmesg output.
[ 7.716467] usbcore: registered new interface driver uas


Okay, this awnsers most part from my question. My other one is related to that I guess the users which are using stable at 3.10 kernel (if I'm right) won't have it since it is in the experimental (or pre-release) 4.9.

My question was more if when mdrjr would decide to upgrade his Debian Version to 4.9, if we would have to do something special, as I understood as we won't need to, just with having 4.9 would be enough. Am I right?
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby Chingischan » Sat Apr 08, 2017 2:17 am

Hello thx for the OS :)
I normally have one usbharddisk connectec to my server. and now im looking for a way that when I connect a second hard disk, that it get mounted automatically.
I thaught about a cronjob that just tries every minute to mount my device. Is that possible?
my normal manual command to mount my harddisk is
Code: Select all
mount -t auto /dev/sdb2 /media/hdd2

can somebody please tell me how to write this cronjob? I'm really new to linux and just struggling from tutorial to tutorial at the moment.
Thank you
Chingischan
 
Posts: 5
Joined: Thu Apr 06, 2017 11:21 pm
languages_spoken: english, german
ODROIDs: XU4, C2

Re: [OS] Debian Jessie

Unread postby tmihai20 » Sat Apr 08, 2017 3:34 am

meveric wrote:the question should rather be how YOU install these packages.
Kernel 3.10 packages are already part of the image you just do an apt-get dist-upgrade and get the newest Kernel... so there is really no issue at all to install 3.10er Kernel packages.
4.9er Packages currently have to be installed manually with dpkg -i on my image.
But on the Ubuntu Beta image you also just have to do apt-get dist-upgrade... so the real question is once again, what and how do YOU install it?


I tried installing a newer 3.10 kernel on OMV based on Debian Jessie and 4.9 kernel on the beta Ubuntu image. I mounted the boot partition on Debian Jessie, I remember that Ubuntu already had it mounted. I will use the latest available kernel for all of them for now, because I need it to be stable.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)
tmihai20
 
Posts: 62
Joined: Mon Nov 07, 2016 10:56 pm
Location: Romania
languages_spoken: english, french, italian, romanian
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Sat Apr 08, 2017 4:50 am

ChicoDeGoma wrote:My question was more if when mdrjr would decide to upgrade his Debian Version to 4.9

As far as I know mdrjr doesn't use Debian or provide Debian images, but I do.
I don't plan to switch from 3.10 to 4.9 any time soon. 4.9 has still to many glitches it's nice as a server but not very good for entertainment and multimedia at the moment.
ChicoDeGoma wrote: if we would have to do something special, as I understood as we won't need to, just with having 4.9 would be enough. Am I right?

I have a hard time understanding what you're trying to say.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby meveric » Sat Apr 08, 2017 4:55 am

Chingischan wrote:Hello thx for the OS :)
I normally have one usbharddisk connectec to my server. and now im looking for a way that when I connect a second hard disk, that it get mounted automatically.
I thaught about a cronjob that just tries every minute to mount my device. Is that possible?
my normal manual command to mount my harddisk is
Code: Select all
mount -t auto /dev/sdb2 /media/hdd2

can somebody please tell me how to write this cronjob? I'm really new to linux and just struggling from tutorial to tutorial at the moment.
Thank you

That's really not that hard to find: http://lmgtfy.com/?q=linux+server+automount+usb+devices
apparently installing usbmount is all that's needed.. another keyword is autofs.
Should be rather easy to find your answer :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7865
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

PreviousNext

Return to Other OS

Who is online

Users browsing this forum: No registered users and 2 guests

cron