LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-02-2005, 01:16 PM   #1
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Rep: Reputation: 30
have ip from cable modem but can't surf.


title sums it up.
I thought my router might have been puking on me. But now I don't know, I hooked my pc directly to the modem with no router in between.
Modem dishes out ip address dhcp style, ifconfig shows the right ip, but no internet.
Running debian sid, I just apt-get upgraded yesterday, but this started this morning.

I'm posting from WindowsXP, so I know the modem works and my connection is fine.

Where should I start looking?
 
Old 09-02-2005, 02:24 PM   #2
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,352

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Have you got a default route set to your router? Do you have DNS configured?

You may want to try pinging to see how far you can get.
 
Old 09-02-2005, 02:45 PM   #3
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Original Poster
Rep: Reputation: 30
Not sure how to set default route. Ip is gotten dhcp.
I can't ping anything

resolve.conf has the usual ip addys.
ping 66.102.7.99 yields host unreachable
ping 66.94.230.32 yields host unreachable

The router gets an ip from the modem.

It seems that the only way I'm allowed to access the internet is when winXP is connected directly to the internet. Call me Oswald but strangely, that's the case.

Whether I'm behind the router or connected straight to the modem the box can't get on the internet unless it's booted into XP.
I'm baffled, please help.
 
Old 09-03-2005, 11:41 AM   #4
rednuht
Member
 
Registered: Aug 2005
Posts: 239
Blog Entries: 1

Rep: Reputation: 31
what does the command
route
give you ?
 
Old 09-04-2005, 07:23 AM   #5
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,352

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
It sounds like you do not have a default route set. You can confirm that if you type route. Here is what I see on my network.

Quote:
[cliff@sluggy cliff]$ /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Note the IP address as the default gateway. If you are missing that, that is the problem.

You can set a default route with Webmin. If you do not have it installed, I would recommend it. You can configure a lot of other things with it, from your own desktop or form another machine.

Some distros allow you to set them from utilities they provide. You could have a look through your documentation.
 
Old 09-05-2005, 02:46 AM   #6
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Original Poster
Rep: Reputation: 30
I think it was the router. I swapped out routers and everything worked fine again. I hadn't changed any router config. I don't get it why windows would work with it but not the debian install that had worked for months. Thanks for your help
 
  


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
i canīt surf the web with usb-adsl modem. please help! fedemw Linux - Networking 1 07-04-2005 07:02 PM
about surf net via dial-up modem laxi Linux - General 2 07-13-2003 04:06 AM
printer cable > modem cable? C++freak Linux - Hardware 1 06-21-2003 02:53 PM
AcerNextus AME-MT100 External 56 Surf Modem php General 3 01-30-2003 04:43 PM
surf board modem writtosam Linux - Networking 1 04-11-2001 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:47 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration