[SOLVED] Can't mount nfs cifs shares, ports closed from outside

Started by G_P, January 09, 2014, 09:39:26 PM

Previous topic - Next topic

G_P

For Debian, any hints?

1. nfs and cifs mount fails
Quote#mount 192.168.1.2:/media/Elements /media/Elements
mount: wrong fs type, bad option, bad superblock on 192.168.1.2:/media/Elements,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Quote# cat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM
192.168.1.2:/media/Elements /media/Elements nfs defaults 0 0
gives the same

Similar result with cifs

Mounting of attached fat32 USB stick works fine.


2. Second problem- I installed mpd, but port 6600 is closed for outside client, while open on localhost. There was no iptables, I installed and opened 6600 port- no luck
Quoteiptables -I INPUT -p tcp --dport 6600 -j ACCEPT
iptables-save


G_P

Quote from: G_P on January 09, 2014, 09:39:26 PM
1. nfs and cifs mount fails
for nfs mounting (client) package needs to be installed (credit to http://www.debianhelp.co.uk/nfs.htm):

# apt-get install nfs-common portmap


G_P

Quote from: G_P on January 09, 2014, 09:39:26 PM
2. Second problem- I installed mpd, but port 6600 is closed for outside client, while open on localhost. There was no iptables, I installed and opened 6600 port- no luck
Quoteiptables -I INPUT -p tcp --dport 6600 -j ACCEPT
iptables-save
SOLVED, I had mpd.conf limiting to localhost works fine from external with
bind_to_address         "0.0.0.0"


Now its' time to 'listen' to this board via USB DAC and compare to RPi (which definetelly has bad jitter via USB)