Archives 2005 - 2019    Search

How to do Internet Connection Sharing on Linux

published Nov 13, 2008 10:26   by admin ( last modified Nov 13, 2008 10:26 )

Summary: Use Firestarter

I have been using a 3G modem and needed to hook up one more computer to it. In Windows XP you can use Internet Connection Sharing that will e.g. share the Internet connection out via the Ethernet port. In this way the Windows machine connects to the Internet via a 3G modem (or Wi-Fi) and the other machine is connected via an Ethernet cable and the Windows computer takes care of giving the other computer a private IP number and transparently routes the traffic from that computer to and from the Internet. It is very handy. You can have several computers behind the Windows machine as well. However the Windows connection to 3G kept crashing and I knew my Linux 3G connection is super stable.

 

So how do I go about routing the other way around, i.e. to use the Linux computer to connect to the Internet and then take care of dishing out the Internet to the Windows computer (or any number of computers)? The easiest route (pun intended) I found was to download and install a firewall called Firestarter on Linux. Firestarter has a big shiny button for doing Internet connection sharing.

Well, it's actually a normal sized check box...

If you want your Linux machine to dish out dynamic private IP numbers (or several) on the private network, you also need to install a local DHCP server on the Linux machine. It will be automatically detected by Firestarter.

Om Ubuntu Linux 8.04 I installed Firestarter like this:

sudo apt-get install firestarter

and then the dhcp server (I did this one from synaptic, the GUI to apt-get). It was very easy.


Länk - Den lates väg att få saker & ting gjort

published Nov 13, 2008 01:32   by admin ( last modified Nov 13, 2008 01:32 )
What if I told you that you could be totally lazy and irresponsible, and still accomplish just as much? What if you could slack off, loiter, and essentially do nothing and get more done than the average person. It’s a bit of an art, but you can master this skill with s



Läs mer: The Lazy Man’s Guide to Getting Things Done | Zen Habits


Sverige har näst sundaste banksystemet i världen

published Nov 13, 2008 01:25   by admin ( last modified Nov 13, 2008 01:25 )

Det påstår i alla fall World Economic Forum. Den sista tiden har det dykt upp artiklar om att World Economic Forum rankar Kanadas banksystem som det sundaste i världen. Var ligger då Sverige? På plats nummer två visar det sig. Här är topp 20, USA och Storbritannien ligger för övrigt mellan plats 40 och 50:

1. Kanada

 

2. Sverige

3. Luxemburg

4. Australien

 

5. Danmark

 

6. Nederländerna

 

7. Belgien

 

8. Nya Zeeland

 

9. Irland

 

10. Malta

11. Hong Kong

 

12. Finland

 

13. Singapore

 

14. Norge

 

15. Sydafrika

 

16. Schweiz

 

17. Namibia

 

18. Chile

 

19. Frankrike

20. Spanien


"Canada has the world's soundest banking system, closely followed by Sweden, Luxembourg and Australia, a survey by the World Economic Forum has found as financial crisis and bank failures shake world markets."


Läs mer: Canada rated world's soundest bank system: survey | U.S. | Reuters

Spana också in World Economic Forums rapporter över varje land.


Adam Smith och den osynliga örfilen

published Nov 13, 2008 01:16   by admin ( last modified Nov 13, 2008 01:16 )

Om den osynliga handen styr marknaden, har finanskraschen då just gett oss en osynlig örfil?

and Adam Smith, who's slapping us about the face -- with his invisible hand.



Läs mer: The Financial Crisis, From A-Z - Forbes.com


Länk - Nu kan man sy ihop snitt i kroppen med laser, vattentätt

published Nov 12, 2008 12:08   by admin ( last modified Nov 12, 2008 12:08 )
Successful preliminary experiments demonstrated that the new technique can be used to bond cuts on the cornea, bladder, intestines, blood vessels or trachea. It may also be used for bonding tissues inside the body on organs such as the kidney, and even in brain surgery.



Läs mer: American Friends of Tel Aviv University: A Perfect Bond


Länk - Uran hittat i jorden i Syrien av IAEA

published Nov 12, 2008 12:06   by admin ( last modified Nov 12, 2008 12:06 )
He spoke a day after diplomats told The Associated Press that IAEA samples taken from a Syrian site bombed by Israel on suspicion it was a covert nuclear reactor contained traces of uranium combined with other elements — a finding that merits further information.



