You are not logged in.

#1 2008-01-16 11:44:19

davidforehand
Member
Registered: 2008-01-16
Posts: 4

no network connection

Hi I read the beginners wiki but cannot get my wired connection to work. I have cable a modem with a linksys router hooked up.

here is my rc.conf

HOSTNAME="david"
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
ROUTES=(!gateway)

here is my hosts

127.0.0.1 localhost.localdomain localhost david

ifconfig shows for eth0
inet addr:169.254.22.170 Bcast:169.254.255.255 Mask:255.255.0.0

normally on other distros my Ip address is 192.168.1.104 and gateway is 192.168.1.1 for my router so the ifconfig looks like the ip address the cable modem would give me if the router was not hooked up.

Offline

#2 2008-01-16 11:52:54

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: no network connection

Run ifconfig eth0 down; killall dhcpcd and start it again manually with dhcpcd -d eth0 to look for errors.


1000

Offline

#3 2008-01-16 11:59:44

kendosperling
Member
From: Dresden
Registered: 2007-08-28
Posts: 49

Re: no network connection

add the line "gateway="default gw the-ip-of-your-router" and remove the "!" from your ROUTES line

Offline

#4 2008-01-16 12:14:58

davidforehand
Member
Registered: 2008-01-16
Posts: 4

Re: no network connection

ok I added gateway="default gw 192.168.1.1" and also removed the ! from ROUTES

After running dhcpcd -d eth0, the only error I get is eth0: timed out
I still end up with the same ifconfig and cant ping or sync pacman

Offline

#5 2008-01-16 12:44:22

Basn
Member
From: Stockholm
Registered: 2007-08-13
Posts: 47

Re: no network connection

does your drivers load? try dmesg

Offline

#6 2008-01-17 05:24:19

davidforehand
Member
Registered: 2008-01-16
Posts: 4

Re: no network connection

Ive tried hooking the cable modem directly without the router, still the same thing. I also added eth1 and used my other ethernet jack but still the same thing. Im not sure what to look for in dmesg. In case it helps this is a DFI NF4 Lanparty Ultra-D motherboard. I dont understand why it is so hard to get this up in running, guess im just to used to knetworkmanager doing the work.

Offline

#7 2008-01-17 13:20:20

twhayes
Member
Registered: 2007-10-09
Posts: 27

Re: no network connection

looks like there's a problem with dhcp.  you might want to try a static setup to finish the install and then work on the dhcp problem. 

setup up hosts as recommended in this section of the Beginner's Guide http://wiki.archlinux.org/index.php/Beg … tc.2Fhosts and try these two commands:

ifconfig eth0 192.168.1.xxx  (desired IP)
route add default gw 192.168.1.1

you can check the route with:

netstat -nr

to make sure the default gateway is set correctly and, of course, check eth0 settings with

ifconfig eth0

Offline

#8 2008-01-17 16:44:17

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: no network connection

Perhaps your problem is in regard to the connection of the computer to the cable modem.

When I connect to my DSL modem direct, I must use a "crossover" cable to make correct connections.

When a hub or router is included in the connections, the crossover cable is not required, the hub or router corrects the connection arrangement.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#9 2008-01-18 06:58:39

davidforehand
Member
Registered: 2008-01-16
Posts: 4

Re: no network connection

I have a working Sidux install that detects my connection just fine even off of a live cd. A crossover cable is not needed to direct connect my modem to nic. I get an ip with the modem but not with the router. Still no working connection even with the ip.

Offline

#10 2008-01-18 20:49:34

Zer0
Member
From: Windsor, ON, Canada
Registered: 2006-08-25
Posts: 299

Re: no network connection

I suspect the driver isn't being loaded.. I just did a quick google and stole this from the Gentoo wiki..
"On the DFI Lanparty motherboards and other NForce 4 Chipsets with Vitesse VSC8201 Gigabit and Marvell 88E8001 Gigabit you can use modprobe forcedeth to load the open source drivers if the network interface is not detected."

If that doesn't work.. take the output from lsmod and the output from hwdetect --modules and compare the 2 for missing modules maybe..

Last edited by Zer0 (2008-01-18 20:50:10)

Offline

Board footer

Powered by FluxBB