Getting XP to recognize Debian Linux Box with Samba
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.
Getting XP to recognize Debian Linux Box with Samba
I'm relatively new to Linux so bare with me.
I set up a new debian server, which I want to share files with XP. eth0 is configured automatically with DHCP, and picks up an IP address from my isp. I can FTP into my system no problem, but thats over the internet, not a local connection. I can't establish any local connection at all between the 2 machines.
Samba is running and I'm confident its configured properly, so I'm suspicious of my debian network config. The local server name 'madison' isn't recognized by the XP machine. Neither of these machines are on a domain but are set to be part of the same workgroup.
I have no local ip addresses on the linux machine, aside from the 127.0.0.1 loopback. Any help would be appreciated. Thanks
You mentioned that your first box, debian is connected to your ISP and the address is configured by dhcp. You never mentioned how the two boxes are connected.
Quote:
I have no local ip addresses on the linux machine, aside from the 127.0.0.1 loopback.
Unless I am missing something, you need to add a 2nd nic to your linux box and create a local network.
I'm thinking you need to go out and purchase yourself maybe a Netgear router or add a 2nd nic... I prefer the router option since it will automatically setup your dhcp table for you. But as he said, you need to have a "physical" lan rather than just the loopback.
Re: Getting XP to recognize Debian Linux Box with Samba
Quote:
Originally posted by bigstar eth0 is configured automatically with DHCP, and picks up an IP address from my isp. I can FTP into my system no problem, but thats over the internet, not a local connection.
and
Quote:
Originally posted by bigstart I have no local ip addresses on the linux machine, aside from the 127.0.0.1 loopback. Any help would be appreciated. Thanks
make no sense togehter. if you are getting an ip via dhcp, how do you not have
an IP address besides 127.0.0.1 ??
and , explain your network setup, and post your smb.conf file.
Looking_Lost:
The netbios name is set correctly. I disbled My windows Firewall, and I assume Debian doesn't have one installed by default.
I'm using GLFTPD for the FTP server and can connect via the internet IP address fine, but can't use the local netbios name for FTP. Pinging 'madison' on the windows box gets no response.
pdescham:
I'm not sure what a broadcast mask is, so that might be an issue.
sidemark-2850:
The two comptuers aren't technically connected to each other. Both the windows and debian box plug into a hub, which has cable internet plugged into it as well. They pick up there ips automatically from DHCP (2 seperate ips), both are internet ip addresses. The 2nd nic might be the issue here, but I made the assumption that when to windows boxes are configured with one nic each into the hub, they can still communicate with each other locally, without an additional nic card.
Robert0380:
eth0 in the linux box gets its ip from DHCP, which is an ip issued from my cable company.
I get the feeling 2 nics in the linux box is the answer here, correct me if I'm wrong, thanks.
You probably have an IP address besides loopback if your Debian server gets an ip via dhcp from your isp. In your debian machine, check the output of "ifconfig eth0" and you will see inet addr. Otherwise, I dont know how you are able to connect to the internet.
I hope you didn't purchase a second internet IP address from your isp (Are you using a cable connection?). You could setup Debian as a gateway to the internet and have all other machines connect to it. This is why a second nic card is needed on the debian machine. eth0 will connect to the isp. eth1 will connect to the rest of the lan.
If you have a cable/dsl router, with a 4 port switch connected to a cable modem on the wan side and the machines plugged in on the switch side, then, your router should have assigned the machines an internal IP address via dhcp. The router is the one that gets the isp assigned IP.
Before you trouble shoot your samba config. trouble shoot the network config first. When you can successfully ping from one pc to another, then work on the samba config.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.