Tekkit Classic with Minecraft 1.6.2

Note: This post was originally published on iamianwright.com it’s been moved here for archival purposes.

Following on from my previous post I wanted to write a little more about the issues I found trying to get all of the Tekkit Classic mods working with Minecraft 1.6.2.

Having discussed everyone’s requirements, my friends and I agreed that we wanted all the features of Tekkit Classic with the additions of Stargate, Twilight Forest, Archimedes Ships, Useful Foods, Treecapitator and a few others. I read a lot of guides and figured out how to set up a custom Forge server for Minecraft 1.6.2.

Now we can install any mods we want but there are some caveats. Firstly not all mods work with Minecraft 1.6.2 and secondly not all mods work with each other. This is where we hit the first problem, Tekkit Classic is built on Minecraft 1.2.5 so all of the mods that come with it are designed for that. Some of them have been updated to 1.6.2 but unfortunately not all.

Mod Name 1.6.2 Download
Balkon’s Weapon Mod Yes Here
BuildCraft Yes Here
BuildCraft Additional Pipes No
ccSensors No  
ComputerCraft Yes Here
IC2 Charging Bench Yes Here
Dimensional Anchors Yes Here
Equivalent Exchange 2 No
Ender Storage Yes Here
Industrial Craft 2 Yes Here
IC2 Advanced Machines Yes Here
IC2 Compact Solars Yes Here
IC2 Nuclear Control Yes Here
Immibis Core Yes Here
Inventory Tweaks Yes Here
Iron Chests Yes Here
MAtmos Yes Here
Modular Force Field System Yes Here
Not Enough Items Yes Here
Nether Ores No  
Power Converters Yes Here
Railcraft Yes Here
Red Power No  
Rei’s Minimap Yes Here
Tube Stuff Yes Here
Wireless Redstone WR-CBE Yes Here

Of the modules missing the Additional Pipes for Buildcraft and the Sensors for ComputerCraft were no big deal as I don’t think any of us have ever used them.  Equivalent Exchange 2 not being available is a bigger problem as one of my friends is very keen on that mod.  EE3 is available for 1.6.2 but it is arguably not as good (or perhaps it’s just more balanced). Nether Ores are no big loss either as none of us really mine in the nether.

Red Power is an issue though as it includes so many features. There are some modders working on creating similar mods for 1.6.2, Immibis has RedLogic and I came across a few others.

Unfortunately I was unable to get RedLogic or Equivalent Exchange 3 to install with the other mods on my server.  I’m hoping there will be some updates that may resolve that in the near future as they make up a large chunk of the features of Tekkit Classic.

This is my final set of mods, including what I could from Tekkit Classic and the additional ones that we wanted.

  • Advanced Repulsion Systems 56.0.0
  • Advanced Machines 56.0.0
  • Arhimede’s Ships 1.6.2
  • BuildCraft 4.0.2
  • ChickenChunks 1.3.3.2
  • CodeChickenCore 0.9.0.5
  • ComputerCraft 1.5.6
  • Dimensional Anchor 56.0.1
  • Dyeable Beds 1.6.2
  • EnderStorage 1.4.2.2
  • Greg’s SG Craft Mod 1.6.2
  • Immibis Core 56.0.5
  • Immibis MicroBlocks 56.0.5
  • Industrial Craft 2
  • Infinitubes 56.0.1
  • Iron Chests 1.6.2
  • IC2 Charging Bench 1.90
  • Not Enough Items 1.6.1.3
  • Teleport Pipes Mod 1.6.2
  • Timber! 1.6.2
  • Twilight Forst 1.19.3
  • Useful Food 1.6.2
  • Weapon Mod

Building a Custom Forge Minecraft 1.6.2 Server

Note: This post was originally published on iamianwright.com it’s been moved here for archival purposes.

Having played through Tekkit Classic, Voltz, YogCraft and Tekkit my friends and I decided it was time for a custom mod pack. This of course meant that I had to figure out how to build it. After reading a bunch of tutorials of differing quality and reliability I was left under the impression that I would need to use a PC. Fortunately for us Mac users with Minecraft 1.6.2 and the new Forge installer this is not the case.

Installing Minecraft Server 1.6.2 and Forge

Head to the minecraft site and grab a copy of minecraft_server.1.6.2.jar. Make a folder to store your server and copy the jar into it. Double click to run the server and continue passed any warnings that may pop up. Once the server has finished loading type “Stop” in the console.

Now we need to install Forge so head over to their site and grab the latest installer. Download it to your desktop or anywhere else that isn’t your minecraft server folder. Double click to the launch the installer. Chose “Install Server” and then make sure it’s got the correct path to your server folder. Hit Ok. This seems to take ages, I have a 70mb connection and yet the bar still crawls along and stops repeatedly. After waiting a while you will probably receive an error like the one below:

Error downloading
These libraries failed to download. Try again.
org.scala-lang:scala-library:2.10.2,
org.scala-lang:scala-compiler:2.10.2

If this happens WontWorld on Youtube has got you covered. For me it only failed to download one of the libraries but his instructions fixed it.

Now you will need a launcher batch file so that you can configure how much RAM is assigned to the server at launch. Open up textedit (or similar), make sure you are in Plain Text (Format > Make Plain Text), then copy and paste the following code.

#!/bin/bash
cd "$(dirname "$0")"
exec java -Xmx4G -Xms4G -jar minecraftforge-universal-1.6.2-9.10.0.804.jar

This will assign 4Gb of RAM for your server but you can change it accordingly for your system. My server runs 24/7 on a Mac Mini with 8Gb of RAM that I use as HTPC as well so I leave half the RAM free for other applications.

Save the file as launch.command. Now you need to set permissions for the file so that it can be executed. Open terminal, navigate to your server folder by typing “cd” without the quotes, then a space, then drag and drop your server folder onto the terminal window. That should complete the command with the full path to your server folder. Hit return and then type the following code.

chmod a+x launcher.command

Excellent. Now quit terminal as it’s scary in there and we won’t need it anymore. Next double click on launcher.bat and your MinecraftForge server should start. This would be a good time to test that you can connect to your new server.

Installing Forge for your Minecraft Client

Before connecting to the server you’ll need to install forge but before you can so that you must run Minecraft once. You’ll need a copy of Minecraft 1.6.2 from the Downloads page. Install it as normal and then open it. Once you get to the screen with a button that says “Play” you can quit and then install Forge.

This is fairly simple, just run the Forge installer you downloaded earlier choose “Install Client” make sure that the installer has the right path to your minecraft install and hit OK. This is generally very quick and painless.

Now open Minecraft again, choose the new Forge profile at the bottom left and hit Play. In Minecraft click Multiplayer, then add your server and test that it works.

If you’ve got this far and everything is working then it’s time to move on to the fun bit.

Installing Mods into FML in Minecraft 1.6.2

So now that you have your list of mods, download them all into a working directory somewhere other than your server folder. When you download them be sure that your browser is not unzipping them, if it is you should be able to find the zips in the trash.  All of the mods will be either ZIP files or JAR files.

All that’s left to do now is install the mods by moving the mod file into the mods folder inside your server folder.  It would be nice if you could just drag them all in at once and it worked but that was not my experience.  I found that it was best to add one at a time and check I could still login. Remember that any mod installed on your server also needs to be installed on your client.

Some mods have different files for server and client but most are universal.  So add a mod to your server, start the server, add the mod to your client, start your client and join the server.  Sometimes after adding a mod to the server it will die horribly and throw a SEVERE error. If that happens read the log file, read the forums, check for dependencies and try again.

You may need to copy the contents of the server’s config folder to your client’s config folder if you encounter ID mismatches between client and server.

It would also be a good idea to make backups of your server every time you successfully install a mod. This may seem like overkill but I finished this project once and was happily playing online when I decided I should add one more mod.  It threw a severe error, removing the bad mod didn’t fix it neither did reinstalling the server and copying the last backup of mods. Moral of the story backup everything all the time.

In the end I managed to get the following mods installed and living happily side by side.

  • Advanced Repulsion Systems 56.0.0
  • Advanced Machines 56.0.0
  • Arhimede’s Ships 1.6.2
  • BuildCraft 4.0.2
  • ChickenChunks 1.3.3.2
  • CodeChickenCore 0.9.0.5
  • ComputerCraft 1.5.6
  • Dimensional Anchor 56.0.1
  • Dyeable Beds 1.6.2
  • EnderStorage 1.4.2.2
  • Greg’s SG Craft Mod 1.6.2
  • Immibis Core 56.0.5
  • Immibis MicroBlocks 56.0.5
  • Industrial Craft 2
  • Infinitubes 56.0.1
  • Iron Chests 1.6.2
  • IC2 Charging Bench 1.90
  • Not Enough Items 1.6.1.3
  • Teleport Pipes Mod 1.6.2
  • Timber! 1.6.2
  • Twilight Forst 1.19.3
  • Useful Food 1.6.2
  • Weapon Mod

Now it’s up to my friends to play test it and see if it breaks horribly.

Pebble Review

Note: This post was originally published on iamianwright.com it’s been moved here for archival purposes.

What is a Pebble?

The Pebble smartwatch connects to your Android or iPhone handset via bluetooth and displays text messages, emails and other configurable alerts on it’s e-ink display. It’s the result of the most successful kick-starter project since the site’s launch. Pebble were originally looking for $100,000 but wound up raising a staggering $10 million during their campaign.

I thought it looked like a great product when I first saw the demo videos during the funding stage but due to a lack of funds I didn’t back it. I signed up to pre-order one in February this year and was contacted at the beginning of August to say that my Pebble was ready for me. It arrived about three weeks later and after paying around £25 in import duty it was in my grubby mitts.

It arrived in a very minimal package, just the watch and the proprietary USB charger in a long thin mailing box. The setup instructions are available online and in the companion apps for iOS and Android. Setup was almost instantaneous, download the app, open it, it asks for permission to connect on both devices and then you start configuring any IMAP accounts you want it to alert you to.

(NOTE: As I have an iPhone 5 the rest of the pebble review will be around the experience of pairing a pebble with iOS 6.)

Notifications

Notifications were the main reason I wanted a pebble. Text messages (SMS) and iMessages are displayed on the Pebble in full and they work flawlessly. I have been surprised at how handy it is and I wouldn’t want to be without my Pebble for this feature alone!

Like most people I get a lot of email, some of it is even important but soon after getting my first iPhone I disabled the email notifications as it became frustrating to get my phone out when it buzzed only to delete yet more spam or social media notifications. Pebble allows you to set up a number of IMAP accounts that it watches and then notifies you when new email is received. It vibrates and displays the first few lines of the message. For email notifications to work the Pebble app has to be running in the background on the iPhone. So far I have found that it doesn’t consistently alert me to emails but it’s hardly life or death.

You can set up notifications from any app to display on the Pebble by setting them to show on the lock screen in the Notification Center preferences of the iPhone. However at the moment this is a bit hit and miss. Pushover seems to work fairly consistently but Prowl refuses to play nice with the Pebble at all. The general consensus seems to be that iOS notifications should be improved in iOS7 and until then it’s a case of turning the settings on and off until they stick.

Pebble Apps

Pebble comes with a built in Music app that allows you to play, pause, skip forward and skip back through what is playing on your iPhone. It also works flawlessly, if nothing is currently playing it will start playing wherever you left off, whether you were in an album or playlist. There are no controls to navigate through your library so you’ll have to get your iPhone out if you fancy switching album or playlist. In it’s current incarnation I think it’s perfect for skipping the dud tracks on albums while commuting or walking when you might rather leave your phone out of sight. It’s also good in shuffle mode to check the name or artist of a track you’ve forgotten.

There’s an inbuilt Alarm Clock app that allows for multiple alarms. The alarm itself is silent as it just vibrates the watch against your wrist. I don’t really have any need for it as I don’t wear it to bed and have no need of alarms during the day but it’s a sensible addition.

There is one other app included although it only gets activated when you launch a compatible companion app on the iPhone. The Sports app works with iOS apps like RunKeeper to display information on the Pebble about your workout; elapsed time, miles covered and current pace. It also allows you to pause the workout without having to get your phone out. I have been using it to track my rides to work for the last week. I found just the act of tracking them to be quite motivational and being able to put my phone in my bag and start/stop the workout from my wrist makes it much more convenient.

The Pebble SDK has been available for a few months and there are some third party apps available. Even though I didn’t buy the pebble for apps, it was a fun to play Space Invaders on my watch although the buttons make it too uncomfortable and impractical to be any more than a novelty. I did also download Cave Worm, which is a clone of a game I spent many hours playing on the school computers during form time. It runs smoothly and is easily playable, in part because it requires only one button but again it becomes uncomfortable quickly.

It will be interesting to see what third-party developers will come up with as the install base increases.

Watchfaces

There are quite literally thousands of watchfaces available for the Pebble. The vast majority of them are created using online generators and as such are all much the same. There are some diamonds in the rough though, in the picture above I’m using Squared, I also really like the idea behind LinesWatch although it’s not easily legible. The built in Fuzzy Time face was part of the original draw for me as I’m a bit of a typography geek.

I cobbled together my own watchface with the generator and it was very simple but limiting in what you can achieve. The SDK is available and there seems to be quite an active community but I don’t have time to investigate it in detail at the moment.

In Use

Having not worn a watch for a few years it felt strange for the first day but I soon got used to it again. It’s light and comfortable on my wrist although I wonder if people with slimmer wrist might find it a little too large. The build quality is pretty much exactly what I expected, it’s not Apple’s level of industrial design but it looks good and it’s the first product from a small crowd funded startup. It’s smooth and sleek, the screen is excellent and clearly legible in all lighting conditions. It comes with a user-replacable silicone strap which I will be changing as I’ve always found they irritate my skin in the past. It’s a fairly standard size so there are plenty of options to customise the strap.

The vibrations are strong enough to get your attention but discreet enough not to alert everyone around you.  The battery life is quoted at around seven days and so far that seems in keeping with my experience. I had been concerned that it might kill my iPhone’s (already poor) battery life but it doesn’t seem to make a huge amount of difference and I’m still charging the phone each night.

I have received a couple of positive comments on my Pebble mostly due to the slightly peculiar watchface I’m using. It seems that most people have never heard of it but at least one person that I talked to about it asked where to buy one. I think the Pebble is understated enough that the majority of people are unlikely to remark upon it unless they recognise it.

My only real worry is scratching the face of the watch as it’s plastic. There are a number of companies offering wraps for Pebble and they also include a clear screen protector so I may invest in one of those.

Verdict

After my first week with it I’m really impressed with the Pebble and I wouldn’t willingly give it up. I’ve been fascinated by wearable technology since I was a teenager and it seems like this may be the first consumer priced step on that journey. I’m hopeful that the imminent release of iOS 7 will address some of the inconsistencies with notifications and possibly allow more communication from phone to pebble.

If the much rumoured Apple smart watch ever materialises then no doubt it will have a higher build quality and be more feature rich than the Pebble but I doubt it will be priced around $150 nor will it last a week on one charge.

Pebble offers an attractive, well-priced and open platform to those interested in wearable tech. It’s probably not for everyone but it suits me and I’m looking forward to integrating Pushover in future projects purely for geek value.

Fix Network Drivers for XP in Boot Camp

Note: This post was originally published on iamianwright.com it’s been moved here for archival purposes.

Just a quick tip today.  I had a client that asked me to do the unthinkable.  She bought an iMac several years ago but had only ever used it for Windows XP under boot camp.  She asked me to give her more space on the windows side, it was originally configured with the default 32Gb.  So after backing up her data I removed the windows partition then created a new, larger one. I reinstalled Windows XP and followed Apple’s instructions (PDF) by installing the drivers from the Leopard disc.

Windows XP would not recognise the network drivers (ethernet or airport). After several futile attempts and one other copy of Windows it was still stubbornly uncooperative. Everything I could find on the web just reiterated Apple’s advice to install the drivers. In a last act I tried installing the drivers from a Snow Leopard disc and it worked perfectly.

So if you can’t get an internet connection in Windows XP under boot camp try installing the drivers from a Snow Leopard disc as the Leopard ones don’t seem to work (alternately learn to use Mac OS X, just saying).

Dynamically Generate Product Variations with PHP

Note: This post was originally published on iamianwright.com it’s been moved here for archival purposes.

“Why can’t I just dynamically generate product variations with PHP?”, I thought, “Surely that must be how other people do this!”.

I’ve been working on an ecommerce site, with Drupal Commerce, for a business that a friend and I have started up. We’re selling sports clothing that is made to order. The customer is able to pick a style, two colours and a size. There are eighteen available colours so for each style there are over three hundred variations that could be chosen. As well as building the site I am creating artwork for the products. They are fairly simple vectors that use only two flat colours with a black outline on top.

As simple as they were generating over three hundred images per product was not an option.