Läs mer: The Associated Press: IAEA taking Syria nuclear allegations seriously


Teori: Autism & Schizofreni motpoler i kamp mellan könens gener

published Nov 12, 2008 04:00   by admin ( last modified Nov 12, 2008 04:00 )

En sak som jag funderat över är om generna mellan man och kvinna verkligen bidrar lika mycket till ett barn. Det borde rimligtvis förekomma en kamp mellan dem, och det gör det också verkar man nu komma fram till. Genom att bygga på denna hypotes finns det nu forskare som menar att mentalsjukdomar till viss del kan förklaras av denna kamp.

 

Ett indicium är att det finns två olika mentalsjukdomar som beror på en skada på samma ställe i generna, men där vilken av de två sjukdomarna det blir, beror på om det är moderns eller faderns DNA som blir uttryckt där:

 

Those with the genetic disorder called Angelman, or “happy puppet,” syndrome practically dance through the day, have difficulty communicating and are demanding of caregivers. Those born with a genetic problem known as Prader-Willi syndrome are placid, compliant and as youngsters low maintenance.



Läs mer: In a Novel Theory of Mental Disorders, Parents’ Genes Are in Competition - NYTimes.com

In short: Autism and schizophrenia represent opposite ends of a spectrum that includes most, if not all, psychiatric and developmental brain disorders. The theory has no use for psychiatry's many separate categories for disorders, and it would give genetic findings an entirely new dimension.



Läs mer: Pioneering theory on parental genes' influence on mental disorders - International Herald Tribune


Länk - Sannolikheten för ett Ukraina i Nato större

published Nov 12, 2008 04:00   by admin ( last modified Nov 12, 2008 04:00 )
A formal decision on offering a Membership Action Plan to Ukraine awaits alliance foreign ministers meeting in Brussels next month, and there is no evidence that those allies wishing to slow Ukraine's membership have altered their view. The issue will turn on domestic politics in the United States as much as in Ukraine.



Läs mer: Ukraine may finally get nod from NATO - International Herald Tribune


Länk - Kinesiskt företag utvecklar oljefält i Irak

published Nov 12, 2008 04:00   by admin ( last modified Nov 12, 2008 04:00 )
The deal is worth $3.5 billion, said the official, Ahmed al-Shamaa, the deputy oil minister. It is the first major oil-development deal that Iraq has made with a foreign company since the American-led invasion in 2003. It will allow CNPC, with Norinco, another Chinese company, to develop the Adhab oil field in Wasit Province, southeast of Baghdad, for 20 years, Shamaa said by telephone



Läs mer: Iraq signs $3.5 billion deal for China to develop oil field - International Herald Tribune


Nu kan man "skajpa" med Gmail (ljud, video)

published Nov 12, 2008 01:37   by admin ( last modified Nov 12, 2008 01:37 )

Enlig Googleblog så ska man nu kunna kommunicera med röst och video via sitt gmail-konto. Man behöver ladda ner en plugin till sin Webbläsare och det verkar i förstone vara inriktat på Windows och OSX.

Gmail voice and video chat will be rolled out globally over the next day or so for Macs and PCs. The first time you use this feature, you'll be prompted to download and install a small plugin. To get started, visit http://www.gmail.com/videochat or click on the "Options" menu in a Gmail chat window and choose "Add voice/video chat." Find out more on our Gmail Blog.



Läs mer: Official Google Blog: Talk face-to-face right from within Gmail


Hjärnvävnad från stamceller

published Nov 09, 2008 12:13   by admin ( last modified Nov 09, 2008 12:13 )

Det är oklar hur bra hjärnvävnad det blev, men i alla fall:

The tissues self-organised into four distinct zones very similar to the structure seen in human foetuses, and conducted neuro-activity such as transmitting electrical signals, the institute said.



Läs mer: Japanese researchers make brain tissues from stem cells - Yahoo! News


Ett virus som bara infekterar lungcancerceller

published Nov 09, 2008 12:13   by admin ( last modified Nov 09, 2008 12:13 )
At Argonne National Laboratory scientists have deciphered the structure of a virus that seems to selectively infect small-cell lung cancer cells. The virus, known as Seneca Valley Virus-001 (or NTX-010) was originally identified by a company called Neotropix out of Malvern, Pennsylvania



Läs mer: Scientists Solve Structure of Oncolytic Lung Virus; Plan Viral Attack on Lung Cancer - Medgadget - www.medgadget.com


Länk - Små kärnreaktorer man gräver ner i trädgården

published Nov 09, 2008 09:17   by admin ( last modified Nov 09, 2008 09:17 )
Nuclear power plants smaller than a garden shed and able to power 20,000 homes will be on sale within five years, say scientists at Los Alamos, the US government laboratory which developed the first atomic bomb.



Läs mer: Mini nuclear plants to power 20,000 homes | Environment | The Observer


Visualisering - Se hur Open Source Plone Collective har utvecklats

published Nov 04, 2008 10:21   by admin ( last modified Nov 04, 2008 10:21 )

Plone är ett publiceringsystem med öppen källkod. Spola fram till ungefär mitten för att se lite mer action. De användarnamn som har mycket ringar och moln kring sig lägger in mycket kod i källkodshanteraren. Plone collective är ett subversion repository för projekt som inte är del av Plone självt eller av Archetypes, och som används för alla möjliga projekt från hobbyprojekt till stora projekt.  På länken nedan kan du se motsvaramde visualiseringar för Plone självt och för Archetypes (ett ramverk för dokument i Plone). Visualiseringarna är gjorda av Chris Calloway.


Plone Collective Code Swarm from Chris Calloway on Vimeo.

Created with code.google.com/p/codeswarm/ from svn.plone.org/svn/collective/ on October 26, 2008.


Läs mer: Plone Collective Code Swarm on Vimeo


Många tjänar på att Internet inte förblir fritt

published Nov 02, 2008 08:49   by admin ( last modified Nov 02, 2008 08:49 )

Sveriges huvudstad, Stockholm, kan sägas ha kommit till för att hindra folk att handla fritt mellan Mälaren och Östersjön. De stora krigen mellan Sverige och Danmark handlade till stor del om Sveriges tillgång att handla över Atlanten utan dansk tull.

Med detta vill jag ha sagt att det ligger stora pengar i att reglera vad folk får skicka omkring i världen. Ett lagförslag i den franska senaten går ut på att stänga av de som laddar ner musik och annat från Internet. På Slashdot påpekar signaturen pieterh att många tjänar på att ha ett mindre fritt Internet: Om ISP:erna kan reglera vad som skickas över Internet kan de blockera P2P-trafik, men också produkter som konkurrerar med deras egna produkter, t ex en egen IP-telefonilösning osv. pieterh listar lite affärsmöjlgheter som kommer ur ett reglerat Internet:

Telecoms firms that want a mandate to filter all Internet traffic so that they can block all P2P, and then VoIP, and then video streaming and then anything which competes with their monopoly products.
* Large ISPs, because these are now all owned by the telecoms firms.
* Vendors like Cisco because they want to sell loads and loads of expensive filtering equipment.
* The music industry, because it still thinks it's going to sue its way back onto the right side of history. Stupid kloten, when will they learn?
* The movie industry, because they've drunk the music industry koolaid.
* The TV industry, because they want to sell more DVDs and because their distributors in the digital age are, of course, the ISPs.
* And finally, certain software firms, because the only way to implement this law, finally, is to use a fully locked down operating system that only runs authorized software, so no Linux.


Läs mer: French Senate Passes Anti-Piracy Internet Cut-Off Law


Investopedia - en guide till vad ord byter i ekonomi och finans (på engelska)

published Nov 01, 2008 08:02   by admin ( last modified Nov 01, 2008 08:02 )
Länken går till sektionen om Buzzwords. Här ett utsnitt:
3-6-3 Rule
A Ton Of Money
Accounting Noise
Acquisition Indigestion
Across The Board
Active Box
Activity Based Budgeting - ABB
Affluenza After The Bell
Agency Cross Agflation Air Pocket Stock
Alligator Property Alligator Spread
Alternative Energy ETF
Alternative Investment
And Interest Angel Bond
Angelina Jolie Stock Index



Läs mer: List of Buzz Words Terms


Länk - Nu finns det blå rosor

published Oct 31, 2008 11:39   by admin ( last modified Oct 31, 2008 11:39 )
The blooms are genetically modified and implanted with a gene that simulates the synthesis of blue pigment pansies, The Daily Telegraph reported.



Läs mer: First true blue roses unveiled in Tokyo - UPI.com


Alla MTV-videos någonsin, på Internet

published Oct 29, 2008 10:30   by admin ( last modified Oct 29, 2008 10:30 )

MTV har nu bestämt sig föär att publicera alla musikvideos sedan MTV:s barndom på Internet. Viacom som äger MTV har tidigare med juridiska medel försökt hindra Youtube att publicera och nu verkar de ha bestämt sig för att istället bräcka Youtube vad gäller tillgänglighet på musikvideos.

 

Alla videos är inte upplagada än, men t ex "Space Oddity" finns där, och "Blue Monday".

* MTV MUSIC * | * MOST VIEWED * | * TOP RATED * | * FEATURED * | * BROWSE VIDEOS FIND ARTISTS A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #


Läs mer: MTV MUSIC - I Want My MTV


Sluta använda datorer för demokratiska omröstningar!

published Oct 29, 2008 10:19   by admin ( last modified Oct 29, 2008 10:19 )

Nu har man använt datorer i kommunalvalen i Finland för att hantera folks röstning. Problemet som uppstod nu var att röstmaskinerna kom i ett odefinierat läge vad gäller användargränssnittet, dvs den instruktion som gått ut till väljarna om hur man avbryter en röstning, täckte inte alla scenarier. Och nu står man där med några hundra röster som inte blev av, vilket är mycket i kommunalval.


I vilket fall som helst är det dumt att använda datorer för demokratiska val.
Använd papper och penna. Det fungerar utmärkt, är lätt att verfiera och göra om.

It seems that the system required the voter to insert a smart card to identify the voter, type in their selected candidate number, then press "ok", check the candidate details on the screen, and then press "ok" again. Some voters did not press "ok" for the second time, but instead removed their smart card from the voting terminal prematurely, causing their ballots not to be cast. This usability issue was exacerbated by Ministry of Justice instructions, which specifically said that in order to cancel the voting process, the user should click on "cancel" and after that, remove the smart card. Thus, some voters did not realise that their vote had not been registered.


Läs mer: Finnish e-voting fiasco: votes lost | EFFI.org


Codeweavers ger iväg sin crossover-produkt (Windowsprogram inkl spel på Linux) gratis idag

published Oct 28, 2008 03:50   by admin ( last modified Oct 28, 2008 03:50 )

Codeweavers har sedan lång tid lovat, i en slags politisk satir, att ge iväg sin produkt Crossover gratis om GW Bush lyckas med någon av en lista av specificerade osannolika bedrifter. Dessa bedrifter har de listat på sin hemsida,  En av dessa bedrifter var att få ner bensinpriset rejält till en specificerad låg nivå. På grund av den ekonomiska krisen (som väl egentligen inte är Bushs fel) så har nu ett av Codeweavers kriterier infriats, och idag och bara idag ger de bort sin produkt Crossover gratis.

Codeweavers skojar om att de aldrig trodde att Bush skulle trigga en global ekonomisk kris bara för att få Codeweavers att ge iväg sin produkt gratis..

"How was I to know that President Bush would take my challenge so seriously? And, give the man credit, I didn't think there was *any* way he could pull it off. But engineering a total market meltdown - wow - that was pure genius. I clearly underestimated the man. I'm ashamed that I goaded him into this and take full responsibility for the collapse of any savings you might have. Please accept our free software as my way of apologizing for the global calamity we now find ourselves embroiled in."

Produkten som avses heter Crossover och gör så att många Windowsprogram, inkl spel, kan köras på Linux. Crossover bygger på OSS-komponenten Wine. Codeweavers har gott rykte i Open source-världen och ger tillbaka kod till Wine.

Due to the high volume of traffic for the Lame Duck Challenge Free Offer, we have temporarily disabled the CodeWeavers main website. We apologize for this inconvenience. We still love Digg, even if our server disagrees. ;-)

Koden kan laddas ner här: CodeWeavers