Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-27-2003, 12:40 PM
|
#1
|
Member
Registered: Sep 2003
Location: Washington
Distribution: Kubuntu Dapper
Posts: 99
Rep:
|
Help! Linux RedHat 9 won't get on Windows network
Ok, after reading for hours about how to fix my problem I've resorted to starting a new thread. Here's my situation.
Network:
2 PCs connected using ethernet
Both are connected to a SMC EtherEZ hub
==Machine 1==
OS: Windows ME
Comp name: irene
Workgroup: MSHOME
IP address: 169.254.0.1
Subnet Mask: 255.255.255.0
Wins config: Disabled
Gateway: none
DNS: Disabled
NetBios: none
Primary Network Logon: Client for MS Networks
==Machine 2==
OS #1: Windows 98
Comp name: CALEB
Workgroup: MSHOME
IP address: obtain Ip address automatically
Subnet Mask: " "
Wins config: Use DHCP for WINS Resolution
Gateway: none
DNS: Disabled
NetBios: none
Primary Network Logon: Client for MS Networks
OS #2: Linux RedHat 9.0
Ok, with these settings Machine 1 and Machine 2 (with OS #1) can communicate just fine. However when I tell Linux to 'Automatically obtain IP address settings with dhcp' it just hangs for a long time and says 'Determining IP information for eth0... failed.' ifconfig shows both eth0 and lo. The DNS settings have 'Hostname: localhost' and 'DNS Search Path: localhost' set and the others are blank. There are also no items in the Hosts tab.
BTW, after Linux boots up the hub light on the slot it is connected to doesn't light up. Does someone know what I can do to get them to communicate?
Last edited by Temujin_12; 11-27-2003 at 12:42 PM.
|
|
|
11-27-2003, 12:52 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
What kind of ethernet card do you have.
Check the output of "dmesg" to see if your card is detected during boot.
|
|
|
11-27-2003, 01:27 PM
|
#3
|
Member
Registered: Sep 2003
Location: Washington
Distribution: Kubuntu Dapper
Posts: 99
Original Poster
Rep:
|
after running dmesg I found these lines that seem to be related to the network card:
PCI: Found IRQ 10 for device 00:07.0
PCI: Sharing IRQ 10 with 00:0e.0
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[10] MMIO=[dd000000-dd0007ff] Max Packet=[2048]
ieee1394: SelfID completion called outside of bus reset!
ieee1394: Host added: Node[00:1023] GUID[00e01800000485b6] [Linux OHCI-1394]
ip_tables: (C) 2000-2002 Netfilter core team
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
PCI: Found IRQ 10 for device 00:0e.0
PCI: Sharing IRQ 10 with 00:07.0
tulip0: 21041 Media table, default media 0800 (Autosense).
tulip0: 21041 media #0, 10baseT.
tulip0: 21041 media #4, 10baseT-FDX.
tulip0: 21041 media #1, 10base2.
tulip0: 21041 media #2, AUI.
divert: allocating divert_blk for eth0
eth0: Digital CD21041 Tulip rev 17 at 0xd08cd000, 21041 mode, 00:00:C0:F7:C6:E3, IRQ 10
|
|
|
11-27-2003, 01:34 PM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
well it seems to detect the card. What about the output of:
mii-tool -v
|
|
|
11-27-2003, 01:44 PM
|
#5
|
Member
Registered: Sep 2003
Location: Washington
Distribution: Kubuntu Dapper
Posts: 99
Original Poster
Rep:
|
eth0: autonegotiation failed, link ok
product info: vendor 00:00:00, model 0 rev 0
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 10baseT-FD 10baseT-HD
advertisiong: 10baseT-FD 10baseT-HD
Last edited by Temujin_12; 11-27-2003 at 01:47 PM.
|
|
|
11-27-2003, 01:56 PM
|
#6
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Considering it says that the link is OK I am surprised that the link light on the hub isn't lit. Is that still the case? Is there a link light on the network card?
|
|
|
11-27-2003, 02:01 PM
|
#7
|
Member
Registered: Sep 2003
Location: Washington
Distribution: Kubuntu Dapper
Posts: 99
Original Poster
Rep:
|
The light on the card is lit (and turns off if i temporarliy remove the cable). But the hub light is still off.
Is there are way i can have it try to find any sort of connection across the network?
|
|
|
11-27-2003, 02:10 PM
|
#8
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
You could try pinging another machine on your network or the IP address of the hub if it has one - eg:
ping ip.of.some.machine
|
|
|
11-27-2003, 02:13 PM
|
#9
|
Member
Registered: Sep 2003
Location: Washington
Distribution: Kubuntu Dapper
Posts: 99
Original Poster
Rep:
|
it says 'connect: network unreachable' when i type 'ping 169.254.0.1' (which is machine 1's IP address and it's light is on on the hub)
Last edited by Temujin_12; 11-27-2003 at 02:17 PM.
|
|
|
11-27-2003, 02:16 PM
|
#10
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Can you post the output of:
ifconfig
route -n
|
|
|
11-27-2003, 02:29 PM
|
#11
|
Member
Registered: Sep 2003
Location: Washington
Distribution: Kubuntu Dapper
Posts: 99
Original Poster
Rep:
|
here's route -n (i changed the formatting so you can read it easier):
Destination = 127.0.0.0
Gateway = 0.0.0.0
Genmask = 255.0.0.0
Flags = U
Metric = 0
Ref = 0
Use = 0
Iface = lo
here's ifconfig:
eth0
Link encap:Ethernet HWaddr 00:00:C0:F7:C6:E3
UP BREADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 carrier:34
collisioins:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0xd000
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:654310 errors:0 dropped:0 overruns:0 frame:0
TX packets:65431 errors:0 dropped:0 overuns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4535663 (4.3 Mb) TX bytes:4535663 (4.3 Mb)
|
|
|
11-28-2003, 12:31 PM
|
#12
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Is that all that was in "route -n"? if you post it in [CODE] blocks the formatting isn't lost.
|
|
|
11-29-2003, 12:04 AM
|
#13
|
Member
Registered: Sep 2003
Location: Washington
Distribution: Kubuntu Dapper
Posts: 99
Original Poster
Rep:
|
Here's the 'route -n' output again:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
You have new mail in /var/spool/mail/root
|
|
|
11-29-2003, 04:17 AM
|
#14
|
LQ Newbie
Registered: Nov 2003
Location: hyderabad
Posts: 6
Rep:
|
disable the auto configuration of ur ethernet and give the manual setting and assign ip address in windows wht ever ur using dont not configure any dns server use the command setup after logged in as a root to configure your ethernet card
hope.....helpful
|
|
|
11-29-2003, 05:40 AM
|
#15
|
Member
Registered: Nov 2002
Posts: 73
Rep:
|
Do what satish says. Here's why.
Your first 'puter has a "bogus" APIPA subnet mask: it should be 255.255.0.0. When you tell your second 'puter in Win98 to obtain an IP address automatically, that's the mask it will get. So your first and second 'puters are not on the same subnet.
As for Linux, I don't think it does APIPA. If there is no DHCP server, it is not going to get an IP address. So you'll have to assign it a static IP address.
|
|
|
All times are GMT -5. The time now is 07:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|