LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-09-2003, 02:17 PM   #1
turnovg
Member
 
Registered: Dec 2003
Posts: 33

Rep: Reputation: 15
Unhappy My internet works with Windouz, but with LINUX :(((


...Please people, DO help me! :|||...

I've tried different forums, many friends advices and... Still nothing

About the problem:
I have a cable internet. Via LAN card (RealTek 8139).
When I use Windouz XP - there is just no problem with the net. Everythings OK, I can browse, I can download...
But I want very much using LINUX. Such a perfect system for all my needs...

The main problem:
When in LINUX, I ping the local net. I mean, I can ping the PC of my neighbour, I can ping to my DNS and Gateway. But NOTHING goes out of the local net ((
I've read much documentation although... Seems not enough for solving the problem
I've also tried many things, although I'm not an experienced LINUX user...

Here are my provider's settings:

IP: 80.72.73.97
Subnet mask: 255.155.155.192
Gateway: 80.72.73.65
DNS: 212.116.158.130

My provider didn't tell me about Broadcast, but I think it is 80.72.73.127.
And also important: I DO NOT HAVE DHCP SUPPORT!! And my IP is static.


About the LINUX distro: I currently use Knoppix. A very well made distro as to my opinion
I use it two ways - installed and live - booting from the CD. The result is the same.
My eth0 is working, everything is OK. I tried with 'netcardconfig' and with ifconfig - just everthing is fine and I can ping in the local net. But otside (
I've checked many times my resolv.conf and /etc/network/interfaces - everything is OK there...

So when I ping for example yahoo.com, I get error 'unknown host'.
People say my DNS is not OK, but it is.

Another interesting thing: When I'm in Windouz and I open console the result is the same as in LINUX - I can ping the loca area, but otside I cannot. So it seems I have internet only in graphic browsers like IE and Netscape... I can't see in their settings anything intersting either...

I contacted our sys admin, but it seems he's not so intersted in solving my problem ((((

So please, DO help me I want my LINUX back. And this is the only reason I'm not using it now (((((((


Thank you very much in advance


P.S.
I'm thankfull also for links or literature, that may help me solving the problem. I just don't know much about the problem itself in order to look the right manuals may be...
Some people say it is because of firewalls, other people - closed ports, other restrictions and so on... :|

P.S.2
I tried with other Live distros - all the new ones - Suse9Live, MandrakeMove, SlackLive... The same result.
A couple of months ago I had RedHat8 and 9 installed and I had internet access with them. I don't have them now and I don't know if there are any changes in our local net settings...
A neighbour of mine told me he installed Debian3.0 (this is what I plan to do infact and with the old kernel (2.2) he says he connects to the net. I mean that our network does not restrict LINUX OS...
 
Old 12-09-2003, 02:50 PM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Well first can you reach a site such as Yahoo with your web browser in Linux? If so it would seem to me that the gateway for your provider has a port blocked, or perhaps just dissallows ping to go through. I know you said you get same result with ping in windows. If you can connect with linux but not ping, I wouldn't worry too much, there isn't much you can do with your providers gateway.

--Alex
 
Old 12-09-2003, 03:06 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Do you have a default route set-up?

What does a bare
route
issued in a console say?


Cheers,
Tink
 
Old 12-09-2003, 04:03 PM   #4
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
well first you could start by checking the IP you have in your linux box...so u have the IP you should have.
also you can probably uninstall the module needed by the network card and reinstall it. that might work too.
hope this helps
 
Old 12-09-2003, 11:41 PM   #5
turnovg
Member
 
Registered: Dec 2003
Posts: 33

Original Poster
Rep: Reputation: 15
Unhappy I did all these things...

Thank you, scheidel21, Tinkster, rmanocha for your replies.

Now about the problems again...
I CANNOT ACCESS INTERNET UNDER MY LINUX IN ANY WAY! Neither with console, nor with Konqueror, Mozilla or other graphic browser :|||||
When using Windouz - I'm connected only in graphic mode, that is - IE, Netscape, but in console.

About eth0: It is installed and working. My settings are OK too. I've used 'netcardconfig' which is a nice tool for configuring eth0.
I set my eth0 device ready by using 'ifconfig' and 'route' as well. And everything is working just fine... But no ping out of the lan (

Here is what I do:

--------------------------
root@ttyp0[knoppix]# netcardconfig
ifconfig eth0 80.72.73.97 netmask 255.255.255.192 broadcast 80.72.73.127 up
route add default gw 80.72.73.65
auto lo eth0
Setting Nameserver in /etc/resolv.conf to 212.116.158.130
Done.
root@ttyp0[knoppix]#

root@ttyp0[etc]# host www.yahoo.com
Nameserver not responding
www.yahoo.com A record not found, try again
root@ttyp0[etc]#

root@ttyp0[etc]# host 212.116.158.130
Nameserver not responding
212.116.158.130 PTR record not found, try again
root@ttyp0[etc]#
-----------------------------


About modules: Do you think the problem could be the module for my eth0? How could I find/see this module under Knoppix and how could I install a new one?
May be I should find RedHat8 or 9 again and try to see what will happen. Should it work, the problem seems to be in the eth0 module... But if so, shouldn't the net be inaccessible at all??


And how is it possible for Windouz to connect and LINUX - not? ( I'm sure there IS a way for connecting with my precious ( LINUX and I hope I'll find the answer here and... With reading and trying again and again...


Thank you
 
Old 12-09-2003, 11:52 PM   #6
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
well your net isnt accessible at all right?
hence the problem could be with the module.
to list all your modules type lsmod as root.
since u r using realtek 8139 you should see 8139too so you can also do:
lsmod | grep too(os something to this effect)
if you do get an output then the module is loaded so then you should be looking at different areas where the problem could be(i'm not sure about that) but if you dont see the module you can install it either using modprobe or using insmod(i dont know which one....i really have never installed it).
also since you say that the net doed work throught windows...i guess everything else is fine...how do u mean the net doesnt work through a console in windows...do u mean when u try to ping some server through the dos prompt you get no response...if so then there is probably a problem with your ISP and not your machine or linux..
hope this helps
 
Old 12-10-2003, 07:04 AM   #7
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Just a couple of noteworthy points...

there are different drivers for 8139s... there is the 8139 module and the 8139too module, also there is some kind of problem with 8139 revision K, but there is a kernel option to fix it. Do you think you have an 8139 rev K board? I think that they are probably quite old, but I'm not too sure...

lsmod will show you which you are using, you can use rmmod to remove a module and modprobe to install one. I use the 8139too drivers compiled into the kernel. I also noticed that there is this module called 'mii' I'm pretty sure I'm using this as well, I dont know what it is or if the card will work properly without it, but I am using it...

Good luck.

Last edited by fatgod; 12-10-2003 at 07:09 AM.
 
Old 12-10-2003, 09:11 AM   #8
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Rep: Reputation: 32
how about just switching network adapters??
 
Old 12-10-2003, 12:48 PM   #9
turnovg
Member
 
Registered: Dec 2003
Posts: 33

Original Poster
Rep: Reputation: 15
Unhappy Some more info...

Thank you people, for tryina help me. Here's some more info about my eth0:


With dmesg I see this:

8139too Fast Ethernet driver 0.9.26
eth0: RealTek RTL8139 Fast Ethernet at 0xd0bc9f00, 00:e0:7d:82:7d:72, IRQ 18
eth0: Identified 8139 chip type 'RTL-8139B'


With lsmod:

8139too 17096 1
mii 2256 0 [8139too]
crc32 2832 0 [8139too]


And with dig:
root@ttyp0[knoppix]# dig yahoo.com

; <<>> DiG 9.2.3 <<>> yahoo.com
;; global options: printcmd
;; connection timed out; no servers could be reached
root@ttyp0[knoppix]#


I'll try an ssh connection with friends of mine too. Lets see what will happen...
I'll try changing modules as well. Hope it'll work. There must be a way...


Thank you once again.
 
Old 12-10-2003, 02:40 PM   #10
turnovg
Member
 
Registered: Dec 2003
Posts: 33

Original Poster
Rep: Reputation: 15
More info - ssh works!!

As I've mentioned it in my previous post, a friend of mine and me tried a ssh connection. To my surprise it worked!! He connected to my machine and we were able to chat!! :]]...
But the question remains open... Why and why I didn't take the blue p... Oh, come on, this is another movie... ;-PPP

We haven't had enough time and tomorrow we continue with the experiment :] I mean my friend is the experienced guy in this case, so I'll only provide the sshd command for him... )
(As far as he mentioned, our sys admin has made a paranoic defense to our network )


If you have any other suggestions about what I could do or read about the problem, please let me know.


Thank you!
 
Old 12-11-2003, 11:10 PM   #11
turnovg
Member
 
Registered: Dec 2003
Posts: 33

Original Poster
Rep: Reputation: 15
Unhappy Still nothing... :(

I've given some more tries, but I still don't have internet outta my lan BUAAAAAAAAAAAA ;(((

I was thinking in changing my NIC, but a neighbour of mine (in the same lan) has another type of NIC and he has the same problem

I heard the idea as well, that the given DNS is not actually the DNS required, but some kind of WINS. What is that? I can see under Windouz there is such a thing... Also there are some other DNS settings like 'connect addresses to DNS address' or something like that...

Huuugh... Soon (the next year ;-PPP) here there will be more internet providers and I'll chose another one, which is more concerned about his users!


Thank you and... I keep trying...
 
Old 12-12-2003, 12:50 AM   #12
Neorio
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 110

Rep: Reputation: 15
Are you using PPPoE?
I mean, if Windows XP is using that to connect to your ISP, shouldn't you be using that too to connect your Linux OS?

Personally, I use a broadband access router at home which uses PPPoE.
Windows, Knoppix and any other Linux variant works out of the install with no fiddling. You may want to get a router yourself, which can not only handle DHCP, but has some firewall goodies as well.
 
Old 12-12-2003, 01:49 PM   #13
turnovg
Member
 
Registered: Dec 2003
Posts: 33

Original Poster
Rep: Reputation: 15
Unhappy Hmmm...

I'm sorry if my question is stupid, but what is PPPoE? :|||
I have a cable connection, but no DHCP. (Not a modem connection, if you mean that.)

Nothing new up to now. Again :||
I contaced the man responsible for our connection and... He promised me he'll talk with someone who'll help resolving the problem :| But... I'm not sure. I can only hope about that :||


Thank you, Neorio, for your reply. Thank you guys (all of you) that replied me too!


...To be continued... :|
 
Old 12-13-2003, 08:57 AM   #14
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
PPPoE stands for Point-to-Point Protocol over Ethernet. Basically it uses pseudo dialup protocol over your Ethernet based network/Lan/WAN

--Alex
 
Old 12-14-2003, 01:07 AM   #15
turnovg
Member
 
Registered: Dec 2003
Posts: 33

Original Poster
Rep: Reputation: 15
Red face Hm, I didn't know that, really...

Thank you scheidel21 for your reply.
And could you (or someone else) can give me info about PPPoE? I'll try to find info over the net... At least to find out is my connection really a PPPoE type...

...Still trying...
 
  


Reply



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
internet works, but... rahmed Linux - Wireless Networking 2 07-14-2004 10:32 AM
No internet access in linux, works fine in windows c0uchm0nster Linux - Networking 8 01-29-2004 06:45 AM
No Internet in Linux, Works in XP whoami Linux - Networking 13 12-01-2003 07:04 PM
Internet works with Windows but not Linux. costasm Linux - Networking 8 11-26-2003 12:08 PM
Which ISP (internet provider) works well with Linux? Rayvenz Linux - Newbie 3 03-24-2003 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:52 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
Open Source Consulting | Domain Registration