LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-29-2003, 07:20 AM   #1
erik_wout_ew2
LQ Newbie
 
Registered: Jun 2003
Posts: 26

Rep: Reputation: 15
Post 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.
 
Old 09-29-2003, 07:25 AM   #2
XWolf
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Rep: Reputation: 0
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)
 
Old 09-29-2003, 08:24 AM   #3
erik_wout_ew2
LQ Newbie
 
Registered: Jun 2003
Posts: 26

Original Poster
Rep: Reputation: 15
I don't realy understand what you mean but I have tried to use SMB-Client (smbclient) and I get still "network not reachable"
 
Old 09-29-2003, 10:37 AM   #4
xfree86
LQ Newbie
 
Registered: Sep 2003
Location: india
Distribution: RedHat
Posts: 2

Rep: Reputation: 0
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
 
Old 09-29-2003, 10:46 AM   #5
XWolf
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Rep: Reputation: 0
a network cable (STP or UTP,rj45) can work fine the first 100 meters
 
Old 09-29-2003, 01:40 PM   #6
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
what do you get when you do ifconfig -a in Linux?
 
Old 10-01-2003, 02:13 PM   #7
erik_wout_ew2
LQ Newbie
 
Registered: Jun 2003
Posts: 26

Original Poster
Rep: Reputation: 15
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)
 
Old 10-07-2003, 12:27 PM   #8
erik_wout_ew2
LQ Newbie
 
Registered: Jun 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Please is there nobody who can help?
 
Old 10-07-2003, 10:21 PM   #9
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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).
 
Old 10-10-2003, 12:34 PM   #10
erik_wout_ew2
LQ Newbie
 
Registered: Jun 2003
Posts: 26

Original Poster
Rep: Reputation: 15
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>"
 
Old 10-11-2003, 01:28 AM   #11
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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.
 
Old 10-11-2003, 07:48 AM   #12
erik_wout_ew2
LQ Newbie
 
Registered: Jun 2003
Posts: 26

Original Poster
Rep: Reputation: 15
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.
 
Old 10-11-2003, 08:20 AM   #13
erik_wout_ew2
LQ Newbie
 
Registered: Jun 2003
Posts: 26

Original Poster
Rep: Reputation: 15
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.
 
Old 11-13-2003, 11:50 AM   #14
erik_wout_ew2
LQ Newbie
 
Registered: Jun 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Close this tread

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


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
Whats wrong with this file? hermittlog Linux - Newbie 4 10-17-2004 09:07 PM
whats wrong with krnel 2.6.8.1 masand Linux - Software 19 08-24-2004 02:13 PM
Whats wrong with this script??? Sammy2ooo Linux - Networking 2 08-24-2004 07:20 AM
Whats wrong with my network or router? FearPasion710 Linux - General 5 11-09-2003 01:32 AM
Whats wrong with this? OlRoy Programming 2 05-28-2003 02:21 PM


All times are GMT -5. The time now is 10:37 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration