Hi
I have never done any multi thread programming before, so I need some advice on the best way to approach it. Here is my problem. I need to write a tool which displays files and certain...
Type: Posts; User: aquavitae; Keyword(s):
Hi
I have never done any multi thread programming before, so I need some advice on the best way to approach it. Here is my problem. I need to write a tool which displays files and certain...
I've just tried installing a couple of new services in dolphin using the "Download New Services" feature. I selected and installed a couple of them, but they don't show up in the services list. They...
This is a howto for all those frustrated South Africans using Neotel's somewhat erratic network.
I've found that the connection occasionally drops, for no apparent reason, and can't be reconnected...
Hi
I'm trying to write a simple script to reconnect to the internet when the connection is dropped (which seems to happen quite often). This is what I've got so far:
#!/bin/sh
while [...
How do you connect? Do you do it manually by typing the pon command, or have you added it to the interfaces? I added a ppp interface to /etc/interfaces, which brings up the connection automatically....
I've found a long thread on the subject: http://mybroadband.co.za/vb/showthread.php?129619-Neotel-working-on-Linux! and an article which gives a script to reset the modem:...
I'm having exactly the same issue - I think its just their devices. How does your switch work? Is it a physical switch you're wired up, or just a program? In theory you should be able to reset it...
Ok, slightly embarrasing update. I eventually discovered the problem with eth0 - I'd forgotten to plug in the cable :oops:
But I still don't know why br0 takes so long to come up. Any other files...
I'm running ubuntu server (9.10) at home as a home server, and I've got a bridge connection setup so that I can use wireless or ethernet. I've read just about every guide on the internet for setting...
Thanks. using ?: worked. And it turns out the extra complication wasn't so complicated after all, I just had to find a few more matches further on in the string, just digits so the regex was easy. ...
Scary stuff...
I've got to rush off now, but I'll give the ?: suggestion a try tomorrow. I've just discovered that my requirements are a lot more complicated than I previously thought so I'll...
Thanks for all the advice. The only problem is that I get this (python 2.5):
>>> pattern='[a-z]\d'
>>> re.findall(r'%s(_%s)?' % (pattern, pattern), 'a2_')
['']
>>> re.findall(r'%s(_%s)?' %...
I am trying to write a regular expression (in python) which will match a certain string once, or twice with an underscore between. E.g.:
'a2' or 'a2_b4', but not 'a2_' or 'a2b4'.
The simplest I've...
Not entirely sure what your problem is, but don't you need to add an underscore to sed:
sed 's/BGQ[0-9][0-9][0-9]/BGQ[0-9][0-9][0-9]_/'
Thanks for the suggestions. I tried moving the dhcp server to 80, but it didn't make any difference. I don't see an startup script for the network though, so I'm not sure when it is initialised. The...
I'm trying to set up a home server using ubuntu server 9.10, and its all working fine except that I'm having problems starting the dhcp server and connecting to the internet.
The syslog shows that...
Thanks for the reply. I want the connection to come up automatically whenever the modem is available (i.e. plugged it). I know how to do this when I have an interface such as eth0, but I'm not sure...
I'm setting up a small server at home with ubuntu server 9.10, serving about 3 or 4 computers (some windows, some linux). The idea is to provide internet, file storage, printers, and a music database...
I'm trying to write a Qt Designer widget plugin using PyQt4, and my widget has a "buttons" property, which is a flag telling it which of four buttons to display. However, in designer, it's just shown...
Thanks. I've actually just figured out the regex I need: '\b\S+'. And I need to use re.finditer to scan for all matches. The problem is that some cells in the data may be empty. I was using split()...
I need to write a script in python (2.5) to read text files with fixed width columns. Since the number of columns and there widths are not necessarily known in advance, I need to write it to...
Thanks, I've already done that ;) The trouble is that quite of lot of software I use doesn't work in linux. E.g. autocad, arcgis. Also, we're on an exchange server and so far I've had no luck in...
Thanks for the info. I've learnt that talking to IT won't help for these sort of things - its difficult enough getting them to respond to the major problems. I do have access to the registry but I'm...
I'm not sure where the right place is for this question - probably in a windows forum, but I think that any windows-knowledgeable ubuntuers will probably be far more helpful.
At work, the...
Not entirely sure sure about dump and pass - I remember the man page once making sense to me, but I've forgotten it now. loop means that its using a loopback device - i.e. a device that actually...