Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Serf

About Deserted

  • Rank
  • Birthday 10/05/1982
  1. Deserted

    Automatic FTP uploads

    Late reply, but I've previously used the old Novell Netdrive for this, works brilliantly, runs in systray and keeps foler in sync between local and remote (FTP/SFTP/SCP) folder. old download available at http://download.chip.eu/en/Novell-Netdrive_6398169.html
  2. there are also a few web based file managers you could use for this, for example http://elfinder.org/ Have to make sure you get the permissions right for the user, I'd suggest suexec setup so that the user you normally shell into (not root I hope :P) can move files between the locations
  3. Hi Khamûl, Unfortunately this isn't something you can easily achieve for all traffic, however if you have specific places you're uploading to regularly you could set up some separate routes to utilise the 4g link for upload in those specific cases (ie ftp uploads to fixed addresses). If you can give a clearer description of exactly what you're trying to achieve with this I can go into more detail with you.
  4. I've been using tsclient for a few years, quite like the functionality where it gives you a nautilus/explorer style window with saved connections. http://sourceforge.net/projects/tsclient
  5. Hi All, I've been a bit out of the loop on hardware of late, so looking for some advice. I've got a server build to put together, will be running around half dozen Xen clients on it (moderately high load mail server, couple of web servers, jabber server etc). I'm looking aroud the 3-5k range. I've been eyeing off some of the supermicro kit, as I'm really after something with full IPMI 2.0 lights-out management. Not sure where best performance lies CPU wise for current gen systems, so advice on AMD vs Intel would be appreciated (AMD fan from way back, but happy to use what works best) - looking at a 4way board, 4 CPU, and either 8/9 or 12GB per CPU of RAM. storage wise looking at either a 2-drive RAID1 in a 1U system, or a RAID6 in larger system - looking for around 1TB of storage total, so just suggest what would work best to achieve that ;) Cheers Deserted
  6. Deserted

    Advice on content management

    Hubbo's covered the basics pretty well, as far as CMS goes, I'd put my vote in for drupal, hugely powerful framework and can be configured for users to easily create content without knowing any HTML etc (supports a wide range of WYSIWYG editors, such as (F)CKeditor, WYMeditor, TinyMCE etc) - has modules for images a hundred ways from wednesday, and has out-of-the-box support for online "books" - which may suit quite well looking at content of the site currently (ie if their interested in offering the books/articles as an online version with attachment to download). That said I haven't used Joomla since the early days of its name change from Mambo, didn't really like it then but have heard good things about it in recent times, so might be worth having a look at both. If your wanting a quick way to check out both options without going through the install, Turnkey Linux have pre-rolled VMs with both, just install virtualbox, grab one and go :)
  7. Deserted

    cross talking apps

    Hi gummybear, If your referring to web apps, a great example of this is the paypal IPN system - a basic outline of what you're looking at App 1 receives submit, as part of processing the GET/POST, the script performs a GET/POST to app2 - app2 then calls back to app1 and verifies the data is from app1, and processes appropriately. Another method is a regular cron running as part of app2, which queries a common data store (MySQL, SQLite, PostgreSQL etc) for new data submitted to app1, and processes as needed. This however removes the element of immediate "live" updates
  8. Deserted

    Scrolling "gallery" viewport

    celebrated too soon it seems, the code posted works flawlessly in IE7/8 and in Opera 10, but Firefox has an odd bug, from testing a few other drag and drop demos it seems we're not alone in this either basically when dragging, first drag works perfectly, however second attempt seems to try and drag the background image out as an element to drop elsewhere, and when releasing mouse button the draggable div then "sticks" to the mouse until it is clicked again to release. I'm assuming theres something that can be done on the mouseup event to resolve this, but so far haven't had any luck, will post back once I've tracked down this little bugbear
  9. Deserted

    Scrolling "gallery" viewport

    ok got a resolution here, so basically all that was missing was resizing the internal div to continually fill the space. example can be seen here code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" > <html> <head> <title>Scrolling Gallery Sample</title> <script type="text/javascript"> var mouse = false; var old_x = 0; var old_y = 0; var cur_x = 0; var cur_y = 0; var IE = document.all?true:false; function mousePos(env) { var ev = env || window.event; if(IE) { return {x:event.clientX + document.body.scrollLeft, y:event.clientY + document.body.scrollTop}; } else { return {x:ev.pageX, y:ev.pageY}; } } function mousedown(env) { var elem = document.getElementById("innerbox"); var pos = getElementPosition(elem); mouse = true; old_x = mousePos(env).x; old_y = mousePos(env).y; cur_x = pos.x; cur_y = pos.y; elem = null; } function mouseup() { mouse = false; } function getElementPosition(theElement) { var posX = 0; var posY = 0; while(theElement != null){ posX += theElement.offsetLeft; posY += theElement.offsetTop; theElement = theElement.offsetParent; } return {x:posX, y:posY}; } function mousemove(env) { if(mouse) { document.getElementById('innerbox').style.left = cur_x + mousePos(env).x - old_x + 'px'; document.getElementById('innerbox').style.top = cur_y + mousePos(env).y - old_y + 'px'; document.getElementById('innerbox').style.width = (cur_x + mousePos(env).x - old_x)*(-1) + 3600 + 'px'; document.getElementById('innerbox').style.height = (cur_y + mousePos(env).y - old_y)*(-1) + 3390 + 'px'; if((cur_x + mousePos(env).x - old_x) > (-1800)) { document.getElementById('innerbox').style.left = (cur_x + mousePos(env).x - old_x) - 1800; } if ((cur_y + mousePos(env).y - old_y) > (-1695)) { document.getElementById('innerbox').style.top = (cur_y + mousePos(env).y - old_y) -1695; } } } </script> <style type="text/css"> html, body { position: relative; } body { background-color: #000; } #container { width: 100%; height: 100%; min-height: 900px; border: 1px solid; background: #000; overflow: hidden; position: relative; } #innerbox { width: 7200px; height: 6780px; background: url('http://www.timsdevarea.com/gallery/out-and-about.jpg'); overflow: visible; float: left; position: absolute; top: -1695px; left: -1800px; } #footer { position: fixed; left: auto; bottom: 20px; width: 100%; text-align: center; } </style> </head> <body> <div id="container"> <div id="innerbox" onmousedown="mousedown(event)" onmouseup="mouseup()" onmousemove="mousemove(event)" onmouseout="mouseup()"></div> <div id="footer"> <div style="background-color: #000; color: #fff; width: 400px; text-align: center; margin: auto;"> Menu will reside here </div> </div> </div> </body> </html> Thanks a lot for the help Hubbo :)
  10. Deserted

    Scrolling "gallery" viewport

    Hi Hubbo, Thanks a lot for your help, basically using the existing above worked fine for repeating the image (just make the inner div larger then container, use repeat on the background) but the problem is that eventually the edge of the div is always reached, I've had a quick play trying to either reset the image when edge is reached, or creating a repeat image. Haven't had a lot of luck but my JS isn't great. Have however come up on an alternate solution to try, will let you know how it goes but basically when rewriting location of div (ie change of left and top values) will also rewrite the width and height to accomodate - ie if top: -1100px and left: -50px, rewrite width and height to width of container + 50px and height + 1100px - that way the repeating background will cover the image expansion.
  11. Deserted

    Scrolling "gallery" viewport

    Hi Hubbo, Thanks heaps for the suggestion, unfortunately thats at about the same point I got stuck, what I'm then wanting to do is basically "wrap" the image, so when the edge of the image is reached on scroll, it will start pulling the opposite side of the image back in, not actually sure if its possible or not though :S Cheers Des
  12. Hi All, I'm trying to achieve the following and getting a bit stuck, I've got a large image, essentially a collage, that I want to do the following with in a web page 1) Place in a fixed size "viewport" so that a portion of the image is visible at any one time 2) Wrap the image so that it provides an endless scroll in any direction 3) Allow for click'n'drag scrolling with no visible scrollbars etc. I'm not locked into any particular JS libs etc, what can you suggest as an easy to implement solution for this? Cheers Des
  13. Hi Thanks for all the advice guys Load balancing etc isn't needed, as that will all be getting done by the server forming the gateway to the site, each modem will just be required to pass traffic as requested along the link, all 3 routers connected to the server will be considering themselves independent, with the servers links bonded, and dynamic routing, load balancing etc all handled by the server - The billion biguard stuff I quite like the look of though, have dealt with billion quite a bit 3-6 years ago, and been quite happy with their kit, they used to have a few decent pieces with endpoint support as well. Had also come across the 834G with the thought of flashing to openwrt and utilising the openVPN packages available there, though ideally I don't think the hardware is up to that sort of link. Will have a closer look at the biguard stuff etc from billion and make a decision on it tomorrow, thanks for all the input! Cheers Des
  14. Hey All, I'm after some advice on an ADSL setup I've been asked to assist with. I'll start by outlining whats to be configured 2 sites, each with 3 ADSL(2+) links on site, each pair of connections will have a VPN tunnel running between them, meaning the modems need to have VPN endpoint support. The 3 ADSL modems will then be connected to a single server, on which all 3 connections will be bonded to provide a single load balanced connection between the sites. Unfortunately I'm a bit behind on current kit for this, Cisco is the obvious option but looking to keep down the cost on it, and due to the redundant links, then Legendary Cisco Reliability is less of a requirement then usual. Based on this what sort of kit would you recommend for such a setup? happy to consider either modem/router combos or standalone modems, though the VPN requirement makes it unlikely any modems alone will make the grade. Let me know what you think :) Cheers Deserted
  15. Deserted

    Karmic and Telstra Next G

    One thing I've always had intermittent issues with on NextG, is intermittently not receiving any DNS servers when connecting, especially in areas where reception is a bit weaker. One way you can check this is to configure wvdial to dial the NextG connection, in the output you'll receive in console will show if your receiving any DNS servers on connection ie # wvdial --> WvDial: Internet dialer version 1.60 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Modem initialized. --> Sending: ATDT*99***1# --> Waiting for carrier. ATDT*99***1# CONNECT --> Carrier detected. Starting PPP immediately. --> Starting pppd at Mon Jan 11 11:35:25 2010 --> Pid of pppd: 9331 --> Using interface ppp0 --> pppd: �[7f] --> pppd: �[7f] --> pppd: �[7f] --> pppd: �[7f] --> pppd: �[7f] --> local IP address --> pppd: �[7f] --> remote IP address --> pppd: �[7f] --> primary DNS address --> pppd: �[7f] --> secondary DNS address --> pppd: �[7f] unfortunately I don't have a 637 available to test with, however the following wvdial.conf works correctly with the 636 card, so should be good enough or close to it (I've used this config with cards ranging from the USB3-8521 to the first 7 series modems and the 636 # cat /etc/wvdial.conf [Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = Analog Modem Baud = 9600 New PPPD = yes Modem = /dev/ttyUSB1 ISDN = 0 Phone = *99***1# Password = aa Username = aa Stupid Mode = Yes