Search Results: "ina"

30 May 2006

Uwe Hermann: Irrepressible.info - an Amnesty International campaign against Internet censorship

Let me take a quick break from all the technical posts to turn to a more political topic for a minute. Amnesty International has recently started the Irrepressible.info campaign against Internet censorship, which promotes freedom of information and expression, as well as human rights:
Chat rooms monitored. Blogs deleted. Websites blocked. Search engines restricted. People imprisoned for simply posting and sharing information.
The Internet is a new frontier in the struggle for human rights. Governments with the help of some of the biggest IT companies in the world are cracking down on freedom of expression. Amnesty International, with the support of The Observer, is launching a campaign to show that online or offline the human voice and human rights are impossible to repress.
There are many ways you can help, e.g. by Btw, the OpenNet Initiative (ONI) has an interesting (Flash-based) Internet Filtering Map, showing where in the world information is filtered/censored at which level... Fore more information, you might also want to read this BBC NEWS article. And finally, here's the whole text of the pledge. Repeat after me:
I believe the Internet should be a force for
political freedom, not repression. People have
the right to seek and receive information and to
express their peaceful beliefs online without
fear or interference.
I call on governments to stop the unwarranted
restriction of freedom of expression on the
Internet and on companies to stop helping them do it.

Adam Rosi-Kessel: Rachele Made The Globe Blog Log

Rachele (my wife and recent arrival to the blogosphere) made the Boston Globe “Blog Log” this Sunday — see the bit entitled Kiss Contractor Goodbye. Too bad she didn’t actually name the contractor in her blog entry! The original entry: sexism in the building trades.

Jos Parrella: The magnets

While being in Mexico City, I walked around downtown and several other places of the city. One of this places was a block full of chinese restaurants which resulted to be (guess what) the Chinatown in Mexico City. Besides the real cheap buffet deals (60 MEX -> 6 USD -> 12000 VEB) in chinese food, I found a street seller (which in Venezuela is called a buhonero but I’m not sure how they call it in Mexico) which was selling all kind of chinese overstock stuff. This usually includes those kitties with chinese eyes, and the little bells painted, and maybe some handcrafted sticks… but this guy was throwing a pair of magnets in the air while selling this stuff. The magnets made an incredible sound when they attracted themselves in the air and bounced. I asked if those were on sale (of course, it’s Latin America) and I bought a pair for 20 MEX. While in home, I was playing around with the magnets, impressed by the power they had (in my first term in the University I had to made a maglev train and we spent hard time finding good magnets to show the different forms of generating magnetic fields). If you place one of these magnets in the floor and approach to it with the other at, say, 10 centimeters, the other magnet starts moving away really fast (and chaotically, also) One of the most interesting parts of the magnet stuff was making both of them to spin about 7 centimeters apart. One of them stops at some time and starts spinning again just by the magnetic fields they produce. Of course you can play all sort of stuff like making a dog chase a magnet around a table while you “move” it with the other magnet under the table. All the fun stuff has a bad part, of course. I was hanging around with the magnets around my home and then my girlfriend found out “weird” purple spots in all the televisions and monitors around the place. Damn magnets!

Adam Rosi-Kessel: Yahoo Qmail Daemon and Mailman

My server’s mailman (or postfix) installation is mysteriously rejecting mail from one Yahoo! mail user. I don’t get it:
Hi. This is the qmail-send program at yahoo.com.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
:
72.1.169.10 does not like recipient.
Remote host said: 550 : Recipient address rejected: undeliverable address:
unknown user: "[list name]"
Giving up on 72.1.169.10.
72.1.169.10 is, in fact, the IP address of my server. [list name] is (in the real version) the real live name of the list. The list seems to work for everyone else. And it’s certainly not true that I, or my server, doesn’t like this recipient (or sender). Aside from this anomalous behavior, it’s also funny that Yahoo! provides plain old unfiltered qmail bounce messages to its users. Wouldn’t you think a fully matured webmail service like Yahoo! would, by this point, have somewhat customized their mail error reporting messages? In fact, wouldn’t you think they would want to hide the fact that the use qmail at all, if only for security purposes? Couldn’t they hire an intern to write a few replacement error messages? Maybe I’m missing something. A propos, I discovered this nice piece from McSweeney’s, entitled YAHOO’S MAILER-DAEMON AUTOMATED REPLY FOR FAILED E-MAIL DELIVERY IS GETTING A LITTLE TOO INTIMATE. Update 5/30/06: Figured it out. Oddly, Yahoo! was looking up the CNAME DNS record for the domain name and replacing that in the mail header. While the original email went to e.g., listname@lists.mydomain.com, the message as delivered was addressed to listname@servername.mydomain.com. Because only lists.mydomain.com processed email for lists, the message bounced. The solution was to change lists.mydomain.com from being a CNAME entry to its own A entry with the IP address specified directly. That fixed the problem. I’ve never seen any other mail service work this way — gmail certainly doesn’t.

Christine Spang: got UROP? (well, sort of)

It’s occurred to me that I haven’t ever actually blogged that yes, I accepted enrollment at MIT. Hence the preparing to move from Camillus, New York, a little suburb outside of Syracuse, to Cambridge, Massachusetts. (I.e. the Cambridge where you get to pick your email!) Not only that, but I have a job. A job at the MIT Media Lab, Tangible Media Group. They use Gentoo (on cygwin…), but I forgive them at least for now since it’s a heck of a lot more interesting a job than the crap retail jobs that my friends are queueing up for the summer. Though it means that I won’t be able to party with them for the last summer before university, since I won’t be home. Why I have the job is mostly Mako’s fault. So, I was staying at him and Mika’s place when I was down visiting MIT, and I met him outside the Media Lab the night I arrived since it’s right across the road from East Campus, where my undergrad student host lives. I got an awesome tour, got to check out the shiny toys, and got introduced to a few people. A day after I get home, I have forwarded email from Mako in my inbox from one of the people I was introduced to (another grad student at the Lab), who’s looking for people to hire this summer. Zing, nifty. The position’s basically a temporary UROP, hence the post title. A month and a bit later, I’ve paid my June rent for my sublet in Cambridge and am making lists of stuff to go shopping for. If you want to be helpful, tell me something you took to college and never used. Though keeping in mind that I’m in a small, rented house for 2.5 months until I move into my dorm in late August. Or, point me to quick and easy recipes. I’ve never really done a lot of cooking before, so I’ll be using the kamikaze “cook or don’t eat!” method here. I have 9 days of high school left until classes let out for exams, and I’m pumped. I’ll only have one final exam this year since the only classes I’m taking that have ‘em are Economics and AP Physics, but I managed to cut through the numerous layers of red tape necessary to get out of taking the New York State physics regents exam since it’s given on the very last day of testing, and I am leaving before then. (I’m heading down on June 19th; it was supposed to be the 22nd.) Seriously, red tape. Talk to guidance counselor, talk to academic dean, talk to guidance counselor again, talk to admissions officer from MIT whom I’m acquainted with, give guidance counselor his phone number so she can fulfill the school politics requirement of having official confirmation of okay-ness, get the go-ahead from guidance counselor afterward. The economics exam is on the first day of tests, w00t (June 12th, IIRC). Commencement is June 17th. Walk across the stage (I’m giving a speech!), then drive across the Northeast to the rest of life.

Evan Prodromou: 10 Prairial CCXIV

I've been very interested in the development of semantic markup in HTML pages over the last few years. I find it particularly interesting, since I've been invested a lot of time putting RDF features into MediaWiki, which has paid off with some interesting features on Wikitravel (see wt:Wikitravel:RDF). I think further semantic markup could be very useful to Web users. Encapsulating semantic info into HTML is not a new idea, but it's picking up steam and I think it will 'tip' as major systems start using it, and with built-in browser tools like Flocktails. But I'm worried about competing efforts to make semantic-data-in-HTML work; I've written an essay on the subject in RDFa vs microformats.

29 May 2006

Martin F. Krafft: Shell sucks

Shell programming must be the most depressive waste of time out there, and if only because things sometimes just don't work the way you'd expect from a scripting language. Take the following simple examples in bash (3):
for i in 1 2 3; do
  echo $i
  exit 1
done
echo END
==> 1
echo -e "1\n2\n3"   while read i; do
  echo $i
  exit 1
done
echo END
==> 1
==> END
WTF? The result of the first -- the whole script exits entirely after the first iteration -- is what I expect. After all, I did not call break, but exit. The result of the second is totally unexpected. I understand that for and while each execute their iterations in a subshell, but why don't these behave in the same way? The fix here is a exit $? following the done keyword. Urks! Here's another one: the task is simply to output the number of 1's in the output (yeah, I realise grep -c can do this too):
cnt=0
echo -e "2\n1\n3\n1"   while read i; do
    case $i in
      1) cnt=$((cnt + 1));;
    esac
  done
echo $cnt
==> 0
The reason? The while subshell receives a copy of the caller environment, so when it updates $cnt, it only updates a copy of the actual variable, leaving the original untouched. Similarly, a variable defined inside the subshell won't be available after the while loop is done. I cannot find a fix that's not bash specific. Of course, it works fine when I replace the while loop by a for loop:
cnt=0
for i in 2 1 3 1; do
    case $i in
      1) cnt=$((cnt + 1));;
    esac
  done
echo $cnt
==> 2
Great, isn't it? And I am not surprised that zsh gets it right. Why would anyone actually want to use bash? Update: here's Joey's explanation for the behaviour, and Clint's account for why zsh does it right. I still can't figure out how to count the 1's. Update ^2: Axel Liljencrantz sent in this message. Update ^3: Alexander Sieck showed me that process substitution ("<(command)") instead of the pipe does work (for both cases):
while read i; do
  echo $i
  exit 1
done < <(echo -e "1\n2\n3")
echo END
Of course that's nowhere near POSIX compliance... Update ^4: my solution, which allows for spaces in the lines:
IFSOLD=$ IFS:- 
IFS='
' # yes, a newline
for i in $(the_command): do
  IFS=$IFSOLD
  ...
done
What a hack!

Enrico Zini: Debconf6 talks material now online

I've finally put online slides and notes for my debconf6 talks:
Many people had asked me the notes for the "Advanced ways of wasting time" talk: they're finally online, translated and with the links pointing to English Wikipedia pages. Sorry it took me so long.

Evan Prodromou: 9 Prairial CCXIV

As part of my work leading the Debian Creative Commons Workgroup, helping to fix problems in the Creative Commons licenses that make them unsuitable for works in Debian, I've been very interested in the relationship between wp:Digital Rights Management technologies and Free Software licenses. So I've written an essay on the subject of Free content and DRM, to encapsulate my thoughts on the matter.

Uwe Hermann: Stuff IV

28 May 2006

Ian Murdock: Picasa: Why not a native Linux port?

Robert Love: “In Google’s calculation, the cost of a native port outweighed the benefit of a native [port] v s-a-v s a WINE-fueled Picasa. Is that really unexpected? Our development platform is no shining star. We have two toolkits, poor binary compatibility, and unclear direction. To be sure, vendors such as Novell are devoting increasing effort toward improving the Linux ISV and platform story. But the community must make it a priority as well, from the kernel up through the highest levels of the graphical desktop.” That’s part of it (and certainly an accurate assessment of the kind of thinking we need as a community to make Linux a better platform). I think there’s another part of it, though, and that’s that operating systems in general are fundamentally uninteresting to Google as platforms in themselves, as well they should be—after all, the web is Google’s platform, and they dominate there, so why should they promote an alternative where they are much weaker? In my view, the (fat) client bits merely exist to ease the transition from the current, predominantly desktop centric world to a new web centric world where Google naturally thrives. After all, such paradigm shifts are always gradual. There’s the offline question too—if all your data is in the cloud, how do you get to it when you’re not online?—though I suspect over time the browser will provide offline capabilities of some sort, so this is largely a temporary problem too. So, using Wine in ports not only minimizes the incremental cost of building out a foothold on the client (which, again, is a necessity for Google, given that Google’s biggest competitor is between them and 90% of their customers), but it raises the fat client platform up a level too. In other words, it builds a fat client platform with a consistent look and feel across desktop environments; and with this, the operating system underneath rapidly becomes irrelevant. The real question is when Google will hook Picasa into a photo sharing service of its own. I already keep my photos in the cloud, and I’d love to organize and edit them in Picasa (Organizr is nice, but nowhere near as nice as a desktop application, and it doesn’t have some basic functionality, like import from camera and red eye repair). Of course, this is just one example of Google having some platform thinking issues of its own, though that’ll have to be a rant for another day.

Martin F. Krafft: Aftereffects of the keysigning experiment

The experiment I conducted at the last keysigning party caused this thread (cross-posted to here). While the discussion has long gone way off-topic, some interesting points have been raised. I also took the opportunity to clarify my point of view a bit on the issue over the previous blog post:
The Debian project heavily relies on keysigning for much of its work. However, I think the question what the signing of a key actually accomplishes has not been properly addressed. In my opinion, from the point of view of the Debian project, a person's actual identity (as in the name on your birth certificate) matters very little; the Debian project does not actively interfere with a person's real life in such a way as to require the birth certificate identity (legal cases, liability issues, etc.). Moreover, it's rather trivial in several countries of this world to change your official name. In this context, even the claim that in the case of a trust abuse, your reputation throughout the FLOSS community (and the rest of the Internet) should be properly tarnished, does not stand, IMHO. From within the project, what matters is that everything you do within the project can be attributed to one and the same person: the same person that went through our NM process. The GPG key is one technical measure to allow for this form of identification. Its purpose is not, as Micah Anderson states, a means to confirm the validity of a government-issued ID. This brings me to a point which Andreas Schuldei nicely stated at the beginning of the thread (as did others throughout):
I do not need an ID to identify martin, so i dont need to rely on his (forged or real) passport or other id from him in order to sign his key. If you did not know him before you should not sign his key (if your judgement was based on the unofficial ID).
When Andreas signs my ID, he voices his trust in that I am who I claim to be, and he does so not because I presented him with an ID with the claimed name, but because we've interacted many times before. In that line, Gunnar's point stands:
Maybe we should just drop holding KSPs, and fall back to the traditional method of "Hey, nice dinner we had yesterday. Say, now that you know me, my family and my history, would you like to sign my key as well?" - Signing for people you actually know, not just linking
In my eyes, this is exactly what a keysigning is and should be all about: a statement of familiarity with a person, nothing more and nothing less. And as a project, we should either accept that, or find a better way to identify our developers. So what to do in this very situation? Should you revoke your signature from my key (or not even sign it in the first place)? Should you revoke or refuse signatures to all participants, because some claim the keysigning party to have been subverted? I think the answer to both cases should be: no, unless you have not previously known the person whose key you wish to sign. That's exactly what makes this decision very subjective, and a public call such as the original post rather unnecessary and missing the point.
If you do not care to read the entire thread, here are some of the better replies (in no particular order): One question that arouse while reading this thread is whether Debian could actually persecute one of its members for computer fraud/sabotage/whatever on an international level. And if so, would the real identity really help that much, given that we'll have countless IP addresses to go by? I know it would make things easier (despite it being only a name, no identity, as there is not birthplace or birthdate), but is it worth the hassle?

27 May 2006

Matheus Morais

After one entire night fighting to put my hurd devel machine running well, finally I started to work on the project properly said.

Using debian-installer directory patched with Colin Watson work, I started to build the d-i dir packages (udebs) with not many problems in begin. Some small fixes are made in clock-setup package but the great challenge, and I was looking for one of that, started with netcfg package. The file netcfg-common.c dont compile with curious and seemed errors in three functions (is_interface_up, interface_up and interface_down), right now I'm trying to search why the error happen, currently I have no idea what could be causing this but I'm working on it.

Currently, the two most harder points of packages to understand is kernel-wedge (should I need to build it?) and arch.

Well, now let me back to search solutions for netcfg build problem.

Aigars Mahinovs: Debconf6 day 6: Main group photo

May 19th. Fallback from the dinner and Ted's expulsion hanged over the morning of this day, but by the lunchtime it was mostly forgotten and people moved on to more interesting topics. ... for example, Sponge Bob! I mean I18N, of course. A big discussion about the future of Debian's I18N infrastructure was the highliht of the morning for me as I expected to later become the mentor of the respective Google SoC project. In some ways need of Debian translators are simple and very similar to the need of all other translators worldwide, but other need are quite different. Coordination with Wordforge to detect both those subgroups of our need was one hot topic, need that are related to OLPC use was another. People went on hacking, but I went towards the pool to plan forward towards the group photos. I needed to check the angles and lighting levels, test the lenses and settings. When 18:00 (the time of the main group photo) approached, clouds covered the sky and it went dark. At 17:58 it started raining. At the last moment Mark took a jump from the 10m tower. He later reflected that the decision was between jumping or remaining the highest point around while the air crackled of ever increasing electricity. People slowly gathered under the roof nearby and waited as told. After around ten minutes most people were gathered and the rain stopped. People ran out into the field and I ran up the diving tower to my selected photography place 10 meters up from the ground. I took a bunch of pictures, more people came, I took some more pictures, others came, I screamed to people to say "Tequilaaaaa" and took loads of pictures. The group photo was done. After that we had a quick and painless keysigning party (only two hours is quick). The trust network grew again. After that there was a lot of dancing on the veranda of the hacklab. It was very cool thing to watch, but gave not so good pictures because of speed and low light. Those two dancing instructors were just great! With this number of DD's we have an expert in anything - dancing, photography, security, religion, patents, biking, ... ... We share their knowledge and we all become better. Inspiring. One minute after midnight around 30 people sneaked into the room of sleeping Andreas and started to sing "happy birthday" ... because it was. Andreas looked very surprised. Very sweet idea. Cudos to the organizers. However it would be nice to turn on the light so that flashes of the 20 cameras would be less blinding. ;)

Aigars Mahinovs: Debconf6 day 5: Formal dinner.

May 18th. The fifth day of Debconf6 started for me with a very detailed overview of the debian installer. I have already been quite familiar with the system, but did not really know how to debug the debian-installer system, which was a good part of today's presentation. Many were still tired from yesterday's evening's "testing" of international hard liquors. (Or the pancake party?) At the lunch I discovered on my own skin how hard it was to announce something in the restaurant where we were having food - the room had very high ceiling with high an thick separation beams, so the acoustics of the place were just terrible. I had almost enough volume to fill the room, but after many reflections it was incomprehensible. I had to revert to walking around the tables to remind people about the group photo next day and about the place to meet for today's formal dinner. The rest of the day flew by fast and it was soon time for the dinner itself. People slowly gathered at a parking lot behind the hotels and idly chatted while waiting for the boarding call. After a while people stopped minding me and that resulted in several good portraits. We boarded the bus and went to the place of the formal dinner. The place was a large hall where local volunteers had placed the tables in the form of a swirl. That was a very nice touch. People wondered round and round 'till they choose a place they liked. AJ sat at the very inner end of the swirl and I somehow got to sit at his right hand. Not that it matters. At one moment some person took a crown of Ted's head and rushed to put it on AJ's had. Many photos were taken at that moment (most of them very blurry), but I feel this one to be a bit of an irony: CLUE hanging over Ted, but he doesn't quite get it. But enough about him - there was enough fun at the dinner to satisfy anyone. After a while of nice chatting time food started to appear. First the glasses came, then there were the huge 3l bottles of Cola. I managed to avoid the Mexican version of Cola before that, but now when I tried it Mexican Cola tasted very much like the Estonian version and slightly different from UK's or USA's versions. I guess the sugar type used and the water might be of the difference. Few attempts at simulating a spiral "Mexican" wave along the tables were conducted. Only when AJ personally controlled every part of the way by running along the length of the table, the wave succeeded. :) A Mexican band came in to lighten up the mood. They were met with a huge wave of applause and a burst of flashlights. The music was great - lively and exciting. Spanish speaking people knew most of the songs and sang along. But after a short while the music was started to being drowned out by the sound of a rain hitting the roof. Soon after the food was served I heard scream of surprise with a hint of fear. When I turned, I saw that one of the wall of the hall strangely turned into a waterfall - gush of water was streaming from the roof into the building. People looked at the water, took a bunch of pictures, made a few water related jokes, picked their bags up from the floor and ... continued with the fun. I must say that I was slightly scared, but although others might have been scared as well, most did not show it and the event just went on with a half of the hall having a couple centimeters of water. Water also dripped down on some parts of the tables, so people shifted from there to other places. Meanwhile, outside the rain became stronger, wind became faster, thunder became louder and came closer. The climax of the evening was the sudden loss of power. I was jsut standing on the stage when all the lights inside and outside went out at once. For a moment there was a bit of confusion and the evening became slightly scary in a single instant. Then people took out their mobile phones, PDA's and other devices and lighted the place up with the light from their screens. Some others had handlights, and others made slightly more light for a shorter moments by taking flash photographs, for example, of the ceiling. In a few minutes the emergency light went up and after 15 more minutes the main lamps started coming back on. For most people that was enough excitement for the night, so when the rain calmed down and Gunnar announced that first buses are ready go back to the hotel if some people want that, two buses were overfilled with people wanting to get back. Some stayed. More fresh food was cooked then, including some cooked cactus leaves and some grilled meat after which a desert followed with a rollcake that included a swirl of some red jam. Very Debianish :) After a quick local-optimal packing session the hall was left almost empty in a few minutes. The packing algorithm was interesting - one person was collecting all forks, other person was collecting all spoons, other people were only folding tables, while others were handling chairs. The work division was very effective and allowed people to share the work without any kind of central coordination. And we went back .. to work. On the way to the hotel I noticed pixie sitting in the walkway in a very careful was - it turns out she got one of the kittens to trust her and was holding it in her lap. It was sooooo cute. Kawai! Ted: Many questions were raised about Ted, the "fight" at the formal dinner and the following expulsion of Ted from the event and from the Debian project. An I have a unique perspective on that as I was sharing a room with Ted and talked to him and his friend John after the dinner, but before the expulsion notice. I barely noticed the, now widely speculated about, events at the dinner itself. I noticed that at one point in time the lump of people around the door became a bit bigger and that Ted and John were in the middle of it. I heard no screaming and saw no struggle or fighting and did not see anything strange regarding Ted except this and the other event described higher above. Ted was siting by his table with a woman that I for some time believed to be his wife because of the very caring way he was handling her. After considering that he was from Canada, I assumed (with a though of the twisted humor) that she might then be his Mexican lover (either paid or not), but I did not care enough to find out about it or to raise any conflict about it. I remember thinking that it would sound quite funny in context of his latest blog post about killing of prostitutes which might also be the reason why people where very ready to believe the joke that one of Ted's companions said of the woman being paid to come here with Ted "or maybe not". After the event I wane to sleep to be awaken around 5 in the morning by a discussion going on in my room about the dinner. I went into the discussion slightly irritated with a simple argument - inviting people to a party without an explicit permission of the organizer is a bad thing to do. That point sank in quickly and Ted soon was ready to apologize for that. After that a discussion about individual people and motivations went on for another hour. Ted's action were deeply rooted in the confusion of terms with "bravery" and "cowardice" versus "aggression" and "non-confrontational behavior". Ted's motivation was clearly based on avoiding anything that could be considered to be cowardly and putting emphasis on brave actions, however the most of the rest of Debian project is much more in line with the modern world and prefers non-confrontational behavior to any action causing trouble. Most of the time such behavior is essential for comfortable survival of any geek living in non-geek environment. The difference in values between Ted and the rest of our project was just too immense. When I was walking out of the room at around 7 in the morning next day my final sentence was "Ted, even if you spend rest of the Debconf apologizing and making friends, I do not see a future for you in this project." and the most important was that Ted and John seemed to agree with me on that. I soon found out that DAM's agreed with me too and took action just when I was talking to Ted expelling him from the project. He was also advised to leave the Debconf to avoid any further confrontation. It was harsh, but kind of expected for a long time. This event spoiled my mind for a few hours, but ... the Debconf must go on!

Robert Pickel: First Post

This is my first post since starting the project.

I am working with the live-debian project, but I think I will continue on with my original proposal.

Bascially that is to write an extention of debootstrap for creating live images.

Of cource this will work with the releases supported by Debootstrap includeing Ubuntu.

Right now I am looking at supporting a debian scheme which uses init scripts that closely resemble the INIT scripts from a normal debootstrap install. The other will take advantage of KNOPPIX technology, which is has been noted as having some the best hardware detection.

For now I will focus on researching the types of hardware detection.
This will probobly require me to create my own repository that contains both Kudzu (KNOPPIX) and Discover2 based hw detection.

There is a lot more to be looked into in terms of bootloaders, and types of read-only filesystems (cloop, squash file system, etc.)

There are no immediate plan to focus on incorperating any X-windows system or desktop into debootstrap-live.

Essesntially the core of this project is to identify the best tools for creating a working live version of the releases supported by debootstrap.

Adam Rosi-Kessel: Fix for When VX9800 Fails To Connect to VZW3G Network Over Bluetooth on Linux

As a result of the Verizon v710 Bluetooth Class Action Lawsuit Settlement, I just got the LG VX9800, aka “LG the V.” It’s actually not as mediocre as I thought—more on that later. In keeping with my tradition of posting solutions to problems that are not easily found on google (an omnibus entry I plan to separate out into separate entries some day), I’m posting this tip about getting on to Verizon’s high speed (“3G”) network from Linux over a Bluetooth connection. I was able to get on with no problem with my old phone — the v710. I was surprised when wvdial kept failing with the new phone. The key, it turns out, was adding the following to /etc/ppp/options:
-chap
-mschap
-mschap-v2
(I’m not even sure all of those are necessary, since -mschap and -mschap-v2 are not documented, but they can’t hurt.) Here’s the whole process:
  1. Establish a Bluetooth connection with the phone.
    • Make the phone “discoverable” — go into Bluetooth Options and set it to be visible to all devices
    • hcitool scan to find the phone’s Bluetooth ID (henceforth ##:##:##:##:##:##)
    • hcitool cc ##:##:##:##:##:##
    • hcitool auth ##:##:##:##:##:##
  2. Add a stanza to /etc/bluetooth/rfcomm.conf:
    rfcomm  
       bind yes;
       device ##:##:##:##:##:##;
       channel 8;
     
    
  3. Add a stanza to /etc/wvdial.conf:
    [Dialer Defaults]
    Modem = /dev/rfcomm0
    Carrier Check = No
    Baud = 115200
    Init1 = ATZ
    Init2 = AT$QCMDR=3
    Phone = #777
    Username = [Your Verizon 10 Digit Phone Number]@vzw3g.com
    Password = vzw
    
  4. As dicussed above, add to /etc/ppp/options:
    -chap
    -mschap
    -mschap-v2
    
You’ll of course have to deal with permissions issues (on /dev/rfcomm0), have the packages installed (bluetooth, wvdial, ppp), etc., but that sort of information is available elsewhere. It should be obvious that this method costs you airtime. But in my experience Verizon imposes no other charges. I get about 16 kilobytes/second out here in Vermont, which isn’t bad compared to dial-up. Finally, I haven’t nailed this down yet, but in some situations (maybe where you are outside EV-DO range), you may need to do the following: (Remember to change it back to Digital Only Hybrid when done) Finally, there is already an excellent page describing how to use the VX9800 (“LG the V”) on Linux. I would not want to displace its PageRank.

Simon Law: Debconf 6, Day 7


Funicular
Originally uploaded by sfllaw.
After the morning talks were over, [info]ze_dinosaur and I decided that Saturday afternoon should be devoted to fun. We rounded up Jesus, Anabelle, Ben and Nattie. And then we set off for the water park. You see, we were actually staying at a huge playground, except we never saw very much of it. Determined to see more, we hike over to the Tower, found the funicular and took a trip down. As we passed over a small wood, I instantly regretted leaving my camera at the hotel. I suppose, however, that I'd regret it more if my camera had taken a swim. We arrived at the bottom and found a flock of geese. This is where I really wanted my camera, because the goslings were oh-so-adorable. Nattie got some photographs while the mother goose hissed furiously at her. We left, found the front gates of the water park, and were told that it was closed. Well, we were quite disappointed. The others went back to the resort, but Ben, Nattie, and I refused to have our afternoon ruined. Instead, we found a washroom, got changed and waded off to the sulphur pools. There's a large spring underneath a big glass dome, which happens to spew out some rather foul smelling water. Much like rotten eggs, really. There, it fed into a series of swimming pools in which vacationers soaked.

Swimming
Originally uploaded by sfllaw.
We waded in to the very cold water and swam a while for a bit. We got used to the smell and temperature, and started having a marvellous time. Then we saw the waterfall. A man was standing beneath a small torrent of water, that beat about his neck and back. In order to stand in place, he hung on to a knotted rope which was tied to the retaining wall. After watching him for a bit, we three decided to give it a go. Swimming up to the fall was the most difficult part, then it was quite relaxing to have water pouring over you like that. I need a bathtub and shower like this, when I build a house. Soon after, we went back to the resort where we dove in the pool and swam a bit. We managed to corrupt Tore's mind and scar him forever. Just then, we were kicked out by the lifeguards because it was 18:00. The air was still scalding and they closed the pool. What are these people thinking? I took a nice shower and then a nap in the front lobby. Since lots of people were leaving on Sunday morning, this was the last night for them to party. So lots of people got quite drunk, including one poor fellow who passed out on the grass. I found a towel for him, so he wasn't so cold. Then, I took plenty of pictures of people, while simultaneously convincing them to wear hats. No really! There are many benefits to hats. And people look great when they have a hat on. I highly encourage you to get one yourself. I stayed up very, very late. Until about 5:00. Then, Eric and I couldn't take it any more and we went to bed.

Simon Law: Debconf 6, Day 6


High jump
Originally uploaded by sfllaw.
I missed most of Friday's talks due to some sleeping in. At conferences, I try really, really hard not to succumb to exhaustion, but all those late nights eventually take a toll on me. By the time I got up, people had already left, so I took a leisurely shower and padded off to the Tower. I caught Meike's talk on giving good presentations and wondered if I should do something similar at some other conference? After lunch, we gathered on the grass to take a group photograph. Aigars Mahinovs then climbed up the stairs to the top of the ten metre diving platform, and stared down at us with his borrowed lens. I attempted to convince people to participate in a group hug, but this was fairly difficult. If you look closely, you can see a small island of us. It actually took quite a few shots for Aigars to get a picture, but the results turned out quite well. At least for me. I was wearing a hat, you see, so I didn't have to squint. Rain started to fall again, so people rapidly ran for cover. I ducked into a covered walkway, where we were starting our GnuPG keysigning. I went through a lot of passports and met a lot of people. Venezuelans have the best passport photographs, bar none. And I got to see a non-national identity card. I have to get me one of those.

Hotel Zacatepec
Originally uploaded by sfllaw.
Dinner was held at a restaurant with live music, which we had to ask be turned down. That's because a bunch of us had gotten together for a brainstorming session. I think we came up with some useful things we could do, on both sides, to improve co-operation between Debian and Ubuntu. So I was pretty happy about that. Afterwards, the rain was coming down hard so we rushed back to the hotel room to change. I remember walking on to the HackLab veranda and seeing a bunch of people standing against the walls looking uncomfortable. Aha! It was good that I was wearing my dancing shoes, as we were obviously attending the second anuual Debconf ball. Wolfgang taught me the steps to Argentine tango, but I really couldn't find a partner. So I danced by myself, drawing glances from everyone, until I found some people to dance with. Sadly, many attendees were too shy, or claimed that they were clueless. Of course, I didn't know what I was doing, so they couldn't possibly do any worse. Perhaps next year, they can be convinced. It really is fun, you know.

Erich Schubert: Smack your laptop to switch desktops

This page uses the motion sensors present in some new harddrives in an interesting way. Check out the flash/youtube video. It's too funny. My laptops harddrive doesn't have motion sensors - but it has two very nice keys I use for desktop switching, right next to the cursor keys. Of all key combinations I've used so far for desktop switching this is the one I love most... Unfortunately, this is a very unusual keyboard layout, and I think even IBM/Lenovo doesn't have these keys on newer models any more. A shame.

Next.

Previous.