[SLUG] beginners home networking question

2010-08-26 Thread mark adrian bell
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 

[SLUG] beginners home networking problem

2010-08-26 Thread mark adrian bell
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 

[SLUG] OpenStreetMap

2010-08-26 Thread Ashley Maher
ACS South Coast Chapter
In conjunction with Surveying and Spatial Sciences Institute (NSW) (SSSi
NSW)
 and Illawarra Geospatial Users Group (iGUG)
Tuesday,  31st August, 2010

Topic: A web 2.0, crowd sourcing, social networking development,
OpenStreetMap
 (http://www.openstreetmap.org) is a rapidly growing global project to
create a complete map of the world, providing free, rich geographic data
to anyone for any use. The project was started because most maps you may
think of as free actually have legal or technical restrictions on their
use, holding back people from using them in creative, productive, or
unexpected ways. Since 2004 OpenStreetMap has grown to cover the world.
With good data coverage in most major urban areas of the world,
OpenStreetMap provides a viable alternative to proprietary mapping data,
encouraging the development of innovative software.
While some of the current OpenStreetMap data has come from government
and commercial imports, much of the work that goes into making the best
maps comes from the contributions of individual mappers - people like you.
Included within the presentation is an outline of the many ways that you
can join in to help, from taking brief notes while you walk the dog, to
the most efficient way to map your whole suburb and the best equipment
for doing so.
While some of the current OpenStreetMap data has come from government
and commercial imports, much of the work that goes into making the best
maps comes from the contributions of individual mappers - people like
you. Included within the presentation will be an outline of the many
ways that you can join in to help, from taking brief notes while you
walk the dog, to the most efficient way to map your whole suburb and the
best equipment for doing so.

About the Presenter:
Cameron Dawdy is an active contributing member of the openstreetmap.org
group since September 2008. Initially starting out as a hobby, it's
developed into an excuse to visit odd places via 100km detours, as well
as somewhat more practical reasons for using detailed and customised
openstreetmap data for work purposes.

He's got a few funny stories of travels, some gems about what
openstreetmap has managed to accomplish so far, and many other aspects
of openstreetmap - it's not just a map on the internet!
Venue:  Auditorium
City of Wollongong Tennis Club
Foleys Road
Gwynneville, NSW 2500

Date:   Tuesday, 31st August, 2010

Time:   5:45pm for 6pm – 7:30pm
Meeting adjorn to Club Dining Room to continue 
discussion

Online Registration: http://www.acs.org.au/nsw
Fee:Free (Please register for this event, using the link 
above)



signature.asc
Description: OpenPGP digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] SyPy Thurs Sep 2nd: Snake charming via Test Driven Development - Vaughan Allan + lightning talks + social sypy

2010-08-26 Thread Dylan Jay

RSVP via http://anyvite.com/o8ro0kdjqi

6:15: Arrive and enjoy munchies provided by Google Australia

6:30: Five minute lightning talks (open to all)

6:45 Main Talk - Test Driven Development - Vaughan Allan

8:00 Social networking and beers and dinner upstairs at theHarlequin  
Inn.


Snake charming via Test Driven Development:

Test-driven development (TDD) is a software development process that  
relies on the repetition of a very short development cycle: first the  
developer writes a failing automated test case that defines a desired  
improvement or new function, then produces code to pass that test and  
finally refactors the new code to acceptable standards..


Vaughan Allan:

VP Software Engineering at Platform46 Pty Ltd. Founder: Thinkers  
Garden


A prominent interest in languages and patterns, web frameworks,  
cluster computing and functional programming. A big fan of AppEngine  
and all things Google. Specialties: Java, Perl, Python/Django, C/C++,  
ColdFusion, Javascript/XML/AJAX/DHTML, Groovy/Grails, Erlang,  
Distributed Systems...


Further Details:

We will also have slots for 5 minute lightning talks. If you think its  
interesting and you're a pythonista then chances are we will to. Put  
together a few slides and bring it along.


*RSVP: Please RSVP on Anyvite to get your name on the door* via 
http://anyvite.com/o8ro0kdjqi

Getting There: It's a 10min walk from Town Hall station over the  
pyrmont bridge (directionshttp://tinyurl.com/nedz98) or catch the  
light rail to the casino station.


Go to level 5 or if the doors are locked wait outside and look for  
smiley happy google people to let you in.


Free free to join us at the pub after/instead. Upstairs at the  
Harlequin Inn 152-156 Harris St, Pyrmont(http://bit.ly/81rLtH). The  
Harly has cheapish thai/burgers available for dinner.


If have any problems call Dylan Jay on 0421477460


---
Dylan Jay
Plone Solutions Manager. www.pretaweb.com
P +612 80819071   M +61421477460
skype - dylan_jaytwitter - djay75

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] beginners home networking question

2010-08-26 Thread Ben Donohue

 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=