You are not logged in.

#1 2010-01-28 02:26:46

kolbycrouch
Member
Registered: 2008-07-18
Posts: 218

Static Network stops working

Well, I've recently went distro hopping (well okay, OS hopping)
and before i had arch connecting staticly with this network setting in rc.conf.

eth0="eth0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)

gateway="default gw 192.168.1.1"
ROUTES=(gateway)

They are the same under both installs, nothing weird about them at all.
Nor is there anything odd i can see in /etc/hosts and /etc/resolv.conf.

I'm assuming its an arch problem.

Offline

#2 2010-01-28 08:32:17

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Static Network stops working

What is the actual problem? You've given good detail about your configuration, but not much detail about the problem wink

Last edited by fukawi2 (2010-01-28 08:32:29)

Offline

#3 2010-01-28 22:26:59

kolbycrouch
Member
Registered: 2008-07-18
Posts: 218

Re: Static Network stops working

It doesnt give me any errors, it just wont connect, so no internet.

Offline

#4 2010-01-28 22:36:43

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Static Network stops working

What is "it" that won't connect? Your browser?

Can you ping your gateway?
Can you ping other computers/devices on your local network?
Can you ping google.com?
What comes up in your browser when try to browse a site?

Offline

#5 2010-01-29 00:08:52

kolbycrouch
Member
Registered: 2008-07-18
Posts: 218

Re: Static Network stops working

fukawi2 wrote:

What is "it" that won't connect? Your browser?

Can you ping your gateway?
Can you ping other computers/devices on your local network?
Can you ping google.com?
What comes up in your browser when try to browse a site?

"Won't connect" meaning cannot ping remote networks, I can ping my router (gateway)

Offline

#6 2010-01-29 07:28:58

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Static Network stops working

Right, now we're getting somewhere...

Being able to ping the router/gateway sound like the default route isn't right. Is the default route being set correctly? Is that definitely the correct gateway? Post the output of `route -n`

Offline

#7 2010-01-29 08:09:14

kolbycrouch
Member
Registered: 2008-07-18
Posts: 218

Re: Static Network stops working

yes it is, 192.168.1.1, I also manually add them via route. Using dhcpcd my gateway is still 192.168.1.1

Offline

#8 2010-01-30 06:10:55

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Static Network stops working

What is the output of the following commands?

ifconfig eth0
route -n
cat /etc/resolv.conf

Offline

#9 2010-01-30 06:26:34

kolbycrouch
Member
Registered: 2008-07-18
Posts: 218

Re: Static Network stops working

eth0      Link encap:Ethernet  HWaddr 00:22:68:09:E0:E4
          inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::222:68ff:fe09:e0e4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:268046 errors:0 dropped:0 overruns:0 frame:0
          TX packets:172106 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:370975329 (353.7 Mb)  TX bytes:15373246 (14.6 Mb)
          Interrupt:26


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     202    0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    202    0        0 eth0

# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
domain hsd1.ky.comcast.net.
nameserver 68.87.68.166
nameserver 68.87.74.166
# /etc/resolv.conf.tail can replace this line

Thats all three, btw Have you noticed slower connection speed in arch, had to boot an opensuse livecd yesterday to fix something, and the connection speed was incredible, web browser was much much faster, I believe this is arch's fault not opensuse doing something special, as the speed is the same with other Gnu/linux live cd's.

Offline

#10 2010-02-01 03:36:43

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Static Network stops working

Is that after a fresh reboot, with the same configuration in rc.conf as your original post?

For some reason you have 2 default gateways configured which is going to confuse things. Have you accidentally got some duplicate configuration in your rc.conf perhaps?

Offline

#11 2010-02-01 11:12:45

kolbycrouch
Member
Registered: 2008-07-18
Posts: 218

Re: Static Network stops working

actually, not after a fresh reboot. I will reboot and post back.

Offline

Board footer

Powered by FluxBB