It also turns out that all of the commerce platforms I looked at, including drupal commerce, expect you to define all of the variations and then assign an image to each. There are ways of importing product catalogues into DC but it seemed unnecessary as the products are all made to order so there’s no stock to track.  So this became my first challenge.  Eventually after reading half of the internet I found a drupal module called Commerce Customizable Products.  It allows you to specify fields the user has to complete before adding a product to their cart. I used it to add size and colour options along with two image upload fields.

So that took care of capturing the information from the customer’s order but I was no closer to generating the product images. After scouring yet more of the internet I posted to stackoverflow in the hope the wisdom of crowds would provide me an answer. Sadly there were none forthcoming. I continued reading everything I could about manipulating images with PHP and eventually I solved my own problem.

To create the images dynamically I have created one GIF that contains the white background, a pure red and pure blue region to define the primary and secondary areas. This is run through GD which changes the red and blue to the user selected colours. Then a transparent PNG is merged on top which contains the black outline and the company logo (see example at top of post).

I then created a page with selection boxes for colours and style and used a little jQuery to pass those options to the PHP that generates the image.  When the script receives the options it uses them to create a filename for the image that it will produce but first it checks to see if that file already exists.  If it does then it returns the existing file if not it creates it on the server for future use and returns it.

I have put up a demo with all the scripts that you need to dynamically generate product variations with PHP.  There’s a link to a zip file that includes all of the code and some images on that page too.

YogCraft and Server Texture Packs

Note: This post was originally published on iamianwright.com it’s been moved here for archival purposes.

I have been running a private Minecraft server for myself and some friends for a while now.  We have been playing through a variety of Modpacks, starting with Tekkit then Voltz and yesterday we switched over to YogCraft.

On Minecraft servers you have the option to force users to download and automagically install a texture pack when they join.  I’ve never tried this before but I thought I’d give it a go as I was starting a new server.  The way it works is that you need a zip file containing the texture pack somewhere publicly accessible on the internet and you modify the server.properties file to tell it where to find it.  I tried this but immediately realised that there is a limit of 10Mb for texture packs served in this way and the one I had was 38Mb!

A little research showed me that there are some command line utilities to optimize PNG files which might help reduce the file size. A guy who knows a lot about PNGs has made them more user friendly by making a free drag and drop PNG optimiser called ImageOptim. I gave it the texture pack to chew on, 1200+ images that come to 40.7Mb before zipping, and left it to cook overnight.  I knew I was being overly optimistic seeing as I would need a 74% reduction overall to get it within the maximum allowed file size.

Additionally I found out that when you compress files on a Mac it includes all of the hidden system files (resource forks) in the archive. For a texture pack the system files are redundant and potentially increase the overall file size. Fortunately there are several applications available that allow you to create zip archives without the system files. I already use a free application called Keka to deal with archives and found that it offers this facility.

So after running all of the images through ImageOptim I was left with a folder weighing in at 32.1Mb.  I then compressed it at the highest setting with with Keka telling it to “exclude Mac resource forks” and was rewarded with a 29.9Mb file. For the sake of comparison using the built in Compress command in OS X created a 30.5Mb zip file so excluding the resource forks saved 0.6Mb.

The net result is a decrease in file size of a little over 21% which although significant is sadly shy of the 74% saving required. So I guess I’ll just email my friends a link to the zip and instructions on how to install texture packs for Minecraft.

For the sake of anyone arriving here from google the folder for texture packs in YogCraft on the Mac is: /Applications/YogCraft/minecraft/texturepacks

Lepai LP-2020A+ Amp Review

Note: This post was originally published on iamianwright.com it’s been moved here for archival purposes.

My new Lepai LP-2020A+ amp arrived yesterday and I promised a quick review so here goes.  I expected it to be adequate at best but it’s excellent!  I am not an audiophile but I can definitely appreciate the difference between good and bad audio.  The only complaint I have is that the amp does sound a bit muddy if you switch on the tone controls so I have left them disabled.  It’s not much of a concern though as I’m streaming the audio from iTunes so I’m using the built in equaliser and it sounds great.

For less than thirty quid I cannot praise the Lepai LP-2020A+ enough.  As I already had the speakers and Airport Express it’s a no-brainer.

Airplay Amp on a Budget

Note: This post was originally published on iamianwright.com it’s been moved here for archival purposes.

