LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-17-2003, 08:07 PM   #16
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893

Look at the log files /var/log/samba.

I don't think nbmd will start without networking up.
 
Old 06-18-2003, 06:11 AM   #17
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Original Poster
Rep: Reputation: 15
Output of var/log/samba/log.nmbd

[2003/06/18 13:11:04, 0] nmbd/nmbd.c:main(794)
Netbios nameserver version 2.2.7a started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2003/06/18 13:11:04, 0] nmbd/nmbd.c:main(826)
standard input is not a socket, assuming -D option
[2003/06/18 13:11:04, 0] nmbd/nmbd_subnetdb.c:create_subnets(239)
create_subnets: No local interfaces !
[2003/06/18 13:11:04, 0] nmbd/nmbd.c:main(872)
ERROR: Failed when creating subnet lists. Exiting.


what do I do?
 
Old 06-18-2003, 06:17 AM   #18
cmoloney
Member
 
Registered: May 2003
Distribution: RedHat 8.0
Posts: 30

Rep: Reputation: 15
Dunno, but it seems you are one of a number (I'm another) having a devil of a time with samba. The common denominator seems to be we're all trying (unsuccessfully) to run it from RH9.
I wonder is there anyone who has it going on RH9????

I wonder if there's any one from RedHat willing to step up & tell us what's going on?
 
Old 06-18-2003, 06:20 AM   #19
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Original Poster
Rep: Reputation: 15
so, you think it's RedHat???

I'm not so sure myself... Personally, I blame only myself for not knowing even the basics of networking...

But it seems so much to read, and all I wanted was to exchange files with my win98 computer which was done by 5 clicks when this one was also a win98...
 
Old 06-18-2003, 08:39 AM   #20
ikw38
Member
 
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Rep: Reputation: 30
One thing about it you have nothing to lose by trying the last tutorial- I mean really when it comes to Linux if you have RH- MDK- or SuSE the RPM's normally work, second the therory is the same just that might be slight directory changes you need to pay attention too. Thirdly if you don't try you stay where you are..
And that would be like the Texas Rangers-opps STRANGERS.
Good Luck,
 
Old 06-18-2003, 09:04 AM   #21
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
Like I said in an earlier post with no IP address for eth0 nmb will not start.

I do believe its your adsl setup.

Do this:
ifconfig eth0:1 <ipaddr> netmask <netmask> up

Then start samba
 
Old 06-18-2003, 09:09 AM   #22
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Original Poster
Rep: Reputation: 15
thanks, mate! It works now!!! so, what's next? or should the computers be able to see each other now?
 
Old 06-18-2003, 04:07 PM   #23
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
You should be able to see the linux PC in network neighboorhood but it might take awhile for windows to update. If it doesn't try using the find computer on the start menu or in a DOS prompt box try the command,

net view

The user you added to smbpasswd should be the same as the username you log on to with windows. You should be able to see the home directory of the username when you click on the linux box in network neighboorhood. You can drag and drop files or use windows explorer to connect the drive.


As a side note you need to change the startup script to add configuring the eth0:1
 
Old 06-25-2003, 11:19 AM   #24
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Original Poster
Rep: Reputation: 15
Hi again! I'm back from the country where I was spending midsummers...

I tried to do everything as you said, and it won't work!!!
If I run
ifconfig eth0:1 192.168.0.1 netmask 255.255.255.0 up

it gives me an error message, which I will try to translate into english:
SIOCSIFADDR: File exists
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFNETMASK: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address


however, nmbd and smbd started up smoothly, so I figured everything would be ok, but the computers won't find each other, and I can't ping between them... what to do?
 
Old 06-26-2003, 12:08 PM   #25
ziggamon
Member
 
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123

Original Poster
Rep: Reputation: 15
I think I'll post my smb.conf here too, in case it helps...

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2003/06/17 21:43:11

# Global parameters
[global]
workgroup = mygroup
netbios name = linuxburken
server string = samba server
security = SHARE
encrypt passwords = yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
guest ok = yes
guest account = root
printing = cups

[homes]
comment = Home Directories
path = /home/zigzag
writeable = yes
create mask = 0664
directory mask = 0775
guest ok = Yes

[test]
comment = Test share
path = /tmp
writeable = yes
guest ok = yes

if you are wondering why I have guest account set to root, it is so that any computer connecting to me gets full root access...
I'm not going to connect this to a larger network, I only want to be able to exchange files easily between my two computers...
 
  


Reply



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
hosts probs on Samba, K_smolka Linux - Newbie 3 05-09-2005 06:56 PM
probs with samba bolbort Linux - Networking 1 01-29-2004 12:12 PM
Samba 2.28+W2K Probs Klaus69 Linux - Networking 2 08-20-2003 06:12 AM
RedHat 9.0 and Samba mount probs.............. Mike_Toth Linux - General 7 08-12-2003 10:52 AM
Samba probs Nerd2 Linux - Networking 6 04-17-2003 04:57 PM

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

All times are GMT -5. The time now is 06:05 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