Problem with network in Madrake Linux

kristofer
kristofer used Ask the Experts™
on
I'm a complete Linux newbie, and I didn't know what it was until yesterday. Most of the installation was very smooth, but I can't seem to get the LAN working.

I have an ADSL connection, so I connect to the internet using through our router, and that works fine. I'm trying to connect to a windows based LAN, but if I understood it correctly, that shouldn't be a problem. I presume you set it up under: Internet Sharing, in the control center. The guide then only finds one of my ethernet cards (says there's only one configured), the slower one that came with the computer, this eventhough in "Connection" I see both. then when I try to configure that card it says (Roughly translated from swedish version): "Potential LAN adressconflict found in current configuration of eth0 (the card I wan't to use). Then when I try anyway it says: Problem with installing package dhcp server. One thing that may have something to do with it is that I had only had time to download disc one of the installation program.

Need an answwer fast.
thx
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
rid

Commented:
Connectiong to a windows-based LAN - you are talking about file sharing? I would look into samba configuration rather than Internet Sharing.

Did your installation run to completion, and can you shut down/start up cleanly? If yes, you could try to run netconf or look into Network Configuration in your GUI (KDE?) and try to configure your NIC's. Make sure you aren't really having an address conflict (another machine on the same IP in the LAN).

Do you really want to run a DHCP server?

Regards
/RID

Author

Commented:
Yes I'm talking about file sharing.. Teach me samba, don't know what it is...

Yes my installation completed and I can shut down/start up. Yes I use KDE. I don't want to run a dhcp server.
Commented:
Ähum...

Well, I don't dare embart on a samba tutorial here, I just don't know enough details about it. SAMBA is a system for sharing/accessing files between Linux and windows environments. A samba client is probably active on your computer as part of a normal installation, and this means that you should be able to "mount" shares on windows machines. This requires that you have an account on the windows machine so you can log on with a username and a password. I can describe how I do it:

I open a terminal window and create a directory in my home directory, called winshare:
mkdir winshare
I then su to root:
su
and give password for root.
Next I mount the desired share on the "winshare" directory:
smbmount //server/share winshare -o username,password
I can then exit from root login:
exit

The files in the windows share will be available in the "winshare" directory.

There may be several ways to do this, of course, and probably an easier way, perhaps even using the GUI, but the general idea is that you are using the samba client.

If you install a samba server you can create shares on the Linux box and get at them from the windows environment, but that is a somewhat other story. There is a lot of good info in the man pages, usually.

Lycka till
/RID
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
Is it case sensitive?

After less than a second (seems like it doesn't try) I get: "Could not resolve mount point winshare"

Author

Commented:
Nevermind.. Seems the winshare dir wasn't created. LOL

Just one thing.. How do I unmount?

Author

Commented:
Can I connect to win-printers? how?
rid

Commented:
1) Yes, definitely case-sensitive
2) umount mountpoint (winshare, if that was used). I guess you need to be su to umount, too.
3) Yes you can connect to shared printers on windows machines. The method will depend on what tools are in your distribution. If the box with the printer talks TCP/IP, it should be possible to use its printer through the IP. The printer must be shared. RH uses something called printtool (start from a terminal window) or, in later verisons, CUPS which has a GUI; it is in the control panel somewhere, I think.

Regards
/RID

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial