Search:

Type: Posts; User: aquavitae; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Multi thread programming in python / PyQt4

    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...
  2. Replies
    0
    Views
    905

    [kde] Installing services in dolphin

    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...
  3. HOWTO: Reconnect dropped neotel connection

    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...
  4. Replies
    0
    Views
    538

    Writing a startup daemon

    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 [...
  5. Replies
    12
    Views
    1,208

    [SOLVED] Re: Loosing internet connection

    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....
  6. Replies
    12
    Views
    1,208

    [SOLVED] Re: Loosing internet connection

    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:...
  7. Replies
    12
    Views
    1,208

    [SOLVED] Re: Loosing internet connection

    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...
  8. [all variants] Re: Problem with bridge connection in ubuntu server

    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...
  9. [all variants] Problem with bridge connection in ubuntu server

    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...
  10. Replies
    11
    Views
    812

    [SOLVED] Re: Help with a python regex

    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. ...
  11. Replies
    11
    Views
    812

    [SOLVED] Re: Help with a python regex

    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...
  12. Replies
    11
    Views
    812

    [SOLVED] Re: Help with a python regex

    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)?' %...
  13. Replies
    11
    Views
    812

    [SOLVED] Help with a python regex

    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...
  14. Replies
    7
    Views
    436

    [SOLVED] Re: Sed regular expressions

    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]_/'
  15. Replies
    2
    Views
    1,081

    [ubuntu] Re: Setting up a dhcp server and internet

    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...
  16. Replies
    2
    Views
    1,081

    [ubuntu] Setting up a dhcp server and internet

    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...
  17. Replies
    2
    Views
    407

    [all variants] Re: advice on a home server

    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...
  18. Replies
    2
    Views
    407

    [all variants] advice on a home server

    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...
  19. Replies
    0
    Views
    614

    Flags in PyQt4

    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...
  20. Replies
    2
    Views
    807

    Re: Help with python regular expressions

    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()...
  21. Replies
    2
    Views
    807

    Help with python regular expressions

    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...
  22. Replies
    14
    Views
    1,129

    Re: Windows group policy

    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...
  23. Replies
    14
    Views
    1,129

    Re: Windows group policy

    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...
  24. Replies
    14
    Views
    1,129

    Windows group policy

    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...
  25. Replies
    13
    Views
    1,972

    [SOLVED] Re: Auto mount partitions during startup

    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...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4