• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

NFS Daten von Popcorn Hour A110 auf PC

OP
G

Gandalf333

Hacker
Habe

Code:
mkdir /mnt/nfs-share
audgeführt.


Und danach mit:

Code:
mount -t nfs 192.168.178.29:/mnt /mnt/nfs-share

Versucht zu mounten. Es kam folgende Fehlermeldung:

Code:
mount.nfs: access denied by server while mounting 192.168.178.29:/mnt
 
OP
G

Gandalf333

Hacker
Auf dem Popcorn Hour läuft der NFS-Server.


Dort kann ich den server starten bzw. stoppen. Es laufen noch andere ftp, samba upnp, usenet client, myHome
Hoffe ich doch zumindest.



Kann ich das vom PC aus kontrollieren?

Derr Befehl nfswatch bringt folgendes:
Code:
 nfswatch        Sat Mar  5 23:16:50 2011   Elapsed time:   00:12:40
Interval packets:        43 (network)         22 (to host)          0 (dropped)
Total packets:         6044 (network)       2890 (to host)          0 (dropped)
                     Monitoring packets from interface eth0
                     int   pct    total                      int   pct    total
NFS3 Read              0    0%        0 TCP Packets           22  100%     2563
NFS3 Write             0    0%        0 UDP Packets            0    0%      320
NFS Read               0    0%        0 ICMP Packets           0    0%        0
NFS Write              0    0%        0 Routing Control        0    0%        0
NFS Mount              0    0%        0 Addr Resolution        0    0%        1
Port Mapper            0    0%        3 Rev Addr Resol         0    0%        0
RPC Authorization      0    0%        4 Ether/FDDI Bdcst       0    0%       59
Other RPC Packets      0    0%        0 Other Packets          0    0%        6
                                 0 client hosts
Client host          int   pct    total Client host          int   pct    total
 

spoensche

Moderator
Teammitglied
Ist der NFS- Server auf dem Popcorn gestartet? Die Freigabe hast du in der /etc/exports auf dem Popcorn eingetragen oder?

Wenn du die Freigabe in der /etc/exports auf deinem Rechner eingetragen hast kann das nicht funktionieren.
 
OP
G

Gandalf333

Hacker
Die Freigabe hast du in der /etc/exports auf dem Popcorn eingetragen oder?

Oh Gott, nein.

Weiß auch gar nicht wie das gehen soll.
Finde auf dem Popcorn keine Möglichkeit die exports-Datei zu bearbeiten.

HAbe diese Frage auch parallel im Popcorn-Forum gestellt. Leider bekomme ich nicht so tolle Unterstützung wie hier.


HAbe mir von dieser Seite: http://www.networkedmediatank.com/wiki/index.php/Connect_to_NFS_share
dieses angeschaut.
Könntest Du mir vielleicht noch einmal dabei helfen was ich tun soll?

Code:
Connect to NFS share
From NMTWiki
Jump to: navigation, search

Image:Yellowvsmall.jpg Medium difficulty requiring some technical skills, or some parts require more than basic knowledge.


This is a guide for mounting an NFS share on a Ubuntu/Debian Linux PC from an NMT device. It may work similar on other Linux distros too.


Procedure

If you don't have it installed already, open a terminal and download/install the NFS package. (You may use a package manager like Synaptic, Yum etc. too)

sudo apt-get install nfs-kernel-server

Next, we need to edit which folders we want to export to the network.

Open your exports file with your favorite editor: vim, nano, gedit etc:

nano /etc/exports

Edit which IP's you want to share which folders to.

E.g. if your NMT has the ip '192.168.0.100' and you want to share the folder '/mnt/movies' and '/home/user/pictures' with read only permissions do:

/mnt/movies 192.168.0.100(ro,sync,no_subtree_check)
/home/user/pictures 192.168.0.100(ro,sync,no_subtree_check)

If you want read/write access and want to share the folders to all computers on your network, do

/mnt/movies 192.168.0.0/24(rw,sync,no_subtree_check)
/home/user/pictures 192.168.0.0/24(rw,sync,no_subtree_check)

Remember to update the exports or restart the server:

exportfs -r
sudo /etc/init.d/nfs-kernel-server restart

If you have all your harddisks mounted to a single point you need to add options to the exports file.

E.g. if you have a structure like this:

/media <- sda
/media/xvid <- sdb
/media/x264 <- sdc

Then your exports file should contain this:

/media 192.168.0.100(ro,sync,no_subtree_check,fsid=0)
/media/xvid 192.168.0.100(ro,sync,no_subtree_check,nohide)
/media/x264 192.168.0.100(ro,sync,no_subtree_check,nohide)

Finally, simply add /media to the network shares on your NMT, and you can browse all harddisks through a single share.

This is very useful if you want to make a Jukebox with YAMJ and want to get the faster streaming from NFS.
 

spoensche

Moderator
Teammitglied
Uff. Danke erst mal für das Kompliment. Der Wikiartikel zielt darauf, eine NFS Freigabe, von einem anderen Server, auf dem Popcorn einzubinden.
Bevor wir hier jetzt weiter im Trüben fischen oder evtl. aneinnander vorbei reden, bitte ich dich mal einen Link zu den Daten etc. deines Popcorn hier zu posten.
 
OP
G

Gandalf333

Hacker
http://www.popcorn-hour.de/index.php?id=22

Code:
Kurzüberblick über die technischen Daten Popcorn Hour A110

Verbindungsmöglichkeiten:
Bonjour - UPnP SSDP - DLNA - Windows Media Connect - Windows Media Player NSS - SMB - NFS
HTTP-Server: myiHome, WizD, SwissCenter, MSP Portal - BitTorrent P2P
NAS Access: SMB, NFS, FTP

Webdienste:
Video: Google Video, MetaCafe, VideoCast, DL.TV, Cranky Geeks
Audio: iPodcast, Radiobox, ABC News, Jamendo
Photo: Flickr, Picasa
RSS-Feed: Yahoo!-Weather, Yahoo!-Traffic, Yahoo!-Stock, Cinecast, Traffic Conditions - SayaTV
Webradio: Shoutcast

Unterstützte Dateitypen/Codecs:
Video Container: MPEG1/2/4 (M1V, M2V, M4V) - MPEG1/2 PS (M2P, MPG) - MPEG2 Transport Stream (TS, TP, TRP, M2T, M2TS, MTS) - VOB, ISO, IFO (DVD mit Menüs) - AVI, ASF, WMV - Matroska (MKV) - MOV (H.264), MP4, RMP4
Video Codecs: XVID SD/HD - DivX 3/4/5/6 - MPEG-1 - MPEG-2 (MP@HL) - MPEG-4.2 (ASP@L5, 720p, 1-point GMC) - WMV9 (MP@HL) - H.264 (BP@L3, MP@L4.0, HP@L4.0, HP@L4.1) - VC-1 (MP@HL, AP@L3)
Audio Container: AAC, M4A - MPEG-Audio (MP1, MP2, MP3, MPA) - WAV - WMA
Audio-Codecs: WMA, WMA Pro - AAC - MP1, MP2, MP3 - LPCM - FLAC
Audio Passthrough: DTS & AC3, DTS-HD MA/HR, Dolby True HD, Dolby Digital Plus
Fotoformate: JPEG, BMP, PNG, GIF
Untertitel-Formate: SRT, SMI, SUB, SSA

Hardware & Technik:
Chipsatz: Sigma Designs SMP8635
Speicher: 256 MB DDR-SDRAM, 32 MB Flashmemory
Audio/Video outputs: HDMI 1.3 - Component Video - S-Video - Composite Video - Stereo analog - S/PDIF optisch
Interfaces: 2x USB 2.0 host - SATA
Netzwerk: Ethernet 10/100
Netzteil: 12 V DC, 3 A
Abmessungen: 270 mm x 132 mm x 32 mm
Gewicht: 1 kg
 

spoensche

Moderator
Teammitglied
Danke. Du machst jetzt folgendes:

1. Auf deinem Rechner, in der /etc/exports die Freigabe entfernen
2. Auf deinem Popcorn, per Webinterface eine NFS Freigabe einrichten
3. Die Freigabe auf deinem Rechner mounten (wie das geht, s.o.)
 
Oben