View previous topic :: View next topic |
Author |
Message |
tiscali n00b
Joined: 21 Feb 2005 Posts: 15 Location: Finland
|
Posted: Sun Jul 16, 2006 8:09 pm Post subject: Problems getting connected to the internet |
|
|
I have problems with internet while surfing on the web with browser. Internet works well couple of minutes but after that all traffic stops, ping didn't work etc. I have to restart with Code: | /etc/init.d/net.eth0 restart | to get it works again. I have also noticed that ip addresses lease time are growned about two weeks despite i have reseted and power-off my modem. Before it renewed automatically. I'm using dynamic dns with dhcp. Connection works if start gentoo and didn't do anything but immidiately for pair of minutes it stops if receive and send packets. |
|
Back to top |
|
|
anello Guru
Joined: 17 Jul 2005 Posts: 557 Location: EU -> DE -> Stuttgart
|
Posted: Sun Jul 16, 2006 8:23 pm Post subject: |
|
|
First thought: Modem or Network Card is broken!
Can you try /or did you already try with another OS?
Give some more infos!!!
How do you connect to the internet ... _________________ Antonino Catinello | http://catinello.eu |
|
Back to top |
|
|
tiscali n00b
Joined: 21 Feb 2005 Posts: 15 Location: Finland
|
Posted: Mon Jul 17, 2006 4:25 am Post subject: |
|
|
That problem occured when i updated dhcpcd ebuild from 2.0.6 to 2.0.8, i viewed it from logs that dhcpcd was emerged 19th of June 2006 and problem continues. Is it related to that, not sure ? In second OS WinXp net works well. I'm using TCM290 with usb and with kernel 2.17.0-r2, all neworking options compiled direct to kernel not modules. |
|
Back to top |
|
|
intgr Apprentice
Joined: 23 Jun 2004 Posts: 225 Location: Earth, Sol, Milky Way
|
Posted: Mon Jul 17, 2006 6:00 am Post subject: |
|
|
It could be that the network interface drops for some reason. Can you see anything in dmesg after the connection drops? |
|
Back to top |
|
|
tiscali n00b
Joined: 21 Feb 2005 Posts: 15 Location: Finland
|
Posted: Mon Jul 17, 2006 11:42 am Post subject: |
|
|
here is what dmesg says : Code: | ip_tables: (C) 2000-2006 Netfilter Core Team
ip_conntrack version 2.4 (4095 buckets, 32760 max) - 208 bytes per conntrack
device eth0 entered promiscuous mode
audit(1153134572.349:2): dev=eth0 prom=256 old_prom=0 auid=4294967295
NVRM: not using NVAGP, an AGPGART backend is loaded!
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=83.245.97.132 DST=83.245.147.101 LEN=48 TOS=0x00 PREC=0x00 TTL=108 ID=4601 DF PROTO=TCP SPT=3160 DPT=139 WINDOW=64240 RES=0x00 SYN URGP=0
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=83.245.97.132 DST=83.245.147.101 LEN=48 TOS=0x00 PREC=0x00 TTL=108 ID=4850 DF PROTO=TCP SPT=3160 DPT=139 WINDOW=64240 RES=0x00 SYN URGP=0
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=83.213.39.111 DST=83.245.147.101 LEN=64 TOS=0x00 PREC=0x00 TTL=27 ID=63013 DF PROTO=TCP SPT=4042 DPT=445 WINDOW=53760 RES=0x00 SYN URGP=0
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=83.213.39.111 DST=83.245.147.101 LEN=64 TOS=0x00 PREC=0x00 TTL=27 ID=63638 DF PROTO=TCP SPT=4042 DPT=445 WINDOW=53760 RES=0x00 SYN URGP=50689
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=83.245.200.134 DST=83.245.147.101 LEN=48 TOS=0x00 PREC=0x00 TTL=118 ID=51863 DF PROTO=TCP SPT=2657 DPT=135 WINDOW=64240 RES=0x00 SYN URGP=0
device eth0 left promiscuous mode
audit(1153135142.761:3): dev=eth0 prom=0 old_prom=256 auid=4294967295
device eth0 entered promiscuous mode
audit(1153135153.882:4): dev=eth0 prom=256 old_prom=0 auid=4294967295
device eth0 left promiscuous mode
audit(1153135171.707:5): dev=eth0 prom=0 old_prom=256 auid=4294967295
device eth0 entered promiscuous mode
audit(1153135178.183:6): dev=eth0 prom=256 old_prom=0 auid=4294967295
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=212.58.226.29 DST=83.245.147.101 LEN=1500 TOS=0x00 PREC=0x00 TTL=44 ID=34150 DF PROTO=TCP SPT=80 DPT=50176 WINDOW=7029 RES=0x00 ACK URGP=0
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=212.58.226.29 DST=83.245.147.101 LEN=1500 TOS=0x00 PREC=0x00 TTL=44 ID=57347 DF PROTO=TCP SPT=80 DPT=50177 WINDOW=1836 RES=0x00 ACK PSH URGP=0
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=212.58.226.29 DST=83.245.147.101 LEN=1500 TOS=0x00 PREC=0x00 TTL=44 ID=34152 DF PROTO=TCP SPT=80 DPT=50176 WINDOW=7029 RES=0x00 ACK URGP=0
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=83.245.200.134 DST=83.245.147.101 LEN=48 TOS=0x00 PREC=0x00 TTL=118 ID=23890 DF PROTO=TCP SPT=3799 DPT=135 WINDOW=64240 RES=0x00 SYN URGP=0
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=204.16.208.110 DST=83.245.147.101 LEN=446 TOS=0x00 PREC=0x00 TTL=44 ID=0 DF PROTO=UDP SPT=47730 DPT=1027 LEN=426
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=204.16.208.117 DST=83.245.147.101 LEN=447 TOS=0x00 PREC=0x00 TTL=44 ID=0 DF PROTO=UDP SPT=58297 DPT=1026 LEN=427
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=204.16.208.117 DST=83.245.147.101 LEN=447 TOS=0x00 PREC=0x00 TTL=44 ID=0 DF PROTO=UDP SPT=58297 DPT=1027 LEN=427
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=83.245.200.134 DST=83.245.147.101 LEN=48 TOS=0x00 PREC=0x00 TTL=118 ID=11407 DF PROTO=TCP SPT=2930 DPT=139 WINDOW=64240 RES=0x00 SYN URGP=0
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=83.245.200.134 DST=83.245.147.101 LEN=48 TOS=0x00 PREC=0x00 TTL=118 ID=11867 DF PROTO=TCP SPT=2930 DPT=139 WINDOW=64240 RES=0x00 SYN URGP=2048
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=83.245.83.7 DST=83.245.147.101 LEN=48 TOS=0x00 PREC=0x00 TTL=104 ID=49288 DF PROTO=TCP SPT=1668 DPT=135 WINDOW=16384 RES=0x00 SYN URGP=0
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=83.245.83.7 DST=83.245.147.101 LEN=48 TOS=0x00 PREC=0x00 TTL=104 ID=49697 DF PROTO=TCP SPT=1668 DPT=135 WINDOW=16384 RES=0x00 SYN URGP=0
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=83.229.142.151 DST=83.245.147.101 LEN=48 TOS=0x00 PREC=0x00 TTL=104 ID=4882 DF PROTO=TCP SPT=3091 DPT=139 WINDOW=64240 RES=0x00 SYN URGP=0
Inbound IN=eth0 OUT= MAC=00:11:e3:28:d5:6c:00:0f:90:27:b4:83:08:00 SRC=83.245.200.134 DST=83.245.147.101 LEN=48 TOS=0x00 PREC=0x00 TTL=118 ID=57182 DF PROTO=TCP SPT=1357 DPT=135 WINDOW=64240 RES=0x00 SYN URGP=0 | the network interface drops for some reason. |
|
Back to top |
|
|
intgr Apprentice
Joined: 23 Jun 2004 Posts: 225 Location: Earth, Sol, Milky Way
|
Posted: Mon Jul 17, 2006 1:24 pm Post subject: |
|
|
tiscali wrote: | the network interface drops for some reason. |
Oddly enough, the interface does not drop, otherwise you would see kernel messages about it, and most certaily you wouldn't be seeing logged incoming packets.
Does tcpdump detect any outgoing DHCP packets? Incoming responses? It's a very handy tool for situations like these. |
|
Back to top |
|
|
tiscali n00b
Joined: 21 Feb 2005 Posts: 15 Location: Finland
|
Posted: Tue Jul 18, 2006 2:07 pm Post subject: |
|
|
this what i have in tcpdump when connection drops: Code: | 17:05:21.280202 IP e83-245-147-101.elisa-laajakaista.fi.38046 > 81.0.235.161.http: FP 498:985(487) ack 1 win 183 <nop,nop,timestamp 308323 260605158>
17:05:21.292224 IP e83-245-147-101.elisa-laajakaista.fi.38045 > 81.0.235.161.http: FP 982:1469(487) ack 8069 win 545 <nop,nop,timestamp 308326 260605159>
17:05:21.620220 IP e83-245-147-101.elisa-laajakaista.fi.38043 > 81.0.235.161.http: FP 482:1444(962) ack 1231 win 260 <nop,nop,timestamp 308408 260605141>
17:05:21.788233 IP e83-245-147-101.elisa-laajakaista.fi.38044 > 81.0.235.161.http: FP 1473:1957(484) ack 2244 win 412 <nop,nop,timestamp 308450 260605158>
17:05:22.664283 IP e83-245-147-101.elisa-laajakaista.fi.32775 > resolver1.kolumbus.fi.domain: 41520+[|domain]
17:05:27.664533 IP e83-245-147-101.elisa-laajakaista.fi.32776 > resolver2.kolumbus.fi.domain: 41520+[|domain]
17:05:28.784589 IP e83-245-147-101.elisa-laajakaista.fi.43719 > 66.249.93.99.http: F 456:456(0) ack 1431 win 8580
17:05:32.664881 IP e83-245-147-101.elisa-laajakaista.fi.32776 > resolver1.kolumbus.fi.domain: 25468+[|domain] |
|
|
Back to top |
|
|
|