LinuxQuestions.org
Help answer threads with 0 replies.
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 04-14-2006, 02:40 PM   #1
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Rep: Reputation: 30
Thumbs down Lost Connection?


Hello again,
Well I'm back, I have lost my connection to the web once more.
I have on my dual boot machine Win XP and Fedora Core 5, I was up and running on XP, then rebooted and booted up Fedora, only to find that i couldn't get on line? I have been running online in Fedora for about 6 days without a hitch. My Network say's I'm activated,But I can't get on line, My firefox is running, yet it can't find the servers? I tried to resart with the /etc/init.d/network restart command and all commands I know, Maybe someone else that had this problem can help? Thanks. fvs
fvs is online now Edit/Delete Message
 
Old 04-14-2006, 04:27 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
There are many things worth checking. First is routing table. In the configuration tool check if you have a default gateway, or simply run /sbin/route and look if you have something like
Code:
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
Then, look into the logs (/var/log/messages, you need to be root to read it) and see if there are messages about network connection, DNS server entries, network card notificatins and such things.
 
Old 04-14-2006, 04:38 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Do you have ANY network connection? Can you ping your router at all? Or any other computers?
If you can then the problem probably lies with the gateway, as said above.

If you CAN ping the router, then try:
route add default gw 192.168.1.1
 
Old 04-14-2006, 05:56 PM   #4
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Mara
There are many things worth checking. First is routing table. In the configuration tool check if you have a default gateway, or simply run /sbin/route and look if you have something like
Code:
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
Then, look into the logs (/var/log/messages, you need to be root to read it) and see if there are messages about network connection, DNS server entries, network card notificatins and such things.
Destination Gateway GenMask Flag

169.254.0.0 * 255.255.255.0 U 0 0 0 eth0

Couldn't copy and paste but that's what was retuned /sbin/route.
 
Old 04-15-2006, 05:58 AM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally Posted by Frank Soranno
Destination Gateway GenMask Flag

169.254.0.0 * 255.255.255.0 U 0 0 0 eth0

Couldn't copy and paste but that's what was retuned /sbin/route.
And did you try what I suggested?
 
Old 04-15-2006, 08:24 AM   #6
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Komakino
And did you try what I suggested?
Couldn't ping 192.168.1.1, What next?
 
Old 04-15-2006, 09:07 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Quote:
169.254.0.0 * 255.255.255.0 U 0 0 0 eth0
The 169.254.xxx.xxx are automatic priviate IP addresses when the client can not communicate with DHCP server. I assume that everything works when you boot in windows? What type of internet connection are you using? Do you have a router?
 
Old 04-15-2006, 12:05 PM   #8
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by michaelk
The 169.254.xxx.xxx are automatic priviate IP addresses when the client can not communicate with DHCP server. I assume that everything works when you boot in windows? What type of internet connection are you using? Do you have a router?
I'm on Win XP on the same machine and not a problem, I was using Fedora on the internet for about 6 days, The problem happened when I rebooted to Fedora after using XP, I have a netgear router.
 
Old 04-16-2006, 03:21 PM   #9
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Is your router configured for static or dynamic addresses? The entry means that Fedora tried to use DHCP, but it failed. It may be a good idea to look into system logs (/var/log/messages) and see if there are dhcp-related entries. Also, you can try to run it manually, so you'll see all the errors. Open a terminal, run su to become root and then type
/sbin/dhcp<press tab here>
The name should expand to something like /sbin/dhcpclient (I don't know what's the right name in Fedora). Press enter when it's expanded. It should connect to DHCP server and configure everything.
 
Old 04-17-2006, 10:04 AM   #10
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Mara
Is your router configured for static or dynamic addresses? The entry means that Fedora tried to use DHCP, but it failed. It may be a good idea to look into system logs (/var/log/messages) and see if there are dhcp-related entries. Also, you can try to run it manually, so you'll see all the errors. Open a terminal, run su to become root and then type
/sbin/dhcp<press tab here>
The name should expand to something like /sbin/dhcpclient (I don't know what's the right name in Fedora). Press enter when it's expanded. It should connect to DHCP server and configure everything.
Mara, Thanks forgetting back to me, I'm totaly lost. I have been all over the net trying to get an answer that could solve the problem. The latest was to run my network static which I have done and I still can't get on. Here a a few places I've been;
/etc/resolv.conf
# generated by NetworkManager, do not edit!

search Cable.rcn.rcn


nameserver 207.172.3.8
nameserver 207.172.3.9
bash: /etc/resolv.conf: Permission denied
[root@localhost /]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:F1:A3:FE
inet6 addr: fe80::2e0:4cff:fef1:a3fe/64 Scope:Link
UP BROADCAST RUNNING 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)
Interrupt:17 Base address:0xe000

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:3553 errors:0 dropped:0 overruns:0 frame:0
TX packets:3553 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4405361 (4.2 MiB) TX bytes:4405361 (4.2 MiB)

[root@localhost /]# dmesg | grep eth0
eth0: forcedeth.c: subsystem: 01565:2501 bound to 0000:00:14.0
eth0: no IPv6 routers present
[root@localhost /]#
I can ping my idadress with out errors retuned also, I guess I tried every suggestion that came my way. Any Ideas?
 
  


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
ssh connection lost kpachopoulos Linux - General 2 11-05-2005 06:07 PM
lost wireless connection donavan01 Linux - Laptop and Netbook 0 07-09-2004 02:41 PM
Lost Connection ? thundersnows Slackware 6 08-14-2003 02:08 PM
lost connection loganwva Linux - Networking 1 04-02-2002 11:44 PM
connection lost toma Linux - Networking 2 09-07-2001 06:49 AM

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

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