You are not logged in.

#1 2008-05-26 16:19:40

kontrast
Arch Linux f@h Team Member
From: Massachusetts
Registered: 2008-05-26
Posts: 41
Website

Cant get network configured after Arch install (e100)

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

#2 2008-05-26 19:29:04

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Cant get network configured after Arch install (e100)

Hi kontrast,
I'm not sure if this is the problem but the broadcast address shouldn't be 192.168.1.255?

Offline

#3 2008-05-26 19:55:23

kontrast
Arch Linux f@h Team Member
From: Massachusetts
Registered: 2008-05-26
Posts: 41
Website

Re: Cant get network configured after Arch install (e100)

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

#4 2008-05-26 20:08:38

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Cant get network configured after Arch install (e100)

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

#5 2008-05-26 20:30:54

kontrast
Arch Linux f@h Team Member
From: Massachusetts
Registered: 2008-05-26
Posts: 41
Website

Re: Cant get network configured after Arch install (e100)

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

#6 2008-05-26 21:21:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Cant get network configured after Arch install (e100)

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. smile 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

#7 2008-05-26 21:50:56

kontrast
Arch Linux f@h Team Member
From: Massachusetts
Registered: 2008-05-26
Posts: 41
Website

Re: Cant get network configured after Arch install (e100)

Ah, just misunderstood you smile 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 tongue

Thanks again.

Last edited by kontrast (2008-05-26 21:51:06)

Offline

#8 2008-05-26 22:22:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Cant get network configured after Arch install (e100)

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

#9 2008-05-26 22:32:10

kontrast
Arch Linux f@h Team Member
From: Massachusetts
Registered: 2008-05-26
Posts: 41
Website

Re: Cant get network configured after Arch install (e100)

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

#10 2008-05-26 22:46:28

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Cant get network configured after Arch install (e100)

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

#11 2008-05-26 23:23:29

kontrast
Arch Linux f@h Team Member
From: Massachusetts
Registered: 2008-05-26
Posts: 41
Website

Re: Cant get network configured after Arch install (e100)

Alright, network's all happy now smile

Thank you very much, and now to setup everything else.

Offline

Board footer

Powered by FluxBB