Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Repeated network breakdowns - box or router?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lo-jay
l33t
l33t


Joined: 27 Feb 2005
Posts: 862

PostPosted: Sun Jan 11, 2015 10:30 pm    Post subject: Repeated network breakdowns - box or router? Reply with quote

lately i experience repeated network breakdowns.
i can always bring down dhcp with
Code:
dhcpcd -x
& then bring it up again
Code:
dhcpcd


so i would like to narrow down if the prob is my box or the router?

Code:
 ping -c3 192.168.178._
connect: Network is unreachable
# dhcpcd -x
dhcpcd[4882]: sending signal TERM to pid 2470
dhcpcd[4882]: waiting for pid 2470 to exit
# dhcpcd
dhcpcd[4886]: version 6.4.7 starting
dhcpcd[4886]: dev: loaded udev
 * Stopping OpenNTPD ... [ ok ]
 * Starting OpenNTPD ... [ ok ]
dhcpcd[4886]: DUID ...
dhcpcd[4886]: eth0: IAID ...
dhcpcd[4886]: wlan0: waiting for carrier
dhcpcd[4886]: eth0: soliciting an IPv6 router
dhcpcd[4886]: eth0: rebinding lease of 192.168.178.20
dhcpcd[4886]: eth0: leased 192.168.178.20 for 864000 seconds
dhcpcd[4886]: eth0: adding route to 192.168.178.0/24
dhcpcd[4886]: eth0: adding default route via 192.168.178.1
 * Stopping OpenNTPD ... [ ok ]
 * Starting OpenNTPD ... [ ok ]
dhcpcd[4886]: forked to background, child pid 5060


cheers again!
_________________
lo-jay

The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"

taken from "Two Lane Blacktop"
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Mon Jan 12, 2015 2:54 pm    Post subject: Reply with quote

What I see in /var/log/messages when stopping the AP is
Quote:
Jan 12 15:48:51 localhost dhcpcd[1580]: wlp8s0: carrier lost
Jan 12 15:48:51 localhost kernel: wlp8s0: disassociated from 24:65:11:b5:2b:c1 (Reason: 8 )
Jan 12 15:48:51 localhost kernel: wlp8s0: deauthenticating from 24:65:11:b5:2b:c1 by local choice (reason=3)
Jan 12 15:48:51 localhost kernel: cfg80211: Calling CRDA to update world regulatory domain
Jan 12 15:48:51 localhost kernel: cfg80211: World regulatory domain updated:
Jan 12 15:48:51 localhost kernel: cfg80211: DFS Master region: unset
Jan 12 15:48:51 localhost kernel: cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan 12 15:48:51 localhost kernel: cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan 12 15:48:51 localhost kernel: cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan 12 15:48:51 localhost kernel: cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
Jan 12 15:48:51 localhost kernel: cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
Jan 12 15:48:51 localhost kernel: cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm)
Jan 12 15:48:51 localhost kernel: cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm)
Jan 12 15:48:51 localhost kernel: cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
Jan 12 15:48:51 localhost kernel: cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
Jan 12 15:48:51 localhost dhcpcd[1580]: wlp8s0: deleting route to 192.168.178.0/24
Jan 12 15:48:51 localhost dhcpcd[1580]: wlp8s0: deleting default route via 192.168.178.1
Jan 12 15:48:51 localhost fetchmail[1577]: terminated with signal 15
Jan 12 15:48:54 localhost kernel: wlp8s0: authenticate with 24:65:11:b5:2b:c1
Jan 12 15:48:54 localhost kernel: wlp8s0: send auth to 24:65:11:b5:2b:c1 (try 1/3)
Jan 12 15:48:54 localhost kernel: wlp8s0: send auth to 24:65:11:b5:2b:c1 (try 2/3)
Jan 12 15:48:55 localhost kernel: wlp8s0: send auth to 24:65:11:b5:2b:c1 (try 3/3)
Jan 12 15:48:55 localhost kernel: wlp8s0: authentication with 24:65:11:b5:2b:c1 timed out
Back to top
View user's profile Send private message
lo-jay
l33t
l33t


Joined: 27 Feb 2005
Posts: 862

PostPosted: Mon Jan 12, 2015 6:47 pm    Post subject: Reply with quote

ok, this is what i find:

Code:
Jan 12 19:40:01 tux5 cron[14238]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Jan 12 19:40:53 tux5 dhcpcd[2463]: eth0: carrier lost
Jan 12 19:40:53 tux5 ntpd[2840]: ntp engine exiting
Jan 12 19:40:53 tux5 ntpd[2839]: Terminating
Jan 12 19:40:53 tux5 ntpd[14325]: ntp engine ready
Jan 12 19:40:53 tux5 dhcpcd[2463]: eth0: deleting route to 192.168.178.0/24
Jan 12 19:40:53 tux5 dhcpcd[2463]: eth0: deleting default route via 192.168.178.1
Jan 12 19:40:54 tux5 dhcpcd[14343]: sending commands to master dhcpcd process
Jan 12 19:40:54 tux5 dhcpcd[2463]: control command: /sbin/dhcpcd -k wlan0
Jan 12 19:40:54 tux5 dhcpcd[2463]: wlan0: removing interface
Jan 12 19:40:54 tux5 dhcpcd[14350]: sending commands to master dhcpcd process
Jan 12 19:40:54 tux5 dhcpcd[2463]: control command: /sbin/dhcpcd -k eth0
Jan 12 19:40:54 tux5 dhcpcd[2463]: eth0: removing interface
Jan 12 19:41:09 tux5 kernel: [31753.071532] ipt_MASQUERADE: lo ate my IP address
Jan 12 19:41:09 tux5 kernel: [31753.071579] ipt_MASQUERADE: lo ate my IP address
Jan 12 19:41:09 tux5 kernel: [31753.071589] ipt_MASQUERADE: lo ate my IP address
Jan 12 19:41:33 tux5 kernel: [31776.653453] ipt_MASQUERADE: lo ate my IP address


what's that about?

cheers again!
_________________
lo-jay

The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"

taken from "Two Lane Blacktop"
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue Jan 13, 2015 11:11 am    Post subject: Reply with quote

Not very clear for me, sorry. I am getting confused. Is your problem about wlan breakdown or etherrnet breakdown?
Back to top
View user's profile Send private message
lo-jay
l33t
l33t


Joined: 27 Feb 2005
Posts: 862

PostPosted: Tue Jan 13, 2015 11:18 am    Post subject: Reply with quote

it' the ethernet.

cheers!
_________________
lo-jay

The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"

taken from "Two Lane Blacktop"
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Tue Jan 13, 2015 11:25 am    Post subject: Reply with quote

lo-jay ...

the most obvious thing that stands out above is you have MASQ/NAT on the machine which isn't a router.

best ... khay
Back to top
View user's profile Send private message
lo-jay
l33t
l33t


Joined: 27 Feb 2005
Posts: 862

PostPosted: Tue Jan 13, 2015 11:59 am    Post subject: Reply with quote

sorry i don't follow you there...

what does that say about my connectivity?
did not change anything in my setup lately.

cheers again!
_________________
lo-jay

The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"

taken from "Two Lane Blacktop"
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Jan 13, 2015 12:58 pm    Post subject: Re: Repeated network breakdowns - box or router? Reply with quote

lo-jay wrote:

Code:
 ping -c3 192.168.178._
connect: Network is unreachable

cannot reach a network of class 192.168. so cannot reach a local network == router issue (assuming your "box" is a ref to your modem, as many "box" are in fact router too)
and you will then ask: why the route is broken while the router answering dhcpd request?
no idea, could be your box answer to it, or the router isn't totally broken, dhcp could still works while your routing is dead.
Back to top
View user's profile Send private message
lo-jay
l33t
l33t


Joined: 27 Feb 2005
Posts: 862

PostPosted: Tue Jan 13, 2015 1:00 pm    Post subject: Reply with quote

ok, so i will try another router to see if the error reoccurs.

thanks a lot 8) !
_________________
lo-jay

The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"

taken from "Two Lane Blacktop"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum