LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-13-2004, 12:58 PM   #1
marty2004
LQ Newbie
 
Registered: Jul 2004
Distribution: Debian
Posts: 5

Rep: Reputation: 0
can ping internal but cant connect to the net


Hello,

I have connected my NIC card (3com 3c509) to my cable modem (webstar 100) and I can ping to my computer but cant ping to websites, all i get are bad pings and i cant use the internet. I have used this setup on the same conputer with windows 98 and it worked fine so i know it works. I'm using Debian 3.0. The linux man pages haven't helped me much, neither have the debian ones...i've tried to google it out for a few hours without much luck.

So can anyone please help me. I'm a newbie....I apologise if this is painfully annoying.
 
Old 07-13-2004, 04:44 PM   #2
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
Are you using DHCP or a static IP address ?
 
Old 07-13-2004, 04:52 PM   #3
marty2004
LQ Newbie
 
Registered: Jul 2004
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Hello,

I'm not sure what i'm doing right now, i just got debian and installed it a few hours ago...first attempt at linux. I asume DHCP...What i'm going to do now is mess about with route.conf, resolv.conf, change the irq settings of the card and see about the Bios legacy support. It's probably my configuration which is wrong. I'll try and dump ifconfig here for people to see too. I'm going offline to mess about with it.

Thanks for replying.
speak soon.
 
Old 07-14-2004, 10:16 AM   #4
marty2004
LQ Newbie
 
Registered: Jul 2004
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
/etc/network/interfaces says......

iface eth0 inet static
address 192.168.10.50
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255


so it looks like i'm using static not DHCP ...right?

I also added the nameservers to the /etc/resolv.conf....I got them from Windows (the DNS servers under ipconfig /all)

Still not working

Last edited by marty2004; 07-14-2004 at 10:20 AM.
 
Old 07-14-2004, 10:36 AM   #5
netmask
Member
 
Registered: Jul 2004
Location: Sherbrooke, Quebec, Canada, North America, World, Milky Way
Distribution: Gentoo
Posts: 103

Rep: Reputation: 16
Erm.. let me get this..


You connected your NIC directly into your cable modem but you have a private ip address (192.168.x.x) ?


If you ARE connected directly to your cablemodem, then it's normal you can't access outside networks.

Try getting a valid address with a dhcp client. (The one I use is "dhclient")
 
Old 07-14-2004, 11:55 AM   #6
marty2004
LQ Newbie
 
Registered: Jul 2004
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for your help.

I just realised that after doing more research on DHCP. I will try what you said. i hope dhcp-client is on the cd...else more hassle. Anyway i'll try it later tonight.

Do i get rid off all that stuff in the /etc/network/interfaces and /etc/resolv.conf ???

Thanks.
 
Old 07-14-2004, 11:58 AM   #7
netmask
Member
 
Registered: Jul 2004
Location: Sherbrooke, Quebec, Canada, North America, World, Milky Way
Distribution: Gentoo
Posts: 103

Rep: Reputation: 16
I've never used Debian, but I assume /etc/network/interfaces is a generated file and not really a configuration file.

As for /etc/resolv.conf , your DHCP server will most of the time assign you nameservers hence updating /etc/resolv.conf with the correct information.
 
Old 07-17-2004, 01:07 PM   #8
marty2004
LQ Newbie
 
Registered: Jul 2004
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Its all running good now,

thanks to all that helped, turned out to be a hardware problem....(changed the irq and io setting and had to do a cold boot with the manufacturers software) <--- thats what i did in case anyone has the same problem.

Thanks 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
Rule for internal ping on firewall Centinul Linux - Networking 3 08-27-2005 09:41 AM
Can't ping my internal IP's jaanus Linux - Networking 14 08-25-2005 07:15 PM
Can't ping internal IP zinger299 Linux - Networking 10 07-04-2003 01:44 PM
Can't ping or ftp from internal network to internet vk1985 Linux - Networking 4 03-18-2003 08:52 PM
2 NIC problem, no internal ping, only external browny_amiga Linux - Networking 3 12-02-2002 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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