Re: I have Debian Now what ? November 01, 2014 01:31AM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 01, 2014 01:38AM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 01, 2014 01:38AM |
Registered: 10 years ago Posts: 162 |
Re: I have Debian Now what ? November 01, 2014 01:43AM |
Registered: 10 years ago Posts: 162 |
Re: I have Debian Now what ? November 01, 2014 05:42PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 01, 2014 05:51PM |
Admin Registered: 13 years ago Posts: 18,575 |
apt-get clean dpkg --clear-avail rm /var/lib/apt/lists/* --force dpkg --configure -a apt-get update apt-get install samba apt-get install minidlna
sync shutdown -h now
Re: I have Debian Now what ? November 01, 2014 06:14PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 01, 2014 06:30PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 01, 2014 09:45PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 02, 2014 07:36AM |
Registered: 10 years ago Posts: 162 |
Re: I have Debian Now what ? November 02, 2014 03:10PM |
Admin Registered: 13 years ago Posts: 18,575 |
Re: I have Debian Now what ? November 02, 2014 04:43PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 02, 2014 04:55PM |
Registered: 10 years ago Posts: 162 |
Re: I have Debian Now what ? November 02, 2014 05:03PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 02, 2014 05:09PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 02, 2014 05:21PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 02, 2014 05:26PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 02, 2014 05:45PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 02, 2014 05:47PM |
Registered: 10 years ago Posts: 162 |
Re: I have Debian Now what ? November 02, 2014 05:59PM |
Registered: 10 years ago Posts: 162 |
Re: I have Debian Now what ? November 02, 2014 06:08PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 02, 2014 06:09PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 02, 2014 06:14PM |
Registered: 9 years ago Posts: 46 |
Using username "root". root@10.0.0.23's password: Linux debian 3.16.0-kirkwood-tld-2 #2 PREEMPT Sun Aug 31 18:56:01 PDT 2014 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Nov 2 16:01:14 2014 from 10.0.0.4 root@debian:~# echo 'deb http://ftp.us.debian.org/debian jessie main' >> /etc/apt/sources.list apt-get update apt-get -y install samba, minidlna, nano mkdir /mnt/sd chmod 777 /mnt/sd mount -t vfat /dev/mmcblk0p1 /mnt/sd echo '/dev/mmcblk0p1 /mnt/sd vfat user,noauto 0 0' >> /etc/fstab root@debian:~# apt-get update workgroup = WORKGROUP os level = 20 use sendfile = yes printcap name = /dev/null security = user disable spoolss = yes #unprotected/public share without login [sd] path = /mnt/sd read only = no public = yes writable = yes guest ok = yes' > /etc/samba/smb.conf echo 'db_dir=/root/.minidlna media_dir=/mnt/sd inotify=yes notify_interval=900 log_dir=/var/log' >> /etc/minidlna.conf service samba restart service minidlna restart service minidlna force-reload update-rc.d minidlna defaultsE: Type 'update-rc.d:' is not known on line 4 in source list /etc/apt/sources.list E: The list of sources could not be read. root@debian:~# apt-get -y install samba, minidlna, nano Reading package lists... Error! E: Type 'update-rc.d:' is not known on line 4 in source list /etc/apt/sources.list E: The list of sources could not be read. E: The package lists or status file could not be parsed or opened. root@debian:~# mkdir /mnt/sd mkdir: cannot create directory `/mnt/sd': File exists root@debian:~# chmod 777 /mnt/sd root@debian:~# mount -t vfat /dev/mmcblk0p1 /mnt/sd mount: /dev/mmcblk0p1 already mounted or /mnt/sd busy mount: according to mtab, /dev/mmcblk0p1 is already mounted on /mnt/sd root@debian:~# echo '/dev/mmcblk0p1 /mnt/sd vfat user,noauto 0 0' >> /etc/fstab root@debian:~# echo '[global] > guest account = root > load printers = no > socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE > wins server = 192.168.1.1 > map to guest = Bad User > netbios name = PogoPlug > write cache size = 2097152 > server string = PogoPlug > workgroup = WORKGROUP > os level = 20 > use sendfile = yes > printcap name = /dev/null > security = user > disable spoolss = yes > #unprotected/public share without login > [sd] > path = /mnt/sd > read only = no > public = yes > writable = yes > guest ok = yes' > /etc/samba/smb.conf root@debian:~# root@debian:~# echo 'db_dir=/root/.minidlna > media_dir=/mnt/sd > inotify=yes > notify_interval=900 > log_dir=/var/log' >> /etc/minidlna.conf root@debian:~# root@debian:~# service samba restart [ ok ] Stopping Samba daemons: nmbd smbd. [ ok ] Starting Samba daemons: nmbd smbd. root@debian:~# service minidlna restart minidlna: unrecognized service root@debian:~# service minidlna force-reload minidlna: unrecognized service root@debian:~# update-rc.d minidlna defaults update-rc.d: using dependency based boot sequencing update-rc.d: error: unable to read /etc/init.d/minidlna root@debian:~#
Re: I have Debian Now what ? November 02, 2014 06:19PM |
Admin Registered: 13 years ago Posts: 18,575 |
Re: I have Debian Now what ? November 02, 2014 07:05PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 02, 2014 07:08PM |
Registered: 10 years ago Posts: 162 |
Re: I have Debian Now what ? November 06, 2014 06:44PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 06, 2014 06:59PM |
Registered: 10 years ago Posts: 162 |
mkdir /mnt/sda2In order to automount on startup
echo '/dev/sda2 /mnt/sda2 ext3 defaults,noatime 0 2' >> /etc/fstab shutdown -r nowor you can mount it manually
mount /dev/sda2 /mnt/sda2
Re: I have Debian Now what ? November 07, 2014 04:07PM |
Registered: 9 years ago Posts: 46 |
Re: I have Debian Now what ? November 07, 2014 04:08PM |
Registered: 10 years ago Posts: 162 |