Jump to content

Leon

Administrators
  • Posts

    1235
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by Leon

  1. Hi, This short guide will show you howto setup a VPN server in Debian with ONE network card. 1. Install the required packages apt-get install pptpd dnsmasq 2. Configure the IP range assigned to clients by running: pico /etc/pptpd.conf localip 10.0.0.1-99 remoteip 10.0.0.100-199,10.0.0.245 Using this config the clients are assigned any IP address between and including 10.0.0.100 and 10.0.0.199 3. Create a user allowed to connect by running: pico /etc/ppp/chap-secrets * * Passwords are not encrypted. This allows the a user with the username: user1 and the password: secretpassword to login from any ip address. 4. Enable IP forward at startup to allow the VPN clients to connect to the server's local network by running: pico /etc/sysctl.conf net.ipv4.ip_forward=1 Also run this command to activate the IP forward instantly: echo 1 > /proc/sys/net/ipv4/ip_forward 5. Create a routing rule to allow the VPN clients to route network traffic through the server. iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE 6. Add DNS configuration to your setup by running: pico /etc/ppp/options Change: ms-dns 10.0.0.1 ms-dns 8.8.8.8 7. Create a virtual network interface for 10.0.0.1 pico /etc/network/interfaces Add this: auto eth0:0 iface eth0:0 inet static address 10.0.0.1 netmask 255.255.255.0 Now.. reboot and enjoy VPN! Note(s): 1) On Ubuntu server, i had to create a "startup" script with the line below in order to enable data routing. iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
  2. The best managers have a fundamentally different understanding of workplace, company, and team dynamics. See what they get right. A few years back, I interviewed some of the most successful CEOs in the world in order to discover their management secrets. I learned that the "best of the best" tend to share the following eight core beliefs. 1. Business is an ecosystem, not a battlefield. Average bosses see business as a conflict between companies, departments and groups. They build huge armies of "troops" to order about, demonize competitors as "enemies," and treat customers as "territory" to be conquered. Extraordinary bosses see business as a symbiosis where the most diverse firm is most likely to survive and thrive. They naturally create teams that adapt easily to new markets and can quickly form partnerships with other companies, customers ... and even competitors. 2. A company is a community, not a machine. Average bosses consider their company to be a machine with employees as cogs. They create rigid structures with rigid rules and then try to maintain control by "pulling levers" and "steering the ship." Extraordinary bosses see their company as a collection of individual hopes and dreams, all connected to a higher purpose. They inspire employees to dedicate themselves to the success of their peers and therefore to the community–and company–at large. 3. Management is service, not control. Average bosses want employees to do exactly what they're told. They're hyper-aware of anything that smacks of insubordination and create environments where individual initiative is squelched by the "wait and see what the boss says" mentality. Extraordinary bosses set a general direction and then commit themselves to obtaining the resources that their employees need to get the job done. They push decision making downward, allowing teams form their own rules and intervening only in emergencies. 4. My employees are my peers, not my children. Average bosses see employees as inferior, immature beings who simply can't be trusted if not overseen by a patriarchal management. Employees take their cues from this attitude, expend energy on looking busy and covering their behinds. Extraordinary bosses treat every employee as if he or she were the most important person in the firm. Excellence is expected everywhere, from the loading dock to the boardroom. As a result, employees at all levels take charge of their own destinies. 5. Motivation comes from vision, not from fear. Average bosses see fear--of getting fired, of ridicule, of loss of privilege--as a crucial way to motivate people. As a result, employees and managers alike become paralyzed and unable to make risky decisions. Extraordinary bosses inspire people to see a better future and how they'll be a part of it. As a result, employees work harder because they believe in the organization's goals, truly enjoy what they're doing and (of course) know they'll share in the rewards. 6. Change equals growth, not pain. Average bosses see change as both complicated and threatening, something to be endured only when a firm is in desperate shape. They subconsciously torpedo change ... until it's too late. Extraordinary bosses see change as an inevitable part of life. While they don't value change for its own sake, they know that success is only possible if employees and organization embrace new ideas and new ways of doing business. 7. Technology offers empowerment, not automation. Average bosses adhere to the old IT-centric view that technology is primarily a way to strengthen management control and increase predictability. They install centralized computer systems that dehumanize and antagonize employees. Extraordinary bosses see technology as a way to free human beings to be creative and to build better relationships. They adapt their back-office systems to the tools, like smartphones and tablets, that people actually want to use. 8. Work should be fun, not mere toil. Average bosses buy into the notion that work is, at best, a necessary evil. They fully expect employees to resent having to work, and therefore tend to subconsciously define themselves as oppressors and their employees as victims. Everyone then behaves accordingly. Extraordinary bosses see work as something that should be inherently enjoyable–and believe therefore that the most important job of manager is, as far as possible, to put people in jobs that can and will make them truly happy.
  3. Hi, My little Dell D430 running OSX Lion 10.7.5 is limited to 2gb of memory - hence why i keep a constant eye on what i spend resources on. So, i decided to take all 3 services out for a spin and have a look at their memory usage. All 3 clients is setup with the same amount of files - synced and idle - further more - i rebooted the machine after it had finished sync and let it run idle for and hour or two. Memory stats: Skydrive: 84,4mb gDrive: 96,6mb Dropbox: 53,5mb What is worth to notice is that Dropbox and gDrive remained stable - while skydrive was slowing leaking memory.. i asume its some bug MS needs to straithen out. How is it working for you ?
  4. I'll like to thank Jan Suomi for finding this one: Its a neat little php script for parsing a URL and splitting into a array: <?php function parse_query($var) { /** * Use this function to parse out the query array element from * the output of parse_url(). */ $var = parse_url($var, PHP_URL_QUERY); $var = html_entity_decode($var); $var = explode('&', $var); $arr = array(); foreach($var as $val) { $x = explode('=', $val); $arr[$x[0]] = $x[1]; } unset($val, $x, $var); return $arr; } $url = "http://somefunny.url.com/click?z=26&a=761"; print_r(parse_query($url)); ?>
  5. Here is a neat little javascript function to load a remote CSS or Javascript file remotely: <script> function loadjscssfile(filename, filetype) { if (filetype=="js") { var fileref=document.createElement('script') fileref.setAttribute("type","text/javascript") fileref.setAttribute("src", filename) } else if (filetype=="css") { var fileref=document.createElement("link") fileref.setAttribute("rel", "stylesheet") fileref.setAttribute("type", "text/css") fileref.setAttribute("href", filename) } if (typeof fileref!="undefined") { document.getElementsByTagName("head")[0].appendChild(fileref); } } </script>
  6. I just got a new laptop – the latest version of the Samsung Series 9. The C Drive has 2 3.7GB files on it – the pagefile.sys and the hiberfil.sys. Removing pagefile.sys is relatively straightforward as it’s a standard feature of Windows. However, removing the hiberfil.sys on the Samsung Series 9 was more difficult. This is because it has firmware which does not support hibernation. As such, the computer can’t make any changes to the hibernation settings by default. The standard way to disable hibernation is to run an elevated command prompt and type powercfg -h off. This turns off hibernation and deletes the file. However, this gave me the error: “Hibernation failed with the following error: The request is not supported. The following items are preventing hibernation on this system. The system firmware does not support hibernation”. Bit of a catch 22 – you can’t delete it because you can’t turn it off, because it’s not supported. However, I was able to disable hibernation and therefore remove the hiberfil.sys via the registry editor (found as option 3 here). Open the start menu and type regedit in the search box then hit enter. In regedit, navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power Double click ‘HibernateEnabled’ and change the value data to 0. Click OK, close regedit and restart to apply the changes. Hey presto, the hiberfil.sys is removed from the Samsung Series 9!
  7. According to a image sent in to MacRumors, iCloud support may be coming to Snow Leopard users. As you can see in the screenshot above, the .Mac preference pane in a previous OS X’s System Preferences reads: “You will no longer be able to sync with this machine because you’ve upgraded to iCloud. iCloud requires a computer running Mac OS X Snow Leopard v10.6.9 or later for Contacts, Calendars, and Bookmarks.” This message appeared in OS X 10.4 Tiger after a developer updated his MobileMe account to an iCloud account. The notice appears to be the first indication that OS X 10.6.9 is in the works. Presumably it will only include minor bug fixes and provide limited iCloud support for Snow Leopard. CurrentlyApple states that iCloud will require OS X 10.7, but that is presumably for the more advanced Documents, iTunes Match, Photo Stream, and Backups features. It’s reasonable to assume Apple isn’t going to lock non-Lion users out of their @me.com email addresses.
  8. Want to be able to run Windows applications on Mac OS X without a virtual machine? Apple computer users have used virtual machines programs such as Parallels Desktop and VMWare Fusion to run Windows on their machines for ages now. Apple even implemented a feature called Bootcamp so that Mac users can install Windows on a second partition of their storage drive and boot up to it as a second operating system. But, what if you want to run Windows’ .exe programs directly from your Mac operating system? This has been impossible until now. In the Mac App Store, you can download an application called WinOnX. This application doesn’t require you to have any instance of Windows on your computer. Instead, you can download .exe (executable) applications to run directly from this program virtually. So in simpler words: you can run Windows applications on your Mac computer without Windows installed. Here’s how: Download WinOnX from the Mac App Store. It will cost you $4.99. After downloading WinOnX, find a .exe program that you wish to run, for example, Mozilla Firefox for Windows and download it. Once it downloads, you can double-click it to run it like you could with any .app application on your Mac computer. WinOnX will run you through installing and using the Windows application like you would on Windows, only on your Mac instead. Running Firefox for Windows on your Mac will yield this look: This option will cost you some money, but it uses a lot less disk space for Mac users. If you have a solid state drive like me, you may select this option instead of dual booting in order to save storage drive space. Redmond Pie recommends that you just buy a new PC to install Windows programs on, because Mac is beautiful on its own. Name: WinOnX Price: $4.99 Version: 1.0.1 Developer: Hisham El-Emam – NES Software Editor’s Rating:  3/5 Alternatively, you can try the free application: WineBottler.
  9. Hi Mate, Are you testing this on a laptop or a stationary?
  10. The bootCache error is not the error, thats just a normal message.. the problem is what comes afterwards.. and i think that is the issue... could you boot with: -x -v
  11. 1. Dont install 10.8, since you have not QE/CI support (accelrated graphics), ML will suck extra much.. go for Lion or SL 2. seems you need IOATAFamily.kext to fix the "Waiting for root device" Get it from here: IOATAFamily.kext.zip
  12. did you install Lion or Mountain Lion ?
  13. when you are in chameleon you can enter text as a option... type: -v and hit enter - that will boot in verbose mode so that you can see what errors etc. you are getting
  14. 6400-nvidia should be supported: http://www.osxlatitude.com/edp/compatibility/ .. if not. then you can help us make it so. And yes, EDP supports ML allready: http://www.osxlatitude.com/edp/bootpack/
  15. I think we needed to update the DSDT for that model, i think the current one was based on a older bios update. However, for now.. there is a few things you can try. 1. Remove/replace battry and lan kexts 2. Google around and play with the OpenHaltRestart and EvOreboot kexts.
  16. First of all, you might have to do some heavy DSDT editing, second of all you deffently need to dump lspci - with that you have little idea of hw addresses etc. But its all here.. so try it out: http://www.osxlatitude.com/edp/pre-installation/
  17. Have a look here: http://www.cnet.com/laptops/gateway-md7818u/4505-3121_7-33496190.html Good news: OSX Lion will run on this system Bad news: It have Intel 4500 MHD, you will be able to get correct resolution, but no acceleration - aka.. no fun :-/ Sorry mate :-/
  18. Hi, Download lspci for windows here: http://eternallybored.org/misc/pciutils/ Run it, and copy/paste the result here. That will give us a better idea about what you have running there
  19. What bios version are you running ?
  20. I'll like to congratulate the Team behind this (Mario and foremost Mick) - awesome work guys.. give yourself a shoulder clap for this.. incredible peace of tech!!! Edit: TESTED OK: Dell Latitude D430, Snow Leopard and Lion TESTED OK: Dell Latitude e6220, Lion and Mountain Lion TESTED OK: Dell Latitude e6230, Lion and Mountain Lion
  21. nevermind, i found it and added it
  22. Hey, Can you please attach the ssdtPRGen.sh to your orginal post (+ any other files you might have used) - revogirls blog have been deleted.
  23. A CPU is a easy fix for your machine and it will get alot faster and generate less heat.. + you wil be able to upgrade to Lion
×
×
  • Create New...