Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That's me in a nutshell. I'm a computer tech, I'm fairly knowledgable in M$ land, but not in Linux. However, late at night, something possessed me and I installed Mandrake Linux 9.1 on my box. Love it. I mean that. I've cuddled with it, fooled around a little, but now...now I wanna go all the way, and marry it to my GF's WindowsXP Laptop on our network.
So, with that in mind, I have Mandrake Linux 9.1, samba installed, a Linksys router and absolutely ZERO clue how I should start down this path. I don't even know how to set samba up properly....
I have attempted to RTFM with zero help, although I "think" I understood how to change the workgroup name....maybe...don't quote me on that....
So, now that you fully understand that I am <clue on much of this, please be gentle. If there is an awesome HOWTO that has been written that takes a newbie like me gently by the hand and walks through EACH and EVERY step, PLEASE FEEL FREE TO POINT ME TO IT!!!! I've been searching for a full day and a half, and my brain now officially hurts...which is kinda good....it at least proves I had one to start with....or maybe it grew when I installed Mandrake.
For configuration purpose you could use samba swat (a web interface for the smb.conf file). It describes how to configure samba quite well.
For verification purpose you could use the smbclient program.
Below is an example of the smb.conf file (very simple setup) and a command used for adding an user. The example is an extract from a RH9 installation with samba 2.2.7a-8.9.0 and may vary from your installation:
[global]
workgroup = MYDOMAIN
netbios name = HOSTNAME
bind interfaces only = yes
interfaces = eth0
load printers = no
log file = /var/log/samba/%m.log
max log size = 0
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
show add printer wizard = No
hide dot files = yes
veto files = /.*/*.sh/*mail*/*Mail*/
invalid users = root
character set = ISO8859-1
create mask = 0700
directory mask = 0700
mangled names = No
hide dot files = Yes
hosts allow = 192.168.2.
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
fstype = samba
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
Please modify 192.168.2. , MYDOMAIN and HOSTNAME to your environment. After setup of smb.conf, you should add your unix users as samba users as well. This is done by: "smbadduser <unix userid>:<samba userid>" as root
hi, im pretty much in the same boat... Im using Mandrake instead and I tried to add the printer and havn't got it to work yet... My set up is basicly like Lord G's... How ever i did get mounting all worked out, but thats cuz samba is a bit more user friendly in mandrake i think.... i couldn't even find it in Rh... I use to like RH but i made the move to madrake, its quite nice....
Okay. I'll start from scratch on this one, maybe someone can give me some solid help.
Facts:
#1: I am running a Mandrake Linux 9.1 computer.
#2: My GF is running a Windows XP Pro laptop.
#3: Both are connected to a Linksys Router.
#4: The router has DHCP enabled.
#5: Both use the router to connect to the internet via broadband cable.
Challenges:
#1: Configure the router and/or samba to allow her laptop access to shared folders on my system, as well as allowing her access to the laser printer via my computer.
#2: Present this in a simple to read, easy to understand, step-by-step process of all things required to make this happen.
#3: Offer information on how to achieve the things required in simple to read, easy to understand, step-by-step instructions.
#4: Attempt to do so without sarcasm.
Try this site out www.samba.netfirms.com
This has a step by step way of showing you haow to get Samba started.
Very easy to read- took me all of ten minutes to read it.
Thanks for that link, it's actually been helpful! I've gotten it up to the point where I have shares set up properly, now I just need to set it up so that windows can see it. : )
I need some help ...
I have RH linux 8.0 and win 98 on my network...I have configured SMB and iam able to access Win files using smbmount on Linux box.....I can see linux machine on network neighbour hood on Windows 98 but when i click on machine it says "Access denied or the machine not found" I dont understand what is wrong ... I am logging in to linux as a root.....does that have anything to do can u please guide me.........
I have default setting for firewall which i selected during installation and i can ping the machine from Win 98 .....
I can access files from Linux box but not from windows....
I am attaching my cmb.conf let me know if any thing is wrong..
[Global]
workgroup = LES
netbios name = MILANO LINUX
encrypt passwords = yes
security = user
It works ........ It was only becoz of firewall......
I can see my Linux box on all the Windows machines.....
One more thing is, i want to use My Linux as primary DNS server and also internet sharing for which i have configured smb.conf but its not working.......
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.