LinuxQuestions.org
Review your favorite Linux distribution.
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 02-01-2004, 06:51 PM   #1
MythicalMyrth
LQ Newbie
 
Registered: Jan 2004
Distribution: Mandrake Linux 9.2
Posts: 4

Rep: Reputation: 0
Mandrake 9.2 to Windows XP


I recently decided that it's time to cast off the shackles of MicroShaft once and for all and switch to a distro of Linux.
I went for Mandrake Linux 9.2 seeing as it seemed relatively n00b-friendly and fell well within my budget of 0.00.

Now, I've been trying my best to get it to network, but I've drawn a blank.
This computer is connected to another by a simple crossover cable, using Windows ICS to share a cable internet connection.
I've set this computer to a static IP of 192.168.0.2 and computer it's connected to (Win XP) has a static IP of 192.168.0.1 on the network.
Mandrake 9.2 came bundled with LinNeighborhood so I'm assuming that Samba is already installed.
I've tried pinging out to 192.168.0.1, but get the default timeout message.
If anyone could help me out on this, I'd be most grateful.
Screenshots of someone on a similar setup's configuration would be most helpful.

Last edited by MythicalMyrth; 02-01-2004 at 06:54 PM.
 
Old 02-01-2004, 08:27 PM   #2
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
Obviously you must have in one of the computer 2 ethernet card
Which is the machine connect with internet?
what happen with ifconfig?
where from u cant connect?
 
Old 02-01-2004, 08:33 PM   #3
MythicalMyrth
LQ Newbie
 
Registered: Jan 2004
Distribution: Mandrake Linux 9.2
Posts: 4

Original Poster
Rep: Reputation: 0
This computer is running Windows XP and Mandrake 9.2 on dual-boot.
It is connected to the other Windows XP computer via crossover cable. The other computer has 2 ethernet cards, one connected to the network and the other connected to the modem.

Are there any special settings that Mandrake needs to be able to work with a direct crossover connection? I know Windows requires NETBEUI for this system, is there a Linux equivilent?
 
Old 02-01-2004, 08:57 PM   #4
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
you must set /etc/host

the IP and the name of the hosts in this format

IP (tab) name.domainname (tab) name

the all 2 computer

you also can add in the first line

127.0.0.1 localhost.localdomain localhost

(sic)

and then the others

at this point mkdir /path/to/the/mountpoint/ (where you want to mount XP. ie: /mnt/windoze)

Type smbmount //name-of-the-XP-PC/c /path/to/the/mountpoint/c

* c is one of the win drive

Obviously samba must be installed

Last edited by nightjar; 02-01-2004 at 09:10 PM.
 
Old 02-01-2004, 09:03 PM   #5
MythicalMyrth
LQ Newbie
 
Registered: Jan 2004
Distribution: Mandrake Linux 9.2
Posts: 4

Original Poster
Rep: Reputation: 0
How am I supposed to know what my hostname is? It's just connected to a simple Windows XP box, no fancy server.
The gateway is just 192.168.0.1

Last edited by MythicalMyrth; 02-01-2004 at 09:05 PM.
 
Old 02-01-2004, 09:15 PM   #6
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
Quote:
Originally posted by MythicalMyrth
How am I supposed to know what my hostname is? It's just connected to a simple Windows XP box, no fancy server.
The gateway is just 192.168.0.1
/etc/hosts

define your hostname (the name that you arbitrary assign to your computer)

Sure you dont set up your smb.conf

Let me know

Last edited by nightjar; 02-01-2004 at 09:16 PM.
 
Old 02-02-2004, 12:05 AM   #7
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by MythicalMyrth
Are there any special settings that Mandrake needs to be able to work with a direct crossover connection? I know Windows requires NETBEUI for this system, is there a Linux equivilent?
Actually, Windows doesn't require NetBeui for sharing at all. Its nice to be sure that you're not sharing your network with the internet by sharing ob=ver this protocol, but not necessary (TCP/IP will do now, if implemented properly - do a port scan from www.grc.com, or whatever. You'll see).

Before we get all hot to trot over network protocols, lets see if ther actually IS a network. As root (although MDK may let you look as user) type ifconfig and see if your configured IP is actually assigned to your ethernet card. This machine has one card, right? It'll be eth0. There should be the same info as WinXP's ipconfig gives. If its there, let us know. Something else is wrong. If not, your card is not configured.
 
Old 02-02-2004, 09:05 AM   #8
MythicalMyrth
LQ Newbie
 
Registered: Jan 2004
Distribution: Mandrake Linux 9.2
Posts: 4

Original Poster
Rep: Reputation: 0
The ICS is done through TCP/IP.
I need the NETBEUI to actually be able to browse files over the network, don't ask me why, but it won't work without it.

I'll try what you've suggested when I get back on my Linux box.
 
Old 02-02-2004, 06:09 PM   #9
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by MythicalMyrth
The ICS is done through TCP/IP.
I need the NETBEUI to actually be able to browse files over the network, don't ask me why, but it won't work without it.
With Windows/Linux, you'll be fine with TCP/IP. I'm surprised that you nee Netbeui with WindowsXP. Are/were you sharing with a '98 machine? I have been able to browse XP-XP or XP-(any linux with Samba) with TCP/IP. If you can see the puters in your 'neighborhood' but no browse, probably a permissions problem.
 
Old 02-03-2004, 04:36 AM   #10
nightjar
Member
 
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177

Rep: Reputation: 30
Quote:
Originally posted by MythicalMyrth
The ICS is done through TCP/IP.
I need the NETBEUI to actually be able to browse files over the network, don't ask me why, but it won't work without it.

I'll try what you've suggested when I get back on my Linux box.
Tou need NETBEUI because yours setting are wrong

Try to connect the 2 windoze without that protocol; then try with linux ( i suppose that your acknowledgments are better in windoze)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mandrake and Windows czechknight93 Mandriva 4 03-10-2004 04:35 PM
Mandrake and Windows XPediTioN Mandriva 3 01-04-2004 02:49 AM
Mandrake + Windows slamp Mandriva 2 10-23-2003 04:26 PM
Windows xp and Mandrake 9.1 jsanfilippo4 Linux - Newbie 4 09-09-2003 12:16 PM
Mandrake 7.2 with windows 98 dick19272000 Linux - Software 0 02-01-2002 04:23 PM

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

All times are GMT -5. The time now is 05:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration