Archive

Archive for the ‘Internet’ Category

Create Smart Keyword Search for Ubuntu Tutorials

July 15th, 2008 7 comments

I have been trying to come up with some more ways to make this site and the content more helpful for the community.  In my searching for new “features” I came across the Firefox feature of “Smart Keyword Search”.  This post is two part.  One, I’ll outline how to create a Smart Keyword Search item in Firefox specifically for this site and second create Smart Keyword Searches for any website.  This will allow you to quickly and easily search this sites contents anytime you need instruction on a topic!

Smart Keyword Search for Ubuntu Tutorials

To create a Smart Keyword Search for this site you’ll need to first right-click on the blog search field.  The search field is found on the top left above the Donate button.

add a smart keyword search in firefox

The resulting window will ask for a name and a keyword.  The name is just for your use, allowing you to organize multiple keyword searches.  The keyword field is the keyword you’ll need to use to quick-search the site.  In the example below I used “Ubuntu Tutorials Search” for the Name and “ut” for the keyword.

smart keyword search - add bookmark

Click “Add” to save the changes.  You can now quick-search this site for whatever it is you’re looking for by entering “ut <search term>” in your address bar.  To search for posts related to vmware, for example, you’d use:

ut vmware

Searching can be done from any tab, so you don’t even need to pull up the site first.  Quickly find the tutorials you need, simply and easily.

These steps work for any search form you can find on the web.  Right-click, “Add a Keyword for this Search…”, enter the keyword, and you’re done.

Categories: Internet Tags: , ,

Firefox Shortcut Keys

June 22nd, 2008 23 comments

Not long ago the USB mouse that I’ve been using with my laptop finally died.  Granted it may have been due to me stubbing my toe on my backpack and crushing it during the middle of the night.  In any event, I’ve become pretty proficient in the use of keyboard shortcuts in Firefox at this point.  I thought I would share a few with you.

Navigation Shortcuts

Forward, backward, home, address bar and search bar can be done via keyboard shortcuts:

alt+Left Arrow : back

alt+Right Arrow : forward

alt+Home : Home

ctrl+L : address bar

F6 : address bar

ctrl+K : search bar

ctrl+K+Down Arrow : toggle search engine down

ctrl+K+Up Arrow : toggle search engine up

Tab Shortcuts

Opening, closing and navigating your tabs can be done via these shortcuts:

ctrl+t : new tab

ctrl+w : close tab

ctrl+Page Up : previous tab

ctrl+Page Down : next tab

ctrl+tab : next tab

alt+num (1, 2, 3, etc) : tab number

ctrl+shift+T : open recently closed tabs

ctrl+r : refresh tab content

ctrl+shift+r : force-refresh tab content

ctrl+u : view tab source

Are there any shortcuts that I’ve missed?  If you’ve got anything to share, comment.

Categories: Internet Tags: ,

How To Install Flock Browser v1.2 on Ubuntu 8.04

June 15th, 2008 2 comments

It’s been a while since I’ve blogged about the Flock Browser, and after checking it out today I thought it was time for an update here at Ubuntu Tutorials.  For all of you that are addicted to all of the social networking sites (Digg, Twitter, Facebook, del.icio.us, Flickr, etc) you get an integrated-into-the-browser experience with the Flock Browser.  Follow the steps below and give ‘er a try:

Install Flock Browser v1.2 on Ubuntu 8.04

Unfortunately there are no .deb packages for the Flock Browser so you’ll have to install things manually.  Yes, this’ll require some commands at the terminal.  Yes, I’ll give you cut-and-paste commands.  No, the terminal won’t eat your cat.

  1. Download Flock Browser v1.2 and select “Save File” to store it on your Desktop.
  2. Open a terminal and run: sudo tar -C /opt -xzvf Desktop/flock-*.tar.gz
  3. Create a link to the new browser within your PATH: sudo ln -s /opt/flock/flock /usr/bin/flock-browser
  4. Dump the following into a new file: /usr/share/applications/flock.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Flock
