Fedora, Mobile Broadband and Conky

It was over 12 months ago that I blogged about using my Optus mobile broadband with Fedora. I’ve noticed there have been a few searches on that subject recently so I thought it was about time I updated.

With Fedora 11

When I first plugged the 3g modem in it generated a SELinux error and I had to set SELinux to permissive to get it working. That is no longer the case with Fedora 11. Nor does it load the modem as an usb drive. It is recognised as a modem and Network Manager just handles it.

I must add that this seems to apply only to Fedora. I have tried it in Mandriva and Ubuntu derivatives like Gos and only Mint has worked.

This will improve in Fedora 12 with a new feature that will automatically set up the requirements for each provider. Looks like a great feature for those who need to change the default settings.

Working with Conky

Conky is a very useful system monitor. I have often thought of doing a post on Conky but in the interim I’ll just talk about monitoring the Mobile Broadband.

When I first  set up the Mobile Broadband I couldn’t get Conky to report on it. I tried “dmesg | grep usb” and it reported that the modem was using ttyUSB0, ttyUSB1 and ttyUSB2. However none of these would report any activity. Searching around I found that these were redirecting to ppp0. I can’t remember where I found this but it has been consistent across multiple Fedora versions and computers. I can now see the current activity on the Internet connection.

If it is useful here is the code I added to my .conkyrc to get it working

${color0}INTERNET $color(${addr ppp0}) ${color0}${hr 2}$color
${color1}Down:$color  ${downspeed ppp0} KB/s${alignr}${color1}Up:$color ${upspeed ppp0} KB/s
${downspeedgraph ppp0 25,120 color1 color2} ${alignr}${upspeedgraph ppp0 25,120 color1 color2}$color
${color1}Downloaded: $color${totaldown ppp0} $alignr ${color1}Uploaded: $color${totalup ppp0}

Hope that helps.

Fedora 10

Having installed Fedora 10 I thought I would share some of my impressions. First some comments on installation and setup with a few problems and then some general thoughts.

Installation

I installed from a dvd which is the way I usually do it. I couldn’t use the update option as I was replacing a 32 bit Fedora 9 system with a 64 bit Fedora 10. I had used 64 bit before with F8 but when I updated to F9 I had a 32 bit dvd so I used that.

My only gripe with installation was the lack of an option to install Xfce as my desktop. My memory may be going but I think that was an option in earlier versions. So I installed the Kde version which gave me 4.1. 4.2 has just been released and I understand will be available via the regular Fedora update very soon. As usual I selected, and deselected, several packages. You must select customise now to do this during installation otherwise you will just get a default Gnome system.

Once installed I couldn’t get the internet working on my 3G modem. The Network Manager applet wasn’t appearing in the panel, neither was the Bluetooth applet. I had to reinstall a couple of times. It finally worked after I re-activated wifi in bios. Network Manager was in the panel and when I plugged in the modem I could activate it.

That done I started the update. There were nearly 300 packages to be updated and it took several hours. Not sure if it was an internet problem or slow mirrors, I have had problems with slow mirrors since then and that may be the cause.

Getting things working.

Next was to get things set up the way I like. Although I could select many of the packages I wanted during installation there were still many more to install afterwards. First I added the RPMFusion repos so I could get the good stuff like codecs that are not in the standard repos.

One of the first things I did was install Yumex, the graphical front end for Yum. It is the best package manager for yum systems, much better than the standard “add remove software”. Don’t why it isn’t used as the default.

Next I installed xfce. I have been using it as my desktop for a while now. I have KDE4 but can’t get used to it. It works much better than the F9 version but still doesn’t feel right.

At this stage I had a couple of problems, no sound and no bluetooth. The second was the most of a nuisance as I use a bluetooth mouse all the time and hate the touchpad on my Dell laptop. After some searching I found the command “hidd –-search”. If I pressed the reset button on the mouse as I ran that, as root, the mouse was recognised and worked. It didn’t remember after a restart so I had to do it everytime. Later I added the applet to the panel using the Launcher option in xfce and set it up that way. This seems to have solved the problem as it is remembered after a reboot now. Now I can disable the touchpad. I added gsynaptics to the panel and it works but isn’t remembered after a reboot.

The sound problem I’m not sure about. I tried playing with the settings, checking nothing was muted and the usual things but nothing worked. Then when I restarted one time it gave an error about not finding the sound system and resetting and everything started working so I left it alone after that. Amarok is working fine at the moment so that is all that matters. Almost, next I tried You Tube.

I found You Tube sound worked but was very soft. So soft I first thought there was no sound. The tv was on at the other end of the room and only when it went quiet for a moment did I realise there was some faint sounds coming from the computer. I turned up the volume and could hear something. Again I explored checking the volume control in the Multimedia menu. By chance I found there was a volume control under the Settings menu. It was set to 50% or less. I raised that and You Tube was suddenly very loud. Why is there more than one volume control and which one should we use? I decided to set both to full and use the application’s control to set the level for the current track. This is easiest for me.

One interesting thing is initially I didn’t install the Nvidia drivers from RPMFusion. I used nv for a while. I turned on the compositor in Xfce and some effects worked. They are basic just transparency, the shadows didn’t work as nv is a 2d driver not 3d. I needed to install the nvidia drivers to have Google Earth working properly.

Adobe has released native 64 bit flash and I installed it using a thread on Fedora forums. Although some people have had problems it is working well for me.

I added a few applications to the quick launch bar at the bottom of the screen. To find icons and apps I used the existing ones as a guide. I looked at the properties of the Firefox launcher and found what I was looking for in the same folders.

Impressions

Fedora 10 is a good stable release now. Most Fedoras take a couple of months to settle down so I don’t install as soon as they are released. This seems to work for me. I am liking it after living with it for a few days. That doesn’t mean it is perfect as there are a few things to sort but generally it is a good system

Outstanding issues.

Fedora removed dcop earlier and I was using it in a script for Conky to show the current playing track in Amarok. That doesn’t work and I will look into it too.

The settings to turn off the touchpad don’t “stick”. While typing I find I bump it occasionally and find myself typing in another part of the document. If I am doing a fair bit of typing I turn it off using Gsynaptics.

Wireless Broadband Update

After my last post I lodged a formal complaint via email with Optus. They are supposed to answer within so many hour, 72 I think, but they haven’t. However I must say there has been quite an improvement. I rarely get a drop out at the moment and the speed is much better. I can watch You Tube again! (As an aside isn’t HD on You Tube a great improvement?).
I’m still a little peeved that I haven’t received a formal reply but as long as the system is working I can’t be too upset.

Wireless Broadband Failure

I posted sometime ago about setting up my 3G modem in Fedora. I have a Hauwei E169 modem which I got from Optus. I had no problem setting it up and getting online, it just worked.

Unfortunately the same can’t be said for the Optus 3G network. I had heard reports of it being overloaded and it seems that is the case. To be fair when it works it work well but that is less than 50% of the time. It is not unusual to have it drop out and then need to reconnect several times while checking mail or the Fedora forums. It wasn’t always like this though, when I first got it it was great.

Thinking it may be a Fedora / Linux problem I plugged it in to a XP box today to give it a run. I hadn’t used that computer for a while and so decided to install Firefox 3. The download took quite a few minutes, 15 at least. I watched the speed in the Optus software and it rarely got up to 50 Kb/s often under 20. It also sat at zero for some time on several occasions although the Optus software didn’t show it as having no signal. It did finally drop out while I was trying to update the extensions I had installed. I couldn’t get it to reconnect.

When I contacted support they were helpful but wanted to treat it like a setup problem and were unwilling to admit the problems is with their system.

My conclusions are it runs faster under Fedora when it runs. The service is probably overloaded and getting worse. Linux’s NetworkManager is more likely to show it as having no signal. My advice to anyone thinking of getting Optus 3G is don’t bother.

Browser Sync

I wrote sometime ago that Google’s Browser Sync was going to close at the end of 2008 (actually 6th January 2009). It will be missed by those of us who used it. No use crying over it now but what will replace it for you?

After a bit of research I found Foxmarks. Originally it only synced bookmarks but the latest version, only for Firefox 3 not 2, also syncs passwords. This makes it a valid replacement for Browser Sync.

In fact it has a few features that make it better. One is the online review of your bookmarks. It shows you a history of when you last updated a bookmark and the last time you visited the site. Useful when you want to clean up your bookmarks.

So if you left finding a replacement for Browser Sync until the last minute have a look at Foxmarks.

Aussie Broadband Survey

Whirlpool are running their annual Broadband survey on the state of Australian Broadband. I have filled out the forms and it only took a few minutes. They quote 10 minutes as the usual time but it didn’t seem that long.

I would recommend everyone using Broadband in Australia to complete the survey and help make Whirlpool’s figures accurate. It is at Whirlpool Survey.

Conroy Bans Over 10,000 Sites

The list keeps growing, Senator Conroy has now admitted he will ban over 10,000 sites. Originally he claimed the sites would be limited to those listed by ACMA as illegal but now he has added ten times more sites, that he calls unwanted, to the list. Is this just the start of his real plans? See here for more details.

Stand up for your rights, click on the No Clean Feed link on the top left of this page.

The End of the Internet in Australia?

The Australian government is intending to join a list of the world’s most disreputable governments such as China, Cuba and Iran by censoring the internet. It will set itself up as the sole authority on what Australians can access. But it will also refuse to disclose what it is blocking and why. The few reports that have reached the general media have talked of child porn and other illegal sites but already a staffer in the office of the Minister responsible for this has tried to block reports on whirlpool.net.au. So where will it end?

See here and follow the links for more info.
See also Nocleanfeed.

Would you like WiFi with that?

From March next year most McDonalds restaurants throughout Australia will be providing free wifi. Australian IT reports it will be “family friendly” as sites with pornography, terrorism etc. will be blocked. But at least that is better than the expensive options they offer now.

Of course the use of open wifi can be useful but many people don’t realise it can also be dangerous.