Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hello all! Thanks in advance for the help! I've recently switched my desktop over to Fedora 14 and until this bug, it's been a great experience. I've got some past ...
  1. #1
    Just Joined! darthlunchbox's Avatar
    Join Date
    Sep 2010
    Posts
    11

    Fedora 14 internet connection problem

    Hello all! Thanks in advance for the help! I've recently switched my desktop over to Fedora 14 and until this bug, it's been a great experience. I've got some past experience with linux, but nothing extensive. At the bottom of my post I put my system specs. Anyway, here's my issue:

    After I installed the OS, I set up nVidia drivers. I've got two ethernet ports on my motherboard and I only had one in use, eth1 to linux. After I installed the drivers and rebooted, I could not connect to the internet.

    The speed light on the plug is a constant orange/yellow color, which the manual indicates as there is a 1000Mbps connection. However, the connection light is not on at all.

    The ifconfig results are this:
    Code:
    eth0      Link encap:Ethernet  HWaddr 00:1F:BC:02:90:D0  
              UP BROADCAST 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:50 Base address:0x6000 
    
    eth1      Link encap:Ethernet  HWaddr 00:1F:BC:02:90:D1  
              inet6 addr: fe80::21f:bcff:fe02:90d1/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:9 errors:0 dropped:10 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 b)  TX bytes:978 (978.0 b)
              Interrupt:51 Base address:0x8000 
    
    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:8 errors:0 dropped:0 overruns:0 frame:0
              TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:480 (480.0 b)  TX bytes:480 (480.0 b)

    I put in my Fedora live cd, and still no internet connection. So, I put the cable into the other ethernet port, eth0. Instantly, my computer connected to the internet.

    Here are the ifconfig results:
    Code:
    eth0      Link encap:Ethernet  HWaddr 00:1F:BC:02:90:D0  
              inet addr:192.168.1.71  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::21f:bcff:fe02:90d0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:327 errors:0 dropped:0 overruns:0 frame:0
              TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:30019 (29.3 KiB)  TX bytes:11431 (11.1 KiB)
              Interrupt:50 Base address:0x6000 
    
    eth1      Link encap:Ethernet  HWaddr 00:1F:BC:02:90:D1  
              inet6 addr: fe80::21f:bcff:fe02:90d1/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:19 errors:0 dropped:21 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 b)  TX bytes:2026 (1.9 KiB)
              Interrupt:51 Base address:0x8000 
    
    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:16 errors:0 dropped:0 overruns:0 frame:0
              TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:1584 (1.5 KiB)  TX bytes:1584 (1.5 KiB)
    The even more perplexing part is the eth1 port still has its orange speed light lit with no activity light, whereas the eth0 port (the active one) has a green blinking activity light. When I go to the network manager applet, it shows eth0 as connected and eth1 as an available connection (even though no cable is physically in the port).

    Is it possible that IPv6 is getting in the way? Both connections have that v6 set to ignore and the checkbox of 'Require IPv4 addressing for this connection to complete' is checked, but eth1 always has a inet6 addr.

    Does anybody have an idea as to what the problem is? Any help would be greatly appreciated!

    My system:
    EVGA x58 FTW3
    Intel i7 930
    6GB RAM
    nVidia FTX 480
    Fedora 14

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Please post the output of
    Code:
    su -
    lspci -vnn | grep -a4 -i net
    lsmod
    dmesg | grep eth
    Continuing as root from above, what happens if you plug in the ethernet to eth1 and do
    Code:
    ifconfig eth1 up
    dhclient eth1

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    How is your network setup?

    1. <ISP Modem> - <Switch/Router> - <System>
    2. <ISP Modem> - <System>

    Or something else?

    Are all interface on the system setup to be DHCP or Static?
    What does your config files look like for eth0 and eth1?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. #4
    Just Joined! darthlunchbox's Avatar
    Join Date
    Sep 2010
    Posts
    11
    Thanks for the responses, guys. I powered the machine off and since I turned it back on, neither ethernet plug is working. So this is from my laptop.

    ifconfig outputs the same as my previous post, except the eth0 now begins with:
    Code:
    Link encap:Ethernet  HWaddr 00:1F:BC:02:90:D0
    inet6 addr: fe80::21f:bcff:fe02:90d0/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    The output of lspci -vnn | grep -a4 -i net is:
    Code:
    08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
    Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ehternet controller [10ec:8168]
    Flags: bus master, fast devsel, latency 0 IRQ 50
    I/O ports at be00 [size=256]
    Memory at f3eff000 (64-bit, prefectchable) [size=4K]
    Memory at f3eff000 (64-bit, prefectchable) [size=64K]
    
    Capabilities: [160] Device Serial Number 46-00-00-00-68-4c-e0-00
    Kernel driver in use: r8169
    Kernel modules: r8169
    
    09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
    Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ehternet controller [10ec:8168]
    Flags: bus master, fast devsel, latency 0 IRQ 50
    I/O ports at be00 [size=256]
    Memory at f3eff000 (64-bit, prefectchable) [size=4K]
    Memory at f3eff000 (64-bit, prefectchable) [size=64K]
    lsmod:
    Code:
    Module			Size	Used by
    fuse			61443	3
    cpufreq_ondemand	9278	8
    acpi_cpufreq		7345	1
    freq_table		3955	2	cpufreq_ondemand,acpi_cpufreq
    mperf			1481	1	acpi_cpufreq
    ip6t_REJECT		4279	2
    nf_conntrack_ipv6	18078	2
    ip6table_filter		1687	1
    ip6_tables		17481	1	ip6table_filter
    ipv6			286354	50	ip6t_REJECT,nf_conntrack_ipv6
    uinput			7368	0
    snd_hda_codec_nvhdmi	13724	4
    snd_hda_codec_realtek	298572	1
    snd_hda_intel		24447	2
    nvidia			10213047	28
    snd_hda_codec		86743	3	snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep		6392	1	snd_hda_codec
    snd_seq			53791	0
    snd_seq_device		6191	1	snd_seq
    snd_pcm			80290	2	snd_hda_intel,snd_hda_codec
    i2c_i801		11088	9
    snd_timer		19892	2	snd_seq,snd_pcm
    iTCO_wdt		11256	0
    iTCO_vendor_support	2610	1	iTCO_wdt
    snd			63984	13	snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
    xhci_hcd		97044	0
    r8169			37411	0
    mii			4310	1	r8169
    i2c_core		26900	2	nvidia,i2c_i801
    serio_raw		4640	0
    i7core_edac		16210	0
    soundcore		6576	1	snd
    edac_core		41336	3	i7core_edac
    wmi			8318	0
    snd_page_alloc		7559	2	snd_hda_intel,snd_pcm
    joydev			9785	0
    microcode		18548	0
    firewire_ohci		21314	0
    firewire_core		45817	1	firewire_ohci
    crc_itu_t		1563	1	firewire_core
    pata_acpi		34520	0
    ata_generic		3475	0
    dmesg | grep eth
    Code:
    r8169 0000:08:00.0: eth0 RTL8168d/8111d at 0xffffc900120d4000, 00:1f:bc:02:90:d0, XID 081000c0 IRQ 50
    r8169 0000:09:00.0: eth0 RTL8168d/8111d at 0xffffc900117e2000, 00:1f:bc:02:90:d1, XID 081000c0 IRQ 51
    r8169 0000:08:00.0: eth0: link up
    r8169 0000:09:00.0: eth1: link up
    eth1: no IPv6 routers present
    eth0: no IPv6 routers present
    r8169 0000:08:00.0: eth0: link up
    r8169 0000:09:00.0: eth1: link up
    eth1: no IPv6 routers present
    eth0: no IPv6 routers present
    While plugged in to either port, dhclient eth(whichever) doesn't output anything.

    I'm connected directly to the router supplied by my ISP, and what command brings up the config file for the connections?

    Again, thanks your your help!

  5. #5
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    The config files for your interfaces should be at

    /etc/sysconfig/network-scripts/ifcfg-eth<number>

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #6
    Just Joined!
    Join Date
    Jan 2011
    Location
    Hyderabad, India
    Posts
    17

    Smile

    U did n't mentioned how u r connecting to the internet.

    If ur system is using dhcp to obtain the ip address, then

    first open the file /etc/sysconfig/network-scripts/ifcfg-eth0 (your cable is int eth0) and write down the entire contents of file in a paper and shutdown the interface eth0.

    now open the file /etc/sysconfig/network-scripts/ifcfg-eth1 and type the ip address which are note down on the paper.

    now up the eth1 interface and restart the network services.

    If u r getting the internet, use this dynamic ip.

  7. #7
    Just Joined! darthlunchbox's Avatar
    Join Date
    Sep 2010
    Posts
    11
    Thanks for the replies, all! And apologies on taking my time in getting back.

    I went to check for my ifcfg files in /etc/sysconfig/network-scripts, however there are no files for eth0 or eth1, only lo. I'm going to guess this is part of my problem?

    Just in case, here's the output of ifcfg-lo:
    Code:
    DEVICE=lo
    IPADDR=127.0.0.1
    NETMASK=255.0.0.0
    NETWORK=127.0.0.0
    # If you're having problems with gated making 127.0.0.0/8 a martian,
    # you can change this to something else (255.255.255.255, for example)
    BROADCAST=127.255.255.255
    ONBOOT=yes
    NAME=loopback

  8. #8
    Just Joined! darthlunchbox's Avatar
    Join Date
    Sep 2010
    Posts
    11
    I did some searching and I manually created files named ifcfg-eth0/1.

    I've got eth1 plugged in, so I'll use that one as an example. I created it originally with this:
    Code:
    DEVICE=eth1
    BOOTPROTO=dhcp
    ONBOOT=yes
    I tried connecting with the network manager applet which now saw System eth1 and it couldn't connect. I reopened eth1 and it is now populated with this:
    Code:
    DEVICE=eth1
    BOOTPROTO=dhcp
    ONBOOT=yes
    TYPE=Ethernet
    DEROUTE=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth1"
    UUID=9c92fad9-6ecb-3e6c-eb4d-8a47c6f50c04
    HWADDR=00:1F:BC:02:90:D1
    PEERDNS=yes
    PEERROUTES=yes
    I'm going to continue tinkering with it, but if there's any suggestions, thanks in advance!

  9. #9
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    NetworkManager is a PITA and I never use it. I would suggest that you disable NM and then confgiure your interfaces by hand. This should work from what I am seeing above.
    Code:
    DEVICE=eth1
    BOOTPROTO=dhcp
    ONBOOT=yes
    TYPE=Ethernet
    HWADDR=00:1F:BC:02:90:D1

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  10. #10
    Just Joined! darthlunchbox's Avatar
    Join Date
    Sep 2010
    Posts
    11
    How would I go about doing that? I set NetworkManager not to run on boot via the GUI and set ifcfg-eth1 to what you gave as an example. I put it down then up, with no internet. I feel as though I am missing a step somewhere lol. Thanks for your help still!

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...