![]() |
2010-02-12
, 18:23
|
Posts: 241 |
Thanked: 69 times |
Joined on Dec 2009
@ Germany
|
#131
|
![]() |
2010-02-12
, 20:17
|
Posts: 43 |
Thanked: 32 times |
Joined on Jan 2010
|
#132
|
Hey azstunt!
Thanks for the feedback. I didn't asked to you directly because I knew what your answers would be (I have read all your interesting previous posts).
Do you think you could you try to identificate the origin of the 42 bytes ? I'm curious and it would help me to understand the process. I just ran a few tests with my home wifi connexion but unfortunately I didn't log any received or sent packets on my device. That's why I assumed my script worked.
As I said before, even if they are a lot more RX packets than TX, I am pretty sure the proportion is the same (TCP needs feedback from the recipient).
![]() |
2010-02-13
, 18:31
|
|
Posts: 286 |
Thanked: 219 times |
Joined on Feb 2010
@ France
|
#133
|
Sincerely, I have no idea where these packets are coming from, I've already checked for anything that might be connecting or updating, do you know any command to check actual connections?
apt-get install tcpdump
![]() |
2010-02-13
, 22:22
|
Posts: 43 |
Thanked: 32 times |
Joined on Jan 2010
|
#134
|
See http://www.tcpdump.org/tcpdump_man.html for documentation.Code:apt-get install tcpdump
$ tcpdump -i wmaster0 -vv tcpdump: WARNING: can't create rx ring on packet socket 3: 92-Protocol not avalaible tcpdump: WARNING: wmaster0: no IPv4 address assigned tcpdump: listening on wmaster0, link-type IEEE802_11 (802.11), capture size 96 bytes 14:50:44.391267 0us ARP, Ethernet (len 6), IPv4 (len 4), Reply 1 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 14:50:02.515687 0us ARP, Ethernet (len 6), IPv4 (len 4), Reply 1 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 14:50:22.484437 0us ARP, Ethernet (len 6), IPv4 (len 4), Reply 1 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 14:50:43.375062 0us ARP, Ethernet (len 6), IPv4 (len 4), Reply 1 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 14:50:02.523560 0us ARP, Ethernet (len 6), IPv4 (len 4), Reply 1 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 14:50:22.390687 0us ARP, Ethernet (len 6), IPv4 (len 4), Reply 1 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 14:50:42.350495 0us ARP, Ethernet (len 6), IPv4 (len 4), Reply 1 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 14:50:02.531312 0us ARP, Ethernet (len 6), IPv4 (len 4), Reply 1 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 14:50:22.500031 0us ARP, Ethernet (len 6), IPv4 (len 4), Reply 1 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28
$ tcpdump -i wlan0 tcpdump: WARNING: can't create rx ring on packet socket 3: 92-Protocol not avalaible tcpdump: verbose output suppressed, use -v or -vv for full protocol decode tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size 96 bytes 15:43:40.320800 ARP, Request who-has 192.168.1.68 (Broadcast) tell 192.168.1.254, length 28 15.43.40.321075 ARP, Reply 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 15:44:00.404540 ARP, Request who-has 192.168.1.68 (Broadcast) tell 192.168.1.254, length 28 15.44.00.404815 ARP, Reply 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 15:44:21.500182 ARP, Request who-has 192.168.1.68 (Broadcast) tell 192.168.1.254, length 28 15.44.21.500457 ARP, Reply 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 15:44:40.444274 ARP, Request who-has 192.168.1.68 (Broadcast) tell 192.168.1.254, length 28 15.44.40.444549 ARP, Reply 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28
![]() |
2010-02-14
, 01:27
|
Posts: 17 |
Thanked: 14 times |
Joined on Jan 2010
@ London, UK
|
#135
|
Code:$ tcpdump -i wlan0 tcpdump: WARNING: can't create rx ring on packet socket 3: 92-Protocol not avalaible tcpdump: verbose output suppressed, use -v or -vv for full protocol decode tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size 96 bytes 15:43:40.320800 ARP, Request who-has 192.168.1.68 (Broadcast) tell 192.168.1.254, length 28 15.43.40.321075 ARP, Reply 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 15:44:00.404540 ARP, Request who-has 192.168.1.68 (Broadcast) tell 192.168.1.254, length 28 15.44.00.404815 ARP, Reply 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 15:44:21.500182 ARP, Request who-has 192.168.1.68 (Broadcast) tell 192.168.1.254, length 28 15.44.21.500457 ARP, Reply 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28 15:44:40.444274 ARP, Request who-has 192.168.1.68 (Broadcast) tell 192.168.1.254, length 28 15.44.40.444549 ARP, Reply 192.168.1.68 is-at c0:38:f9:b3:07:02 (oui Unknown), length 28
![]() |
2010-02-17
, 01:32
|
|
Posts: 286 |
Thanked: 219 times |
Joined on Feb 2010
@ France
|
#136
|
#!/bin/sh echo "$IFACE" >> /var/log/ifup.log
![]() |
2010-02-18
, 15:11
|
Posts: 38 |
Thanked: 16 times |
Joined on Dec 2009
|
#137
|
![]() |
2010-02-18
, 15:52
|
Posts: 30 |
Thanked: 5 times |
Joined on Jan 2010
|
#138
|
![]() |
2010-02-18
, 16:10
|
|
Posts: 286 |
Thanked: 219 times |
Joined on Feb 2010
@ France
|
#139
|
installed this script around a week ago seemed to work fine till phone was re-booted . now doesnt work wifi never disconnects when idle.
![]() |
2010-02-18
, 16:15
|
Posts: 241 |
Thanked: 69 times |
Joined on Dec 2009
@ Germany
|
#140
|
installed this script around a week ago seemed to work fine till phone was re-booted . now doesnt work wifi never disconnects when idle.
![]() |
|