Find the answer to your Linux question:
Results 1 to 6 of 6
I have Mandrake 10.1 installed on Dell A (using KDE) and W2K Pro on Dell B. My internal network is setup through a DLink DI-604 router which is connected to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Location
    Montgomery, AL
    Posts
    5

    Need filesharing setup assistance (Windows <--> Linux)


    I have Mandrake 10.1 installed on Dell A (using KDE) and W2K Pro on Dell B. My internal network is setup through a DLink DI-604 router which is connected to my DSL modem.

    I installed and played around with Linux for the 1st time last night. Everything worked great except for setting up file sharing with a W2K box. I can access the 'net just fine on the linux box and I can ping the W2K box but I can't get Windows to even ping the linux box. The W2K box can get out to the 'net just like the linux box so it seems that all the tcp/ip stuff is OK on both boxes. The W2K box's ip address is in the hosts and hosts.allow file and nothing is in the hosts.deny file. I even added the linux box to the windows lmhosts file just to be sure.

    I read some articles on ipTables last night but I didn't try anything with it. I did find something in some type of "control panel" on the linux box and found a security setting somewhere about a firewall and the allow all box was checked. A guy at work said the linux box may be blocking the ping requests since I installed linux with a security level of higher (I think that is what it was called, its the one just below paranoid). ????? Anyone know how to get the W2K box to at least see the linux box. Shouldn't I be able to ping the linux box without having Samba setup?

    I have read Samba articles/how-to's until I am almost buzzed. I have been searching/browsing/reading these forums for most of the day trying to figure this out.

    I think I may be on the right track with Samba but I still can't make a dir shared on the linux box but that is a different thread (maybe).


    Thanks for any help,
    GooMan

  2. #2
    Linux Newbie
    Join Date
    Mar 2005
    Location
    California!
    Posts
    159
    if the windows box cant ping the linux box, it sounds like the linux box has a firewall. If so, you need to configure the firewall to allow file sharing. I couldn't say off hand how to do this.

    im sure someone will correct me if i am worng with this:

    Samba is the windows file sharing server for unix. you only need a samba server running if you want to have shared files on our linux box for your windows box to connect to.

    here is what i have set up:

    windows XP box and fedora linux box, both behind a router. I have a shared folder on my windows box. in fedora i just go to Network Servers where Windows network shows up. in there is listed my windows workgroup name, and inside my windows computer and share. when i double click the windows share it promps me for the username and password info to connect. once connected i can copy files.

    that was pretty generalized, but it might help anyways.
    Registered Linux User # 392752

    \"pr0n\": An anagram of \"porn,\" possibly indicating the use of pornography.

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Location
    Montgomery, AL
    Posts
    5
    Thanks for the quick reply. I am new to the Unix/Linux world so try to bear with me.

    Quote Originally Posted by designbydave
    if the windows box cant ping the linux box, it sounds like the linux box has a firewall. If so, you need to configure the firewall to allow file sharing.
    I did try "service iptables stop" last night but I got some kind of error about it not knowing what "service" is.


    Quote Originally Posted by designbydave
    Samba is the windows file sharing server for unix. you only need a samba server running if you want to have shared files on our linux box for your windows box to connect to.
    So if I want to just pull files from the W2K box with the linux box I don't need Samba? Hmmm.

  4. #4
    Linux Newbie
    Join Date
    Mar 2005
    Location
    California!
    Posts
    159
    Quote Originally Posted by GooMan
    Thanks for the quick reply. I am new to the Unix/Linux world so try to bear with me.
    so am I, but I know just about everything there is to know about windows 2000/XP file sharing.

    So if I want to just pull files from the W2K box with the linux box I don't need Samba? Hmmm.
    right, you don't need a Samba server running. The way I described you can also copy files to the windows machine. you need a samba server if you want windows machines to connect to the linux box. The linux box can connect to the windows machine just fine.
    Registered Linux User # 392752

    \"pr0n\": An anagram of \"porn,\" possibly indicating the use of pornography.

  5. #5
    Just Joined!
    Join Date
    Apr 2005
    Location
    Montgomery, AL
    Posts
    5
    OK, quick update. I still can't ping the linux box but I got Samba configured and can see the linux shares on the W2K box. I can push files over to the linux box but I still have to figure out how to see the W2K shares from linux.

    I've installed Linneighborhood and can see the W2K box but i can't see the shares. When I do "scan as user" in Linneighborhood for the W2K box I get a message about "Not listening on called name". Hopefully I am getting closer to getting this fixed.

    I've checked the smbpasswd thing and the 2 Samba services seem to be running.

  6. #6
    Just Joined!
    Join Date
    Apr 2005
    Location
    Montgomery, AL
    Posts
    5
    Another update.

    I can now ping the linux box from Windows. It was a setting in the Levels and Permissions "control panel" the best I can remember that had disabled ICMP echos. The firewall "control panel" was setup to allow all traffic but the other one was not.

    I still can't mount a Windows shared folder in linux. I can see the Windows box in Linneighborhood but not the shares on it. I do the "scan as user" but it doesn't do anything (AFAICT) after I input the user/pass info.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •