Archive for June, 2004

Time sync 5

Steve was telling me how he had setup a time server for keeping all his machines in sync, and I thought it was a good idea too.

We use UWA's time server.

prime:~# cat /etc/crontab

# m h dom mon dow user command
*/15 * * * * root /usr/sbin/ntpdate time.uwa.edu.au | /usr/bin/logger

This should stop prime from advancing a few minutes every month.

ipcalc 1

Are you like me and forever forgetting what a /xx network is (like a /32)? I found a cool tool called ipcalc which, when given an IP address and a netmask, shows all the information about that IP and network. You can also pass in an IP/xx style for the same information.

mlambie@prime:~$ ipcalc 192.168.0.1 255.255.255.0

Address: 192.168.0.1 11000000.10101000.00000000 .00000001
Netmask: 255.255.255.0 = 24 11111111.11111111.11111111 .00000000
Wildcard: 0.0.0.255 00000000.00000000.00000000 .11111111
=>
Network: 192.168.0.0/24 11000000.10101000.00000000 .00000000 (Class C)
Broadcast: 192.168.0.255 11000000.10101000.00000000 .11111111
HostMin: 192.168.0.1 11000000.10101000.00000000 .00000001
HostMax: 192.168.0.254 11000000.10101000.00000000 .11111110
Hosts/Net: 254 (Private Internet RFC 1918)

The output is actually coloured too, if your teminal supports it (and my stylesheet doesn't :) So, never again will I get my /xx's mixed up.

Samba MP3 share 0

Everytime I install of configure Samba (like I did with Ian this afternoon) I go looking on Google for an example shared directory setup. I normally use this for sharing out MP3s and the like. I really should have recorded this earlier

</etc/samba/smb.conf>

[mp3]
comment = MP3 Audio
path = /data/mp3
browseable = yes
public = yes

Now it's recorded for all time ;)

Edit: 22/07/2004 - 11:10AM

I've found that this is a better configuration, and will work on newer versions of Samba.

</etc/samba/smb.conf>

[public]
comment = Public Directory
path = /data/samba
browseable = yes
public = yes
writable = yes
create mode = 0655
write list = @users

Houses 0

This is basically so I don't have to keep going through the motions of filling in the web form and selecting all the suburbs I want.

Click here to see the kinds of houses I'm looking at. It searches in East Victoria Park, Como, West Perth and each of their surrounding areas.

Gmail - Google’s webmail system 6

logo.gifToday I got an invite to register with Google's webmail program - Gmail. Invites are still somewhat rare online, with some original invites selling last month for as much as $200 on eBay.

My address is mlambie@gmail.com, if you want to mail me there.

If anyone wants an invite, let me know, and when I get a batch to give away, I'll send them your way. I should get three in a week or so, according to what others have said.

I'm glad that I got in early, because with Hotmail and ICQ, all the 'good ones' went early. I've got a pretty low ICQ number (1397855) and don't use my Hotmail account., but I'm lucky it's not 'mlambie2000' or 'matthew_lambie_80' like so many others have (I hate those addresses!)

The benefits are that this account has 1GB of online storage, so you'll never have to delete anything. Also e-mails you send don't have any nasty ads in the footers, which is good.

« Previous PageNext Page »