samba using multiple ip's
I have eth0 using DHCP, and i added eth0:0 192.168.0.19 for local sharring. For what ever reason if I add :
"interfaces = 192.168.0.19" or "interfaces = 192.168.0.19\24" or "interfaces = 192.168.0.19\255.255.255.0" it fails. I also tried: interfaces = 192.168.0.19 x.x.x.x(my ip) and it crashed my debian system. do I need to do somthing special for a second ip instead of a second nic, when editing my smb.conf file? also How would you set up a wins server in the smb.con. |
Try substituting the BACKSLASH "\" for a SLASH "/"
|
hmm not sure what I tried now. but thx,,,
syntax interfaces = 192.168.0.19/24 I can connect to my linux box from any computer. But my linux box cant connect to any computer name or ip, even its self. Iknow this is the correct ip, I just feel it has something to do with the eth0:0 for sula ip's on one nic. xanux:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:50:04:D2:4F:60 inet addr:65.33.*.* Bcast:255.255.255.255 Mask:255.255.248.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:24896 errors:0 dropped:0 overruns:0 frame:0 TX packets:1772 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1534475 (1.4 MiB) TX bytes:326073 (318.4 KiB) Interrupt:10 Base address:0xe800 eth0:0 Link encap:Ethernet HWaddr 00:50:04:D2:4F:60 inet addr:192.168.0.19 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xe800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:256 errors:0 dropped:0 overruns:0 frame:0 TX packets:256 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:66296 (64.7 KiB) TX bytes:66296 (64.7 KiB) xanux:~# smb.conf [global] workgroup=@home interfaces = 192.168.0.19/24 server string=%h (Xandros Desktop) dns proxy=no name resolve order=lmhosts wins bcast host log file=/var/log/samba/log.%m max log size=1000 syslog=0 panic action=/usr/share/samba/panic-action %d security=SHARE encrypt passwords=true passdb backend=tdbsam guest obey pam restrictions=yes invalid users=root map to guest=Bad User passwd program=/usr/bin/passwd %u passwd chat=*Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n \n . client use spnego=no load printers=no printing=cups is this correct for wins? wins support = true local master = yes preferred master = yes domain master = yes or do I not need all of that. |
looks like this is what i'm tring
http://forums1.itrc.hp.com/service/f...hreadId=118265 the only differance is they use eth0:1, I guess ill give that a try. |
All times are GMT -5. The time now is 06:16 PM. |