Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-22-2004, 11:52 AM   #1
Registered: Mar 2003
Distribution: CentOS 5.2
Posts: 43

Rep: Reputation: 15
SuSE 9.1 Pro, Static IP setup and SAMBA issues

Ok, I am having a few issues with getting SAMBA running when I configure my system with a static IP address. First off, if I set the system up with a dynamic IP address, I am able to browse SAMBA network shares through Konqueror, and windows systems are able to connect to my machine. However, I tried through YaST to set it up with a Static IP, and all of a sudden, nothing works for SAMBA anymore.

The box is behind a router, and I had the system configured in the following way:

IP =
Subnet =
Gateway =
DNS1 = an IP address
DNS2 = another IP address
DNS3 = a third IP address

In that configuration, my box can access the internet, but I am no longer able to browse SAMBA shares through Konqueror and other systems can't connect to me anymore. Where might the issue be? I am kinda stumped here.
Old 07-22-2004, 06:45 PM   #2
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
can systems "ping" each other ?
are the subnet masks and IP addresses ok ?
is samba running ?
is samba running on the correct interface ?
can you reach other PC with "smbclient" ?
Old 07-22-2004, 06:58 PM   #3
Registered: Mar 2003
Distribution: CentOS 5.2
Posts: 43

Original Poster
Rep: Reputation: 15
I'm not at the system right now, but I'll point out what I can remember.

- I was able to ping the IP addres, and that system was able to ping other IP addresses on the network
- The subnet masking was an issue. Although I had configured it in YaST to be, ifconfig saw it as That issue was temporarily resolved with ifconfig eth0 up netmask
- Samba was always running, and did work up until I decided to take the system off of DHCP and configure it a static IP
- The system was able to access the internet, regardless of the subnet mask difference
- While in DHCP, other systems were able to connect to the SAMBA server, including printing from the shared printer
- With the subnet mask problem, other users were only able to connect to the machine via the IP address. The netbios name was unusable
- With the subnet mask problem, the system couldn't see or connect to any other systems using a netbios name. IP connections weren't attempted
- All connections were tested in Konqueror using smb:/ in the address bar
- With the correct subnet mask, the system was able to browse the workgroup through Konqueror properly
- With the correct subnet mask, I still couldn't get the system viewable in the workgroup from other systems, nor could I connect to it yet via the netbios name

I'll fire up the /etc/samba/smb.conf file contents here so you can see if there are any issues with it at all. If there is any other information you need necessary to help resolve the issue, let me know, but I won't be able to get back to you till tomorrow morning (GMT -7)

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-06-03
   workgroup = AVANCO1
   printing = cups
   printcap name = cups
   printcap cache time = 750
   cups options = raw
   printer admin = @ntadmin, root, administrator
   username map = /etc/samba/smbusers
   map to guest = Bad User
   logon path = \\%L\profiles\.msprofile
   logon drive = P:
   logon home = \\%L\%U\.9xprofile
   security = user
   encrypt passwords = yes
   passdb backend = smbpasswd
   server string = Innervision Server
   netbios name = innermed
   add machine script =
   domain master = false
   domain logons = no
   local master = no
   preferred master = auto
   ldap suffix = dc=example,dc=com
   comment = Home Directories
   valid users = %S
   browseable = no
   read only = no
   inherit permissions = Yes
   guest ok = no
   printable = no
   comment = Network Profiles Service
   path = %H
   read only = No
   store dos attributes = Yes
   create mask = 0600
   directory mask = 0700
   browseable = yes
   guest ok = yes
   printable = no
   comment = All users
   path = /home
   read only = No
   inherit permissions = Yes
   veto files = /aquota.user/groups/shares/
   browseable = yes
   guest ok = no
   printable = no
   comment = PDF creator
   path = /var/tmp
   printable = yes
   print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
   create mask = 0600
   browseable = yes
   guest ok = yes
   comment = All Printers
   path = /var/tmp
   printable = yes
   create mask = 0600
   browseable = no
   guest ok = yes
   comment = Printer Drivers
   path = /var/lib/samba/drivers
   write list = @ntadmin root
   force group = ntadmin
   create mask = 0664
   directory mask = 0775
   browseable = yes
   guest ok = yes
   printable = no
   comment = Non Failsafe Storage
   path = /storage/non_raid
   browseable = yes
   read only = no
   guest ok = yes
   printable = no


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
Issues with SuSE 9.2 Pro Installation Hambone_20003 Linux - Newbie 8 02-14-2005 06:40 PM
SuSE 9.0 and 9.2 Static IP Setup ? frank-01 Linux - Networking 5 01-01-2005 06:28 PM
suse and static ip setup? caperneoignis Linux - Networking 1 07-27-2004 11:23 AM
SuSE 8.1 Pro issues... DaddyDawg Linux - Newbie 5 03-26-2003 10:46 AM
Suse 8.0 Pro issues glen4cindy Linux - General 3 10-15-2002 12:11 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:41 AM.

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