Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can not get out
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
aleskx
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2004
Posts: 84
Location: Charleston, SC

PostPosted: Thu Jan 08, 2004 4:11 pm    Post subject: can not get out Reply with quote

new to Gentoo... everything looks ok, but I can not access network. I have installed Gentoo and I know that my network card works because portion of install came from various remote sites ... plus I have replaced the card physically while trying to resolve this - it is definitely not hardware

gentoo machine ip is 192.168.26.158, the other machine is 192.168.26.157(WinXP), alive, networked and well

any help will be greatly appreciated.

here are my config files/diagnostics (commented lines removed for brevity):

# /etc/conf.d/net:
iface_eth0="192.168.26.158 broadcast 192.168.255.255 netmask 255.255.0.0"
gateway="eth0/192.168.51.92"
------------------
#ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:10:4B:9E:64:58
inet addr:192.168.26.158 Bcast:192.168.255.255 Mask:255.255.0.0
inet6 addr: fe80::210:4bff:fe9e:6458/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88 errors:0 dropped:0 overruns:5 frame:0
TX packets:47 errors:105 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:29529 (28.8 Kb) TX bytes:6722 (6.5 Kb)
Interrupt:10 Base address:0xe000
-----------------
#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 192.168.51.92 0.0.0.0 UG 1 0 0 eth0
-----------------
bash-2.05b# ping -c3 192.168.26.158
PING 192.168.26.158 (192.168.26.158) 56(84) bytes of data.
64 bytes from 192.168.26.158: icmp_seq=1 ttl=64 time=0.036 ms
64 bytes from 192.168.26.158: icmp_seq=2 ttl=64 time=0.028 ms
64 bytes from 192.168.26.158: icmp_seq=3 ttl=64 time=0.026 ms

--- 192.168.26.158 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.026/0.030/0.036/0.004 ms

bash-2.05b# ping -c3 192.168.26.157
PING 192.168.26.157 (192.168.26.157) 56(84) bytes of data.
From 192.168.26.158 icmp_seq=1 Destination Host Unreachable
From 192.168.26.158 icmp_seq=2 Destination Host Unreachable
From 192.168.26.158 icmp_seq=3 Destination Host Unreachable

--- 192.168.26.157 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2011ms, pipe 3

-------------
Back to top
View user's profile Send private message
Rosjahh
Apprentice
Apprentice


Joined: 16 Jan 2003
Posts: 182
Location: Below sealevel

PostPosted: Thu Jan 08, 2004 4:32 pm    Post subject: Reply with quote

I would say that it seems as if your gentoo box is connected fine, but only the windows box doesn't respond.

Are you running a firewall at the windows box? If so, you should make sure windows box doesn't reject "icmp" traffic, because that is what ping is. Ofcourse you could also just shut the firewall down briefly for testing.

Maybe there could be other other causes, but I don't know.
Back to top
View user's profile Send private message
aleskx
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2004
Posts: 84
Location: Charleston, SC

PostPosted: Thu Jan 08, 2004 4:36 pm    Post subject: Reply with quote

Rosjahh wrote:
I would say that it seems as if your gentoo box is connected fine, but only the windows box doesn't respond.

Are you running a firewall at the windows box? If so, you should make sure windows box doesn't reject "icmp" traffic, because that is what ping is. Ofcourse you could also just shut the firewall down briefly for testing.

Maybe there could be other other causes, but I don't know.


no, the windows box is connected fine, it is sitting on my desk right next to gentoo box and they are both attached to the same ethernet switch. gentoo can not talk to anything
Back to top
View user's profile Send private message
triwebb1
Tux's lil' helper
Tux's lil' helper


Joined: 19 Oct 2003
Posts: 87

PostPosted: Thu Jan 08, 2004 4:41 pm    Post subject: Reply with quote

Windows XP has a built-in firewall that may be on. I don't think it is turned on by default, but you should check it anyway. If you don't know how to get to it, I think you can get there by going to control panel->Network Connections->Your connection->TCP/IP Properties->Advanced->Firewall or something. I am pretty sure that it is in the TCP/IP properties under adnvaced somewhere.

Can your windows box surf the net? Can it ping your gentoo box? If it can surf, but can't ping, try running an ftp server on the gentoo box and accessing it from the windows box. Or you could use telnet or ssh (putty works well in windows as a client) or any other server that doesn't use ICMP.
Back to top
View user's profile Send private message
aleskx
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2004
Posts: 84
Location: Charleston, SC

PostPosted: Thu Jan 08, 2004 4:51 pm    Post subject: Reply with quote

triwebb1 wrote:
Windows XP has a built-in firewall that may be on. I don't think it is turned on by default, but you should check it anyway. If you don't know how to get to it, I think you can get there by going to control panel->Network Connections->Your connection->TCP/IP Properties->Advanced->Firewall or something. I am pretty sure that it is in the TCP/IP properties under adnvaced somewhere.

Can your windows box surf the net? Can it ping your gentoo box? If it can surf, but can't ping, try running an ftp server on the gentoo box and accessing it from the windows box. Or you could use telnet or ssh (putty works well in windows as a client) or any other server that doesn't use ICMP.


I'm using windows box right now to post this message, so obviously it must be ok. I can not ping the gentoo box (if I could, I would not be asking this). there are no firewalls anywhere in between these two machines and my problem is not the windows box (it is just used as a diagnostic tool to check for connectivity), its gentoo box that can not communicate with the rest of the world
Back to top
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Thu Jan 08, 2004 5:12 pm    Post subject: Reply with quote

