View previous topic :: View next topic |
Author |
Message |
JorBond n00b
Joined: 21 May 2003 Posts: 11
|
Posted: Wed May 21, 2003 12:29 am Post subject: Cant bring eth0 up |
|
|
Code: |
* Bringing eth0 up...
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
SIOCSIFBRDADDR: No such device
eth0: unknown interface: No such device
SIOCSIFNETMASK: No such device
* Failed to bring eth0 up [ !! ]
|
I just finished installing gentoo and got all of my hardware to work except for the internet
when i boot off of the cd, the internet works perfectly but i cant use it when i boot off of the hdd. I have a linksys ethernet card if that helps |
|
Back to top |
|
|
handsomepete Guru
Joined: 21 Apr 2002 Posts: 548 Location: Kansas City, MO
|
Posted: Wed May 21, 2003 12:57 am Post subject: |
|
|
Check out the FAQ on networking and see if any of those steps help. |
|
Back to top |
|
|
keratos68 Guru
Joined: 27 Dec 2002 Posts: 561 Location: Blackpool, Lancashire, UK.
|
Posted: Wed May 21, 2003 9:09 am Post subject: |
|
|
Have you enabled (built-in or modules) the necessary Networking options and protocols in the kernel?? _________________ Someone told me that "..they only ever made one mistake...."
...and that's when they said they were wrong!! |
|
Back to top |
|
|
asimon l33t
Joined: 27 Jun 2002 Posts: 979 Location: Germany, Old Europe
|
Posted: Wed May 21, 2003 9:59 am Post subject: |
|
|
Also the latest baselayout is broken. If you installed baselayout-1.8.6.8.ebuild your network will never work, then you have to downgrade to 1.8.6.7. |
|
Back to top |
|
|
JorBond n00b
Joined: 21 May 2003 Posts: 11
|
Posted: Wed May 21, 2003 6:46 pm Post subject: |
|
|
i have turned dchp on since i am on a cable modem and it removed the
Code: | SIOCSIFADDR: No such device
eth0: unknown interface: No such device |
errors
but it still wont bring it up and it says netmount cant be started
i tried the noapic switch on grub and it still failed and i upgraded my kernel to 2.5.69(not sure if it installed right as kde still said 2.4) |
|
Back to top |
|
|
anush n00b
Joined: 20 May 2003 Posts: 9
|
Posted: Thu May 22, 2003 2:28 am Post subject: |
|
|
Exact same issue with my PC... more solution..??? |
|
Back to top |
|
|
weazy Tux's lil' helper
Joined: 21 May 2003 Posts: 82 Location: co-located
|
Posted: Thu May 22, 2003 2:36 am Post subject: |
|
|
make sure you have the correct network card activated |
|
Back to top |
|
|
anush n00b
Joined: 20 May 2003 Posts: 9
|
Posted: Thu May 22, 2003 2:47 am Post subject: |
|
|
what is it for the linksys in kernel configuration |
|
Back to top |
|
|
weazy Tux's lil' helper
Joined: 21 May 2003 Posts: 82 Location: co-located
|
Posted: Thu May 22, 2003 3:41 am Post subject: |
|
|
uhm, could be anything, it depends on the model of linksys nic. look through the network cards in the kernel configuration menu. |
|
Back to top |
|
|
keratos68 Guru
Joined: 27 Dec 2002 Posts: 561 Location: Blackpool, Lancashire, UK.
|
Posted: Thu May 22, 2003 6:22 am Post subject: |
|
|
You're not enabling ALL the Network options are you?? Just enable the ones you need.
Here are some of the more relevant kernel config sections from my system, you may wish to compare with your /usr/src/linux/.config ....
Code: | ...
#
# Networking options
#
CONFIG_PACKET=m
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=m
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
# CONFIG_NET_IPGRE_BROADCAST is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
CONFIG_IPV6=m
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
...
#
# Network device support
#
CONFIG_NETDEVICES=y
...
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_SUNLANCE is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_NET_BCM4400 is not set
# CONFIG_CS89x0 is not set
# CONFIG_TULIP is not set
# CONFIG_DE4X5 is not set
# CONFIG_DGRS is not set
# CONFIG_DM9102 is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_LNE390 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_NE3210 is not set
# CONFIG_ES3210 is not set
CONFIG_8139CP=m
CONFIG_8139TOO=m
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_SUNDANCE_MMIO is not set
# CONFIG_TLAN is not set
# CONFIG_TC35815 is not set
...
#
# File systems
#
# CONFIG_FS_POSIX_ACL is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
CONFIG_SUPERMOUNT=y
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BEFS_DEBUG is not set
# CONFIG_BFS_FS is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
# CONFIG_EXT3_FS_XATTR_SHARING is not set
# CONFIG_EXT3_FS_XATTR_USER is not set
# CONFIG_EXT3_FS_XATTR_TRUSTED is not set
# CONFIG_EXT3_FS_POSIX_ACL is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
# CONFIG_UMSDOS_FS is not set
CONFIG_VFAT_FS=y
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_JFS_FS is not set
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_PROC_CONFIG is not set
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XATTR_SHARING is not set
# CONFIG_EXT2_FS_XATTR_USER is not set
# CONFIG_EXT2_FS_XATTR_TRUSTED is not set
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_SYSV_FS is not set
CONFIG_UDF_FS=m
CONFIG_UDF_RW=y
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set
...
#
# Network File Systems
#
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_NFS_FS is not set
# CONFIG_NFS_V3 is not set
# CONFIG_NFS_ACL is not set
# CONFIG_ROOT_NFS is not set
# CONFIG_NFSD is not set
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_ACL is not set
# CONFIG_NFSD_TCP is not set
# CONFIG_SUNRPC is not set
# CONFIG_LOCKD is not set
# CONFIG_SMB_FS is not set
# CONFIG_NCP_FS is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
# CONFIG_NCPFS_STRONG is not set
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not set
# CONFIG_NCPFS_SMALLDOS is not set
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
# CONFIG_ZISOFS_FS is not set
CONFIG_FS_MBCACHE=y
... |
Also, what card do you have,? Issue the command:
Code: | grep 'Ethernet' </proc/pci |
_________________ Someone told me that "..they only ever made one mistake...."
...and that's when they said they were wrong!! |
|
Back to top |
|
|
anush n00b
Joined: 20 May 2003 Posts: 9
|
Posted: Thu May 22, 2003 11:11 am Post subject: |
|
|
i don't have the options as seen in your .config and i have a linksys card |
|
Back to top |
|
|
badzio Tux's lil' helper
Joined: 16 May 2003 Posts: 144 Location: Lodz
|
Posted: Thu May 22, 2003 11:56 am Post subject: |
|
|
maybe you checked wrong netcard during configuring kernel? what netcard have you got? _________________ gouranga;-) |
|
Back to top |
|
|
anush n00b
Joined: 20 May 2003 Posts: 9
|
Posted: Thu May 22, 2003 12:15 pm Post subject: |
|
|
interesting.. i got the exact same .config as you have shown above... and when i grep -i 'ethernet' /proc/pci SURPRISINGLY i find the exact name of my card.. LINKSYS........ should i enable the apic in my uniprocessor selection... and also i tried booting with the livecd and when i did lsmod... it had loaded tulip as my driver.. any ideas.. |
|
Back to top |
|
|
keratos68 Guru
Joined: 27 Dec 2002 Posts: 561 Location: Blackpool, Lancashire, UK.
|
Posted: Thu May 22, 2003 2:16 pm Post subject: |
|
|
post output of /etc/conf.d/net and the command "ifconfig -v" and "arp -i eth0"
Also, if the tulip driver works for you from live-cd, issue the command "modprobe tulip" , of course you need to compile the tulip driver as a module!! You could add the line "tulip" to /etc/modules.autoload then issue the command "update-modules",reboot and try that.
Any luck? _________________ Someone told me that "..they only ever made one mistake...."
...and that's when they said they were wrong!!
Last edited by keratos68 on Thu May 22, 2003 4:59 pm; edited 1 time in total |
|
Back to top |
|
|
anush n00b
Joined: 20 May 2003 Posts: 9
|
Posted: Thu May 22, 2003 2:24 pm Post subject: |
|
|
i will post the output when i am out of work.. anyways... i was not able to find tulip choice at all in my kernel configuration... btw the kernel is gentoo-sources |
|
Back to top |
|
|
handsomepete Guru
Joined: 21 Apr 2002 Posts: 548 Location: Kansas City, MO
|
Posted: Thu May 22, 2003 2:28 pm Post subject: |
|
|
Network Device Support --> Ethernet (10 or 100Mbit) --> [*] DECchip Tulip (dc21x4x) PCI support
is the exact location. If you're missing that, then something went horribly, horribly wrong. |
|
Back to top |
|
|
keratos68 Guru
Joined: 27 Dec 2002 Posts: 561 Location: Blackpool, Lancashire, UK.
|
Posted: Thu May 22, 2003 4:59 pm Post subject: |
|
|
handsomepete wrote: | Network Device Support --> Ethernet (10 or 100Mbit) --> [*] DECchip Tulip (dc21x4x) PCI support
is the exact location. If you're missing that, then something went horribly, horribly wrong. |
ABSOLUTELY!! _________________ Someone told me that "..they only ever made one mistake...."
...and that's when they said they were wrong!! |
|
Back to top |
|
|
anush n00b
Joined: 20 May 2003 Posts: 9
|
Posted: Fri May 23, 2003 12:44 pm Post subject: |
|
|
thanks guys.. it works... linux is up and running....thanks for ur guidance |
|
Back to top |
|
|
keratos68 Guru
Joined: 27 Dec 2002 Posts: 561 Location: Blackpool, Lancashire, UK.
|
Posted: Fri May 23, 2003 1:06 pm Post subject: |
|
|
For the purposes of GENTOOers searching and finding this, please can you tell us what the problem was and which of the options suggested resolved the issue.
TIA _________________ Someone told me that "..they only ever made one mistake...."
...and that's when they said they were wrong!! |
|
Back to top |
|
|
|