LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-22-2004, 12:39 AM   #1
eddy05
LQ Newbie
 
Registered: Aug 2004
Distribution: Mandrake Linux 9.1
Posts: 2

Rep: Reputation: 0
Need help configuring Mandrake 9.1 to network


I have a windows box as my dhcp server. i've installed mandrake linux 9.1 on another pc. however i'm having problems connecting my linux box to the network.

my windows network has a network 192.168.0.0 i wanted my linux box to be part of that network because one of my windows box has internet connection sharing enabled. my eth0 is actually PortGear Ethernet USB, which is a USB device which acts as an ethernet card.

I've tried ways of configuring eth0 using netconfig and mandrake control centre but i'm still stuck as doing so.

can someone suggest a solution for connecting my linux box to that network? if u need more details plz reply too.
 
Old 08-22-2004, 01:29 AM   #2
this213
Member
 
Registered: Dec 2001
Location: ./
Distribution: Fedora, CentOS, RHEL, Gentoo
Posts: 167

Rep: Reputation: 34
I've never tried running a linux box through a windows ICS, usually the other way around.

I would guess that you could just open your settings for eth0, give it an IP address of something like 192.168.0.2 then set your gateway as 192.168.0.1 (just guessing that's the IP address for the Windows box).

If you want the Linux box to get it's address from DHCP, just check the "Obtain Automatically" box and enter the IP for your DHCP server.

Last edited by this213; 08-22-2004 at 01:31 AM.
 
Old 08-22-2004, 08:02 AM   #3
eddy05
LQ Newbie
 
Registered: Aug 2004
Distribution: Mandrake Linux 9.1
Posts: 2

Original Poster
Rep: Reputation: 0
oh i can understand wad u meant but which program do i use?

<-- new
 
Old 08-22-2004, 09:08 PM   #4
this213
Member
 
Registered: Dec 2001
Location: ./
Distribution: Fedora, CentOS, RHEL, Gentoo
Posts: 167

Rep: Reputation: 34
From a command line, you should be able to just do:
Code:
ifconfig -a eth0 192.168.0.2 netmask 255.255.255.0
to set eth0 to the IP address 192.168.0.2
and then:
Code:
route add default gw 192.168.0.1
To make it use the windows ICS as a gateway (provided the windows box has an IP address of 192.168.0.1)
 
Old 09-03-2004, 04:05 AM   #5
kuyalfinator
Member
 
Registered: Jul 2003
Location: Los Angeles
Distribution: RedHat8 2.4.18-14 RedHat9 2.4.20-8 FreeBSD 5.2.1 Ubuntu 10_4 Mandrake 2.4.21-0.13mdk
Posts: 118

Rep: Reputation: 16
just got mine working now

I remembered trying to get a eth0 set up using mandrake control. It worked at first, but konqueror (web browser) didn't connect to the internet. So, I put the mandrake laptop away a while. When I first tried it, it did connect using DCHP and ICS.

This is what I am guessing. First, connect all the physical network cables togther first. Boot the host computer with internet connect. Then, boot mandrake. Make sure the network cable is connected to the network already.

try these commands as well to find out if you do have internet connection through mandrake

tail -f /var/log/messages

The command above, you must run as root

If you are using mandrake 9.1, try this command called
dhclient
To locate it, try "whereis dhclient"

Good luck!
 
  


Reply



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
Need help configuring the network netcat Slackware 5 07-09-2005 07:44 AM
Configuring Network Kensai cAos 8 03-14-2004 11:11 AM
Configuring TCP\IP or IPX\SPX network on Mandrake 9.1 thenewbster Linux - Networking 3 11-24-2003 07:21 AM
Hello, newbie here, need help configuring my network properties... Mandrake 9.1 ToxicBug Linux - Networking 5 10-05-2003 03:43 PM
Configuring Wireless Network in Mandrake 9.1 jerryhussain Linux - General 2 03-24-2003 07:26 AM

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

All times are GMT -5. The time now is 10:02 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
Open Source Consulting | Domain Registration