You are not logged in.
Hello,
This is the second computer I have installed Archlinux on, and I can't seem to get the network working after installing through the CD. I changed all of the info in the rc.conf to be correct, and even checked with my original computer which i'm posting through, to make sure everything besides the static IP and hostname are the same.
Here is my HWDETECT --show-net output
NET: e100 mii ppp_generic slhc
And the important parts of my RC.CONF
MODULES=(e100 mii slhc)
HOSTNAME="arch"
eth0="eth0 192.168.1.66 netmask 255.255.255.0 broadcast 192.168.0.55"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
Offline
Hi kontrast,
I'm not sure if this is the problem but the broadcast address shouldn't be 192.168.1.255?
Offline
Actually, it seems that 0 is the correct input (Even though I can see why it seem's like it would be 1). Even after changing though, still no success. Thanks
Offline
Unload and reload the e100 module and check dmesg output for anything useful. If it looks OK, try configuring the interface manually using ifconfig and route.
BTW, luca is correct about your broadcast address - for address 192.168.1.66 and netmask 255.255.255.0, broadcast is 192.168.1.255.
Offline
I tried what you said, but there was no change (ie ping -c 3 www.google.com give me Unknown host).
What command could I use to see if the mod e100 is loaded?
Offline
What I said was to look at dmesg output. This was to try and get some info about the problem - if you expected it to suddenly work because you looked at dmesg, then I didn't express myself very well. If dmesg shows you anything you're unsure of, paste it in here so we can have a look.
lsmod is the command you're looking for - it lists all loaded modules.
Offline
Ah, just misunderstood you Thank you very much for the help so far, and here's the output of dmesg:
After modprobe -r e100
ACPI: PCI interrupt for device 0000:03:08.0 disabled.
After modprobe e100
e100: Intel(R) PRO/100 Network Driver. 3.5.17-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
ACPI: PCI Interrupt 0000:03:08.0[A] -> GSI 20 (level, low) -> IRQ 17
e100: eth0: e100_probe: addr 0xdceff000, irq 17, MAC addr 00:13:20:0C:49:EA
I'm not very sure of any of it, so i posted it all
Thanks again.
Last edited by kontrast (2008-05-26 21:51:06)
Offline
Looks OK. ifconfig -a should now show eth0. If it does, enter the following commands:
ifconfig eth0 192.168.1.66 netmask 255.255.255.0 broadcast 192.168.1.255 up
route add default gw 192.168.1.1
You should now be able to ping your router at 192.168.1.1.
To use the net, you will need to edit /etc/resolv.conf appropriately.
Offline
Alright, I can ping my router, and it is responsive.
Now, since i never had to touch my resolv.conf on this current computer, exactly what should be going into my resolv.conf? I know I need the nameservers and domain name, but how exactly would I find these?
Thanks
EDIT: Looked in current computers resolv.conf, found this (autogenerated?)
search domain_not_set.invalid
nameserver 192.168.1.1
nameserver 71.243.0.12
Would that be correct to use in my other computer?
Last edited by kontrast (2008-05-26 22:33:24)
Offline
Yeah - the second nameserver is probably not required, but no harm to leave it there. You can delete the search line if you want, as it's unset, but again no harm if you just leave it as is.
Offline
Alright, network's all happy now
Thank you very much, and now to setup everything else.
Offline