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.
|
 |
09-29-2003, 06:20 AM
|
#1
|
LQ Newbie
Registered: Jun 2003
Posts: 26
Rep:
|
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.
|
|
|
09-29-2003, 06:25 AM
|
#2
|
LQ Newbie
Registered: Sep 2003
Posts: 13
Rep:
|
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)
|
|
|
09-29-2003, 07:24 AM
|
#3
|
LQ Newbie
Registered: Jun 2003
Posts: 26
Original Poster
Rep:
|
I don't realy understand what you mean but I have tried to use SMB-Client (smbclient) and I get still "network not reachable"
|
|
|
09-29-2003, 09:37 AM
|
#4
|
LQ Newbie
Registered: Sep 2003
Location: india
Distribution: RedHat
Posts: 2
Rep:
|
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 
|
|
|
09-29-2003, 09:46 AM
|
#5
|
LQ Newbie
Registered: Sep 2003
Posts: 13
Rep:
|
a network cable (STP or UTP,rj45) can work fine the first 100 meters
|
|
|
09-29-2003, 12:40 PM
|
#6
|
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280
Rep:
|
what do you get when you do ifconfig -a in Linux?
|
|
|
10-01-2003, 01:13 PM
|
#7
|
LQ Newbie
Registered: Jun 2003
Posts: 26
Original Poster
Rep:
|
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)
|
|
|
10-07-2003, 11:27 AM
|
#8
|
LQ Newbie
Registered: Jun 2003
Posts: 26
Original Poster
Rep:
|
Please is there nobody who can help?
|
|
|
10-07-2003, 09:21 PM
|
#9
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
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).
|
|
|
10-10-2003, 11:34 AM
|
#10
|
LQ Newbie
Registered: Jun 2003
Posts: 26
Original Poster
Rep:
|
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>"
|
|
|
10-11-2003, 12:28 AM
|
#11
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
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.
|
|
|
10-11-2003, 06:48 AM
|
#12
|
LQ Newbie
Registered: Jun 2003
Posts: 26
Original Poster
Rep:
|
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.
|
|
|
10-11-2003, 07:20 AM
|
#13
|
LQ Newbie
Registered: Jun 2003
Posts: 26
Original Poster
Rep:
|
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.
|
|
|
11-13-2003, 10:50 AM
|
#14
|
LQ Newbie
Registered: Jun 2003
Posts: 26
Original Poster
Rep:
|
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 07:13 PM.
|
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
|
|