You are not logged in.

#1 2015-01-04 22:53:45

tylergiallanza
Member
Registered: 2015-01-04
Posts: 4

[SOLVED] Wired Static IP Disconnects

Sorry for such a basic question, but for some reason my internet connection drops every 5 minutes or so on my new arch machine (just set it up yesterday). I have taken the steps in the beginner's guide to setting up a wired connection with a static IP, and this works great for a few minutes when all of a sudden the connection stops. There are two things that fix this problem - one is running this script, but it only works for a few minutes until the connection cuts out again.
The other way I can fix the connection is odd - if I ping my router at 192.168.0.1, the connection starts working again. This might be because I have the computer connected via ethernet to a wireless access point at 192.168.0.254 that routes all of the trafic to the main router at 192.168.0.1, but I'm not sure because I've tested the access point with windows and it works just fine.
I could probably set up the network config script to autorun every few minutes, but I'm trying to configure this machine as a server so an unreliable connection isn't going to work.

Thanks in advance, sorry for my bad english and if you need me to clarify just ask.

Last edited by tylergiallanza (2015-01-05 00:08:59)

Offline

#2 2015-01-04 23:13:27

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,749
Website

Re: [SOLVED] Wired Static IP Disconnects

I don't understand what you mean by "this script" -- that's just a link to the Beginner's Guide.

What is the content of /etc/netctl/my_network?

It sounds like this may be a problem with your wireless access point -- what is that exactly?

Offline

#3 2015-01-04 23:25:08

tylergiallanza
Member
Registered: 2015-01-04
Posts: 4

Re: [SOLVED] Wired Static IP Disconnects

The script I use is here, and my netctl file contents are here.
Access Point is Linksys WAP54G with DD-WRT standard micro installed. The router is configured in repeater bridge mode, and I have tested both wired and wireless on windows machines and it works perfectly, but those machines used DHCP and I have arch configured as static so that may be the issue.

Offline

#4 2015-01-04 23:31:45

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,749
Website

Re: [SOLVED] Wired Static IP Disconnects

Does it work if you use dhcp instead?

# netctl stop-all
# systemctl start dhcpcd.service

If it does:

# netctl disable my_network
# systemctl enable dhcpcd.service

Offline

#5 2015-01-04 23:48:16

tylergiallanza
Member
Registered: 2015-01-04
Posts: 4

Re: [SOLVED] Wired Static IP Disconnects

Thank you, that seems to work. My only issue with using DHCP is that I planned on using this machine as a home server. Is there any way to set a preferred IP that DHCP will try to match my computer to? For example, my windows machine always gets an ip of 192.168.0.15 even though it uses DHCP, but some other machines on the network have IPs that constantly change.

Offline

#6 2015-01-05 00:07:43

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Wired Static IP Disconnects

Possibly, it depends on whether or not your DHCP server (usually your router) has the capability.

Check your router manual to find out.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#7 2015-01-05 00:08:27

tylergiallanza
Member
Registered: 2015-01-04
Posts: 4

Re: [SOLVED] Wired Static IP Disconnects

Will do. Thanks for all the help!

Offline

Board footer

Powered by FluxBB