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 10-04-2002, 01:49 PM   #1
Chuk
Member
 
Registered: Sep 2002
Location: British Columbia
Distribution: Ubuntu
Posts: 47

Rep: Reputation: 23
Sharing a DSL connection through Windows XP with RH 7.2


With some help from the Newbie forum, I'm now running a Red Hat 7.2 box. I just put a D-Link 230-TX ethernet card in it -- it auto installed with Kudzu (is that what its called?) pretty easily, but I can't do anything with it.

Right now the network is just a crossover cable to a WinXP machine. My linux box dual boots to Win98 SE, and the Win98 box can surf the Internet and see the WinXP machine in it's Network Neighbourhood (and ping it).

From the linux box, I can ping localhost. I can't ping 192.168.0.1 (the IP of the WinXP box), or ping it by name.

What do I do? Any pointers? Is this a FAQ?

The Internet setup tool in KDE seems to assume I'm directly connected to the 'net.
 
Old 10-04-2002, 01:58 PM   #2
someuser
LQ Newbie
 
Registered: Oct 2002
Posts: 8

Rep: Reputation: 0
what's the print of ifconfig on your linux machine ?
seem's that you didn't setup the NIC IF correctly ...
 
Old 10-06-2002, 02:14 AM   #3
Chuk
Member
 
Registered: Sep 2002
Location: British Columbia
Distribution: Ubuntu
Posts: 47

Original Poster
Rep: Reputation: 23
Quote:
Originally posted by someuser
what's the print of ifconfig on your linux machine ?
seem's that you didn't setup the NIC IF correctly ...
ifconfig says:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:188 errors:0 dropped:0 overruns:0 frame:0
TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12242 (11.9 Kb) TX bytes:12242 (11.9 Kb)

Ran it later and the RX packets and TX packets were up...doesn't that mean it's at least connecting?

I checked the network config, and when I try to set up the ethernet card with the same IRQ, memory, and I/O as Win98 uses. The PCI listing in the info agrees with that too (IRQ 11, mem e1000000, don't remember the i/o).
 
Old 10-07-2002, 06:37 PM   #4
someuser
LQ Newbie
 
Registered: Oct 2002
Posts: 8

Rep: Reputation: 0
hi,
your interface ins't running -
assuming your linux box has the ip 192.168.0.5 - try -
"ifconfig eth0 192.168.0.5 netmask 255.255.255.0 broadcast 192.168.0.255"
after that run ifconfig again or report any messages...

you said you've got an pci ethernet card ? what chipset is on this card installed?
check if this card is supported by your redhat system if not get a new driver by the card vendor ...

--
robert.
 
Old 10-08-2002, 11:44 AM   #5
Chuk
Member
 
Registered: Sep 2002
Location: British Columbia
Distribution: Ubuntu
Posts: 47

Original Poster
Rep: Reputation: 23
Quote:
Originally posted by someuser
hi,
your interface ins't running -
assuming your linux box has the ip 192.168.0.5 - try -
"ifconfig eth0 192.168.0.5 netmask 255.255.255.0 broadcast 192.168.0.255"
after that run ifconfig again or report any messages...

you said you've got an pci ethernet card ? what chipset is on this card installed?
check if this card is supported by your redhat system if not get a new driver by the card vendor ...
Thanks, I'll try that. The card is a D-Link DFE 530 TX...it uses a Via chipset, and RH 7.2 chose a driver automatically which matches the one the manufacturer's website says to use.
 
Old 10-10-2002, 03:40 PM   #6
Chuk
Member
 
Registered: Sep 2002
Location: British Columbia
Distribution: Ubuntu
Posts: 47

Original Poster
Rep: Reputation: 23
Some progress -- I first ran "modprobe via-rhine", which failed, but I retried one of the commands in it ("insmod", maybe?), and managed to get the card recognized, so then I could run the ifconfig command. I can now ping my XP machine!

But I still don't get any internet from it...I'll try setting it as the gateway.
 
Old 10-11-2002, 10:52 PM   #7
Chuk
Member
 
Registered: Sep 2002
Location: British Columbia
Distribution: Ubuntu
Posts: 47

Original Poster
Rep: Reputation: 23
And setting it as the gateway was all I needed! Got Samba going, too, and I already printed off the WinXP machine.
 
Old 10-12-2002, 06:12 AM   #8
marko2777
LQ Newbie
 
Registered: Oct 2002
Location: vancouver wa
Distribution: redhat
Posts: 1

Rep: Reputation: 0
how did u get the internet running?
 
  


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
Sharing one DSL connection w/o a dedicated server drowstar Linux - Networking 5 05-12-2004 08:40 PM
DSL Connection sharing... lug_user Linux - Networking 19 07-15-2003 12:46 PM
SHaring a DSL connection Farking Bastage Linux - Networking 5 10-02-2002 07:54 AM
sharing a dsl connection... Chijtska Linux - Networking 12 02-01-2002 03:59 PM
DSL Connection Sharing johnym Linux - Networking 5 01-02-2002 03:45 PM

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

All times are GMT -5. The time now is 07:05 PM.

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