View previous topic :: View next topic |
Author |
Message |
lo-jay l33t
Joined: 27 Feb 2005 Posts: 862
|
Posted: Sun Jan 11, 2015 10:30 pm Post subject: Repeated network breakdowns - box or router? |
|
|
lately i experience repeated network breakdowns.
i can always bring down dhcp with & then bring it up again
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 |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Mon Jan 12, 2015 2:54 pm Post subject: |
|
|
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 |
|
|
lo-jay l33t
Joined: 27 Feb 2005 Posts: 862
|
Posted: Mon Jan 12, 2015 6:47 pm Post subject: |
|
|
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 |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Tue Jan 13, 2015 11:11 am Post subject: |
|
|
Not very clear for me, sorry. I am getting confused. Is your problem about wlan breakdown or etherrnet breakdown? |
|
Back to top |
|
|
lo-jay l33t
Joined: 27 Feb 2005 Posts: 862
|
Posted: Tue Jan 13, 2015 11:18 am Post subject: |
|
|
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 |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Tue Jan 13, 2015 11:25 am Post subject: |
|
|
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 |
|
|
lo-jay l33t
Joined: 27 Feb 2005 Posts: 862
|
Posted: Tue Jan 13, 2015 11:59 am Post subject: |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Tue Jan 13, 2015 12:58 pm Post subject: Re: Repeated network breakdowns - box or router? |
|
|
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 |
|
|
lo-jay l33t
Joined: 27 Feb 2005 Posts: 862
|
Posted: Tue Jan 13, 2015 1:00 pm Post subject: |
|
|
ok, so i will try another router to see if the error reoccurs.
thanks a lot ! _________________ 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 |
|
|
|