Recently, Somebody Somewhere wrote these words
> Hi,
> Thanks for getting back to me.
> To answer the other suggestions I got:
> *Yes I can ping the IP address of the card.
> *The result from route
> Destination gateway genmask flags metric ref use iface
> 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
> loopback localhost 255.0.0.0 UG 0 0 0 lo
> default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
> *I do not have a host.conf file and resolv.conf is exactly the
> same as live cd resolv.conf
>> I have gone over my net file and I had made a couple of spelling
> mistakes but I fixed them and rebooted but still no joy. I used
> genkernel so forcedeth is part of kernel. I can ping from the
> live cd no prob. I have set the IP to a static one, I did not
> emerge dhcp if that makes a difference. Rapidly running out of
> hair!!--
To keep the amusement level up, the amateur will instruct in the
presence of experts. Here goes:
/etc/host.conf should be like this
[root at genius ~]# cat /etc/host.conf
order hosts, bind
multi on
/etc/resolv.conf should have these lines.
The format is 'keyword data'
search your.domain your.isp your.network
nameserver IP.of.isp.dns1
nameserver IP.of.isp.dns1
nameserver server.of.your.domain
nameserver server.of.your.domain
and so on for every main server in your network setup.
You may want to have your local network first, depending on which
you access more.
cat /proc/interrupts |grep eth0 should have a number below 16
You should see syslog talking about the nic and assigning a sane
irq when you insert forcedeth. Here's my via-rhine
Mar 19 14:45:10 genius kernel: eth0: link up, 100Mbps,
full-duplex, lpa 0x45E1
Mar 19 14:45:11 genius dhclient: Listening on
LPF/eth0/00:50:70:22:c5:73
Mar 19 14:45:11 genius dhclient: Sending on
LPF/eth0/00:50:70:22:c5:73
Mar 19 14:45:13 genius dhclient: DHCPREQUEST on eth0 to
255.255.255.255 port 67
Mar 19 14:45:20 genius kernel: eth0: no IPv6 routers present
Mar 20 10:09:31 genius kernel: eth0: VIA Rhine II at 0xec101000,
00:50:70:22:c5:73, IRQ 11.
Mar 20 10:09:31 genius kernel: eth0: MII PHY found at address 1,
status 0x7869 advertising 05e1 Link
I have this in /etc/modprobe.conf
alias eth0 via-rhine
which is alias <interface> <module>.ko
Never mind route - that's tomorrow's lesson :-). Try ifconfig with
no options. Here's what I get
[root at genius ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:70:22:C5:73
inet addr:192.168.1.33 Bcast:192.168.1.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1075 errors:0 dropped:0 overruns:0 frame:0
TX packets:1037 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:107885 (105.3 Kb) TX bytes:66692 (65.1 Kb)
Interrupt:11 Base address:0xc000
Notice the eth0 IP, hardware interrupt, & i/o? Modern well made
boxes may not be as fussy as this one.
These let you see if it's just a routing problem. You can try http
or ping with the IPs or domain names. If you get the IPs and not
the domain names, that's dns issue. I lost hair because ACPI
assigned the nic irq20 along with everything else as well, hard
disks, usb, sound, serial, video :-( Every device was split
between 2 half-assed irqs.
[root at genius ~]# dnsip www.google.ie
66.249.93.99 66.249.93.104
[root at genius ~]# dnsip cr.yp.to
131.193.178.175
[root at genius ~]# dnsip linux.ie
193.1.193.138
--
With best Regards,
Declan Moriarty.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!