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 12-07-2000, 11:20 PM   #1
jammer
LQ Newbie
 
Registered: Dec 2000
Posts: 1

Rep: Reputation: 0
Angry


Greets,
I'm trying to setup a network using Linux mandrake 7.2 (I assume that's the ext. of the redhat core, 6.0?) anyway
I'm using Samba to try to integrate my windows machine(s) to log in, but they refuse, I've setup smb.conf respectively to where it looks like it should log on, and I've created the profiles correctly (or... I think I have?) and I don't know what to do now...
I can use the ping command in the terminal to ping the other computers on the network.. but I can't ping them by their hostnames (for example, I called a computer 'comp1' and assigned it an ip address under windows, but I can't pi ng 'comp1' via the terminal, only it's ip address)
does that affect the domain that I tell windows to log on to when it asks for one? Can anyone provide further assistance with ANY information? please?
I know samba is started... or sure... I use "/usr/sbin/smbd -D" and "/usr/sbin/nmbd -D"
(just for kicks, I've also tried the # before the commands too)
Any help is greatly appreciated
Thank you ahead of time
-Jammer
 
Old 08-14-2003, 03:44 PM   #2
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
Could you post your smb.conf file?
 
Old 08-14-2003, 03:52 PM   #3
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
Also, to help with the pinging, post your /etc/hosts file.

If you want, I have URLs to some excellent sites to help w/ Samba config too, or you could just keep posting in here, I'll be glad to help.
 
Old 08-14-2003, 03:53 PM   #4
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
Oh wait, this thread looks ancient. Doubt we'll get any response jdruin
 
Old 08-15-2003, 07:47 AM   #5
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
oops...lol
 
Old 08-15-2003, 07:50 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
Originally posted by jdruin
Could you post your smb.conf file?
What on earth possesed you to respond to this thread?

Just curious, but normally, by dragging up old threads it's for a question, not a response.

And since this is likely to get some more responses, I'll be moving it the Networking Section...

Cool
 
Old 08-15-2003, 04:59 PM   #7
zeppelin
Member
 
Registered: Apr 2003
Location: Athens, Greece
Distribution: Arch
Posts: 182

Rep: Reputation: 30
oh! Sad cause I am stupid too! [so n00b in networks]

I just renamed smb.conf-exapmple in smb.conf (and change the workgroup to WORKGROUP and the IP and gateway for my eth0) and I have also SAMBA enabled (in SLACK 9.0) and I can't ping from one computer to another.. (i have 2 computers trying to connect)
one is running Slack 9.0 and the other is running win2k.
note i have testet those PCs via win2k_2_win2k lan (and it worked)

when I try to ping i get -1!

what else should I change in smb.conf (is there a standar one I wanna connect in a pc with win2kpro (pro means blaster btw)
 
Old 08-15-2003, 05:07 PM   #8
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
Pinging doesn't have anything to do w/ samba or smb.conf.
Are you trying to ping with a hostname or an IP?

If you are using hostnames, you will need to edit your /etc/hosts file to tell your computer the IP address for the specified hostname.
 
Old 08-16-2003, 08:04 AM   #9
zeppelin
Member
 
Registered: Apr 2003
Location: Athens, Greece
Distribution: Arch
Posts: 182

Rep: Reputation: 30
well ok. Something is not going well w/ eth0 and linux, cause ifconfig (simple) only sees loopback and ppp0 (if connected to the net).
I should re-run (cause I 'm sure it runs while booting) /etc/rc.d/rc.inet1.
If I re-run it I then have eth0.. (strange)
after having eth0 seen in ifconfig then I should somehow be sure that SAMBA is working. I tried testparm! (well well). says ok and says also a lot of things (after!) well is they any ready smb.conf for win2k?
let's say I 've got smb.conf ok, now I can do
SMB:// (and I should expect sth similar with windows' computers near me (in network places or not?)
extra n00b.. (sorry)
 
Old 08-18-2003, 09:32 AM   #10
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
Have you created a local account on the linux box for the username you are trying to use to login with? And does this user have a samba password?
 
Old 08-18-2003, 02:43 PM   #11
zeppelin
Member
 
Registered: Apr 2003
Location: Athens, Greece
Distribution: Arch
Posts: 182

Rep: Reputation: 30
i managed to test that linux sees the lan.. (i was able to ping the other computer)
now I should first read smb.conf and man smb.conf (i understand that this is the only way, cause I don't see anyone saying or giving a default smb.conf for win2kpro)
Thanks soro(_)dos and others.

Last edited by zeppelin; 08-18-2003 at 03:10 PM.
 
Old 08-18-2003, 05:00 PM   #12
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
Here, check these sites, they really helped me set up Samba.
http://networking.earthweb.com/netos...le.php/1144701
http://networking.earthweb.com/netos...le.php/1151091
http://static.kdenews.org/content/si...rier/20030610/

They are all really good.

Also, most samba installations come with a default, barebones smb.conf. Check your /etc folder for it.

Last edited by sorrodos; 08-18-2003 at 05:17 PM.
 
  


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
Stupid, stupid question; I lost Klaptop. :( Surfrider Slackware 2 08-31-2005 09:12 PM
stupid networking question thick_guy_9 Slackware 3 07-06-2005 08:11 PM
Stupid Dumb Stupid Question... drigz Linux - Software 3 09-23-2004 03:09 PM
Random Networking to Non-Networking o-o Ne0BDP Slackware 3 07-08-2004 01:18 AM
stupid stupid newb ? what to use instead of xconfigurator h00ligan Fedora 3 01-25-2004 09:51 PM

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

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