[SLUG] beginners home networking question
Hello everyone, I'm having a problem with the wired Ethernet connection that I've set up between my laptop and my desktop. I like to ssh into my desktop from my old laptop when I need resource heavy program like OpenOffice.org. The problem is, that if I stop working for a few minutes, the ethernet connection times out. It seems that the only way I can get my connection back is to unplug and replug the cross-over cable. Here are some details, I hope you can point me in the right direction. I'm using Ubuntu Lucid. My desktop Hostname: Antec NetworkManager: removed Firewall: Firestarter. Allows ssh connections from my laptop. Dhcp server (Because that's the only way I could get NetworkManager on my laptop to accept a connection from it) I've changed these two lines in /etc/dhpc3/dhpcd.conf: My laptop Hostname: Thinkpad NetworkManager: Yes Firewall: Firestarter. Internet connection sharing enabled. Internet connection: Mobile broadband Here is output from /var/log/syslog on my desktop: Aug 20 11:18:27 antec kernel: [183640.534931] sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both Aug 20 11:19:32 antec kernel: [183706.130901] sky2 eth0: Link is down. Aug 20 11:19:35 antec kernel: [183709.018081] sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both Aug 20 11:45:57 antec sudo: pam_sm_authenticate: Called Aug 20 11:45:57 antec sudo: pam_sm_authenticate: username = [mark] Aug 20 11:45:57 antec sudo: pam_sm_authenticate: /home/mark is already mounted Aug 20 12:01:26 antec kernel: [186219.845433] type=1503 audit(1282269686.525:25): operation=exec pid=18462 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:26 antec kernel: [186219.846489] type=1503 audit(1282269686.525:26): operation=exec pid=18463 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:26 antec kernel: [186219.847493] type=1503 audit(1282269686.525:27): operation=exec pid=18464 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:27 antec kernel: [186220.522972] type=1503 audit(1282269687.205:28): operation=exec pid=18468 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:27 antec kernel: [186220.524540] type=1503 audit(1282269687.205:29): operation=exec pid=18469 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:27 antec kernel: [186220.525892] type=1503 audit(1282269687.205:30): operation=exec pid=18470 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:27 antec kernel: [186220.527132] type=1503 audit(1282269687.205:31): operation=exec pid=18471 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:27 antec kernel: [186220.528364] type=1503 audit(1282269687.205:32): operation=exec pid=18472 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:27 antec kernel: [186220.529592] type=1503 audit(1282269687.205:33): operation=exec pid=18473 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:17:01 antec CRON[19509]: (root) CMD ( cd / run-parts --report /etc/cron.hourly) Aug 20 12:18:58 antec kernel: [187271.580496] sky2 eth0: Link is down. Aug 20 12:21:17 antec kernel: [187410.945074] sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both Aug 20 12:21:19 antec kernel: [187412.99] sky2 eth0: Link is down. Aug 20 12:21:23 antec kernel: [187417.158814] sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both Aug 20 12:21:25 antec dhcpd: Wrote 1 leases to leases file. Aug 20 12:21:25 antec dhcpd: DHCPREQUEST for 192.168.3.2 from 00:0d:60:8a:f0:09 (thinkpad) via eth0 Aug 20 12:21:25 antec dhcpd: DHCPACK on 192.168.3.2 to 00:0d:60:8a:f0:09 (thinkpad) via eth0 Aug 20 12:22:58 antec kernel: [187511.429208] sky2 eth0: Link is down. Aug 20 12:23:32 antec kernel: [187546.306589] sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both Aug 20 12:23:34 antec dhcpd: DHCPREQUEST for 192.168.3.2 from 00:0d:60:8a:f0:09 (thinkpad) via eth0 Aug 20 12:23:34 antec dhcpd: DHCPACK on 192.168.3.2 to 00:0d:60:8a:f0:09 (thinkpad) via eth0 Write failed: Broken pipe Here is output from /var/log/syslog on my laptop: Aug 20 12:05:40 thinkpad wpa_supplicant[1022]: WPS-AP-AVAILABLE Aug 20 12:06:18 thinkpad kernel: [48094.236158] Inbound IN=ppp0 OUT= MAC= SRC=120.19.7.166 DST=120.22.8.249 LEN=52 TOS=0x18 PREC=0xA0 TTL=60 ID=59698 DF PROTO=TCP SPT=46193 DPT=445 WINDOW=60352
Re: [SLUG] beginners home networking question
Hi, if you set it to ping continuously, does the connection drop anyway? Ben On 20/08/2010 1:06 PM, mark adrian bell wrote: Hello everyone, I'm having a problem with the wired Ethernet connection that I've set up between my laptop and my desktop. I like to ssh into my desktop from my old laptop when I need resource heavy program like OpenOffice.org. The problem is, that if I stop working for a few minutes, the ethernet connection times out. It seems that the only way I can get my connection back is to unplug and replug the cross-over cable. Here are some details, I hope you can point me in the right direction. I'm using Ubuntu Lucid. My desktop Hostname: Antec NetworkManager: removed Firewall: Firestarter. Allows ssh connections from my laptop. Dhcp server (Because that's the only way I could get NetworkManager on my laptop to accept a connection from it) I've changed these two lines in /etc/dhpc3/dhpcd.conf: My laptop Hostname: Thinkpad NetworkManager: Yes Firewall: Firestarter. Internet connection sharing enabled. Internet connection: Mobile broadband Here is output from /var/log/syslog on my desktop: Aug 20 11:18:27 antec kernel: [183640.534931] sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both Aug 20 11:19:32 antec kernel: [183706.130901] sky2 eth0: Link is down. Aug 20 11:19:35 antec kernel: [183709.018081] sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both Aug 20 11:45:57 antec sudo: pam_sm_authenticate: Called Aug 20 11:45:57 antec sudo: pam_sm_authenticate: username = [mark] Aug 20 11:45:57 antec sudo: pam_sm_authenticate: /home/mark is already mounted Aug 20 12:01:26 antec kernel: [186219.845433] type=1503 audit(1282269686.525:25): operation=exec pid=18462 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:26 antec kernel: [186219.846489] type=1503 audit(1282269686.525:26): operation=exec pid=18463 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:26 antec kernel: [186219.847493] type=1503 audit(1282269686.525:27): operation=exec pid=18464 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:27 antec kernel: [186220.522972] type=1503 audit(1282269687.205:28): operation=exec pid=18468 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:27 antec kernel: [186220.524540] type=1503 audit(1282269687.205:29): operation=exec pid=18469 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:27 antec kernel: [186220.525892] type=1503 audit(1282269687.205:30): operation=exec pid=18470 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:27 antec kernel: [186220.527132] type=1503 audit(1282269687.205:31): operation=exec pid=18471 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:27 antec kernel: [186220.528364] type=1503 audit(1282269687.205:32): operation=exec pid=18472 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:01:27 antec kernel: [186220.529592] type=1503 audit(1282269687.205:33): operation=exec pid=18473 parent=18461 profile=/usr/bin/evince requested_mask=::x denied_mask=::x fsuid=1000 ouid=0 name=/usr/bin/dbus-launch Aug 20 12:17:01 antec CRON[19509]: (root) CMD ( cd / run-parts --report /etc/cron.hourly) Aug 20 12:18:58 antec kernel: [187271.580496] sky2 eth0: Link is down. Aug 20 12:21:17 antec kernel: [187410.945074] sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both Aug 20 12:21:19 antec kernel: [187412.99] sky2 eth0: Link is down. Aug 20 12:21:23 antec kernel: [187417.158814] sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both Aug 20 12:21:25 antec dhcpd: Wrote 1 leases to leases file. Aug 20 12:21:25 antec dhcpd: DHCPREQUEST for 192.168.3.2 from 00:0d:60:8a:f0:09 (thinkpad) via eth0 Aug 20 12:21:25 antec dhcpd: DHCPACK on 192.168.3.2 to 00:0d:60:8a:f0:09 (thinkpad) via eth0 Aug 20 12:22:58 antec kernel: [187511.429208] sky2 eth0: Link is down. Aug 20 12:23:32 antec kernel: [187546.306589] sky2 eth0: Link is up at 1000 Mbps, full duplex, flow control both Aug 20 12:23:34 antec dhcpd: DHCPREQUEST for 192.168.3.2 from 00:0d:60:8a:f0:09 (thinkpad) via eth0 Aug 20 12:23:34 antec dhcpd: DHCPACK on 192.168.3.2 to 00:0d:60:8a:f0:09 (thinkpad) via eth0 Write failed: Broken pipe Here is output from /var/log/syslog on my laptop: Aug 20 12:05:40 thinkpad wpa_supplicant[1022]: WPS-AP-AVAILABLE Aug 20 12:06:18 thinkpad kernel: [48094.236158] Inbound IN=ppp0 OUT= MAC=