View previous topic :: View next topic |
Author |
Message |
dih0658 n00b
Joined: 10 Jan 2004 Posts: 28 Location: USA
|
Posted: Sat Jan 10, 2004 8:51 am Post subject: Just installed and no network |
|
|
i've been reading over the forums a bit and can find a few answers to similar problems i've been having with internet, but here i go.
I just finished installing gentoo and the internet worked just fine while i was using the LiveCD, however upon rebooting i get nothing from ping. Here's some info from ifconfig:
inet6 addr:fe80::220::e0ff:fe69:f794/64 Scope:Link
So after some reading on the forums i tried:
dhcpcd eth0
and after that it deteced my IP and i can ping, etc.
My question is how do i make it do this at boot, calling dhcpcd eth0 every time i login is annoying. I coudln't really find anything clear on what to do about this. Thanks for any help i can get. |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sat Jan 10, 2004 9:59 am Post subject: Re: Just installed and no network |
|
|
dih0658 wrote: | i've been reading over the forums a bit and can find a few answers to similar problems i've been having with internet, but here i go.
I just finished installing gentoo and the internet worked just fine while i was using the LiveCD, however upon rebooting i get nothing from ping. Here's some info from ifconfig:
inet6 addr:fe80::220::e0ff:fe69:f794/64 Scope:Link
So after some reading on the forums i tried:
dhcpcd eth0
and after that it deteced my IP and i can ping, etc.
My question is how do i make it do this at boot, calling dhcpcd eth0 every time i login is annoying. I coudln't really find anything clear on what to do about this. Thanks for any help i can get. | You have to edit /etc/conf.d/net (it's in the installation guide, BTW). Add a lineand comment out the line Code: | # iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
|
|
|
Back to top |
|
|
dih0658 n00b
Joined: 10 Jan 2004 Posts: 28 Location: USA
|
Posted: Sat Jan 10, 2004 10:06 am Post subject: |
|
|
that was done while i was installing gentoo, the only line in that file that is uncommented is:
iface_eth0="dhcp"
wish it were that easy =) |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sat Jan 10, 2004 10:35 am Post subject: |
|
|
dih0658 wrote: | that was done while i was installing gentoo, the only line in that file that is uncommented is:
iface_eth0="dhcp"
wish it were that easy =) | Try adding another lineThat solved similar problems for me a while ago. Typefor details... |
|
Back to top |
|
|
Arasi Tux's lil' helper
Joined: 04 Jan 2004 Posts: 75 Location: Canada
|
Posted: Sat Jan 10, 2004 1:13 pm Post subject: |
|
|
Quote: | dhcpcd eth0
and after that it deteced my IP and i can ping, etc.
|
You need to have net.eth0 added to your startup, type:
# rc-update add net.eth0 default
This will start your device at system startup and then it should automatically get dhcp because of your configuration in /etc/conf.d/net
Arasi |
|
Back to top |
|
|
dih0658 n00b
Joined: 10 Jan 2004 Posts: 28 Location: USA
|
Posted: Sat Jan 10, 2004 5:20 pm Post subject: |
|
|
I added:
hdcpcd_eth0="-R" to my /etc/conf.d/net file, but that didn't solve the problem, it's still not detecting an IP when i bootup.
I called
rc-update add net.eth0 default when I was installing gentoo, but for the heck of it I tried it again and got this:
net.eth0 already installed in runlevel default; skipping
Anyone else got any ideas for me? |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sat Jan 10, 2004 5:26 pm Post subject: |
|
|
dih0658 wrote: | I added:
hdcpcd_eth0="-R" to my /etc/conf.d/net file, but that didn't solve the problem, it's still not detecting an IP when i bootup.
I called
rc-update add net.eth0 default when I was installing gentoo, but for the heck of it I tried it again and got this:
net.eth0 already installed in runlevel default; skipping
Anyone else got any ideas for me? | Ok, let's try something else. Immediately after bootup (before the manual "dhcpcd") what's your kernel log? Please post complete listings of /etc/modules.autoload.d/kernel-2.4 and /etc/conf.d/net as well as the output of and I'll try to discover something... |
|
Back to top |
|
|
dih0658 n00b
Joined: 10 Jan 2004 Posts: 28 Location: USA
|
Posted: Sat Jan 10, 2004 5:43 pm Post subject: |
|
|
rc-update show:
this didn't return anything, just gave me a usage error.
here is the results from dmesg:
Code: |
Linux version 2.6.1-gentoo (root@cdimage) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)) #1 Sat Jan 10 06:16:41 Local time zone must be set--see zic manu
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 0000000000100000 - 000000000ffea800 (usable)
BIOS-e820: 000000000ffea800 - 0000000010000000 (reserved)
BIOS-e820: 00000000feea0000 - 00000000fef00000 (reserved)
BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65514
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 61418 pages, LIFO batch:14
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 DELL ) @ 0x000fde50
ACPI: RSDT (v001 DELL CPi R 0x27d20702 ASL 0x00000061) @ 0x000fde64
ACPI: FADT (v001 DELL CPi R 0x27d20702 ASL 0x00000061) @ 0x000fde90
ACPI: DSDT (v001 INT430 SYSFexxx 0x00001001 MSFT 0x0100000e) @ 0x00000000
Building zonelist for node : 0
Kernel command line: BOOT_IMAGE=gentoo ro root=303
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 996.660 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Memory: 255196k/262056k available (2092k kernel code, 6156k reserved, 771k data, 124k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1974.27 BogoMIPS
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 418k freed
CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040
CPU: Intel Pentium III (Coppermine) stepping 0a
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
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfc06e, last bus=8
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20031203
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs *5 7)
ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 *10 11)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT]
ACPI: Power Resource [PADA] (on)
SCSI subsystem initialized
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
devfs: v1.22 (20021013) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
SGI XFS for Linux with ACLs, realtime, no debug enabled
SGI XFS Quota Management subsystem
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.12
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2M: IDE controller at PCI slot 0000:00:1f.1
ICH2M: chipset revision 3
ICH2M: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xbfa8-0xbfaf, BIOS settings: hdc:pio, hdd:pio
hda: HITACHI_DK23FB-60, ATA DISK drive
hdb: TOSHIBA CD-RW/DVD-ROM SD-R2002, ATAPI CD/DVD-ROM drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 117210240 sectors (60011 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3
hdb: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
Synaptics Touchpad, model: 1
Firmware: 5.6
180 degree mounted touchpad
Sensor: 1
new absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
-> pass-through port
input: SynPS/2 Synaptics TouchPad on isa0060/serio1
serio: Synaptics pass-through port at isa0060/serio1/input0
input: PS/2 Generic Mouse on synaptics-pt/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
ACPI: (supports S0 S1 S3 S4 S4bios S5)
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing unused kernel memory: 124k freed
Adding 506036k swap on /dev/hda2. Priority:-1 extents:1
EXT3 FS on hda3, internal journal
st: Version 20031228, fixed bufsize 32768, s/g segs 256
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
Intel(R) PRO/100 Network Driver - version 2.3.30-k1
Copyright (c) 2003 Intel Corporation
e100: selftest OK.
e100: eth0: Intel(R) PRO/100 Network Connection
Hardware receive checksums enabled
cpu cycle saver enabled
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
ohci1394: $Rev$ Ben Collins <bcollins@debian.org>
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[10] MMIO=[f6ffd800-f6ffdfff] Max Packet=[2048]
ieee1394: Host added: ID:BUS[0-00:1023] GUID[434fc0002cc1dc01]
eth0: no IPv6 routers present
|
i just wanted to say, thanks so much for helping me out![/code] |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sat Jan 10, 2004 7:43 pm Post subject: |
|
|
Strange, here's what I get: Code: | Ajax root # rc-update show
LCDd |
afs |
alsasound | boot
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
crypto-loop |
cupsd |
domainname | default
esound |
fam |
gpm |
hdparm |
hostname | boot
hotplug |
keymaps | boot
krb5 |
lcdproc |
lisa |
local | default nonetwork
localmount | boot
modules | boot
mysql |
mythbackend |
net.eth0 | default
net.lo | boot
netmount | default
nscd |
numlock |
portmap |
reslisa |
rmnologin | boot
rsyncd |
samba |
serial | boot
slapd |
slpd |
slurpd |
sshd |
switch |
syslog-ng | default
urandom | boot
vixie-cron | default
winbind |
xdm |
xfs | default
| Can you still post the other 2 files?
Now studying the rest of your post...
I assume it's a laptop, right? BTW, do you really need IPV6? Not may people do, and maybe it gets in the way... You can disable in the kernel config, if you want. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Jan 11, 2004 12:09 am Post subject: |
|
|
dih0658 wrote: | Intel(R) PRO/100 Network Driver - version 2.3.30-k1
Copyright (c) 2003 Intel Corporation
e100: selftest OK.
e100: eth0: Intel(R) PRO/100 Network Connection
Hardware receive checksums enabled
cpu cycle saver enabled
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others |
It looks like 2 drivers are getting loaded for the same piece of hardware. This could cause a conflict and prevent your NIC from working.
You can fix this by choosing 1 module to use (e100), and putting the other module (eepro100) in /etc/hotplug/blacklist to prevent it from loading. |
|
Back to top |
|
|
|
|
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
|
|