Look at all those TX errors on your ifconfig output. Are you sure you don't have a hardware problem? Have you tried swapping eth cables? What does dmesg say? Maybe try using the mii-tool, etc?
Back to top
View user's profile Send private message
aleskx
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2004
Posts: 84
Location: Charleston, SC

PostPosted: Thu Jan 08, 2004 5:32 pm    Post subject: Reply with quote

fleed wrote:
Look at all those TX errors on your ifconfig output. Are you sure you don't have a hardware problem? Have you tried swapping eth cables? What does dmesg say? Maybe try using the mii-tool, etc?


I believe hardware is ok (I did replace the original card with another one, but no success). I am posting this using the cable that was attached to gentoo box before (I guess that will eliminate that cause). Adn then here's mii-tool:

Code:
eth0: negotiated 100baseTx-FD, link ok


and dmesg:
Code:
Linux version 2.4.20-gentoo-r6 (root@cdimage) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)) #1 Wed Jan 7 06:14:22 EST 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
 BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
 BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 229376
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 VIA694                     ) @ 0x000f70e0
ACPI: RSDT (v001 VIA694 AWRDACPI 16944.11825) @ 0x3fff3000
ACPI: FADT (v001 VIA694 AWRDACPI 16944.11825) @ 0x3fff3040
ACPI: DSDT (v001 VIA694 AWRDACPI 00000.04096) @ 0x00000000
ACPI: BIOS passes blacklist
Kernel command line: auto BOOT_IMAGE=linux ro root=303
Initializing CPU#0
Detected 1534.116 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 3053.97 BogoMIPS
Memory: 900836k/917504k available (1492k kernel code, 14104k reserved, -1804k data, 100k init, 0k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
Proc Config support by ptb@it.uc3m.es
proc config counted 6528 bytes in names
proc config counted 711 bytes in value handles
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU:     After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU:             Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon(tm) XP 1800+ stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20021122
PCI: PCI BIOS revision 2.10 entry at 0xfb4b0, last bus=1
PCI: Using configuration type 1
    ACPI-0511: *** Info: GPE Block0 defined as GPE0 to GPE15
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S1 S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [ALKA] (IRQs 16 17 18 19 20 21 22 23, disabled)
ACPI: PCI Interrupt Link [ALKB] (IRQs 16 17 18 19 20 21 22 23, disabled)
ACPI: PCI Interrupt Link [ALKC] (IRQs 22, disabled)
ACPI: PCI Interrupt Link [ALKD] (IRQs 21, disabled)
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 0
ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 0
ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 0
ACPI: PCI Interrupt Link [ALKD] enabled at IRQ 0
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
vesafb: framebuffer at 0xe1800000, mapped to 0xf8814000, size 1536k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at c000:1735
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.10e
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 89
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci00:11.1
    ide0: BM-DMA at 0xe400-0xe407, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xe408-0xe40f, BIOS settings: hdc:pio, hdd:DMA
hda: ST320410A, ATA DISK drive
hdd: FX320S, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
blk: queue c0173344, I/O limit 4095Mb (mask 0xffffffff)
hda: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=2434/255/63, UDMA(100)
hdd: ATAPI 32X CD-ROM drive, 256kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Equalizer1996: $Revision: 1.2.1 $ $Date: 1996/09/22 13:52:00 $ Simon Janes (simon@ncm.com)
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
reiserfs: checking transaction log (device 03:03) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 100k freed
Adding Swap: 506036k swap-space (priority -1)
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
00:0b.0: 3Com PCI 3c905 Boomerang 100baseTx at 0xe000. Vers LK1.1.16
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
uhci.c: USB UHCI at I/O 0xe800, IRQ 10
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
uhci.c: USB UHCI at I/O 0xec00, IRQ 10
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
eth0: no IPv6 routers present

[/code]
Back to top
View user's profile Send private message
headlessbob
n00b
n00b


Joined: 31 Jul 2003
Posts: 16
Location: Calgary, Canada

PostPosted: Fri Jan 16, 2004 2:43 am    Post subject: Reply with quote

Hey,
Well you might not be entirely crazy... I'm having the same problem and I'm certainly not new to gentoo.

Are you using the 2.6.1 kernel? I'm thinking there might be something in there that is the problem, heres why:
-System w/ 2 network cards.
-On several 2.4.xx kernels, both net cards worked fine.
-Upgraded to a custom compiled 2.6.1-gentoo kernel.
-Now, neither net card works.
-The status and config of both cards seem to show that they are optimal. The only problem occurs when actually trying to send or recieve packets. (even mii-tool says they work fine).
-I have a network with 3 other computers, all working fine over a switch, of which I cycled the power just incase -- no effect.
-Reverting to a 2.4 kernel on a knoppix cd, I can use both cards again.

This suggests that:
1. It isn't a hardware problem
2. It isn't a problem with the individual net card drivers
3. Something else in the kernel is the source of the problem

So, its possible that I've compiled out something in the kernel that is needed (although I've been through the config twice and can't see anything). However, I think what I'll do now is just start adding a bunch of options back in to the kernel and see if any of them make it work. Otherwise, try a different 2.6 kernel I guess... Anybody have any other suggestions?

Thanks.
Brian
_________________
If I had a funny sig too, you might be laughing now.
Back to top
View user's profile Send private message
swgeckoman
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jun 2003
Posts: 79
Location: Springfield, MO USA

PostPosted: Fri Jan 16, 2004 3:35 pm    Post subject: Reply with quote

Just for giggles, what is the result of a traceroute to the windows box.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum