Welcome! Log In Create A New Profile

Advanced

I have Debian Now what ?

Posted by highsinberg 
I have Debian Now what ?
October 24, 2014 10:00PM
i have successfully hacked a full debian install from this link ...
http://blog.qnology.com/2014/07/hacking-pogoplug-v4-series-4-and-mobile.html
i can login in ssh (putty) Now what i want this thing to be a media server streamer if i can
or anything how to i start this is what i see when i login


root@192.168.0.55's password:
Linux debian 3.14.0-kirkwood-tld-1 #1 PREEMPT Tue Apr 1 22:54:58 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: Fri Oct 24 18:08:50 2014 from 192.168.0.4
root@debian:~#


i did not install arch linux or samba only debian .. I dont know what to do from here can anyone share what comes next after the pogoplug boots into debian from 8 gb flash ?



Edited 1 time(s). Last edit at 10/24/2014 10:11PM by highsinberg.
Re: I have Debian Now what ?
October 25, 2014 04:05PM
How do you want to stream using DLNA or just a shared folder?
Where are your video files located?
If your video files on another external hard drive then connect it. type the command
fdisk -l
post your output
Re: I have Debian Now what ?
October 25, 2014 04:22PM
root@debian:~# fdisk -l

Disk /dev/sda: 8166 MB, 8166703104 bytes
255 heads, 63 sectors/track, 992 cylinders, total 15950592 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x001a95aa

Device Boot Start End Blocks Id System
/dev/sda1 63 15936479 7968208+ 83 Linux

Disk /dev/mmcblk0: 1030 MB, 1030225920 bytes
4 heads, 3 sectors/track, 167680 cylinders, total 2012160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdb66db66

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 243 2012159 1005958+ b W95 FAT32
root@debian:~#

its found my sd card now \what
i want to stream to my cell what can i do



Edited 1 time(s). Last edit at 10/25/2014 04:23PM by highsinberg.
Re: I have Debian Now what ?
October 25, 2014 04:23PM
first you need to answer the questions I asked you in previous post.
Re: I have Debian Now what ?
October 25, 2014 04:25PM
i just want to stream to my cell phone so i guess dnla
Re: I have Debian Now what ?
October 25, 2014 04:25PM
now you need to answer a second question which I asked in my other post. :)
Re: I have Debian Now what ?
October 25, 2014 04:27PM
there on the 1gb sd card of course the usb has debian
is this the second question i thought i said the sd card showed up i want to stream did you read that?



Edited 1 time(s). Last edit at 10/25/2014 04:39PM by highsinberg.
Re: I have Debian Now what ?
October 25, 2014 05:02PM
if the fdisk -1 makit it work
what do i do to connect to it?
Re: I have Debian Now what ?
October 25, 2014 05:28PM
For now let's setup Samba and MiniDLNA. I hope it works because I just wrote everything up. You must already have audio, video files in your sd card before running my code.

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
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

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 defaults



Edited 11 time(s). Last edit at 11/02/2014 06:37PM by Almaz.
Re: I have Debian Now what ?
October 25, 2014 05:46PM
with my script you should be able to see SD card from any computer and it should enable DLNA as well only for SD card.
Re: I have Debian Now what ?
October 25, 2014 07:44PM
dO I JUST ENTER THE SCRIPT ONE LINE AT A TIME TILL THE LAST COMMAND?
Re: I have Debian Now what ?
October 25, 2014 07:47PM
Just copy everything and paste.
Re: I have Debian Now what ?
October 26, 2014 01:21PM
Just to let you know I made a mistake in the line which should read media_dir=/mnt/sd in your case. Anyway made the adjustment to the script by adding some other configs. Just rerun the script again



Edited 1 time(s). Last edit at 10/26/2014 01:25PM by Almaz.
Re: I have Debian Now what ?
October 26, 2014 06:46PM
i was waiting till today thanks for the update i will run shortly.
Re: I have Debian Now what ?
October 26, 2014 07:59PM
here are the results i think it didnt work root@debian:~# fdisk -l

Disk /dev/mmcblk0: 1030 MB, 1030225920 bytes
4 heads, 3 sectors/track, 167680 cylinders, total 2012160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdb66db66

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 243 2012159 1005958+ b W95 FAT32

Disk /dev/sda: 8166 MB, 8166703104 bytes
255 heads, 63 sectors/track, 992 cylinders, total 15950592 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x001a95aa

Device Boot Start End Blocks Id System
/dev/sda1 63 15936479 7968208+ 83 Linux
root@debian:~# apt-get update
mkdir /mnt/sd
chmod 777 /mnt/sd
mount -t vfat /dev/mmcblk0 /mnt/sd
echo '/dev/mmcblk0 /mnt/sd vfat user,noauto 0 0' >> /etc/fstab
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 = Torrent_Drive
write cache size = 2097152
server string = Torrent_Drive
workgroup = WORKGROUP
os level = 20
use sendfile = yes
printcap name = /dev/null
security = user
disable spoolss = yes
#max log size = 50

#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
Hit http://ftp.us.debian.org wheezy Release.gpg
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://ftp.us.debian.org wheezy Release
Hit http://security.debian.org wheezy/updates Release
Hit http://ftp.us.debian.org wheezy/main armel Packages
Hit http://security.debian.org wheezy/updates/main armel Packages
Hit http://ftp.us.debian.org wheezy/main Translation-en
Hit http://security.debian.org wheezy/updates/contrib armel Packages
Hit http://security.debian.org wheezy/updates/non-free armel Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Reading package lists... Done
root@debian:~# apt-get install -y samba, minidlna, nano
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package samba,
E: Unable to locate package minidlna,
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/mmcblk0 /mnt/sd
mount: wrong fs type, bad option, bad superblock on /dev/mmcblk0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

root@debian:~# echo '/dev/mmcblk0 /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 = Torrent_Drive
> write cache size = 2097152
> server string = Torrent_Drive
> workgroup = WORKGROUP
> os level = 20
> use sendfile = yes
> printcap name = /dev/null
> security = user
> disable spoolss = yes
> #max log size = 50
>
> #unprotected/public share without login
>
> [sd]
> path = /mnt/sd
> read only = no
> public = yes
> writable = yes
> guest ok = yes
> ' > /etc/samba/smb.conf
-bash: /etc/samba/smb.conf: No such file or directory
root@debian:~# 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 defaults



Edited 1 time(s). Last edit at 10/26/2014 08:03PM by highsinberg.
Re: I have Debian Now what ?
October 26, 2014 10:07PM
n/a



Edited 5 time(s). Last edit at 10/28/2014 04:14PM by Almaz.
Re: I have Debian Now what ?
October 28, 2014 02:13PM
Using username "root".
root@10.0.0.3's password:
Linux debian 3.14.0-kirkwood-tld-1 #1 PREEMPT Tue Apr 1 22:54:58 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 Oct 26 17:48:42 2014 from 10.0.0.9
root@debian:~# apt-get clean
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free' > /etc/apt/sources.list
apt-get update
apt-get -y install blkid, samba, minidlna, nano
mount -t vfat /dev/mmcblk0p1 /mnt/sd
echo '/dev/mmcblk0p1 /mnt/sd vfat user,noauto 0 0' >> /etc/fstab
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 = Torrent_Drive
write cache size = 2097152
server string = Torrent_Drive
workgroup = WORKGROUP
os level = 20
use sendfile = yes
printcap name = /dev/null
security = user
disable spoolss = yes
#max log size = 50

#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 defaults
blkid
mount
df -h
service minidlna status
service samba statusroot@debian:~# echo 'deb http://ftp.us.debian.org/debian sta-freeain contrib non
> deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
> deb http://security.debian.org/ wheezy/updates main contrib non-free' > /etc/apt/sources.list
root@debian:~# apt-get update
Get:1 http://ftp.us.debian.org stable Release.gpg [1655 B]
Get:2 http://security.debian.org wheezy/updates Release.gpg [836 B]
Get:3 http://security.debian.org wheezy/updates Release [102 kB]
Get:4 http://ftp.us.debian.org stable Release [168 kB]
Get:5 http://ftp.debian.org wheezy-updates Release.gpg [836 B]
Get:6 http://ftp.debian.org wheezy-updates Release [124 kB]
Get:7 http://security.debian.org wheezy/updates/main armel Packages [221 kB]
Get:8 http://ftp.us.debian.org stable/main armel Packages [5709 kB]
Get:9 http://ftp.debian.org wheezy-updates/main armel Packages [14 B]
Get:10 http://security.debian.org wheezy/updates/contrib armel Packages [14 B]
Get:11 http://security.debian.org wheezy/updates/non-free armel Packages [14 B]
Get:12 http://security.debian.org wheezy/updates/contrib Translation-en [14 B]
Get:13 http://ftp.debian.org wheezy-updates/contrib armel Packages [14 B]
Get:14 http://security.debian.org wheezy/updates/main Translation-en [124 kB]
Get:15 http://ftp.debian.org wheezy-updates/non-free armel Packages [14 B]
Get:16 http://ftp.debian.org wheezy-updates/contrib Translation-en [14 B]
Get:17 http://security.debian.org wheezy/updates/non-free Translation-en [14 B]
Get:18 http://ftp.debian.org wheezy-updates/main Translation-en [14 B]
Get:19 http://ftp.debian.org wheezy-updates/non-free Translation-en [14 B]
Get:20 http://ftp.us.debian.org stable/contrib armel Packages [34.0 kB]
Get:21 http://ftp.us.debian.org stable/non-free armel Packages [57.8 kB]
Get:22 http://ftp.us.debian.org stable/contrib Translation-en [34.8 kB]
Get:23 http://ftp.us.debian.org stable/main Translation-en [3846 kB]
Get:24 http://ftp.us.debian.org stable/non-free Translation-en [66.1 kB]
Fetched 10.5 MB in 1min 19s (132 kB/s)
Reading package lists... Done
root@debian:~# apt-get -y install blkid, samba, minidlna, nano
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package blkid,
E: Unable to locate package samba,
E: Unable to locate package minidlna,
root@debian:~# mount -t vfat /dev/mmcblk0p1 /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 = Torrent_Drive
> write cache size = 2097152
> server string = Torrent_Drive
> workgroup = WORKGROUP
> os level = 20
> use sendfile = yes
> printcap name = /dev/null
> security = user
> disable spoolss = yes
> #max log size = 50
>
> #unprotected/public share without login
>
> [sd]
> path = /mnt/sd
> read only = no
> public = yes
> writable = yes
> guest ok = yes' > /etc/samba/smb.conf
-bash: /etc/samba/smb.conf: No such file or directory
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
samba: unrecognized service
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:~# blkid
/dev/mmcblk0p1: LABEL="CLOUD1GB" UUID="BC4C-4F34" TYPE="vfat"
/dev/sda1: LABEL="rootfs" UUID="747e5fd5-f636-4380-9505-bd716a72aef7" TYPE="ext3"
root@debian:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=14530,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=12268k,mode=755)
/dev/sda1 on / type ext3 (rw,noatime,errors=remount-ro,barrier=1,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=24520k)
tmpfs on /tmp type tmpfs (rw,relatime)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/mmcblk0p1 on /mnt/sd type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro)
root@debian:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 7.4G 332M 6.7G 5% /
udev 10M 0 10M 0% /dev
tmpfs 12M 96K 12M 1% /run
/dev/sda1 7.4G 332M 6.7G 5% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 24M 0 24M 0% /run/shm
tmpfs 60M 0 60M 0% /tmp
/dev/mmcblk0p1 979M 153M 826M 16% /mnt/sd
root@debian:~# service minidlna status
minidlna: unrecognized service
root@debian:~# service samba status
samba: unrecognized service

i dont think its working yet.
E: Unable to locate package blkid,
E: Unable to locate package samba,
E: Unable to locate package minidlna,



Edited 2 time(s). Last edit at 10/28/2014 02:17PM by highsinberg.
Re: I have Debian Now what ?
October 28, 2014 02:22PM
Something is wrong with your debian. Just download a new Bodhi 02 Sept 2014: rootfs and put it on your USB . Run my first script and you should be good to go http://forum.doozan.com/read.php?2,12096
Re: I have Debian Now what ?
October 28, 2014 02:33PM
Forgot to mention before you put a new rootfs make sure to delete all the files from USB
Re: I have Debian Now what ?
October 28, 2014 03:21PM
can u help me update to bodhi 02 sept2014?

do i need to rename that file for my pogo plug v4

also should i do the backup and install like on that page or just do what u said copy that 1 file onto usb after i delete it

when i put the usb in my pc it says unknown device



Edited 3 time(s). Last edit at 10/28/2014 03:43PM by highsinberg.
Re: I have Debian Now what ?
October 28, 2014 04:01PM
i found this it works for usb viewin but im still un sure how to update to bodhi 02 sept 2014
sourceforge.net/projects/ext2fsd/files/Ext2fsd/0.53/Ext2Fsd-0.53.exe/download
Re: I have Debian Now what ?
October 28, 2014 04:02PM
You would need any live Linux such as Kali 32 bit ISO which can be downloaded for free http://www.kali.org/downloads/. You can load live ISO file using vmware player or free trial of vmware workstation. Insert USB 8gb to your PC and start Kali. You'd need to enable USB device first before you'll be able to see it in your Kali Desktop. Probably you'll need to check a few youtube videos how it's done and there are hundreds of them.

Open console in Kali
type fdisk -l ----> find out which device is your USB stick. Assuming it's location /dev/sdb1
fdisk -l
Let's mount USB stick to a folder /tmp/stick
it'll make a directory
mkdir /tmp/stick
it'll mount the stick to a folder /tmp/stick
mount /dev/sdb1 /tmp/stick
let's remove everything from usb stick
rm -r /tmp/stick/*

Now let's download a new rootfs and rename it as rootfs.tar.bz2 to a folder /tmp
wget --no-check-certificate -O /tmp/rootfs.tar.bz2 https://www.dropbox.com/s/hl5eiqk6ksg9ggq/Debian-3.16.0-kirkwood-tld-2-rootfs-bodhi.tar.bz2
Let's uncompress the file to USB stick
tar -vxjf /tmp/rootfs.tar.bz2 -C /tmp/stick


That should be it.
Re: I have Debian Now what ?
October 28, 2014 04:21PM
i have mint linux live will that work
Re: I have Debian Now what ?
October 28, 2014 04:24PM
sure, it'll work. If you'll have any problems uncompressing the file then install bzip2
Re: I have Debian Now what ?
November 01, 2014 12:57AM
Linux mint 14 live dvd works perfect just use this command to gain root control

sudo su
then
fdisk -l
then
i created the folder with right clicking my computer run as root the eraseing the usb and making the tmp folder
mount /dev/sdb1 /tmp/stick
then
rm -r /tmp/stick/*
then
wget --no-check-certificate -O /tmp/rootfs.tar.bz2 https://www.dropbox.com/s/hl5eiqk6ksg9ggq/Debian-3.16.0-kirkwood-tld-2-rootfs-bodhi.tar.bz2
then
tar -vxjf /tmp/rootfs.tar.bz2 -C /tmp/stick


everything seems to be working the pogoplug light is green going to run the first line now from putty
Re: I have Debian Now what ?
November 01, 2014 01:10AM
here is the results
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;
-bash: Using: command not found
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.


root@debian:~# apt-get update
mount -t vfat /dev/mmcblk0p1 /mnt/sd
echo '/dev/mmcblk0p1 /mnt/sd vfat user,noauto 0 0' >> /etc/fstab
echo '[global]
root@debian:~# root@10.0.0.23's password:
> Access denied
> root@10.0.0.23's password:
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
-bash: $'root@10.0.0.23s password:\nAccess denied\nroot@10.0.0.23s': command not found
guest ok = yes' > /etc/samba/smb.conf

echo 'db_dir=/root/.minidlna
media_dir=/mnt/sd
inotify=yes
notify_interval=900
root@debian:~# Linux debian 3.16.0-kirkwood-tld-2 #2 PREEMPT Sun Aug 31 18:56:01 PDT 2014 armv5tel
chmod 777 /mnt/sd
mount -t vfat /dev/mmcblk0p1 /mnt/sd
echo '/dev/mmcblk0p1 /mnt/sd vfat user,noauto 0 0' >> /etc/fstab
echo '[global]
-bash: Linux: command not found
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 = Torrent_Drive
write cache size = 2097152
server string = Torrent_Drive
root@debian:~#
root@debian:~# The programs included with the Debian GNU/Linux system are free software;
service minidlna restart
service minidlna force-reload
Fetched 10.2 MB in 1min 36s (106 kB/s)
Reading package lists... Done
root@debian:~# apt-get -y install samba, minidlna, nano
-bash: The: command not found
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package samba,
E: Unable to locate package minidlna,
root@debian:~# mkdir /mnt/sd
root@debian:~# chmod 777 /mnt/sd
root@debian:~# mount -t vfat /dev/mmcblk0p1 /mnt/sd
root@debian:~# the exact distribution terms for each program are described in the
> [sd]
> path = /mnt/sd
>-bash: the: command not found
root@debian:~# individual files in /usr/share/doc/*/copyright.
-bash: individual: command not found
root@debian:~#
root@debian:~# Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
-bash: Debian: command not found
root@debian:~# permitted by applicable law.
-bash: permitted: command not found
root@debian:~# Last login: Mon Sep 1 18:37:18 2014 from 192.168.0.100
-bash: Last: command not found
root@debian:~# root@debian:~# apt-get update
-bash: root@debian:~#: command not found
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 = Torrent_Drive
> write cache size = 2097152
> server string = Torrent_Drive
> 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
-bash: /etc/samba/smb.conf: No such file or directory
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
samba: unrecognized service
root@debian:~# service minidlna restart
minidlna: unrecognized service
root@debian:~# service minidlna force-reload
minidlna: unrecognized service
root@debian:~# Get:1 http://ftp.us.debian.org wheezy Release.gpg [1655 B]
-bash: Get:1: command not found
root@debian:~# Get:2 http://security.debian.org wheezy/updates Release.gpg [836 B]
-bash: Get:2: command not found
root@debian:~# Get:3 http://ftp.us.debian.org wheezy Release [168 kB]
-bash: Get:3: command not found
root@debian:~# Get:4 http://security.debian.org wheezy/updates Release [102 kB]
-bash: Get:4: command not found
root@debian:~# Get:5 http://ftp.us.debian.org wheezy/main armel Packages [5709 kB]
-bash: Get:5: command not found
root@debian:~# Get:6 http://security.debian.org wheezy/updates/main armel Packages [213 kB]
-bash: Get:6: command not found
root@debian:~# Get:7 http://security.debian.org wheezy/updates/contrib armel Packages [14 B]
-bash: Get:7: command not found
root@debian:~# Get:8 http://security.debian.org wheezy/updates/non-free armel Packages [14 B]
-bash: Get:8: command not found
root@debian:~# Get:9 http://security.debian.org wheezy/updates/contrib Translation-en [14 B]
-bash: Get:9: command not found
root@debian:~# Get:10 http://security.debian.org wheezy/updates/main Translation-en [124 kB]
-bash: Get:10: command not found
root@debian:~# Get:11 http://security.debian.org wheezy/updates/non-free Translation-en [14 B]
-bash: Get:11: command not found
root@debian:~# Get:12 http://ftp.us.debian.org wheezy/main Translation-en [3846 kB]
-bash: Get:12: command not found
root@debian:~# 100% [5 Packages bzip2 0 B]apt-get update
-bash: 100%: command not found
root@debian:~# apt-get -y install samba, minidlna, nano
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package samba,
E: Unable to locate package minidlna,
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 = Torrent_Drive
> write cache size = 2097152
> server string = Torrent_Drive
> 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
-bash: /etc/samba/smb.conf: No such file or directory
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
samba: unrecognized service
root@debian:~# service minidlna restart
minidlna: unrecognized service
root@debian:~# service minidlna force-reload
minidlna: unrecognized service
root@debian:~# Fetched 10.2 MB in 1min 36s (106 kB/s)
-bash: syntax error near unexpected token `('
root@debian:~# Reading package lists... Done
-bash: Reading: command not found
root@debian:~# root@debian:~# apt-get -y install samba, minidlna, nano
-bash: root@debian:~#: command not found
root@debian:~# Reading package lists... Done
-bash: Reading: command not found
root@debian:~# Building dependency tree
-bash: Building: command not found
root@debian:~# Reading state information... Done
-bash: Reading: command not found
root@debian:~# E: Unable to locate package samba,
-bash: E:: command not found
root@debian:~# E: Unable to locate package minidlna,
-bash: E:: command not found
root@debian:~# root@debian:~# mkdir /mnt/sd
-bash: root@debian:~#: command not found
root@debian:~# root@debian:~# chmod 777 /mnt/sd
-bash: root@debian:~#: command not found
root@debian:~# root@debian:~# mount -t vfat /dev/mmcblk0p1 /mnt/sd
-bash: root@debian:~#: command not found
root@debian:~# root@debian:~# echo '/dev/mmcblk0p1 /mnt/sd vfat user,noauto 0 0' >> /etc/fstab
-bash: root@debian:~#: command not found
root@debian:~# 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 = Torrent_Drive
> > write cache size = 2097152
> > server string = Torrent_Drive
> > 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
-bash: /etc/samba/smb.conf: No such file or directory
root@debian:~# -bash: /etc/samba/smb.conf: No such file or directory
-bash: -bash:: command not found
root@debian:~# root@debian:~#
-bash: root@debian:~#: command not found
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
-bash: root@debian:~#: command not found
root@debian:~# root@debian:~#
-bash: root@debian:~#: command not found
root@debian:~# root@debian:~# service samba restart
-bash: root@debian:~#: command not found
root@debian:~# samba: unrecognized service
-bash: samba:: command not found
root@debian:~# root@debian:~# service minidlna restart
-bash: root@debian:~#: command not found
root@debian:~# minidlna: unrecognized service
-bash: minidlna:: command not found
root@debian:~# root@debian:~# service minidlna force-reload
-bash: root@debian:~#: command not found
root@debian:~# minidlna: unrecognized service
-bash: minidlna:: command not found
root@debian:~# root@debian:~# update-rc.d minidlna defaultsapt-get update
-bash: root@debian:~#: command not found
root@debian:~# update-rc.d: using dependency based boot sequencing
-bash: update-rc.d:: command not found
root@debian:~# usage: update-rc.d [-n] [-f] <basename> remove
-bash: basename: No such file or directory
root@debian:~# update-rc.d [-n] <basename> defaults [NN | SS KK]
-bash: SS: command not found
-bash: basename: No such file or directory
root@debian:~# update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
-bash: stop: command not found
-bash: basename: No such file or directory
root@debian:~# update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
-bash: 2: command not found
-bash: basename: No such file or directory
-bash: 5]: command not found
-bash: 3: command not found
-bash: 4: command not found
-bash: enable: [S: not a shell builtin
root@debian:~# -n: not really
-bash: -n:: command not found
root@debian:~# -f: force
-bash: -f:: command not found
root@debian:~#
root@debian:~# The disable|enable API is not stable and might change in the future.
-bash: enable: API: not a shell builtin
-bash: The: command not found
-bash: enable: is: not a shell builtin
-bash: enable: not: not a shell builtin
-bash: enable: stable: not a shell builtin
-bash: enable: and: not a shell builtin
-bash: enable: might: not a shell builtin
-bash: enable: change: not a shell builtin
-bash: enable: in: not a shell builtin
-bash: enable: the: not a shell builtin
-bash: enable: future.: not a shell builtin
root@debian:~# root@debian:~# apt-get -y install samba, minidlna, nano
-bash: root@debian:~#: command not found
root@debian:~# Reading package lists... Done
-bash: Reading: command not found
root@debian:~# Building dependency tree
-bash: Building: command not found
root@debian:~# Reading state information... Done
-bash: Reading: command not found
root@debian:~# E: Unable to locate package samba,
-bash: E:: command not found
root@debian:~# E: Unable to locate package minidlna,
-bash: E:: command not found
root@debian:~# root@debian:~# mkdir /mnt/sd
-bash: root@debian:~#: command not found
root@debian:~# 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 = Torrent_Drive
> > write cache size = 2097152
> > server string = Torrent_Drive
> > 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
> -bash: /etc/samba/smb.conf: No such file or directory
> 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
> samba: unrecognized service
> 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 01, 2014 01:24AM
I don't know what you've done but it looks like you don't have access. Make sure that you are running as root. type su before running the script
Re: I have Debian Now what ?
November 01, 2014 01:24AM
i want to reformat the 8gb usb to a 2gb section for linux and the rest share screw the sd card
Re: I have Debian Now what ?
November 01, 2014 01:26AM
or better yet make linux sd card its 1gb so it can hold this new 3.16 update and just make the usb
the sabma dnla server
Re: I have Debian Now what ?
November 01, 2014 01:27AM
For now I'd suggest getting something to work so you have the base how it's done and then you can change anything that you want. Type "su" before running the script and run the script line by line.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: