Redhat 9 and Networking Infant Seeking Advice

  • manuleka
  • Graduate
  • Graduate
  • User avatar
  • Posts: 240
  • Loc: NZ, Wellington

Post 3+ Months Ago

I'm setting up a Windows XP to Linux Redhat 9.0 Network at home. As the title says, i'm new to Networking and Linux. I want the Redhat box accessing the internet through the WinXP machine. I also would like to share files between the two systems, and i realise that a program called samba would enable me to do just that sharing bit.

Both box has ethernet cards, with cat6 Cable crossover connecting them.
WinXP Home machine has modem connecting to the internet.

Any advice on setting this up (both WinXP Home and Linux Redhat 9.0) would be very much appreciated!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

The easiest method is to use Windows Internet connection sharing to permit the Linux box to get onto the 'Net.

The windows machines starts up a sort-of DHCP service, which the Linux host will recognize and attach to for forwarding information and a private IP in the 192.168 range.

This should help;
http://www.practicallynetworked.com/sharing/xp_ics/

That should be all you need for accessing the Internet via the windows dial-up -- provided the windows machine is actually dialed out. ;)

Cheers.
  • manuleka
  • Graduate
  • Graduate
  • User avatar
  • Posts: 240
  • Loc: NZ, Wellington

Post 3+ Months Ago

thanks heaps, i got XP setup but i'm stuck with one problem. With my crossover connection, the Linux can't activate the "eth0". I'm new to these networking IP stuff. How would i be able to make the Redhat System talk to the XP system first?

oh.. the Error says "Detemining IP information for eth0... failed"

thanks again for any suggestions or advice
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

manuleka wrote:
thanks heaps, i got XP setup but i'm stuck with one problem. With my crossover connection, the Linux can't activate the "eth0". I'm new to these networking IP stuff. How would i be able to make the Redhat System talk to the XP system first?

oh.. the Error says "Detemining IP information for eth0... failed"

thanks again for any suggestions or advice


Firstly, do you have dhclient running? In other words, and this might seem like a ridiculous question, you have set up the Linux box to acquire dhcp addesses?

Try this;
ifconfig eth0

Post what it reports.

Cheers.
  • manuleka
  • Graduate
  • Graduate
  • User avatar
  • Posts: 240
  • Loc: NZ, Wellington

Post 3+ Months Ago

here's what i got from "ifconfig eth0"

Code: [ Select ]
[mango@localhost mango]$ /sbin/ifconfig eth0
eth0   Link encap:Ethernet HWaddr 00:05:1C:1E:00:14
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:615 errors:0 dropped:0 overruns:0 frame:0
      TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:100
      RX bytes:121821 (118.9 Kb) TX bytes:7866 (7.6 Kb)
      Interrupt:10 Base address:0x6000

[mango@localhost mango]$
  1. [mango@localhost mango]$ /sbin/ifconfig eth0
  2. eth0   Link encap:Ethernet HWaddr 00:05:1C:1E:00:14
  3.       UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  4.       RX packets:615 errors:0 dropped:0 overruns:0 frame:0
  5.       TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
  6.       collisions:0 txqueuelen:100
  7.       RX bytes:121821 (118.9 Kb) TX bytes:7866 (7.6 Kb)
  8.       Interrupt:10 Base address:0x6000
  9. [mango@localhost mango]$


thanks again... with the set up, how do i assign an IP address for my Linux NIC? I tried setting my XP machine with DHCP enabled, but not sure what they really are?? if you can explain or direct me to any site with more information on this would be much appreciated
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

OK, so your card is being detected -- that's good.

You *do* have dhclient running on the Linux machine, right?

If not, you need to make sure that dhclient is starting.
ps -aef |grep dhclient

...on the Linux box to see if the proc is running. If not you may need to get networking up and running; \
http://kszk.sch.bme.hu/net/dhcp/settingsenlin.php
Should help you configure dhclient.

The link in the message above will help you set up Windows Internet Connection Sharing (ICS). Set these both up and you should be able to get an IP from the windows machine to the linux box.

Cheers.
  • manuleka
  • Graduate
  • Graduate
  • User avatar
  • Posts: 240
  • Loc: NZ, Wellington

Post 3+ Months Ago

here's my setup on winxp

Code: [ Select ]
Windows IP Configuration
    Host Name . . . . . . . . . . . . : kuava
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Unknown
    IP Routing Enabled. . . . . . . . : Yes
    WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:
    Media State . . . . . . . . . . . : Media disconnected
    Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast        Ethernet NIC
    Physical Address. . . . . . . . . : 00-04-61-4A-B5-7C

Ethernet adapter Local Area Connection 2:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : NVIDIA nForce MCP Networking          Controller
    Physical Address. . . . . . . . . : 00-04-61-4A-B5-7D
    Dhcp Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    Autoconfiguration IP Address. . . : 169.254.251.223
    Subnet Mask . . . . . . . . . . . : 255.255.0.0
    Default Gateway . . . . . . . . . :

PPP adapter paradise:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
    Physical Address. . . . . . . . . : 00-53-45-00-00-00
    Dhcp Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 203.79.68.67
    Subnet Mask . . . . . . . . . . . : 255.255.255.255
    Default Gateway . . . . . . . . . : 203.79.68.67
    DNS Servers . . . . . . . . . . . : 203.96.152.4
                        203.96.152.12

    NetBIOS over Tcpip. . . . . . . . : Disabled
  1. Windows IP Configuration
  2.     Host Name . . . . . . . . . . . . : kuava
  3.     Primary Dns Suffix . . . . . . . :
  4.     Node Type . . . . . . . . . . . . : Unknown
  5.     IP Routing Enabled. . . . . . . . : Yes
  6.     WINS Proxy Enabled. . . . . . . . : No
  7. Ethernet adapter Local Area Connection:
  8.     Media State . . . . . . . . . . . : Media disconnected
  9.     Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast        Ethernet NIC
  10.     Physical Address. . . . . . . . . : 00-04-61-4A-B5-7C
  11. Ethernet adapter Local Area Connection 2:
  12.     Connection-specific DNS Suffix . :
  13.     Description . . . . . . . . . . . : NVIDIA nForce MCP Networking          Controller
  14.     Physical Address. . . . . . . . . : 00-04-61-4A-B5-7D
  15.     Dhcp Enabled. . . . . . . . . . . : Yes
  16.     Autoconfiguration Enabled . . . . : Yes
  17.     Autoconfiguration IP Address. . . : 169.254.251.223
  18.     Subnet Mask . . . . . . . . . . . : 255.255.0.0
  19.     Default Gateway . . . . . . . . . :
  20. PPP adapter paradise:
  21.     Connection-specific DNS Suffix . :
  22.     Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
  23.     Physical Address. . . . . . . . . : 00-53-45-00-00-00
  24.     Dhcp Enabled. . . . . . . . . . . : No
  25.     IP Address. . . . . . . . . . . . : 203.79.68.67
  26.     Subnet Mask . . . . . . . . . . . : 255.255.255.255
  27.     Default Gateway . . . . . . . . . : 203.79.68.67
  28.     DNS Servers . . . . . . . . . . . : 203.96.152.4
  29.                         203.96.152.12
  30.     NetBIOS over Tcpip. . . . . . . . : Disabled
  • manuleka
  • Graduate
  • Graduate
  • User avatar
  • Posts: 240
  • Loc: NZ, Wellington

Post 3+ Months Ago

here's me redhat 9.0 config

Code: [ Select ]
eth0   Link encap:Ethernet HWaddr 00:05:1C:1E:00:14 
     UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
     RX packets:242 errors:0 dropped:0 overruns:0 frame:0
     TX packets:230 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:100
     RX bytes:48562 (47.4 Kb) TX bytes:20004 (19.5 Kb)
     Interrupt:10 Base address:0x6000

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:53513 errors:0 dropped:0 overruns:0 frame:0
     TX packets:53513 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:0
     RX bytes:3665106 (3.4 Mb) TX bytes:3665106 (3.4 Mb)
  1. eth0   Link encap:Ethernet HWaddr 00:05:1C:1E:00:14 
  2.      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  3.      RX packets:242 errors:0 dropped:0 overruns:0 frame:0
  4.      TX packets:230 errors:0 dropped:0 overruns:0 carrier:0
  5.      collisions:0 txqueuelen:100
  6.      RX bytes:48562 (47.4 Kb) TX bytes:20004 (19.5 Kb)
  7.      Interrupt:10 Base address:0x6000
  8. lo    Link encap:Local Loopback 
  9.      inet addr:127.0.0.1 Mask:255.0.0.0
  10.      UP LOOPBACK RUNNING MTU:16436 Metric:1
  11.      RX packets:53513 errors:0 dropped:0 overruns:0 frame:0
  12.      TX packets:53513 errors:0 dropped:0 overruns:0 carrier:0
  13.      collisions:0 txqueuelen:0
  14.      RX bytes:3665106 (3.4 Mb) TX bytes:3665106 (3.4 Mb)
  • manuleka
  • Graduate
  • Graduate
  • User avatar
  • Posts: 240
  • Loc: NZ, Wellington

Post 3+ Months Ago

sorry but i'm learning these things as i go about trying to fiddle with 'em.... after following those setup you reffered me to, i reboot the systems, Linux Eth0 still fails to Determine IP information...

I'm totally blank here, sorry if i'm such a novice in to the networking arena...
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Hey don't sweat it, that's what we're here for.

You did not tell me if you have dhclient running or not... do you?

Have you ensured that you set up the linux box for obtaining dhcp addresses?

I notice your windows box has two NIC's? (Network Interface Cards)... uh, why? Are you using it to bridge?

It's a 169, which means nothing is attached, I was just curious.

Which ethernet adapter are you plugging into?

Let's start there.

Cheers.
  • manuleka
  • Graduate
  • Graduate
  • User avatar
  • Posts: 240
  • Loc: NZ, Wellington

Post 3+ Months Ago

hey,

its two onboard fast ethernet connections, (mainboard: epx8rda3+)

I have set the Redhat Eth0 to automatically obtain IP addresses with "dhcp" and have enabled ICS on the windows XP machine :)

when i try activating the Redhat Eth0 it fails to determine IP infos... (similar when rebooting the system) so maybe i'm still missing something on my XP settings

thanks
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Just out of curiosity, are you sure that's a cross-over cable? :)

Most new ethernet cards are auto discovery, but one never knows.
  • manuleka
  • Graduate
  • Graduate
  • User avatar
  • Posts: 240
  • Loc: NZ, Wellington

Post 3+ Months Ago

yes it is a cat6 crossover cable, i bought it a few weeks back just for this setup!!! I tried diabling my WinXP-SP2 firewall but still nothing... :(

Post Information

  • Total Posts in this topic: 13 posts
  • Users browsing this forum: No registered users and 91 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.