[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't net to router or beyond



(Writing from webmail, as my ISP's IMAP server is sick, so apologies for any formatting/etc issues.)

From: Meni Shapiro

> so...you got 2 machines on the same subnet which is: 192.168.123.x
> You are using a DHCP server from your router.
> I guess the router address is the gateway address which is:
> 192.168.123.254??
> and you are using a class C netmask...255.255.255.0...
>
> ok...
> So lets call machine A the one with the problem and machine B
> the one 'ok'.
> Can you ping from B to A??

No. I can ping (ssh, etc) from A to B, but not from B to A.

> Can you post the route tables of A??

I'm on unfamiliar territory here; I ran "route -v" and got these results:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.123.0   *               255.255.255.0   U     0      0        0 eth0
default         192.168.123.254 0.0.0.0         UG    0      0        0 eth0


> Are you running iptables??

Again, I'm on unfamiliar territory. I'm not sure one way or the other. This is what I get with the 2.4 (working) kernel:

westk@enjae:~$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

I'll have to reboot to get the output for the 2.6 kernel (which I'll do later). But it's a stock kernel, so unless iptables is something that's turned on within the kernel itself, I imagine the results will be similar.

Earlier I was asked for the output of "lsmod" while booted into the 2.6 non-working kernel; here it is:

Module                  Size  Used by
af_packet              22600  2
uhci_hcd               32784  0
usbcore               118308  3 uhci_hcd
via82cxxx_audio        30280  0
uart401                11844  1 via82cxxx_audio
sound                  83372  2 via82cxxx_audio,uart401
soundcore              10400  2 via82cxxx_audio,sound
ac97_codec             18700  1 via82cxxx_audio
tulip                  46880  0
dm_mod                 59644  0
rtc                    12728  0
capability              4616  0
commoncap               7296  1 capability
ide_cd                 42528  0
cdrom                  40284  1 ide_cd
ext3                  126760  6
jbd                    61848  1 ext3
mbcache                 9284  1 ext3
ide_generic             1472  0
via82cxxx              13980  1
ide_disk               19264  8
ide_core              138724  4 ide_cd,ide_generic,via82cxxx,ide_disk
sd_mod                 21696  0
ata_piix                8132  0
libata                 41412  1 ata_piix
scsi_mod              124812  2 sd_mod,libata
unix                   28660  0
font                    8448  0
cfbcopyarea             3840  0
cfbimgblt               3072  0
cfbfillrect             3712  0


I've about decided the 2.6.8-2-k7 is just horribly broken. The networking issues are the only thing I've posted about, but I have several issues when booted into this kernel. (psmouse not loading, therefore no mouse, video in console changing to hard-to-read light gray during boot-up, fbset garbling the console screen beyond recognition, sound being scratchy, etc). I'd try a different 2.6 kernel, but there doesn't seem to be another suitable k7-optimized stock kernel available (which surprises me, because I thought the debian repositories tended to have several versions available):

westk@enjae:~$ cat /etc/apt/sources.list

deb http://mirrors.kernel.org/debian/ unstable main contrib non-free
deb http://mirrors.kernel.org/debian/ stable main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free

westk@enjae:~$ sudo aptitude search kernel-image-2.6
v   kernel-image-2.6                              -
p   kernel-image-2.6-386                          - Linux kernel 2.6.12 image on 386-class machines - trans
p   kernel-image-2.6-686                          - Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4 mach
p   kernel-image-2.6-686-smp                      - Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4 SMP
p   kernel-image-2.6-amd64-generic                - Linux kernel image for version 2.6 on generic x86_64 sy
p   kernel-image-2.6-amd64-k8                     - Linux kernel image for version 2.6 on AMD64 systems
p   kernel-image-2.6-amd64-k8-smp                 - Linux kernel image for version 2.6 on AMD64 SMP systems
p   kernel-image-2.6-em64t-p4                     - Linux kernel image for version 2.6 on Intel EM64T syste
p   kernel-image-2.6-em64t-p4-smp                 - Linux kernel image for version 2.6 on Intel EM64T SMP s
p   kernel-image-2.6-k7                           - Linux kernel 2.6 image on AMD K7 machines - transition
p   kernel-image-2.6-k7-smp                       - Linux kernel 2.6 image on AMD K7 SMP machines - transit
p   kernel-image-2.6.8-11-amd64-generic           - Linux kernel image for version 2.6.8 on generic x86_64
p   kernel-image-2.6.8-11-amd64-k8                - Linux kernel image for version 2.6.8 on AMD64 systems
p   kernel-image-2.6.8-11-amd64-k8-smp            - Linux kernel image for version 2.6.8 on AMD64 SMP syste
p   kernel-image-2.6.8-11-em64t-p4                - Linux kernel image for version 2.6.8 on Intel EM64T sys
p   kernel-image-2.6.8-11-em64t-p4-smp            - Linux kernel image for version 2.6.8 on Intel EM64T SMP
p   kernel-image-2.6.8-2-386                      - Linux kernel image for version 2.6.8 on 386.
p   kernel-image-2.6.8-2-686                      - Linux kernel image for version 2.6.8 on PPro/Celeron/PI
p   kernel-image-2.6.8-2-686-smp                  - Linux kernel image for version 2.6.8 on PPro/Celeron/PI
i   kernel-image-2.6.8-2-k7                       - Linux kernel image for version 2.6.8 on AMD K7.
p   kernel-image-2.6.8-2-k7-smp                   - Linux kernel image for version 2.6.8 on AMD K7 SMP.

I don't really want to roll my own; I'd just as soon stick with 2.4 than do that.

If anyone wants to help beat this problem into submission, I'd be glad to continue on; it'd be a good education. But if not, don't worry about it; like I say, I'll just stick with 2.4 until another 2.6-k7 version makes it into the repositories, or until I need to move to 2.6 for some reason, at which time I may reconsider compiling my own.

(Just for the record; this all started when an upgrade to x.org broke my older ATI TV card playback; it used to be that whenever an upgrade of xserver-xfree86 hosed my playback, I could just drop in the ATI.2 drivers from GATOS and restart X; apparently the move to x.org broke something there. I thought I'd try an upgrade to a 2.6 kernel to see if that made any difference; it did, but in the wrong direction. D'oh!)

Thanks!

--
Kent


Reply to: