NFS e Fastweb ?

A casa ho Fastweb che mi funziona discretamente; volevo installare NFS ma dopo svariati tentativi ancora non ce l’ho fatta.

Prima domanda : si può fare ?
“Googlando” mi sembra che sia possibile, ma ho il dubbio che la mia configurazione sia sbagliata:
ho il Desktop cablato direttamente sull’Hag , ed i vari laptop via wifi con l’Ap collegato all’Hag (vedi 1).
Ho il dubbio che io debba collegare interponendo un router con l’ HAG (vedi 2) ------------> http://www.paolodepoli.it/ReteNFS.png

Ho cercato di seguire tra le altre la guida http://docs.fedoraproject.org/en-US/Fedora/14/html/Storage_Administration_Guide/ch-nfs.html
con il risultato che ora il collegamento WIFI ad Internet non funziona con i Computer ( tramite telefonino è OK ) per cui ora posso collegarmi solo con il desktop.

[code][pdp@desktop-i7 ~]$ iwconfig
lo no wireless extensions.

virbr0-nic no wireless extensions.

virbr0 no wireless extensions.

p5p1 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
[/code]
Il menu pull-down della Rete nella task bar mostra in ON sia VIA CAVO che WIRELESS (con iconcina della mia rete wifi collegata)
ma mi ripete di continuo la richiesta di autenticazione wifi.
Quindi…
Seconda domanda: mi è difficile ricostruire le operazioni fatte e mi serve una mano a shoottare il problema, pardon, a risolverelo.
Mi date una mano con i comandi per le necessarie verifiche ?

ci fai vedere:

# ifconfig

del desktop ?

[code][pdp@desktop-i7 ~]$ ifconfig <-------con connessione wifi OFF
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 16 bytes 1080 (1.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16 bytes 1080 (1.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

p5p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.207.225.26 netmask 255.255.248.0 broadcast 10.207.231.255
inet6 fe80::beae:c5ff:fe7c:69ae prefixlen 64 scopeid 0x20
ether bc:ae:c5:7c:69:ae txqueuelen 1000 (Ethernet)
RX packets 11164 bytes 12774256 (12.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8269 bytes 1734152 (1.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:57:95:f2 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[pdp@desktop-i7 ~]$ ifconfig <------------ wifi ON in connessione
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 16 bytes 1080 (1.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16 bytes 1080 (1.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

p5p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.207.225.26 netmask 255.255.248.0 broadcast 10.207.231.255
inet6 fe80::beae:c5ff:fe7c:69ae prefixlen 64 scopeid 0x20
ether bc:ae:c5:7c:69:ae txqueuelen 1000 (Ethernet)
RX packets 11197 bytes 12791511 (12.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8297 bytes 1744515 (1.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:57:95:f2 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::222:15ff:feec:916f prefixlen 64 scopeid 0x20
ether 00:22:15:ec:91:6f txqueuelen 1000 (Ethernet)
RX packets 6 bytes 575 (575.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7 bytes 1069 (1.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[pdp@desktop-i7 ~]$ ifconfig <---------- Via cavo ON, WIFI ON, rete WiFi con icona tx “piena”
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 40 bytes 2760 (2.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 40 bytes 2760 (2.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

p5p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.207.225.26 netmask 255.255.248.0 broadcast 10.207.231.255
inet6 fe80::beae:c5ff:fe7c:69ae prefixlen 64 scopeid 0x20
ether bc:ae:c5:7c:69:ae txqueuelen 1000 (Ethernet)
RX packets 11485 bytes 12916196 (12.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8568 bytes 1789134 (1.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:57:95:f2 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet6 fe80::222:15ff:feec:916f prefixlen 64 scopeid 0x20
ether 00:22:15:ec:91:6f txqueuelen 1000 (Ethernet)
RX packets 93 bytes 7676 (7.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 54 bytes 10452 (10.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[/code]

la wireless sul desktop funziona ?
ha, stranamente, un ip ipv6.

Eh non funziona , le scritte e le icone dicono di si, ma continua a chiedere la password wifi (viene immessa in automatico, è corretta).
Nelle impostazioni della rete wifi Richiedere indirizzo ipv4 per completare questa connessione è flagged, è corretto o significa qualcosa?

Con Fastweb, hai a disposizione 3 indirizzi IP per collegarti ad internet. Per poter accedere ad internet con più dispositivi contemporaneamente hai bisogno di collegare in cascata un router.

Io ho avuto una brutta esperienza con l’hag di fastweb e la rete domestica …:wink:

Ho fastweb, ma non ho problemi a collegare più di tre apparechi in contemporanea,
normalmente ho su internet un desktop via cavo due laptop in wifi e almeno due telefoni,
e l’indirizzo ipv6 compare su tutte le macchine.

Lasciamo perdere per ora la questione Fastweb. Nel frattempo sono riuscito a collegarmi wifi dal thinkpad, dopo aver disinstallato NFS secondo queste indicazioni trovate su http://www.cyberciti.biz/faq/centos-redhat-rhel-fedora-remove-nfs-services/ [code]You can easily disable NFS, which is a commonly used for sharing data and files between machines. However, its use opens many potential security holes. If NFS is not needed, improve the security by removing and disabling NFS. Open a command-line terminal (select Applications > Accessories > Terminal), and then type:

chkconfig nfslock off

chkconfig rpcgssd off

chkconfig rpcidmapd off

chkconfig portmap off

chkconfig nfs off

Delete nfs-utils and portmap packages using the yum command:

yum remove portmap nfs-utils[/code]

Speranzoso ho fatto lo stesso sul desktop , ma nisba , entrambe le connessioni “Via cavo” e “Wireless” sono in ON, ma se metto in off la Via_cavo (per essere sicuro di usare il wifi) non si naviga (Impossibile contattare il server),
Se riavvio la connessione … aspetta !!! sono riuscito a connettermi … ma solo per qualche secondo, poi chiede e richiede la pword … e siamo a capo.
Ho seguito le indicazioni dihttp://fedoramobile.org/Members/MrHappy/troubleshooting lanciando i comandi indicati, ma poi? Allego un file con l’output di dmesg (tolte le tantissime righe ripetute contenenti “hub 1-1.2:1.0: hub_port_status failed (err = -71)” per vedere se qualcuno riesce a venirne a capo.

2060.913860] hub 1-1.2:1.0: hub_port_status failed (err = -71) ......................... idem ............ 2501.465264] hub 1-1.2:1.0: hub_port_status failed (err = -71) 2503.272556] gnome-shell[1633]: segfault at 58 ip 00000039d0e3a2ef sp 00007fff13276c40 error 4 in libgnome-shell.so[39d0e00000+98000] 2503.471484] hub 1-1.2:1.0: hub_port_status failed (err = -71) ................................. 3140.224054] hub 1-1.2:1.0: hub_port_status failed (err = -71) 3141.323737] b43-phy0: Loading OpenSource firmware version 410.31754 3141.323744] b43-phy0: Hardware crypto acceleration not supported by firmware 3141.381436] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready 3142.230370] hub 1-1.2:1.0: hub_port_status failed (err = -71) ...................................... 3142.242734] hub 1-1.2:1.0: hub_port_status failed (err = -71) 3143.211942] wlan0: authenticate with 00:1f:33:24:21:7a 3143.220836] wlan0: send auth to 00:1f:33:24:21:7a (try 1/3) 3143.223689] wlan0: authenticated 3143.224524] wlan0: associate with 00:1f:33:24:21:7a (try 1/3) 3143.227871] wlan0: RX AssocResp from 00:1f:33:24:21:7a (capab=0x431 status=0 aid=13) 3143.228282] wlan0: associated 3143.230319] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready 3144.249050] hub 1-1.2:1.0: hub_port_status failed (err = -71) ........................................... 3188.132988] hub 1-1.2:1.0: hub_port_status failed (err = -71) 3188.483453] wlan0: deauthenticating from 00:1f:33:24:21:7a by local choice (reason=3) 3188.517364] cfg80211: Calling CRDA to update world regulatory domain 3188.518640] cfg80211: World regulatory domain updated: 3188.518642] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) 3188.518643] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 3188.518644] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) 3188.518645] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) 3188.518645] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 3188.518646] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 3188.518733] cfg80211: Calling CRDA for country: IT 3188.519913] cfg80211: Regulatory domain changed to country: IT 3188.519916] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) 3188.519919] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) 3188.519921] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm) 3188.519923] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm) 3188.519925] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm) 3190.139305] hub 1-1.2:1.0: hub_port_status failed (err = -71) ......................................... 3190.151670] hub 1-1.2:1.0: hub_port_status failed (err = -71) 3190.662232] IRQ 19 might be stuck. Polling 3192.158111] hub 1-1.2:1.0: hub_port_status failed (err = -71) ...................................................... 3192.170476] hub 1-1.2:1.0: hub_port_status failed (err = -71) 3192.184190] wlan0: authenticate with 00:1f:33:24:21:7a 3192.193169] wlan0: send auth to 00:1f:33:24:21:7a (try 1/3) 3192.393711] wlan0: send auth to 00:1f:33:24:21:7a (try 2/3) 3192.594561] wlan0: send auth to 00:1f:33:24:21:7a (try 3/3) 3192.795456] wlan0: authentication with 00:1f:33:24:21:7a timed out 3194.176792] hub 1-1.2:1.0: hub_port_status failed (err = -71) ....................................................... 3406.011960] hub 1-1.2:1.0: hub_port_status failed (err = -71)

