cc-ed back to the list. please don't reply privately when the discussion
belongs on the list.
On Sat, Aug 04, 2012 at 08:14:26PM +1000, Mark Trickett wrote:
> On Sat, 2012-08-04 at 08:59 +1000, Craig Sanders wrote:
> > On Fri, Aug 03, 2012 at 09:45:57PM +1000, Allan Duncan wrote:
> > > It won't help you with your download problem, but it helps explain
> > > strange numbers when MPLS gets invovled.
> > well spotted.
> But since I am not an Internode customer, I cannot get to that page. I
I meant well-spotted RE the fact of MPLS, not the particular web page.
MPLS is something that is easily googled, whether you have access to one
ISP's customer-only web pages or not. someone there will likely know
wvdial and modem pppd configuration a lot better than I remember it (i
haven't used a modem connection for over 10 years).
> > I think Mark has mentioned problems downloading the Linux Journal
> > before. Makes me wonder what the MTU and MRU on his PPP interface is
> > and whether he (or Telstra) is blocking ICMP packets (in particular ICMP
> > Fragmentation Required msgs).
> Tell me where to look, and how to set, and I will try.
you need to mru and mtu values in the pppd config file for your
connection. e.g. /etc/ppp/peers/provider. the exact filename depends
on your distro and what method you used to configure pppd in the first
place (e.g. gui config, dialog text mode config, or just a text editor)
see the man page for pppd and the network configuration documentation
for your distro for details.
you'll want to add lines like:
> I am currently using wvdial, and want to know what options are passed
> to pppd.
no idea. i've never used wvdial.
> I am also looking to migrate to a desktop running Debian 6, and would
> very appreciate some pointers to making use of "pon" and "poff",
> particularly just what is the minimal necessary to configure.
IIRC debian has a curses/dialog pppconfig tool for managing ppp
configuration. dunno if they have a gui or not. the abominable gnome
Network Manager may do ghastly things in the name of configuring pppd.
dunno. vi has always been my configuration tool of choice.
> I would also appreciate pointers to more advanced configuration. I
> need the modem link to be the default route, rather than any Ethernet
1. don't have a gateway line in your ethernet configuration - that tells
ifup that you want a default route pointing at the gateway mentioned.
2. add "defaultroute" to your ppp configuration. same place as you add the
mtu and mru.
> As commented, a little advice would be appreciated. I would also
> appreciate comments about how wvdial invokes pppd, and why when I use
> wget, I need to use the --no-proxy option to get anywhere at all.
no idea about wvdial but if you need to specify --no-proxy, that means
you have a proxy set in either your environment (type: 'set | grep -i
proxy' to check. use 'unset foo_proxy' to remove for the current running
shell, edit your bashrc/bash_profile/etc files to remove permanently),
or in your wget config. check ~/.wgetrc and maybe /etc/wgetrc.
craig sanders <cas(a)taz.net.au>
I'm doing some testing with bcache on my Debian system, with the block devices layered like:
/boot (because grub doesn't understand bcache superblocks)
And it almost works except that my bcache initramfs script runs after lvm. I told bcache to prereq on mdadm, so that much works, but unless I change the system provided lvm initramfs script, I can't get bcache to run before it, so I need to intervene at boot time to get it moving.
I'm using rsync (version 3.0.7-1ubuntu1.1 on my Ubuntu 10.4 system) in a
shell script to perform local backups of my system on to removable hard
(FYI: It's a bit kludgy, but I'm VERY happy with it. Been doing it for a
few years. Normally works great. It's extremely fast at creating
up-to-date immediately-bootable clones/mirrors (?) of my system. I
always store backups in different locations from my office. So, I'm not
hogging up bandwidth, or exposing my data to others, by using the
internet to do my backups.)
My system is a dual boot, sharing Ubuntu with WinXP, for when I (rarely)
HAVE to genuinely do something in Win. (Thanks, but no thanks. I don't
want to do a virtual machine.)
Are there any rsync wizards out there? My problem is this:
Lately, when rsync updates my WinXP partition (by this command)...
rsync -Hvxrlt --delete /mnt/tempWindows/ /mnt/backupWindows
... I get the following error messages ...
> *sending incremental file list*
> *rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]:
> Broken pipe (32)*
> *deleting Documents and Settings/etc. ...
> *((Here, it seems to remove various deleted WinXP files from the
> target partition.)) *
> *deleting Documents and Settings/etc. ...*
> *rsync: write failed on “/mnt/backupWindows/pagefile.sys”: No space
> left on device (28)*
> *rsync error: error in file IO (code 11) at receiver.c(302)
> *rsync: connection unexpectedly closed (28 bytes received so far)
> *rsync error: error in rsync protocol data stream (code 12) at
> io.c(601) [sender=3.0.7]*
I'm confused by this, as I'm not a CLI wizard by any means. So if you
offer advice, please try to dumb it down to the newbie level. You'll get
an understanding of my comprehension level by the following comments...
Booting into each of the two WinXP partitions proves that the
clone/mirror partition is "out of date" compared to the master partition.
I used ls to find out that the pagefile.sys files on both WinXP
partitions are exactly the same size: 2,145,386,496 bytes.
I used df to find out that (at this point in time) the source WinXP
partition has 468,400 1KB blocks available, while the target WinXP
partition has 2,015,600 1KB blocks available.
df also informed me that the source WinXP partition is only 10,472,136
1KB blocks in total size, while the target partition is =larger=, at
10,985,712 1KB blocks.
My guess is that the target can only run out of space is if rsync (1)
copies an updated file into the free space of the target partition using
a temp filename, (2) deletes the original file at the target partition,
and (3) renames the newly-copied file to the original name.
Any other explanation for that? Any suggested work-arounds?
I'm thinking about cutting the Win swap file size in half, and seeing if
that removes the problem at rsync time. Then limping along with that
setup until I rebuild my system (when Ubuntu 12.4.1 comes out in a few
weeks), with a larger partition for my "bare bones" WinXP.
Thanks in advance for any help.
Mobile 0427 024 735
I have a string in the following format:
ALTER TABLE QuestionnaireCategory ADD CONSTRAINT DF_QuestionaireCategory_QuestionaireCategoryID DEFAULT ("123") FOR QuestionnaireCategoryID
That I need to convert to:
ALTER TABLE QuestionnaireCategory ALTER QuestionnaireCategoryID SET DEFAULT ("123")
The former being MSSQL format and the latter being postgresql. I have a sed script that does it and works great except for when the DEFAULT value itself contains braces, eg:
The problem is that my sed script says to start at the "(" and then read up until a ")", but I really mean to say read up until a matching ")". Can I do this with sed or should I be using something else?
I've just written the above blog post about my future backup plans. This
includes a server that has about 400G of data in the US that I have been
backing up via rsync. If I transition that to ZFS then is there any way of
starting a send/receive backup process that doesn't involve initially
transferring 400G of data? My ADSL plan only allows 150G per month and I
can't have a 3 month period of no good backups...
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
I'm not sure if this is the right place to ask, but I wanted to know
if anyone had any good experiences with laptop repairers in
Melbourne, and specifically, I need to get the trackpoint mouse
pointer replaced on a Lenovo/IBM W51- ThinkPad.
It's mainly the ribbon cable to the keyboard (which doesn't appear to
be available separately), and possibly the trackpoint mechanism. Yes,
I also saw those little red rubber cover replacements.
At 12:45 AM 8/08/2012, Bianca Gibson wrote:
>Is it just the cap that's the problem? If it is, buy new ones off lenovo:
>That's the US site, but just punch in 'trackpoint cap' and you'll find it.
>On 7 August 2012 23:16, Andrew Voumard
>I'm not sure if this is the right place to ask, but I wanted to know
>if anyone had any good experiences with laptop repairers in
>Melbourne, and specifically, I need to get the trackpoint mouse
>pointer replaced on a Lenovo/IBM W51- ThinkPad.
>luv-main mailing list
>luv-main mailing list
I could not load the Gnome Terminal in my Suse 2.1 64 bit box after
loading Entangle from the Suse repositories. This has prevented my
running Evolution from the console to try and get some error messages.
I rebooted my box in the hope of sanity returning, but now I get no
display at all.
Ctrl+Alt+F2 and tried to startx but got these messages:
xauth: file /home/andrew/.serverauth.2041 does not exist
xauth: file /home/andrew/.Xauthority does not exist
xauth: file /home/andrew/.Xauthority does not exist
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again
So I did that and things looked encouraging until it failed with a
message Failed to load session"(null)" and offered a Logout button.
The mouse was working but the button did not log me out and the box
returned with the same message.
How would I repair this so that the Gnome desktop would create new
I always thought that apt-get install --reinstall would reinstall a package, but it doesn't seem to work. I broke a file that belongs to a package (/etc/xen/scripts/vscsi) and want it reinstalled from the package source but it doesn't work - even if I delete the file, --reinstall doesn't put it back again.
The man page doesn't tell me anything immediately obvious, although the solution will probably come to me as soon as I've hit send here.