Comment=Flock Web Browser
Exec=flock-browser
Icon=/opt/flock/icons/mozicon128.png
StartupNotify=true
Terminal=false
Type=Application
Categories=Applications;Network

You should now have a new entry in your Applications menu called “Flock Web Browser” (your menu may need to refresh first).  You can also launch the browser from the terminal using the command:

flock-browser

Enjoy!  Anytime there is a Flock Browser update you should be able to safely repeat steps 1 and 2 and you’re set.

Mozilla Firefox Easter Eggs

June 13th, 2008 13 comments

I ran into some Mozilla Firefox easter eggs this afternoon.  Do you have any more that I don’t know about?

Visit these addresses in Firefox 3:

about:mozilla
about:robots

Also some other interesting things to find:

about:config
about:cache
about:credits
about:license
about:buildconfig

(Reference to the “warranty” is a warning message and I’m sure its a joke.  Refer here to previous warning messages prior to this one.)

Categories: Internet Tags: , , ,

How To Disable Prefetching in Firefox & Epiphany

March 20th, 2008 10 comments

update: I have also found that prefetching is active in the Epiphany browser as well. The instructions to de-activate it are the same, see below.

I recently found out that Firefox has a feature called “prefetching” that tries to pre-download items that it suspects you might click on soon.  This could help in pre-downloading content that you would visit next (ie; it is linked on the page you are visiting therefore you might access it next), but it can also have the nasty negative effect of wasting your bandwidth on items you don’t ever want.  This can also download cookies from sites you haven’t visited, etc.  Seems like a nasty feature to me!

I also found that this prefetching feature will cause your connection to the ubuntuforums.org (and a few other sites) to be refused if you are also going through a squid proxy.  So, this is a quick suggestion on how you can disable prefetching in Firefox.

Disable Prefetching in Firefox

In your browsers address window enter the address:

about:config

This will pull up your browser settings (in FF3 it will warn you that there be dragons ahead!  Just accept the warning.)  You’ll now want to search for the following string, which you’ll toggle off:

network.prefetch-next

To toggle off this setting simple double-click the listing and it will set to false.  Prefetching items that you might download is now disabled.  Your machine will now kindly only download the content, cookies and images that you actually access directly.

Categories: Internet Tags: ,

Manually install Adobe Flash / Temporary flashplugin-nonfree fix

December 26th, 2007 18 comments

I realized the other day that the flashplugin-nonfree package appears to be broken.  It’ll act like its installing but at the end, if you pay close attention, it’ll give an error about the md5sum not matching and give up.  This applies to installing the package manually or via the browser notification itself.  I wanted to post a temporary fix while we wait for the package to be updated.

Manually Install Adobe Flash

  1. Download the Flash for Linux archive
  2. Unpack the archive (/tmp perhaps)
  3. sudo cp libflashplayer.so /usr/lib/firefox/plugins

Once you’ve copied the file Flash should be functional.  You may need to restart the browser if you run into performance problems.  Also note that these same steps work for installing flash for the Epiphany browser (yes, even placing them in the firefox folder).

If you still have the flashplugin-nonfree package installed this shouldn’t immediately conflict and my guess is that once there is an update it’ll seamlessly fall into place.  I don’t forsee any conflicts, but you’re welcome to correct me if I’m wrong.

Categories: Internet Tags: ,

Thinking Outloud…

December 2nd, 2007 7 comments

I picked up an old Sun UltraSparc 10 this last week and I set it up yesterday with Ubuntu 6.06 Server. I think I’ll have it run my irssi/bitlbee server, and I was also thinking it could be my local DNS/DHCP server.. but this is where I get into unknown territory for my network. As long as I’ve had high-speed I’ve set a hardware router in place and have not had to deal with this. As the title suggests I’m thinking outloud with this post, mainly just looking for some feedback to make sense of how to put this together. Here is my current network setup.

Current Network Setup