Riprendo dopo un po’ la questione. Rimane ancora il problema del collegamento WiFi per il desktop-i7
(le altre macchine si collegano senza problemi - almeno fino ad adesso), ma per ora poco importa avendolo connesso via cavo.
Ho interposto un router linksys tra l’ HAG FW ed il desktop ed ora riesco finalmente a navigare con cinque (desktop, thinkpad, aspire one, eeebox , sony Xperia U) o più dispositivi, cosa prima non fattibile.
Ora vorrei risolvere il problema iniziale: NFS.
Vi indico cosa ho fatto; sul server (desktop-i7) ho modificato i file di configurazione e seguendo le indicazioni contenute in http://nfs.sourceforge.net/nfs-howto/ar01s03.html dopo il reboot ecco cosa ottengo: [code][pdp@desktop-i7 ~]
[root@desktop-i7 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.1 router
192.168.1.100 desktop-i7
192.168.1.101 thinkpad
192.168.1.103 eeebox
192.168.1.102 aspirone

[root@desktop-i7 ~]# cat /etc/hosts.deny
portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL

[root@desktop-i7 ~]# cat /etc/hosts.allow
portmap:192.168.1.105 , 192.168.1.101 , 192.168.1.102 , 192.168.1.103 , 192.168.1.104 , 192.168.1.100
lockd:192.168.1.105 , 192.168.1.101 , 192.168.1.102 , 192.168.1.103 , 192.168.1.104 , 192.168.1.100
rquotad:192.168.1.105 , 192.168.1.101 , 192.168.1.102 , 192.168.1.103 , 192.168.1.104 , 192.168.1.100
mountd:192.168.1.105 , 192.168.1.101 , 192.168.1.102 , 192.168.1.103 , 192.168.1.104 , 192.168.1.100
statd:192.168.1.105 , 192.168.1.101 , 192.168.1.102 , 192.168.1.103 , 192.168.1.104 , 192.168.1.100

[root@desktop-i7 ~]# cat /etc/exports
/ thinkpad(rw,sync,no_root_squash,no_subtree_check) aspirone(ro) eeebox(ro)

[root@desktop-i7 ~]# ps aux|grep portmap
root 6643 0.0 0.0 109416 876 pts/0 S+ 08:59 0:00 grep --color=auto portmap

[root@desktop-i7 ~]# ps aux|grep rpc.nfsd
root 6646 0.0 0.0 109416 876 pts/0 S+ 09:00 0:00 grep --color=auto rpc.nfsd

[root@desktop-i7 ~]# ps aux|grep rpc.lockd
root 6655 0.0 0.0 109416 876 pts/0 S+ 09:00 0:00 grep --color=auto rpc.lockd

[root@desktop-i7 ~]# ps aux|grep rpc.statd
rpcuser 1111 0.0 0.0 23532 1384 ? Ss 07:42 0:00 /sbin/rpc.statd
root 6658 0.0 0.0 109420 880 pts/0 S+ 09:00 0:00 grep --color=auto rpc.statd

[root@desktop-i7 ~]# ps aux|grep rpc.mountd
root 6688 0.0 0.0 109416 880 pts/0 S+ 09:01 0:00 grep --color=auto rpc.mountd

[root@desktop-i7 ~]# ps aux|grep rpc.rquotad
root 6693 0.0 0.0 109416 884 pts/0 S+ 09:01 0:00 grep --color=auto rpc.rquotad

[root@desktop-i7 ~]# rpcinfo quota
rpcinfo: can’t contact rpcbind: RPC: (unknown error code)
[/code]

perché l’ultimo errore ?
NFS sembra in esecuzione:

[root@desktop-i7 ~]# rpcinfo -p program vers proto port service 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 55147 status 100024 1 tcp 46043 status 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100227 2 tcp 2049 nfs_acl 100227 3 tcp 2049 nfs_acl 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 4 udp 2049 nfs 100227 2 udp 2049 nfs_acl 100227 3 udp 2049 nfs_acl 100021 1 udp 54502 nlockmgr 100021 3 udp 54502 nlockmgr 100021 4 udp 54502 nlockmgr 100021 1 tcp 59821 nlockmgr 100021 3 tcp 59821 nlockmgr 100021 4 tcp 59821 nlockmgr 100005 1 udp 20048 mountd 100005 1 tcp 20048 mountd 100005 2 udp 20048 mountd 100011 1 udp 875 rquotad 100011 2 udp 875 rquotad 100011 1 tcp 875 rquotad 100011 2 tcp 875 rquotad 100005 2 tcp 20048 mountd 100005 3 udp 20048 mountd 100005 3 tcp 20048 mountd

Suggerisco la guida
http://fedoraproject.org/wiki/Administration_Guide_Draft/NFS

Mi rifaccio vivo dopo un po’.
Caterpillar grazie, anche se in ritardo, per il suggerimento, ma ad onor del vero quella guida l’avevo anche usata, ma …con i risultati di cui sopra.
Nel frattempo mi sono scornato un po’ con il Print Server ed alla fine posso stampare da tutte le macchine connesse sulla printer usb collegata al PC desktop (cambiato nome da desktop-i7, avendo letto da qualche parte che il trattino poteva dare fastidio).

Resta sempre il problema NFS, ma prima di proseguire vorrei chiedere:
avendo un desktop con 500 GB per il sistema, 2x2 TB in RAID1, 2x 1TB usb etc se in /etc/exports come directory metto tutto (cioè / , voglio poter accedere a tutti i dischi) cosa mi posso aspettare in termini di performance, cioè quanto può presumibilmente durare l’operazione di mount ? secondi, minuti, quarti d’ora…?
Se si tratta di qualche minuto ok, altrimenti forse è meglio soprassedere.

A me pare di aver seguito a puntino le istruzioni, ma il terminale del client al comando di mount si blocca, anche se il resto del computer continua a funzionare.
Ho aspettato ore, ho anche lasciato acceso il client overnight, ma…niente… ed Il quadro non cambia anche exportando solo una directory di piccole dimensoni.
Sto andando in Tilt, avrò sicuramente fatto qualche casino, forse manca qualcosa di banalmente stupido, ma non mi arrendo, dopotutto loro sono solo cervelli elettronici, io lo sono biologico!

Per la condivisione di una stampante ti consiglio altamente di adottare il seguente metodo
http://forum.fedoraonline.it/viewtopic.php?pid=186299#p186299