LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-15-2005, 12:40 AM   #1
pixooxiq
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Rep: Reputation: 0
Newbie Ashamed Of Himself --- please help!!!


Hi,

I'm new with Linux and I have my first problem, I hope someone can help me.

I have Mandrake 10.1 installed and I've configured the network card with the right IPs, but it's not working.
I can ping the gateway and the DNS, but I can't navigate on Internet, after waiting a few minutes, a time out message comes.

The card is onboard RTL 8139. My IP is 82.208.150.85, Gateway is 82.208.150.81 and DNS 194.102.130.1 and 2.

Here are some informations about the configuration:


cat /etc/resolv.conf
CODE
[pixooxiq@4wt pixooxiq]$ cat /etc/resolv.conf
nameserver 194.102.130.1
nameserver 194.102.130.2

# ppp temp entry
nameserver 127.0.0.1


ifconfig -a
CODE
[pixooxiq@4wt pixooxiq]$ /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:FF
inet addr:82.208.150.85 Bcast:82.208.150.95 Mask:255.255.255.240
inet6 addr: fe80::fdff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1535 errors:0 dropped:0 overruns:0 frame:0
TX packets:1460 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:147853 (144.3 Kb) TX bytes:104835 (102.3 Kb)
Interrupt:21 Base address:0x3000

eth1 Link encap:UNSPEC HWaddr 00-40-63-00-B0-02-BB-90-00-00-00-00-00-00-00-00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:302 errors:0 dropped:0 overruns:0 frame:0
TX packets:302 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24197 (23.6 Kb) TX bytes:24197 (23.6 Kb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


/sbin/route -en
CODE
[pixooxiq@4wt pixooxiq]$ /sbin/route -en
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
82.208.150.80 0.0.0.0 255.255.255.240 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 82.208.150.81 0.0.0.0 UG 0 0 0 eth0


cat /etc/resolv.conf
CODE
[pixooxiq@4wt pixooxiq]$ cat /etc/resolv.conf
nameserver 194.102.130.1
nameserver 194.102.130.2

# ppp temp entry
nameserver 127.0.0.1


cat /etc/sysconfig/network-scripts/ifcfg-eth0
CODE
[pixooxiq@4wt pixooxiq]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=82.208.150.85
NETMASK=255.255.255.240
NETWORK=82.208.150.80
BROADCAST=82.208.150.95
GATEWAY=82.208.150.81
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no


Ok, I hope someone will help meee unsure.gif

Thank you,
pixo
 
Old 04-15-2005, 01:02 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Change your netmask to Class C with .0

255.255.255.240->255.255.255.0

Then open drakconf and attempt to connect to the internet.
 
Old 04-15-2005, 03:32 AM   #3
pixooxiq
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Very strange...

Thank you for the tip, unfortunatelly it doesn't work!!!
But I noticed something else:
1. I can also ping a name (like google or yahoo.com)
2. I can see in Mozilla in the status bar it is saying "Resolving host www.google.com" and then "Connecting to host" and after a few minutes time-out. It means the DNS is reached and it's working...but it doesn't make anything else
3. This is strange to me... when I restart the PC in Windows 2000 after using Linux, the network card isn't working any more! I mean, everything seems to be ok, no fail mesage, but ping is not working and nothing else! No matter what I did, it was not working anymore. The only solution I found is to turn off the pc and unplug the power cable and let it like this a few seconds. This is strange to me....

I hope someone can give me a hint...
 
Old 04-15-2005, 09:20 AM   #4
cleidh_mor
Member
 
Registered: Mar 2005
Location: Glasgow, Scotland
Distribution: SuSE
Posts: 70

Rep: Reputation: 15
I've had a similar problem before which was caused by the DHCP config. It sounds like you've configured your IPs statically tho.

How are you connecting to the Internet? Is your gateway an ADSL router or something? When I had this issue it was to do with the DNS suffix being wrong. Check this with your ISP.

Also check you're not trying tp use a proxy or anything in your mozilla config. Try another browser and see what happens.

Hope this helps.

Cleidh Mor
 
Old 04-15-2005, 11:36 AM   #5
tonyr321
LQ Newbie
 
Registered: Dec 2004
Location: jamaica aka yardie
Posts: 21

Rep: Reputation: 15
This may be simplistic but your DNS server is on a class C address and your gateway and ip is on a class b address.make everything on either class B or A address.
 
Old 04-15-2005, 01:35 PM   #6
cleidh_mor
Member
 
Registered: Mar 2005
Location: Glasgow, Scotland
Distribution: SuSE
Posts: 70

Rep: Reputation: 15
Quote:
Originally posted by tonyr321
This may be simplistic but your DNS server is on a class C address and your gateway and ip is on a class b address.make everything on either class B or A address.
I'm not sure this would make any difference. Subnet masks should be provided by the ISP since they will most likely be using classless IP.
 
Old 04-15-2005, 02:13 PM   #7
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
"This is strange to me... when I restart the PC in Windows 2000 after using Linux, the network card isn't working any more! I mean, everything seems to be ok, no fail mesage, but ping is not working and nothing else! No matter what I did, it was not working anymore. The only solution I found is to turn off the pc and unplug the power cable and let it like this a few seconds. This is strange to me...."

This caught my eye. I have seen some network cards hold their setting for eternity, not allowing you to actually change anything whatever. Power off and unplug your computer, clear your BIOS(remove the battery for 3 minutes), and then power the thing back up. Entertain doing a BIOS update and also getting another ethernet card. I have seen this probolem with crap cards on a crap motherboard.
 
Old 04-15-2005, 02:57 PM   #8
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
I've seen a similar problem in the past. I had similar symptoms; everything "seemed" to be good, but I still couldn't get on the web. Thoreau's suggestion is similar to what I did. It's been a while but if I remember correctly, I cleared my bios and it worked fine after that.
 
Old 04-15-2005, 03:07 PM   #9
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
I actually remember this from 1993, when I first started using linux on shit hardware. It literally stumped me for weeks. I was using the tulip driver on a DEC 21040 chipset and it just held the setting. I had to throw away the card and upgrade my motherboard bios- maybe even had to throw that away to.. I forget.

All I know, is that this was probably the worst experience I had with linux. I was using slackware at the time, because nothing else was really out yet. In any case- yeah, this was a linux nightmare scenario. No reason. No rhyme. It just held the settings, lied to you about them, and then was dead from then on. Not fun at all.
 
Old 04-16-2005, 06:58 AM   #10
pixooxiq
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,

About not being able to on the web: I'm using the same static IP and Gatweay, DNS and Mask in Windows, and no problem there... Does anyone know about settings that work in Windows and not in Linux??? Of course I tried other programs than Mozilla (without proxy, direct connection to internet), but with the same result.
 
Old 04-16-2005, 07:47 AM   #11
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
You must have missed the whole conversation we just had. Everything's not fine, or else you wouldn't still be here. Toss the NIC card out and put in a new one. Try again.
 
  


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
security newbie, but not Linux newbie. advice on secure delete tools mattie_linux Linux - Security 19 08-15-2005 01:50 AM
Linux semi-newbie and Wine vary newbie geovolt_os1 Linux - Software 4 04-19-2005 11:03 AM
newbie;I am a linux newbie who has installed slackware and have run into a few proble MollyJolly Slackware - Installation 6 06-01-2004 11:21 AM
How To Update To Slackware-Current For a Newbie, By a Newbie :) windsok Slackware 1 09-18-2003 08:53 PM
ashamed to ask fool_inteligent General 1 09-02-2002 07:56 PM

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

All times are GMT -5. The time now is 08:26 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