Interview with Linus Torvalds (LinuxFR)

0 komentar Sabtu, 14 Mei 2011
Wednesday, 04 May 2011 00:00 LWN

LinuxFR has an interview with Linus Torvalds on a wide range of subjects. "LinuxFR : What is your opinion about Android ? Are you mostly happy they made cellphones very usable or sad because it's really a kernel fork ? Linus Torvalds : I think forks are good things, they don't make me sad. A lot of Linux development has come out of forks, and it's the only way to keep developers honest - the threat that somebody else can do a better job and satisfy the market better by being different. The whole point of open source to me is really the very real ability to fork (but also the ability for all sides to then merge the forked content back, if it turns out that the fork was doing the right things!)"

Comments (0)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

Whose Fault is it When Your Internet Dies? Troubleshooting Networks with Linux

0 komentar

When you lose your Internet connection is the fault of your ISP? Or is it a problem on your side of your connection? Here is how you find out using standard Linux networking tools, and avoid embarrassing tech support calls that conclude with "Yes, dear customer, you broke it your own self."

I have old, slow 640/128k ADSL. If I lived on the east side of my telco instead of the west side I would have high-speed fiber. That's life, and it's better than dialup.

But my ISP requires authentication via Web browser. This kicks in anytime I do anything that requires my router to request a new DHCP lease. Of course there is no Web browser on my router, so I have to do this on one of the PCs on my LAN. Often it times out and doesn't authenticate, or I am testing a number of different things and have to restart it a lot, and then it becomes a major nuisance. This. Is. Stupid. They control the wires, so what's the point? I can't access my DSL from a different location. I'm mentioning this not only because it feels good to rant, but it may be something you have to deal with too.

When you can't access the Internet you can't install software (unless you have your own local repository), so you should have these commands available on your computers:

You could also keep a bootable rescue Linux handy, such as my favorite SystemRescue CD/USB. SystemRescue has everything you'll ever need for system and network administration. A cool alternative is to have a netbook or laptop outfitted as a super-duper network administration machine, with two Ethernet interfaces, Wi-Fi, and all the networking software you can find. Have your Internet account login, password, and configuration recorded somewhere handy.

You should also keep a list of ping-able IP addresses, starting with your ISP and whatever name servers you are using. Then add a few more random sites so you have a decent-sized testing pool. Using pool.ntp.org and icann.org gives you a good selection. Some server admins block ping (ICMP echo request), which is foolish, so that is why you need a batch of proven ping-able addresses for testing.

It is good to have a couple of extra Ethernet cables, because it's fast and easy to swap cables, though investing in a fancy cable tester is fun. Keep a spare hub or simple, not-fancy switch around for quick testing as well. If you have your own router have whatever interface cable you need to communicate directly with it, whether it's serial or USB. Don't rely on Ethernet because misconfigurations will lock you out.

Be kind and don't bombard sites with pings and other queries. ping will run forever if you don't stop it, so limit it with the -c option; for example ping -c4 [host] runs four times and then stops.

How do you find the IP addresses of all these sites? Easy peasey with good old ping:

$ ping -c4 pool.ntp.orgPING pool.ntp.org (64.16.214.60) 56(84) bytes of data.64 bytes from nox.prolixium.com (64.16.214.60): icmp_req=1 ttl=51 time=125 ms

I like pool.ntp.org because it uses a big pool of addresses — ping it again and you'll get different results. You can see all of them using the dig command:

dig pool.ntp.org

By default dig looks for A records, so this is the same as dig pool.ntp.org A.

The simplest scenario is a single computer connected directly to an Internet gateway: DSL, cable, fiber, wi-fi, or even dialup. (Yes, my friends, about half of Internet users in the US are still on dialup.) My favorite troubleshooting protocol is Close to Far: start with your PC, then move on up the chain from there. Let's run through some basic checks.

First ping localhost:

$ ping localhostPING localhost (127.0.0.1) 56(84) bytes of data.64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.044 ms

If you don't see this, but instead get a ping: unknown host localhost message, try the loopback address:

$ ping 127.0.0.1

If that fails then there is a problem with your network interface card; it's dead or not plugged in correctly. If it passes, then run ifconfig to see if you have a routable address assigned, as this snippet shows:

$ /sbin/ifconfigeth0 inet addr:173.222.222.111 Bcast:173.222.222.255 Mask:255.255.255.0

That's a proper (fake) routable IP address, so that looks all right. If you see an address in the 169.254.0.0/16 range then your interface has not been assigned a routable address, and has been assigned an IPv4 link-local address. (See IP address for an IPv4 refresher.) So it's not getting a DHCP lease, or your static configuration is wrong.

If your address is good then ping the next link — if you have a DSL/cable/etc. modem with its own IP address, ping that and watch its status LEDs, if it has any, for network activity. If it fails, check power and network connections, and power-cycle it.

If that succeeds, or you have a "dumb" modem with no IP address, ping your ISP. First ping by its hostname, like ping unlimitedbandwidth.noreally.net. If that fails with an "unknown host" error, then ping their IP address. If that succeeds then it is a DNS problem. You can have connectivity without DNS, which means you can Web-surf only via IP addresses.

If you are running a local caching resolver, then you could try flushing the cache to see if that changes anything. Most distros do not enable one by default, so if you have one it's because you put it there. Use the wonderful and powerful dig command to see what your resolver, whether it's your own or your ISP's, is pointing to, like this:

$ dig @22.33.44.55 linux.com; <<>> DiG 9.7.3 <<>> @22.33.44.55 linux.com; (1 server found);; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40503;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2;; QUESTION SECTION:;linux.com.INA;; ANSWER SECTION:linux.com.3600INA140.211.167.55;; AUTHORITY SECTION:linux.com.13788INNSns1.linux-foundation.net.linux.com.13788INNSns2.linux-foundation.net.;; ADDITIONAL SECTION:ns1.linux-foundation.net. 34753INA140.211.169.10ns2.linux-foundation.net. 34753INA140.211.169.11;; Query time: 103 msec;; SERVER: 22.33.44.55#53(22.33.44.55);; WHEN: Fri May 6 12:26:35 2011;; MSG SIZE rcvd: 131

Do this using different DNS servers such as Google Public DNS, or OpenDNS, or anyone you want, and compare the results. If this works, or if your ISP resolver returns different results, then that's a pretty good sign that your ISP's DNS servers have a problem. Before you pick up the phone to politely request that they fix it, do one more thing: request a new DHCP lease. Assuming you have a dynamic account, of course. You can reboot, or you can figure out which DHCP client your distro uses and manually renew your lease like this, naming your correct Ethernet interface:

# dhclient eth0

Other Linux DHCP clients are dhcpcd and pump. If this doesn't change anything then chances are good that your ISP is at fault.

If you have an account that gives you a static IP address, then check your configurations, and check to see if your service provider changed something without telling you. For example, my ISP changed name servers without notifying customers. That was fun.

Suppose you have a router between your PC and your Internet gateway. Before doing anything to your router, make sure you can talk directly to it via serial or USB cable. With a serial connection use GNU screen because it's a lot easier than Minicom. All you need to know is the correct line speed, and then run it like this:

$ screen /dev/ttys0 38400

This is your Plan B if your router configuration gets messed up.

After verifying that your PC is not the source of the problem, ping your router. If that succeeds, then log into your router and run the same ping tests as above — ping your ISP and other sites by hostname and IP address, and try using dig with different resolvers if necessary. If this doesn't work, check your router configurations, and check if your ISP changed anything without telling you.

If the configurations look all right, then connect a laptop or PC directly to your DSL/cable/etc. modem. Configure it for whatever type of account you have (static or dynamic) and see what happens. If you connect successfully then the problem is either in your router or switch.

Comments (2)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

Motorola Promises More Atrix-Like Laptop Docks for Future Fhones

0 komentar
Motorola's Atrix 4G laptop dock was a seriously sweet concept, which is why we were so disappointed when it failed to pan out. Sounds like Motorola CEO Sanjay Jha is ready to give it another try, though -- on the company's earnings results call this past week, he told investors that Moto is planning a whole series of Lapdock devices in the second half of the year:
You will see multiple devices from us in the second half launching with these capabilities, and we will expand the range of our Lapdock devices so we cover a broader price point both addressing the enterprise premium tier as well as more consumer tiers.
Comments (0)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

Yahoo Finds Delicious Buyer

0 komentar

YouTube founders set to acquire bookmarking service.

Comments (0)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

Canonical releases Ubuntu 11.04 "Natty Narwhal"

0 komentar
Thursday, 28 April 2011 00:00 The H

The latest release of Ubuntu, version 11.04 "Natty Narwhal", features Unity as the distribution's new default desktop, as well as various package updates, such as LibreOffice 3.3.2 and Firefox 4.0

Comments (3)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

Sony Ericsson Cranks Up Xperia Mini Line with 1GHz CPUs

0 komentar

Sony Ericsson has upgraded its Xperia Mini and slider keyboard-equipped Xperia Mini Pro phones with faster 1GHz Qualcomm Snapdragon processors, larger three-inch screens, and Android 2.3. Claimed to be the smallest smartphones available that can play and record 720p video, the phones include all the wireless features of a big-screen phone, plus a five-megapixel camera and new Facebook integration features....

Comments (0)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

Building Stronger Public Schools: Problem Solved?

0 komentar Jumat, 13 Mei 2011

60 Minutes did a segment on The Equity Project (TEP). TEP is a charter school that is publicly funded and privately run in New York City by founder and principal Zeke Vanderhoek. The goal of TEP is to prove that attracting the best teachers and holding them accountable for results is essential to a school’s success. And guess what else—Vanderhoek also rewards these top-tier educators with salaries around $125,000 per year.

Comments (0)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

Ubuntu 11.04: Too Natty for Its Own Good?

0 komentar

Well the anticipation had been building for months, and now Natty Narwhal is here at last. Rare is the Linux geek today who doesn't know exactly what a narwhal looks like; few have any trouble rattling off a definition of the word "natty" in rapid fire. We've all been watching, waiting and thinking about this new Ubuntu release, and now the thing itself is at our fingertips. Do we love it? Well, many of us do, it seems. Then again, many of us aren't so sure. The new Unity interface, in particular, has created more than a few furrowed brows.

Comments (0)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

Distribution Release: Absolute Linux 13.2.2

0 komentar

Paul Sherman has announced the release of Absolute Linux 13.2.2, a lightweight, Slackware-based desktop distribution featuring the IceWM window manager: "Absolute Linux 13.2.2 released. Use of HAL has been dropped for newer ConsoleKit and udisks, as well as LXDE's newer version of PCManFM. Code changes for the Absolute....

Comments (0)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

Distribution Release: Ubuntu Studio 11.04

0 komentar

Scott Lavender has announced the release of Ubuntu Studio 11.04, a specialist Ubuntu variant featuring a large collection of packages for multimedia tasks: "The Ubuntu Studio team is very excited over its ninth release: 11.04 'Natty Narwhal', available as a 1.5 GB DVD ISO image. Numerous improvements have....

Comments (0)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

Unity: 3 Rants And A Tip

0 komentar

Shawn rants a bit about Ubuntu's new Unity interface, and gives us a couple tips on how to adjust.

Read more at Linux Journal

Comments (0)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

Broadcom Acquires Security Software Developer SC Square For $42 Million

0 komentar Rabu, 11 Mei 2011

Consumer device chip maker Broadcom has acquired SC Squareannounced over the weekend.

Broadcom will pay $41.9 million, net of cash, to purchase all of the outstanding shares of capital stock and other equity rights of SC Square, which provides a number of security chip and communication products and solutions.

Comments (0)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

The Tor Project Forks Firefox

0 komentar
Wednesday, 04 May 2011 00:00 LWN

The Tor project has announced that it is moving away from its Firefox extension and toward the maintenance of its own fork of the browser. "The Tor Browser bug [fixes] on the other hand are more directly usable by Firefox in its own Private Browsing Mode, which makes them more likely to merge quicker, and be maintained long-term. Also, because we are releasing our own Firefox-based browser, we will also have more control over experimenting with them and deploying these fixes to our users rapidly, as opposed to waiting for the next major Firefox release."

Comments (0)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On

A Mesa Branch Provides GLSL IR To TGSI Translator

0 komentar

What's been talked about extensively and for quite a while but not acted upon too much is ridding Mesa of Mesa IR, it's intermediate representation used internally by core Mesa and its drivers. It was also talked about as a possible summer project of replacing Mesa IR with GLSL IR. Now though an individual has begun gutting out Mesa IR and providing a direct GL Shading Language IR to TGSI (the Gallium3D IR) translator...

Comments (0)Add Comment
You must be logged in to post a comment. Please register if you do not have an account yet.
busy

View the original article here

Read On