I bought some Mordaunt Short Avanti 902i’s to use as rears for a surround sound set several years ago but have only ever had one living room large enough to accommodate the whole setup.  As we now have a large swedish shelving system in our home office I was hoping to finally be able to use these bookshelf speakers that have been nestled in their box for the last four years.

Ideally I wanted to be able to stream to them from iTunes and iOS devices.  As they are passive speakers I knew I would require an amp and I was hopeful that by now network streaming might be a fairly standard feature.  Sadly this is not the case, at least not in the section my budget would stretch too.

Above right is the Denon stack a DNP720AE Network Music Player atop a PMA520AE Stereo Amp.  When I first saw the Denon streamer I misunderstood it to be a self contained amp with network connections.  Unfortunately for nearly £200 this device only generates an unamplified signal so it still requires the amp below before it can power speakers. Interestingly Denon do make a single device solution in the form of an AV receiver – an amp that deals with video as well as audio – that includes wireless streaming for around the £260 mark.

Sadly everything I looked at was still way beyond my budget and it became apparent that there is no such thing as a cheap Hi-Fi amplifier.  Even on eBay old amps go for upwards of £100.  After much searching I came across a mini amplifier on Amazon for the princely sum of £26.99!  It’s called a Lepai TA2020+ and it has surprisingly good reviews.  I called in an old Airport Express that I had loaned out to a friend and I am now eagerly awaiting delivery of this tiny amp.  I will let you know how this budget option turns out.

Figuring out FreePBX

Note: This post was originally published on iamianwright.com it’s been moved here for archival purposes.

In a moment of clarity I realised I was massively overcomplicating how to go about directing calls.  I had wanted the PBX to know if I was out of the house and route calls to the extension on my iPhone instead of my Mac.  When I thought about it this evening I realised that’s completely unnecessary as FreePBX lets you set a rule for what to do if an extension is unreachable.  So I have now set it up so that if the softphone on my Mac isn’t signed in then the call forwards to the extension for my iPhone.

On the subject of the iPhone, it turns out there are a number of SIP clients out there.  I’ve tried a few of them but so far the most reliable one has been 3CXPhone as it has the ability to accept calls in the background and when the device is on standby.  The only downside is that the ringtone is Marimba which I can’t stand and sadly there is no option to change it.

It’s all coming together quicker than I expected but there are still a few things to tick off:-

  • Setup a VPN so I can connect externally.
  • Configure the PBX to only allow calls through between 9am and 5pm Monday to Friday.  All other calls should go to voicemail and the messages forwarded to my email account.
  • Record better messages for any of the greetings or menus I’ll be using rather than the robotic American voice currently being used.

Raspberry Pi PBX

Note: This post was originally published on iamianwright.com it’s been moved here for archival purposes.

I’ve been looking at a cheap and flexible solution to having a separate phone number for business calls. I recently came across a post detailing how to use the Raspberry Pi as a PBX. It seems like it will more than cover my needs and as it comes in at under £50 for everything I figured it was worth a go.

I had planned to write a detailed post explaining what was involved in setting it up but it was much easier than I expected.  Essentially you download the image for the SD card use PiWriter to copy img to SD card from the Mac.  Plug in power and ethernet, SSH into the Pi to make a few changes and then everything else can be done via the web interface.

I followed the instructions for installing Incredible PBX on the Raspberry Pi from Nerd Vittles.  Next I needed a VoIP account and as I’m in the UK sadly google voice wasn’t an option.  So I signed up for a free SIP account at Sipgate and then followed these steps to set up a Sipgate trunk.

I’m using X-Lite on my macbook air as my soft phone at the moment.  I have incoming and outgoing calling working perfectly.  Currently calls do go to voicemail if unanswered but no messages are recorded.

The next plan is to set up a VPN tunnel into my home network so I can run a SIP client on my iPhone that will work as an extension of the PBX.  The upside is that as it’s an internal extension there won’t be any charge to pass the call on.  The downside is that it requires my phone to have an internet connection which is a rare thing in Thanet.

Ultimately I want the system to recognise if I’m home or not and automatically divert calls to the appropriate extension.  I’m sure this should be possible by looking to see if my iPhone’s MAC address is connected to the network.  Now I just need to figure out how to make a change in asterisk based on network information.

The project continues…