You are not logged in.

#1 2005-10-08 02:05:16

nephish
Member
Registered: 2005-06-08
Posts: 95

problem with static ip, and eth0 after install

hey there all.

i have a via_rhine ethernet plug on my motherboard.
i just did an install of Arch 7 and cannot get out on the network. my ip is 192.168.1.2 and the computer sharing the internet with me is 192.168.1.1.
it has worked on all other distros i have tried, but i cant get it to work in Arch.

so. i turn to you for help.

ifconfig shows eth0 is up with the right ip address.
gateway in rc.conf has the ! removed from it.

i just dont get it. route shows me what it is supposed to

i can ping my own ip, but i cannot ping my gateway computer. even by ip address.
i even put via_rhing in the list of modules to load at boot.

all i have is a console, no gui (did just a base install, its all i downloaded)
i know the hardware works, because i am trying to switch over from debian to arch.

thanks for any tips

Offline

#2 2005-10-08 03:55:56

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: problem with static ip, and eth0 after install

did you set the right nameservers in /etc/resolv.conf

Offline

#3 2005-10-08 04:07:16

nephish
Member
Registered: 2005-06-08
Posts: 95

Re: problem with static ip, and eth0 after install

yeah, i cant even ping with an ip address.

my route looks good.
dmesg | grep eth0 looks ok (correct piece of equipment)

i just dont get it

Offline

#4 2005-10-08 04:22:37

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: problem with static ip, and eth0 after install

lets have a look at the relevant bit of your rc.conf

Offline

#5 2005-10-08 04:35:07

nephish
Member
Registered: 2005-06-08
Posts: 95

Re: problem with static ip, and eth0 after install

ok, here goes

HOSTNAME="bitsbam"

MODULES=(via_rhine)

lo = "lo 127.0.0.1"
eth0 = "eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.1
gateway = "default gw 192.168.1.1"
interfaces = (lo eth0)

DAEMONS = (network netfs cron)

i had to type it in here,
hope this helps
thanks

Offline

#6 2005-10-08 05:19:16

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: problem with static ip, and eth0 after install

I believe that broadcast address should be:  192.168.1.255


oz

Offline

#7 2005-10-08 05:24:28

nephish
Member
Registered: 2005-06-08
Posts: 95

Re: problem with static ip, and eth0 after install

ok, i changed the broadcast to 192.168.1.255
still cant ping the gateway.
i get a Destination Host Unreachable and 100% loss.
i even did a reboot, same thing. shows up correctly as being
changed with an ifconfig.

thanks

Offline

#8 2005-10-08 09:07:00

ivi3
Member
Registered: 2005-10-06
Posts: 62

Re: problem with static ip, and eth0 after install

I mentioned this several other threads: Are you using the stock kernel?
Then try archck from the community or compile one by yourself and test again.

greetings
Mathias

Offline

#9 2005-10-08 09:16:58

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: problem with static ip, and eth0 after install

What about firewall problems?

Try after an "iptables --flush"

Offline

#10 2005-10-08 11:41:36

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: problem with static ip, and eth0 after install

Have you done any special things to get your card working, before you tried Arch? I have an ethernet card using same module, but I can't get it working with any distro or *BSD.


Arch - It's something refreshing

Offline

#11 2005-10-08 12:43:15

nephish
Member
Registered: 2005-06-08
Posts: 95

Re: problem with static ip, and eth0 after install

No, i have not done anything special to the ethernet to get it to work on other distros, some distros see it, some do not .

i am using the 2.6 kernel for IDE that comes on the CD i downloaded.

no firewall

thanks guys!

Offline

#12 2005-10-08 13:01:27

nephish
Member
Registered: 2005-06-08
Posts: 95

Re: problem with static ip, and eth0 after install

there is a 2.4 kernel on the cd also, and i believe also the capability of
building one from source on the cd also.
i could give one of those a try.

Offline

#13 2005-10-08 14:14:38

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: problem with static ip, and eth0 after install

sorry for appearing dim, but, you quote your gateway as the other PC. thus, your PC connects to that one, and that then connects to the net via a router/cablemodem ? Whats running on the other PC ?

also, have you tried the Wiki page maybe it might highlight something you hadnt considered.

Offline

#14 2005-10-08 14:32:12

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: problem with static ip, and eth0 after install

I remember reading elsewhere that for many users, acpi has to be disabled at boot time for the via rhine drivers to work properly.  Don't know that to be the case for any of you having problems with it, though.  Still, it's worth a shot.


oz

Offline

#15 2005-10-08 14:32:46

nephish
Member
Registered: 2005-06-08
Posts: 95

Re: problem with static ip, and eth0 after install

the other pc (the one sharing the internet) is running debian. It connects to the internet via DSL. 

yep, good wiki, i have it almost memorized, that page of it anyway - he he.

i am pretty determined to get this right, i have run arch on another computer before and its my favorite by far.

how do i disable acpi ? and will that mess something else up ? ( not that it matters, i want to get this box on line so i can pacman some stuff )

thanks

Offline

#16 2005-10-08 17:07:42

MaceM
Member
From: Austria
Registered: 2003-11-26
Posts: 47

Re: problem with static ip, and eth0 after install

i had to use

noapic noacpi

in my kernel line in grub to get via_rhine to work.

you can also try nolocalapic or something. i found lots of complaints on google about via_rhine not working properly.

disabling acpi/apic didn't mess up anything i needed.

Offline

#17 2005-10-08 17:35:04

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: problem with static ip, and eth0 after install

the other pc (the one sharing the internet) is running debian. It connects to the internet via DSL.

ah ok, i'll bow out on this then. my setup is any/all pc's connect directly to the router, not via each other. so the gateway address is the router address, for me 192.168.0.1 , and i set up the interface using a web-browser.

happy hunting smile

Offline

#18 2005-10-09 03:22:09

nephish
Member
Registered: 2005-06-08
Posts: 95

Re: problem with static ip, and eth0 after install

ok i will give it a shot.

thanks

by the way, if this is a kernel problem, what do i change in the kernel if i roll my own from the install disk. the config file on the install is the same as that in the menuconfig. so what should i change if the noapic doesn't do it ?

thanks

Offline

#19 2005-10-09 05:27:49

nephish
Member
Registered: 2005-06-08
Posts: 95

Re: problem with static ip, and eth0 after install

GREAT NEWS !

disabling the acpi is what did the trick. Thanks so much for the tip.
i would have never pulled that off myself.

but now, here i sit with Arch running, Gnome, firefox, everything else. Sleek, fast, nothing i dont need and everything just the way i like it. You know, why Arch fans dig Arch.

thanks very much for solving this for me.

Offline

#20 2005-11-17 23:36:59

arch_mike
Member
From: Toronto
Registered: 2005-06-25
Posts: 29
Website

Re: problem with static ip, and eth0 after install

Good job mate , worked on mine as well , makes you wonder why that happens with via-rhine  :evil:


<Insert>

Offline

#21 2005-11-18 00:58:01

nephish
Member
Registered: 2005-06-08
Posts: 95

Re: problem with static ip, and eth0 after install

good to hear. , and who knows. i can live with it, though.
glad your up and running

Offline

Board footer

Powered by FluxBB