LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-20-2005, 09:49 AM   #16
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69

i am happy that it woked
 
Old 02-21-2005, 11:13 AM   #17
nutnut
Member
 
Registered: Feb 2005
Location: UK
Distribution: Gentoo
Posts: 86

Original Poster
Rep: Reputation: 15
It's back!

Hi,

You'll never guess what.. it's stopped working again :'(!

I shut the PC down yesterday, and then when I started it up again today I was dissapointed to find yet again no internet connection ?

Now, I know it's a linux thing because I've got the internet on this Windows machine (otherwise I wouldn't be writing this ;P) so... yeah? However today I'm not so sure it's DNS related because last time I was actually able to access things via IP whereas today, there's no access atall.

I've checked named is up and resolv.conf is conf'd correctly so... I am once again stuck for ideas :P!

For referance, this is what happens when I ping:
Code:
[james@localhost james]$ ping google.com
connect: Network is unreachable
Thanks in advance,
James.

Last edited by nutnut; 02-21-2005 at 11:15 AM.
 
Old 02-21-2005, 11:30 AM   #18
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
post the O/P of

ifconfig

regards

Last edited by masand; 02-21-2005 at 11:36 AM.
 
Old 02-21-2005, 11:41 AM   #19
nutnut
Member
 
Registered: Feb 2005
Location: UK
Distribution: Gentoo
Posts: 86

Original Poster
Rep: Reputation: 15
...

Hi,

ipconfig command not found?

Thanks,
James
 
Old 02-21-2005, 11:56 AM   #20
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
that ifconfig

try

/sbin/ifconfig

regards
 
Old 02-21-2005, 12:09 PM   #21
nutnut
Member
 
Registered: Feb 2005
Location: UK
Distribution: Gentoo
Posts: 86

Original Poster
Rep: Reputation: 15
The output

Hi,

Here's the output you requested:

Code:
eth0       Link encap:Ethernet HWaddr 00:05:1B:00:0F:5C
              inet addr:192.168.4.18 Bcast:192.168.4.255 Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
              RX packets:946 errors:0 dropped:0 overruns:0 frame:0
              TX packets:847 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100
              RX bytes:277790 (271.2 Kb) TX bytes:84312 (82.3 Kb)

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:24129 errors:0 dropped:0 overruns:0 frame:0
              TX packets:24129 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:1650276 (1.5 Mb) TX bytes:1650276 (1.5 Mb)
Thanks,
James
 
Old 02-21-2005, 12:49 PM   #22
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
i wonder if ur eth0 is up
why are we not getting any entry for ut in
route -n

can u ping your router

try again with

service network restart
and as u mentioned in ur main post about DHCP,so u use dhcp to get a IP???

regards
 
Old 02-21-2005, 01:02 PM   #23
nutnut
Member
 
Registered: Feb 2005
Location: UK
Distribution: Gentoo
Posts: 86

Original Poster
Rep: Reputation: 15
...

Hi,

Heh, it turned out I had it set to use a static IP... which my router didn't agree with ! Anyway, I switched it over to DHCP and restarted the network service and now it's working again .

The only problem is, it's a little slow and it won't load the linux questions forums! It transfers data for an absolute eternity, unlike Windows which loads it almost instantly?

Thanks for that,
James
 
Old 02-21-2005, 01:26 PM   #24
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
use static IP and point ur gateway to ur router and start ur named a,this should work i think

regards
 
Old 02-21-2005, 01:26 PM   #25
nutnut
Member
 
Registered: Feb 2005
Location: UK
Distribution: Gentoo
Posts: 86

Original Poster
Rep: Reputation: 15
Talking Yay...

Hi,

Scrap that last post, it was due to the fact restarting the network service reset my resolv.conf, hence removing the localhost nameserver.

I readded it, and now everything's running smoothly. Thanks for you continued help... I think you've answered every question I've posted on this forum so far lol!

Thanks again,
James
 
Old 02-21-2005, 01:34 PM   #26
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
Re: Yay...

Quote:
Originally posted by nutnut
Thanks for you continued help... I think you've answered every question I've posted on this forum so far lol!
thats really nice to know !!
 
  


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 resolve names on the network khh80 Linux - Networking 2 07-14-2005 07:02 AM
Setup Network & ADSL Connection (Internet Sharing) on SuSE 9.2 egcoder Linux - Networking 0 01-31-2005 06:47 PM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 05:44 PM
Slow resolve of DNS names with DLink 504 ADSL router JGJones Linux - Networking 6 05-18-2004 06:02 PM
How to setup home network(sharing adsl internet connection) faidzullah Linux - Newbie 2 10-14-2003 12:19 PM

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

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