LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-26-2004, 02:21 PM   #1
cademeijere
LQ Newbie
 
Registered: May 2004
Distribution: debian
Posts: 2

Rep: Reputation: 0
no internet connection after kernel upgrade from 2.4 to 2.6.5


L.S.

After upgrading from kernel 2.4 to 2.6.5 with apt-get my internet connection is gone. I receive internet via a 'Sitecom' router. My ethernet card seems to work (it is detected and the driving modules are active). I did some searching, tutorials as well as fora, but I didn't find the information I need.

After doing "inconfig eth0 up" typing "ifconfig" gives

eth0 Link encap:Ethernet HWaddr 00:E0:4C:43:BD:A1
inet6 addr: fe80::2e0:4cff:fe43:bda1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:756 (756.0 b)
Interrupt:5 Base address:0x1400

When I ping to my router I get 'network unreachable'. With kernel 2.4 everything works. On typing ifconfig in 2.4, I get:

eth0 Link encap:Ethernet HWaddr 00:E0:4C:43:BD:A1
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1415 (1.3 KiB) TX bytes:996 (996.0 b)
Interrupt:5 Base address:0x1400

(192.168.0.1 is the router IP). I can see that some stuff changed, I don't know why and how to change it back.

Also, when I type 'ifdown -a' and then 'ifup eth0' I get 'unrecognised kernel version'. When I then again do 'ifup eth0' I get 'ifup: interface eth0 already configured'. My /etc/network/interfaces is the same as before migration:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
auto eth0
iface eth0 inet dhcp

Thanks in advance for helping.

Kees de Meijere, linux novice
 
Old 05-26-2004, 05:34 PM   #2
slacky
Member
 
Registered: Feb 2004
Location: USA
Distribution: Debian
Posts: 174

Rep: Reputation: 16
You have IPv6 support compiled into your kernel - perhaps you didn't add IPv4 support?
 
Old 05-26-2004, 07:36 PM   #3
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
I think I just did the same thing. How embarrassment. Thing is, I installed 2.6.6-1 from a kernel-image from debian. Shouldn't that have been precompiled with IPV4? Guess the question needs to be asked over in the Debian forum. That'll teach me to blindly install an image
 
Old 05-27-2004, 09:06 AM   #4
cademeijere
LQ Newbie
 
Registered: May 2004
Distribution: debian
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply. Ok, so I should add IPv4 support. I just made a custom Kernel (2.6.6) but I didn't see an option 'IPv4 support' or 'IPv6 support'. How does it work?

Incidentally, I have no internet either on this custom Kernel.

Bye,

Kees
 
Old 05-27-2004, 03:52 PM   #5
slacky
Member
 
Registered: Feb 2004
Location: USA
Distribution: Debian
Posts: 174

Rep: Reputation: 16
Under make xconfig - Device Drivers -> Networking Support -> Networking Options -> TCP/IP Networking
or CONFIG_INET in the .config file, I believe.
 
Old 05-27-2004, 03:56 PM   #6
slacky
Member
 
Registered: Feb 2004
Location: USA
Distribution: Debian
Posts: 174

Rep: Reputation: 16
Or you might just need a newer version of the net-tools package or ifconfig...
 
  


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
Losing internet connection Slack 10 Kernel 2.6.7 tulip driver EdwardA Linux - Networking 0 07-03-2004 08:55 AM
No network/internet after Kernel upgrade Thomas M. Slackware 3 02-09-2004 01:25 PM
upgrade from red hat 9 to fedora and lost internet connection enchant Fedora 6 02-02-2004 09:49 AM
Upgrade toasted internet connection lumpfish Linux - Networking 1 07-31-2003 11:49 AM
How to check kernel (RH9) is support for Internet connection sharing?? TYLin Linux - Hardware 0 06-18-2003 02:39 AM

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

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