LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-12-2003, 05:08 PM   #1
bekrul
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Rep: Reputation: 0
Network is unreachable, after recompiling kernel


hey, i've been unable to get onto the internet (or communicate with any machine on the network) after recompiling my kernel. For example, ping returns the message: ping: sendto: Network is unreachable

It appears the system is recognizing my network card. The output of dmesg is below, and i didn't see any errors.

The problem i do see is that when i boot my old kernel, there is a process running:
dhclient-2.2.x -q eth0

which is not present on the new kernel. I'm not sure where this process gets started up, it doesn't appear to be in the /etc/init.d directory.

one other question, when my system boots up, i swear that there is information that flashes across the screen that doesn't appear in dmesg. Where can i find this information?


any help we be much appreciated





Linux version 2.4.18 (root@sunship) (gcc version 2.95.4 20011002 (Debian prerelease)) #4 Thu Jun 12 14:38:37 PDT 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000ffec000 (usable)
BIOS-e820: 000000000ffec000 - 000000000ffef000 (ACPI data)
BIOS-e820: 000000000ffef000 - 000000000ffff000 (reserved)
BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 65516
zone(0): 4096 pages.
zone(1): 61420 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=302
Initializing CPU#0
Detected 908.107 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1808.79 BogoMIPS
Memory: 255428k/262064k available (1284k kernel code, 6248k reserved, 411k data, 224k init, 0k highmem)
Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Before vendor init, caps: 0183f9ff c1c7f9ff 00000000, vendor = 2
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After vendor init, caps: 0183f9ff c1c7f9ff 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: Common caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: AMD Athlon(tm) Processor stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xf1150, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router VIA [1106/0686] at 00:04.0
Applying VIA southbridge workaround.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
parport_pc: Via 686A parallel port: io=0x378
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
lp0: using parport0 (polling).
block: 128 slots per queue, batch=32
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 21
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdcMA, hddio
PDC20265: IDE controller on PCI bus 00 dev 88
PCI: Found IRQ 10 for device 00:11.0
PDC20265: chipset revision 2
PDC20265: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0x8400-0x8407, BIOS settings: hdeio, hdfio
ide3: BM-DMA at 0x8408-0x840f, BIOS settings: hdgio, hdhio
hda: Maxtor 92048U8, ATA DISK drive
hdc: YAMAHA CRW3200E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 40000464 sectors (20480 MB) w/2048KiB Cache, CHS=2489/255/63
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 8192kB Cache
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 < hda5 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Linux Tulip driver version 0.9.15-pre9 (Nov 6, 2001)
PCI: Found IRQ 9 for device 00:09.0
PCI: Sharing IRQ 9 with 00:04.2
PCI: Sharing IRQ 9 with 00:04.3
eth0: ADMtek Comet rev 17 at 0xa400, 00:20:78:1C:A0:46, IRQ 9.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Via Apollo Pro KT133 chipset
agpgart: AGP aperture is 32M @ 0xe6000000
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] AGP 0.99 on VIA Apollo KT133 @ 0xe6000000 32MB
[drm] Initialized radeon 1.1.1 20010405 on minor 1
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
es1371: version v0.30 time 14:40:07 Jun 12 2003
PCI: Found IRQ 5 for device 00:0a.0
es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
es1371: found es1371 rev 8 at io 0xa000 irq 5
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x4352:0x5913 (Cirrus Logic CS4297A rev A)
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 9 for device 00:04.2
PCI: Sharing IRQ 9 with 00:04.3
PCI: Sharing IRQ 9 with 00:09.0
uhci.c: USB UHCI at I/O 0xd400, IRQ 9
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 9 for device 00:04.3
PCI: Sharing IRQ 9 with 00:04.2
PCI: Sharing IRQ 9 with 00:09.0
uhci.c: USB UHCI at I/O 0xd000, IRQ 9
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 224k freed
Adding Swap: 979924k swap-space (priority -1)
 
Old 06-12-2003, 05:29 PM   #2
looper
Member
 
Registered: Apr 2003
Posts: 68

Rep: Reputation: 15
Did you try to assign a static ip address to your local network card ? If you didnt there are 2 possibilities to do it:
*with ifconfig on a term s c.l
*typing neat on a term s c.l and the network conf window will pop up

About the isp s card. They must have a dhcp server, set it to obtain an ip address automatically
 
Old 06-12-2003, 05:31 PM   #3
TazLinux
Member
 
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228

Rep: Reputation: 30
ctrl - alt - f1

linux conf

password: ******
 
Old 06-12-2003, 06:08 PM   #4
bekrul
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Original Poster
Rep: Reputation: 0
thats useful, ctrl - alt -f1, do you know to dump all of the text that has scrolled across that terminal into a file?
 
Old 06-12-2003, 06:10 PM   #5
bekrul
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Original Poster
Rep: Reputation: 0
as far as networking, i haven't tried to assign a static ip address. It should be dynamic for my computer.
I think the problem is that dhclient is not running on my new kernel, now i'm trying to figure out how to properly invoke it.
 
Old 06-12-2003, 07:43 PM   #6
TazLinux
Member
 
Registered: Dec 2002
Location: Phoenix
Distribution: Mandrake 9.2
Posts: 228

Rep: Reputation: 30
I forget the command for some reason. Hmmmm.

But I should have an answer for you within the next day.


Unless someone else here knows.
 
Old 06-12-2003, 08:25 PM   #7
phormix
LQ Newbie
 
Registered: Jun 2003
Location: BC, Canada
Posts: 3

Rep: Reputation: 0
Wink Had this problem... fixed

If your problem is the same as mine, you've either done one of 2 things
a) Compiled your kernel without support for your NIC module
b) Compiled your kernel without support for modules needed for using dhcp-client

In the case of (a) - check to see if your NIC driver seems to be loaded (should mention something about autosensing port speed) when you boot. If you don't have it, compile it. If you compile at a module, you may have to edit /etc/modules afterwards to make sure that a particular module is being loaded.

Onward to (b)...
I was missing these two entries when I compiled my kernel, which in turn made the dhclient (dhcp-client) not work.
Networking Options-->Packet Socket (CONFIG_PACKET), Socket Filtering (CONFIG_FILTER). You might also want to include Unix Domain Sockets (CONFIG_UNIX).

 
  


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
Network Unreachable? biledaemon Slackware 4 10-24-2005 02:05 PM
Network is unreachable??? Tnichols Linux - Networking 15 12-19-2003 09:44 PM
Network is unreachable kakarizz Linux - Networking 1 12-16-2003 09:16 AM
Network is unreachable radix Linux - Networking 4 05-09-2002 01:06 AM
network unreachable topsoil Linux - Networking 6 08-05-2001 12:28 PM

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

All times are GMT -5. The time now is 08:27 PM.

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