Slackware 10.2: 2.4 to 2.6 kernel upgrade no Internet problem.
With Slackware 10.2 that comes with a 2.4 kernel all I need to do is a full install, run netconfig, assign DHCP, and I can browse the internet.
After compiling and getting a 2.6 kernel to run I am very happy. However I have lost the ability to browse the internet. I can ping my router, my IP but I can not view web pages (please don’t try and help me to change my resolv.conf). I have tried changing some things but I have no doubt this issue is with the way I compiled the 2.6 kernel. If I compile the 2.6 kernel right then I have no doubt that I would be browsing the internet no problem.
The 2.6 kernel has a lot of changes when compared to the 2.4 version, especially the networking sections. Trying to cross-reference 2.4 to 2.6 for networking is very difficult. It would be much easier if someone had a basic HOWTO for networking options on the 2.6 ‘make *config’ for the kernel so that we can setup a basic internet connection for web browsing. I have found 2.6 compiling information but they all skip the networking section. Anybody got a working one with networking settings?
Here is some information for both my Internet working 2.4 Kernel and my Internet not working 2.6 Kernel. I also added my lspci at the start just to show what kind of devices I am using.
HARDWARE
bash-3.00# lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02)
00:02.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05)
00:03.0 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 04)
00:03.1 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 04)
00:04.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0d.0 SCSI storage controller: Adaptec AHA-7850 (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro] (rev 15)
THE 2.4 KERNEL
bash-3.00$ /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:60:94:EB:2B:6B
inet addr:192.168.128.37 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1146 errors:0 dropped:0 overruns:0 frame:0
TX packets:1103 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1200214 (1.1 Mb) TX bytes:173711 (169.6 Kb)
Interrupt:14 Base address:0x5000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
bash-3.00$ /sbin/lsmod
Module Size Used by Not tainted
soundcore 3396 0 (autoclean)
eepro100 18836 1
mii 2272 0 [eepro100]
uhci 24284 0 (unused)
usbcore 59148 1 [uhci]
pcmcia_core 39172 0
ntfs 51232 1 (autoclean)
ide-scsi 9392 0
agpgart 45508 0 (unused)
bash-3.00$ /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.128.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.128.1 0.0.0.0 UG 0 0 0 eth0
bash-3.00$ cat /etc/resolv.conf
nameserver 192.168.128.1
search Net1
bash-3.00$
THE 2.6 KERNEL
bash-3.00# /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:60:94:EB:2B:6B
inet addr:192.168.128.37 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::260:94ff:feeb:2b6b/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:650 (650.0 b) TX bytes:1508 (1.4 Kb)
Interrupt:19
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sit0 Link encap:UNSPEC HWaddr 00-00-00-00-31-00-00-00-00-00-00-00-00-00-00
-00
NOARP MTU:1480 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
bash-3.00# /sbin/lsmod
Module Size Used by
snd_pcm_oss 46656 -
snd_pcm 76644 -
snd_timer 20140 -
snd_page_alloc 8048 -
snd_mixer_oss 15432 -
snd 43876 -
ipv6 226944 -
ohci_hcd 18892 -
ehci_hcd 28592 -
eepro100 27128 -
uhci_hcd 30008 -
usbcore 112740 -
bash-3.00# /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.128.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.128.1 0.0.0.0 UG 0 0 0 eth0
bash-3.00# cat /etc/resolv.conf
nameserver 192.168.128.1
search Net1
--------------------------------------------
I have a working Windows XP machine on the same network and I can see the DNS servers in its network settings.
In /etc/resolv.conf I have set the nameservers to my ISP's DNS sever addresses. There are two of them: Preferred and Alternate.
My resolv.conf now reads...
nameserver 192.228.x.x
nameserver 192.228.xx.xxx
search Net1
I also included and excluded search Net1 to see if that will work. Neither worked.
I noticed two things about all of this.
With the 2.4 kernel this change means I can not access the internet anymore. I must revert back to the old gatway/router settings below:
nameserver 192.168.128.1
search Net1
Then it works again in 2.4
In 2.6 neither of these options work.
First of all I do not understand why my old resolv.conf works with 2.4 and not 2.6? I do not understand how changes to 2.6 resolv.conf would work if they differ from the one in 2.4? Is there something about the 2.6 kernel that makes it different here?
I also ran "netconfig" setup. The changes I made there are - Hostname is Terminal2, Domainname is Terminal2, DHCP, skip DHCP hostname, pressed YES to continue. This changes resolv.conf to read search Terminal2. This used to work in the past to get the internet working on a fresh install, but now it does not like it, but prefers the old resolv.conf info above.
Hope this sheds some more light on my big internet problem.
--------------------------------------------------------------------------
HELP!
|