LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-22-2004, 09:12 PM   #1
ulaoulao
Member
 
Registered: Jul 2004
Posts: 36

Rep: Reputation: 15
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.

Last edited by ulaoulao; 08-22-2004 at 09:17 PM.
 
Old 08-22-2004, 09:48 PM   #2
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
Try substituting the BACKSLASH "\" for a SLASH "/"
 
Old 08-23-2004, 11:10 AM   #3
ulaoulao
Member
 
Registered: Jul 2004
Posts: 36

Original Poster
Rep: Reputation: 15
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:042: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:042: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.

Last edited by ulaoulao; 08-23-2004 at 05:50 PM.
 
Old 08-23-2004, 06:13 PM   #4
ulaoulao
Member
 
Registered: Jul 2004
Posts: 36

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPTables - Multiple Public IP's to private IP's matneyc Linux - Security 8 05-27-2005 12:23 PM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - General 1 06-19-2003 10:55 AM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - Software 0 06-19-2003 09:50 AM
Multiple IP's on the 1 NIC dicka_j Linux - Hardware 4 04-07-2003 11:49 PM
Multiple ip's problem cirrusgr Linux - Networking 7 11-12-2002 03:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration