Find the answer to your Linux question:
Results 1 to 7 of 7
I thought I'd try my hand at compiling a new kernel (2.6.20.2) which seemed to go well. When I tried it though, everything seemed to work except internet. I think ...
  1. #1
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337

    No internet after kernel compile

    I thought I'd try my hand at compiling a new kernel (2.6.20.2) which seemed to go well. When I tried it though, everything seemed to work except internet. I think maybe it wasn't finding my router but I'm not sure.
    I'm using kernel 2.6.18 ... and I'm happy with that but I just wanted to do the compile thing.
    Any thoughts anyone?
    Pete

  2. #2
    Just Joined! swerdna's Avatar
    Join Date
    Apr 2006
    Location
    Oz
    Posts
    67
    Quote Originally Posted by peteh
    I thought I'd try my hand at compiling a new kernel (2.6.20.2) which seemed to go well. When I tried it though, everything seemed to work except internet. I think maybe it wasn't finding my router but I'm not sure.
    I'm using kernel 2.6.18 ... and I'm happy with that but I just wanted to do the compile thing.
    Any thoughts anyone?
    If you su to root in a terminal and then enter ifconfig you will see whether you have an IP address. Cut & paste the ifconfig output here & let's have a look. Also, do you connect to the internet: dial-up, adsl, dsl, cable modem, other?, and do you use a router?

    So in summary

    1-ifconfig
    2-connection
    3-router?

    Swerdna

  3. #3
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337
    Quote Originally Posted by swerdna
    So in summary

    1-ifconfig
    2-connection
    3-router?

    Swerdna
    1 The code from ifconfig
    Code:
    eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:10
              inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::200:ff:fe00:10/64 Scope:Link
              UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:160 errors:0 dropped:0 overruns:0 frame:0
              TX packets:171 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:21173 (20.6 Kb)  TX bytes:13414 (13.0 Kb)
              Interrupt:17 Base address:0xe800
    
    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:50 errors:0 dropped:0 overruns:0 frame:0
              TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:3260 (3.1 Kb)  TX bytes:3260 (3.1 Kb)
    2 adsl

    3 router

    I also noticed that it was going to runlevel 6 instead of 5 as it loaded and it couldn't load Apparmour.
    Pete

  4. #4
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,621
    You seem to have an IP address so that's not the problem. Can you ping anything?

    P.S. If you decide to roll your own kernel, use the .config from an already working kernel and modify as needed.
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  5. #5
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337
    Quote Originally Posted by bryansmith
    You seem to have an IP address so that's not the problem. Can you ping anything?

    P.S. If you decide to roll your own kernel, use the .config from an already working kernel and modify as needed.
    I'm not using the kernel so I haven't ping'd anything - I'll try that later but I did copy the .config from my working kernel.

    There seems to be quite a bit missing from the compile but I can't remember it all now I'll look again later.

    Thanks so far.
    Pete

  6. #6
    Just Joined!
    Join Date
    Mar 2007
    Posts
    7
    Doubt it is the same problem but when I first installed suse I couldnt get internet working (although I could ping stuff). It seemed odd so I did some research and found out about an IPv6 problem that many have. An easy way to test is to open Firefox, go to about:config and search for the term 'ipv6' and toggle the value of what it shows. That will only work in firefox.

    As I said its prob not the same issue but goodluck anyway mate.

  7. #7
    Just Joined! swerdna's Avatar
    Join Date
    Apr 2006
    Location
    Oz
    Posts
    67
    Well you have an IP address, and I'm assuming you get it automatically from the DHCP server in the router. You'd know if you had set it up for the alternative to DHCP (i.e. for fixed IP). The default if you're going to the net via a router usually works once you get an IP address. e.g. the router's at 192.168.1.1 and you should be able to ping that IP address in a non-root terminal. But check your NIC settings like so:

    here's a pic from yast that might tell you all you need to do

    but if confused, here's the pic in context

    If you use the howto, bypass the network-sharing stuff and goto the suse--> intenet stuff, including firefox

    Hope that gets you a bit closer, or at least eliminates some potential issues

    Swerdna

Posting Permissions

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