I have DSL which comes in the DSL Modem which is configured with PPPoE transparency (I believe) so that the current router can submit the PPPoE login information. The current router (Netgear Wireless + switch) has the PPPoE information and acts as the DHCP/DNS. This then uses an out-port from the Wireless Router back to a Netgear 8 port 10/100/1000 switch, also daisy-chained to another identical switch which all the machines in the house are connected to. (No I don’t have 16 machines in my house, but I have LAN ports in each room for mobility).

DSL -> Wireless Router (DHCP/DNS/FIREWALL) -> Switch 1 & 2 -> machines

Attempted Network Setup

What I would like to do is remove the Wireless Router as the DNS/DHCP and simply use it as an access point. I would like to use one of my servers as the DNS/DHCP server and I suppose that would end up being the firewall as well. This new setup would then be something like:

DSL -> Sparc (DHCP/DNS/FIREWALL) -> Switch 1 & 2 -> Wireless Access Point & Machines

I have done a bit of reading regarding pppoeconf on Ubuntu and I have been able to set that up on the server. The problem was then that the Sparc machine could get out but nobody else could. I understand I’ll need to activate ip_forwarding on that machine and probably put together an iptables MASQUERADE rule, but what else do I need here?

ifconfig shows the PPP connection and WAN IP. I then have eth0 and eth1 (although I’m assuming PPP is using one of those as well?) So we make eth1 the external, PPP connected device, and give eth0 a static IP such as 192.168.0.1? For this machine to allow network traffic to the internal network does it *need* a named server going or would it work if the clients had external DNS configurations (like the ISP or opendns.org?) At this point do I need DHCP server going as well? There are reasons why I would want this (initially the reason for this whole spagetti mess), but for initial connection testing is it *required*? Can the clients just configure static networking on the same subnet?

I guess I’m wondering, at the minimal level, what needs to be wired to what & what services are *required* to allow connection from all the machines? The details on configuring DHCP and DNS I can take care of, I just want to make sure everything is wired properly. Any thoughts?

Categories: Internet Tags:

How To Disable ipv6 on Ubuntu 7.10 “Gutsy Gibbon”

November 18th, 2007 14 comments

I found a really quick fix today for disabling ipv6 completely on Ubuntu 7.10 (not yet tested on previous versions). This might be of interest to some of you that have had networking problems, as I’ve heard disabling ipv6 at least within the browser has been a help here. This tutorial will disable ipv6 completely on the machine. At this point activating or disabling ipv6 probably wont make much of a difference as very few people actually implement or use ipv6. Unless you know you have a reason to need (or not need) this, you can probably safely leave it where it is.

Disabling ipv6 on Ubuntu 7.10

We’ll simply need to change a line in one of the configuration files that loads the ipv6 module to the kernel. As of yet I have not figured out a way to update this change outside of restarting the machine. If anyone has any suggestions on removing ipv6 “live” I would appreciate it.

Change the line is /etc/modprobe.d/aliases from:

alias net-pf-10 ipv6

to

alias net-pf-10 off

Again, at this point you’ll need to restart your machine for the change to take place. If anyone knows of a way to avoid the reboot I would appreciate it.

Categories: Internet Tags: , ,

Comcast Is Starting The Tiered Internet.. Whether We Like It or Not

August 21st, 2007 77 comments

Update: Visit Save The Internet and let your voice be heard!

Sunday afternoon I finished setting up a dedicated rtorrent server for seeding Ubuntu .iso images. I do my best to hand out all the CDs I can, but I also figured I could make use of the bandwidth I have to do the same. Once I got on that idea I realized I had access to two Comcast connections (family) where I could drop in two more of these “rtorrent appliances”. So, I got to work setting a second one up and dropped it on the network at my Dad’s house.

Wasn’t I surprised to find that my seeds weren’t taking off. After some quick Google searching I found that Comcast is cutting torrent connections nearly across the board. All across the internet people are complaining about Comcast not letting them seed anymore–and many of these for completely legal material!

I know bittorrent is associated with a lot of pirating. Hell, so was ftp and whatever other protocol you want to drop in here. This doesn’t mean that it is *only* used for pirating. This doesn’t mean that there aren’t legit reasons to use the efficient protocol. Apparently Comcast doesn’t see it this way.

The way I see it this is the first step toward a Tiered Internet, whether or not any such thing is approved in Legislation or by the consumers. Comcast doesn’t care. They are simply cutting off access to part of the Internet, plain and simple.

I would not be surprised at all to soon hear that Comcast will allow bittorrent traffic, for an additional fee. If you *really* want to use that protocol you can pay us more, but otherwise we don’t deem it as part of “normal internet usage”. Once that starts what is to stop the avalanche that will happen next?

“You want access to YouTube? It really uses a lot of bandwidth and we weren’t expecting most people to use more than casual browsing and email. That’ll be $5/mo additional.”

If Comcast is able to start cutting off access to internet protocols they are already to the Tiered Internet that will only become grounds for corruption and extortion. Who will be next?

The telecoms like the idea of a Tiered Internet because they can then extort both sides of the product. Since they are the middle-man they can charge more to the consumers for access to “the whole internet” and charge more to large domain names and take pay-outs from big online powerhouses to provide “better or preferred” access to them.

What do I mean by that? We all know Google pwns the internet. We start getting into the Tiered Internet setup and Microsoft gives a big payout to Comcast, requiring them to limit access to Google, while preferring access to Windows Live Search (or whatever the hell its called). They’ll make up some reason why its more efficient for bandwidth or some BS and you’ll have to pay more to get to Google. They would be in the perfect position to rake in huge piles of money from both ends, with nothing to stop them.

The internet needs to stay open. The *whole* internet. Not the convenient internet. Not the bandwidth friendly internet. Not the bribed-into-becoming-the-new internet. The whole internet. All protocols. All sites. All networks.

If Comcast is allowed to continue cutting off even one protocol we’ve already lost. Voice your opinion. Contact your local office. Complain. Make some noise. Switch providers.

Until then I’ll be getting these two Comcast connections switched to a competitor. It may be a slower internet (in my area) on DSL, but at least its the whole internet.

Update: Visit Save The Internet and let your voice be heard!

Categories: Internet Tags:

How To openID Enable Your Blog

July 11th, 2007 5 comments

In a follow up from my previous post here, I want to quickly outline how to openID enable your WordPress blog.  I know it isn’t Linux / Ubuntu related, but we can stretch and say that your server is running on Linux / Ubuntu so it’s close enough, right? :)

Register For an OpenID

The first thing you need to do, if you haven’t already, is setup an openID.  You can find a provider (openID provider list), or use the server I used at myOpenID.

Register at one of the providers for free, and you should end up with something similar to:

username.myopenid.com

Install the Plugins

Download the openID WordPress plugin

Download the openID Delegation plugin

Install both of these to your /wp-content/plugins/ folder, and activate them within your blog Dashboard > Plugins menu.  (details for installing each plugin are on each link above, but this is the general idea.)

Once the plugins are installed and activated you’ll need to enter a few details in the settings for each.  Navigate your way to Options and select the OpenID submenu.  There you’ll need to enter the trusted root of your site, which is generally the full domain, ie; http://ubuntu-tutorials.com.  The other settings on that page are up to you, but you’ll probably want the last three checked at least.

Once you have these settings updated make sure to Save, and then navigate to the OpenID Delegation submenu.  On this tab you’ll need to fill in three fields.  These are pretty simple.  In my case, with an openID address of http://zelut.myopenid.com the three fields are:

http://zelut.myopenid.com

http://zelut.myopenid.com

http://zelut.myopenid.com/xrds

Match those to your openID registered address (if not registered at myopenID.com your address will be different).

At this point your site should be OpenID enabled.  Anyone with an OpenID can then comment or register on your site, without having to actually register on your site.  It’s perfect.  Enjoy.

Categories: Internet Tags: