Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th March 2005, 09:30 PM
Bitmappity
Guest
 
Posts: n/a
Having a lot of trouble connecting to the internet

This bothers me very much because it has been happening often lately. I am having trouble connecting to the internet, and have had to reinstall fedora entirley each time.

Why is it that the fedora installer automatically sets up the internet for me, and it works fine, but when I use the internet config wizard to set it up it won't. I don't want to have to reinstall everytime I want to browse the internet.

Right now I'm using a normal motorola cable modem via ethernet in fc3. Yes, the modem works fine under linux, but only when the installer configures it for me.

I went in window's cmd and typed ipconfig to get all my network details, and even put them into linux. But that doesn't do anything.

Is there any hope?

Last edited by Bitmappity; 24th March 2005 at 09:33 PM.
Reply With Quote
  #2  
Old 24th March 2005, 09:37 PM
awdac Offline
Registered User
 
Join Date: Feb 2005
Location: Athens, GA
Posts: 352
Quote:
Originally Posted by Bitmappity
I don't want to have to reinstall everytime I want to browse the internet.
Wow. I guess that does get to be something of a nuisance, huh? What exactly happens when you aren't able to connect? Find out if you're getting an IP by issuing '/sbin/ifconfig' in a terminal. You should see an inet address there that is similar to the one you saw with windows ipconfig. If there isn't one there, you probably need to run 'dhclient eth0' to get one. It would be very helpful in diagnosing the problem if you could get it set up and show us the results of ifconfig and your /etc/sysconfig/network-scripts/ifcfg-eth0 file.
__________________
Registered Linux User #240607
2001-11-02 03:17:23
Reply With Quote
  #3  
Old 24th March 2005, 10:49 PM
Bitmappity
Guest
 
Posts: n/a
Basically, whenever I open firefox, it takes about an hour to load, until it finally comes up with an "<x> could not be found" message.

If I fill out all the details I got from windows, it has no problem activating it. I just can't browse the internet for some reason.

When I go into the terminal and type "/sbin/ifconfig", I get the following:

Quote:
eth0 Link encap:Ethernet HWaddr 00:0E:A6:92:0B:57
inet addr:67.163.82.48 Bcast:67.163.83.255 Mask:255.255.254.0
inet6 addr: fe80::20e:a6ff:fe92:b57/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:209 Memory:feafc000-0

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:7391 errors:0 dropped:0 overruns:0 frame:0
TX packets:7391 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4954922 (4.7 MiB) TX bytes:4954922 (4.7 MiB)
The eth0 part looks normal. pretty much everything I entered from windows. Not sure where it got the Bcast number from though.

This is what is inside my /etc/sysconfig/network-scripts/ifcfg-eth0 file:

Quote:
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=no
IPV6INIT=no
HWADDR=00:0e:a6:92:0b:57
DHCP_HOSTNAME=c-67-163-82-48.client.comcast.net
IPADDR=67.163.82.48
NETMASK=255.255.254.0
GATEWAY=67.163.82.1
Everything looks normal to me.
Reply With Quote
  #4  
Old 24th March 2005, 11:12 PM
awdac Offline
Registered User
 
Join Date: Feb 2005
Location: Athens, GA
Posts: 352
Quote:
Originally Posted by Bitmappity
Everything looks normal to me.
Well, yeah, more or less. You've got IPv6 stuff going on, which doesn't help, but may not hurt either. A lot of people turn it off by adding these two lines to their /etc/modprobe.conf:
Code:
alias net-pf-10 off
alias ipv6 off
Also, you generally have BOOTPROTO=dhcp in the ifcfg-eth0, but you seem to be doing fine without it. That pretty much leaves us with DNS issues. What does your /etc/resolv.conf look like? Did you enter your DNS servers with the GUI configurator? Often, even usually, when you have DHCP on, it automagiaclly writes the DNS servers to your resolv.conf, but it may not have.

Edit: on second glance, it appears that you have a dhcp hostname defined, but then specify your own IP. Which are you doing? If you aren't using DHCP, then you probably just have to define your nameservers.
__________________
Registered Linux User #240607
2001-11-02 03:17:23

Last edited by awdac; 24th March 2005 at 11:14 PM.
Reply With Quote
  #5  
Old 26th March 2005, 09:36 AM
Bitmappity
Guest
 
Posts: n/a
I ended up reinstalling fedora because I needed the connection.. and it worked at first, but when I switched to windows and then back to fedora again, it stopped working :/ So back here I am..

My resolve.conf file was something like this (may not be 100% exact, I'm remembering this off the top of my head..):

Quote:
; generated by /sbin/dhclient-script
search hsd1.il.comcast.net
nameserver 68.87.66.196
nameserver 68.87.64.196
I filled all that stuff out with the gui, so yeah, it's writing it to there.

Right now I'm providing the DNS information, and letting it get an IP from dchp, which it refuses to do. If I try ifup eth0 in the terminal, It fails in getting the IP and loses all packets sent. If I try dhclient eth0 it ends up finding nothing.. and at the end says something like "unable to find something something database.. sleeping." I'm not sure what else to do at this point.
Reply With Quote
  #6  
Old 26th March 2005, 07:43 PM
Triobe3 Offline
Registered User
 
Join Date: Mar 2005
Posts: 15
Apparently the resolv.conf has been an issue with FC/RedHat products since 1999!
Check your resolv.conf file before you connect with the browser and then after you connect. I think it is a temporary address file.

I can only tell you what I did in FC2 to fix my problem of connection but no browsing. This was in Kppp but something similar may affect your situation.

In the DNS tab of kppp configuration, I did not let kppp automatically find the ISP addresses. I called the ISP and got their #'s, then entered them under manual/static.

Then I:
1. open terminal>go to /etc/resolv.conf>backup the contents

2. delete the contents (not the file itself)>save and close>reboot

3. Voila! I have my connection and my browsers.

hope this helps

good luck!

Last edited by Triobe3; 26th March 2005 at 07:45 PM.
Reply With Quote
  #7  
Old 27th March 2005, 01:01 AM
Bitmappity
Guest
 
Posts: n/a
I have temporarily solved my problem. It seems to work for now, not sure how long it will last. If I fill in everything as static, then run dhclient, it seems to work. Usually anything I come up with doesn't last for long, so I'm not sure how long I'll be doing this until I come back here

Triobe3, thank you for the suggestion. I'll be sure to try that first If I come up with anymore problems.
Reply With Quote
Reply

Tags
connecting, internet, lot, trouble

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble connecting to wireless using WEP keys defcon3 Servers & Networking 3 6th January 2008 11:15 PM
Trouble connecting with an Intel 82557 in FC6 OstermanA Servers & Networking 0 28th April 2007 04:29 AM
Trouble connecting to wireless networks. bryanlee1981 Servers & Networking 1 29th May 2006 11:14 PM
Trouble connecting to wireless networks. bryanlee1981 Hardware & Laptops 0 29th May 2006 11:05 PM
FC4 trouble connecting at boot cwynn Servers & Networking 2 1st August 2005 10:45 PM


Current GMT-time: 02:22 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat