LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Whats wrong with my network? (https://www.linuxquestions.org/questions/linux-networking-3/whats-wrong-with-my-network-98152/)

erik_wout_ew2 09-29-2003 06:20 AM

Whats wrong with my network?
 
Please, can anybody help???

I have 2 computers, 1 with an onboard ethernet 'card' (VIA VT86c100A Rhine-II PCI), Windows XP and Red Hat Linux 8.0, and 1 with Windows XP, A Sweex LANCARD PCI and An Alcatel ADSL USB-modem.

The next thing happend:

When my 2 XP- systems are worken the network is working correct. But when on the one XP runs and on the other Linux 'the line is death'. The netmask is correct, the network is active but bye evryting I do I get the message (on the Linux PC): "network is unreachable.

Example:

[erik@loacalhost erik]$ ping 192.168.0.1
connect: network is unreachable.

[erik@loacalhost erik]$

I tried to install Linux on the other PC but No Modem or Ethernet Card is found, so this is not a alternative.

XWolf 09-29-2003 06:25 AM

you tryed to acces linux whith the windows network protocol, you need to use samba (SMB server) to do this, or connect via ftp or http (i like more this option)

erik_wout_ew2 09-29-2003 07:24 AM

I don't realy understand what you mean but I have tried to use SMB-Client (smbclient) and I get still "network not reachable"

xfree86 09-29-2003 09:37 AM

hi erik_wout_ew2

i got same like ur case . and it was from the network cable is too long , i just cut it and now it's working fine :)

how long ur cable :confused:

XWolf 09-29-2003 09:46 AM

a network cable (STP or UTP,rj45) can work fine the first 100 meters

Robert0380 09-29-2003 12:40 PM

what do you get when you do ifconfig -a in Linux?

erik_wout_ew2 10-01-2003 01:13 PM

The Network Cable is only 10 meters (UTP) so this is not the problem.

But there was something else: By startup sendmail and sm-client (in init, by startup) it takes more than 2 minutes. I don't know if it have to do something with it but I thought it can't hurt.

And then now the output of ifconfig -a:

eth0 Link encap:Ethernet HWaddr 00:30:1B:21:E0:C9
inet addr:192.168.1.1 Bcast:255.255.255.255 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1588 (1.5 Kb) TX bytes:168 (168.0 b)
Interrupt:12 Base address:0xdc00

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:70 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4768 (4.6 Kb) TX bytes:4768 (4.6 Kb)

erik_wout_ew2 10-07-2003 11:27 AM

Please is there nobody who can help?

adz 10-07-2003 09:21 PM

So you're trying to ping your windows box from your linux box? Have you tried pinging yourself first? In other words type ping <your own IP> to see if you card is installed and working properly. Secondly, you mentioned something about dhcp. Is the windows box the dhcp server or is it the linux one? If it's the windows box then type dhclient eth0 at the prompt (assuming eth0 is the network interface you're using for you lan). If your linux box is the dhcp server then you'll have to configure the server properly (assuming it's installed).

erik_wout_ew2 10-10-2003 11:34 AM

Thanks a lot! When I use dhclient I get a connection! Ping, HTTP and FTP are working to this PC! (I don't tried to use SMB because I never use this).

But can I let this dhclient thing happend automaticaly, it's quiet a lot work to do this evrytime as root when a start up my computer. I heart something about a rclocal file, but I do not known very much about it.

Then, there are still some problems with the internet connection. In this example I use the domain "www.tiscali.nl" / the IP "195.241.78.68" because this is the domain of my internet provider.

When I try to ping 195.241.78.68 I get a good connection but when I try to ping www.tiscali.nl I get "unknown host".

When I try to use an other application (like a webbrowser) I get the following:

* When I use www.tiscali.nl I get: "Could not connect to www.tiscali.nl" imidiatly

* When I use 195.241.78.68 I get also: "Could not connect to <b>www.tiscali.nl</B>"

adz 10-11-2003 12:28 AM

I use debian so it's a little different for me than it is for you. I have several rcx.d directories (eg rc1.d, rc2.d, etc) in which I can put stuff. If yours is anything like that then I can help you. Otherwise, you'll need a red hatter to tell you how to do that.

As for pinging your ISP, can you do it under windows (or any other OS for that matter)? I've tried pinging them and I get a good response. You say that this is the only site you have problems with? Could you post you /etc/resolv.conf file? It sounds like some sort of name server screw up.

erik_wout_ew2 10-11-2003 06:48 AM

Yes pinging under windows works fine. And, it isn't the only site, all the sites are the same, I gave only an example.

And... My /etc/resolv.conf exists, but is empty!!!
what must be in there?

By the way I have in /etc the directories rc1.d to rc6.d and rc.d.

erik_wout_ew2 10-11-2003 07:20 AM

I know now what the problem is. The problem is the name server. I cannot link a hist name to an IP-adress. Why I cannot go to 195.241.78.68? Because when you come there you're redirected to www.tiscali.nl/....../index.asp. And the system don't know whats www.tiscali.nl is! So where can I configure that, the rest does now work fine.

erik_wout_ew2 11-13-2003 10:50 AM

Close this tread
 
I want to thank evrybody who has helped my, I haven't any problem more, so I close this tread...


All times are GMT -5. The time now is 09:58 AM.