Archive for the ‘Tutorials’ Category

How to use OpenDNS Tiscali Siemens SE587 Router

4 Comments

I guess this is a little tutorial following what I’ve done this morning; should be handy since I couldnt find any good info in one place.

For those of you who dont know what opendns is: Google is your friend but basically it’s an alternative dns service from resolving addresses with some nifty extra features.

Now, lets get started, Tiscali are mean for the more savvy network dude and have locked the firmware on the SE587 to only include features that most users would want to use – unfortunately this does not include setting custom dns servers – meaning they are set automatically when the router is powered on and negiotiates an internet connection.

So using the web interface is out :( Lets fire up telnet :)

For telnet I used putty but you can use any telnet client (I’m not going into depth about how to connect to things using telnet – if you dont know how to do that, stop reading now).

Anyway; telnet into the router and you should see a nice connexant splash with some neat ASCII art, login with your normal username and password that you use for the web interface. There is a lot you can do with telnet here and I’ve spent hours going through different commands trying to get this to work properly – but in the end I discovered it can be done using the command:

dnsrelay

not dnsclient as I first thought – maybe it does work but it’s a lot of hassle and I couldnt get it to.

So type:

dnsrelay list servers

And you should see a few IP Addresses for DNS described as configured by PPP (Thats Tiscali)

Delete those by typing

dnsrelay clear servers

And add the new OpenDNS ones with

dnsrelay add server 208.67.220.220

dnsrelay add server 208.67.222.222


Now you need to save this so it’s not lost on reboot:

system config save

And finally:

system restart

Will reboot the router – wait a few minutes for it to come back up and telnet back in.

Re-issue the command:

dnsrelay list servers

Now you should see the 2 opendns manually configured IP’s as well as the ones PPP sent us. (You can change some config to stop PPP Sending it’s DNS but there was no need for me plus if left like this and for some reason opendns fails then the router should fallback – if you want to know how to stop auto discovery over PPP leave a comment)

Now to check that you are actually using opendns all you need to do is goto a random web address that you *mistyped* I like http://randomurl.cop – if you see the opendns search page then you’re all done and your router is now using opendns for its queries. If something went wrong just do:

dnsrelay clear servers

system config save

system restart

And the router will reboot and get new DNS from PPP again.

Oh…one more thing I did just for fun really I dont think its needed.

dnsrelay set landomain opendns.com

I think you can set this to any domain – the only reason I changed it was because I felt like it really.

Comments Appreciated Thanks for Reading

How I got Backtrack3 to boot from USB

1 Comment

So here’s some background on why I’m writing this post, which I hope may be slightly more useful than the last one. I wanted to install Backtrack 3 to a USB drive so I could boot into it and haxx0r around a bit :D

BackTrack is the result of merging the two innovative penetration testing live linux distributions Auditor and Whax. Backtrack provides a thorough pentesting environment which is bootable via CD, USB or the network (PXE). The tools are arranged in an intuitive manner, and cover most of the attack vectors. Complex environments are simplified, such as automatic Kismet configuration, one click Snort setup, precompiled Metasploit lorcon modules, etc. BackTrack has been dubbed the #1 Security Live CD by Insecure.org, and #36 overall.

So now that you know what Backtrack is, let me explain the problem I was having:

Well firstly I read the articles on in the Backtrack wiki on how to create a USB and they told me to extract all files from the ISO to the USB and then run a shell script to make it bootable. I was at a bit of a loss as to why it’s packaged as an ISO if all you need to do is extract the files (why couldnt they just pack the files into ZIP?). Nevertheless I followed the instructions, tried to boot and had no success.

So I had a bit of a trawl around the web looking for solutions and I finally found one: UNETBOOTIN or Universal Network Boot Installer – a simple standalone application which takes any given ISO image and writes it to your USB drive in one click.

Its simple and eliviates the need for you to install ISOBuster (or other tools to extract the files) I encourage you all to try it if you want to make bootable USB’s from your ISO’s. And I’m told it will work with any ISO – even Windows installation CDs which would be handy if, like me, you find yourself having to reinstall Windows fairly frequently whenever it decides to die. :)

/****Edit****\

I have since discovered that UNETBOOTIN Will only work with Linux ISOs despite what I was led to believe by what I read on the Internet – If you are wanting to get a Windows install on a USB Drive might I suggest you read this: http://www.eeeguides.com/2007/11/installing-windows-xp-from-usb-thumb.html

/****####****\

For your conveinience I’ve uploaded the program to here :

http://youreadmyblog.info/files/unetbootin-windows-299.exe

I guess this was sort of a tutorial but maybe not?

Craig

x