You are not logged in.

#1 2009-09-21 02:29:23

myxolam
Member
Registered: 2009-09-21
Posts: 12

new install network issues

Hi,
I installed arch.
after reboot, I my network fails to connect,

here is what I did.
During install I edited /etc/rc.conf
the only thing I changed was my Hostname
everything else was already set as  shown below

Hostname = "archer"
eth0 ="dhcp"

interfaces =(eth0)
gateway =  "default gw 192.168.0.1"
ROUTES=(!gateway)
Daemons = (syslog-ng network netfs crond)

again I didnt have to do anything to /etc/hosts

it was already set to

127.0.0.1    localhost.localdomain  localhost  archer

I tried

dhcpcd eth0
this was the response
dhcpcd version 5.06 starting
dhcpcd eth0: waiting for carrier
dhcpcd: timed out

also ping -c 3 www.google.com failed

This is a window7/arch dual boot network on windows works just fine.

I had ubuntu and opensuse on this machine , they both connected to the internet.
So I know its not a hardware issue.

some background: my motherboard (msi x58 ) has 2 ethernet cards
so I even tried

Hostname = "archer"
eth0 ="dhcp"
eth1="dhcp"
interfaces =(eth0 eth1)
gateway =  "default gw 192.168.0.1"
ROUTES=(!gateway)
Daemons = (syslog-ng network netfs crond)

I tried not using dhcp but didnt work.
By the way, do you have to reboot every time you change teh rc.conf file, or just save and test?

I also added 8139too to my Modules line
since my card  is
Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit Ethernet NIC (NDIS 6.20)

This didnt work so I took it off.
I reinstalled ....same problem.

I had read about hwdetect and would hav
but its not installed by default.

I really would like to give arch a  shot. So any help figuring this out would be appreciated.
Note the livecd couldnt connect to internet either.

thanks.

Offline

#2 2009-09-21 03:40:18

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: new install network issues

Show the output of `ifconfig -a`
Also try `ifconfig eth0 up`


neutral

Offline

#3 2009-09-21 13:44:07

myxolam
Member
Registered: 2009-09-21
Posts: 12

Re: new install network issues

eth0      Link encap:Ethernet  HWaddr 00:21:22:51:5b:97  
            BROADCAST MULTICAST  MTU:1500  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0 
            RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
            Interupt:32 Base address:0x2000
eth1      Link encap:Ethernet  HWaddr 00:21:22:51:5b:98  
            BROADCAST MULTICAST  MTU:1500  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0 
            RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
            Interupt:32 Base address:0x2000
lo         Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

I tried ifconfig eth0 up
nothing happens
I did ifconfig -a after ifconfig eth0 up to see if there is a different output, but its stiil the same as above.
i also pinged google again , but it still fails.'

thanks for taking the time to help.

Last edited by myxolam (2009-09-21 13:46:32)

Offline

#4 2009-09-21 14:16:54

SleepyFloyd
Member
Registered: 2008-06-11
Posts: 91

Re: new install network issues

eth0 ="dhcp"
eth1="dhcp"

I think you're missing a few spaces here...

eth0 = "dhcp"
eth1 = "dhcp"

Offline

#5 2009-09-21 14:32:38

myxolam
Member
Registered: 2009-09-21
Posts: 12

Re: new install network issues

OK finally solved
Thanks for the tips sand-man and sleepyFloyd


after doing ifconfig -a, I got nothing on both ethernet cards

I again tried the following

MODULES=(8139too)

Hostname = "archer"
eth0 ="dhcp"

interfaces =(eth0 eth1)
gateway =  "default gw 192.168.0.1"
ROUTES=(!gateway)
Daemons = (syslog-ng network netfs crond)

Apparently, I am using eth1 (my second ethernet card)
...even though i had physically tested yesterday by moving the network cable to the different slots and pinging.
I am not entirely sure , but it could be the combination of adding 8139too to modules and adding eth1 that fixed it.
I rebooted (maybe thats what I didnt do after each change yesterday) and did ifconfig -a again.
this time it sent and received packets on eth1 ....and ping  to google was successful.

I may have indeed messed up the spacing  in the eth1 line.

lets hope I dont mess up while doing the rest of the install.
I appreciate the quick responses.


cheers

Offline

Board footer

Powered by FluxBB