luchino1976
18-04-2008, 20:11
Salve a tutti. Ho installato Samba:D :D :D finalmente sono riuscito a configurare smb.conf. tranne un piccolo particolare: l'IP di Windows è 192.168.1.245 mentre quello di Ubuntu è 192.168.100.1, posto ifconfig:
luca@luca-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:19:66:4D:B1:FD
inet6 addr: fe80::219:66ff:fe4d:b1fd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1799 errors:0 dropped:0 overruns:0 frame:0
TX packets:1753 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1625759 (1.5 MB) TX bytes:430116 (420.0 KB)
Interrupt:20 Base address:0xd000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2750 (2.6 KB) TX bytes:2750 (2.6 KB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:87.3.200.10 P-t-P:192.168.100.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:1722 errors:0 dropped:0 overruns:0 frame:0
TX packets:1714 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1582405 (1.5 MB) TX bytes:390866 (381.7 KB)
luca@luca-desktop:~$
Quindi faccio sudo ifconfig eth0 192.168.1.244 up ed ovviamente cambia in questo:
eth0 Link encap:Ethernet HWaddr 00:19:66:4D:B1:FD
inet addr:192.168.1.244 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:66ff:fe4d:b1fd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1834 errors:0 dropped:0 overruns:0 frame:0
TX packets:1808 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1629974 (1.5 MB) TX bytes:438678 (428.3 KB)
Interrupt:20 Base address:0xd000
A questo punto samba funziona a meraviglia. Il problema nasce quando riavvio il pc con ubuntu perchè l'IP torna ad essere il primo. Qualcuno ha un suggerimento???:( :( :(
luca@luca-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:19:66:4D:B1:FD
inet6 addr: fe80::219:66ff:fe4d:b1fd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1799 errors:0 dropped:0 overruns:0 frame:0
TX packets:1753 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1625759 (1.5 MB) TX bytes:430116 (420.0 KB)
Interrupt:20 Base address:0xd000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2750 (2.6 KB) TX bytes:2750 (2.6 KB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:87.3.200.10 P-t-P:192.168.100.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:1722 errors:0 dropped:0 overruns:0 frame:0
TX packets:1714 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1582405 (1.5 MB) TX bytes:390866 (381.7 KB)
luca@luca-desktop:~$
Quindi faccio sudo ifconfig eth0 192.168.1.244 up ed ovviamente cambia in questo:
eth0 Link encap:Ethernet HWaddr 00:19:66:4D:B1:FD
inet addr:192.168.1.244 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:66ff:fe4d:b1fd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1834 errors:0 dropped:0 overruns:0 frame:0
TX packets:1808 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1629974 (1.5 MB) TX bytes:438678 (428.3 KB)
Interrupt:20 Base address:0xd000
A questo punto samba funziona a meraviglia. Il problema nasce quando riavvio il pc con ubuntu perchè l'IP torna ad essere il primo. Qualcuno ha un suggerimento???:( :( :(