Old Stuff no longer so important to remember
 

Back to Home Page


iPhone 4 (GSM) with Consumer Cellular. iOS 6.1.2 - MMS does work

This is now outdated

I had a hard time finding much actual experience with Consumer Cellular on this subject (a t(on out there on StraightTalk)...  So, after finding various info on that this should be possible, I went ahead and got an unlocked phone directly from Apple, ordered service from Consumer Cellular, and a $1 micro-sd card from Tmobile (to do the sim swap trick in order to set APN info).

The first trick is to enable Data, if you see on the Consumer Cellular website that your account doesnt have data, then you need to call support. Make sure you have wifi access, call them, say you need to activate data for your account, and  that you have an iPhone. They will ask for some serial number thingy, then ask you to go to
http://www.consumercellular.com/iphoneapn and install the profile. The only thing that this profile includes is the data APN (att.mvno).

Now to enable MMS, I had a hell of a time, really not sure why, the sim swap works, but there is no way to confirm that the settings I set actually stuck, and I could never get it to work, so I actually ended up jailbreaking the device. I removed the APN Profile,  enabled ssh, I tried some trick with plist edits, but then finally, after insipiration from this article: http://www.techiehq.net/iphone/6-0-and-6-1-untethered-jailbreaks-released-87990.html  -  I went to the drastic step of removing all the symlinks for ATT networks; Go to /System/Library/Carrier Bundles/iPhone and do  ls -l | grep ATT
and you should see something like this

lrwxr-xr-x  1 root wheel   13 Oct 20 00:24 310170 -> ATT_US.bundle
lrwxr-xr-x  1 root wheel   13 Oct 20 00:24 310380 -> ATT_US.bundle
lrwxr-xr-x  1 root wheel   13 Oct 20 00:24 310410 -> ATT_US.bundle
lrwxr-xr-x  1 root wheel   13 Oct 20 00:24 310560 -> ATT_US.bundle
lrwxr-xr-x  1 root wheel   13 Oct 20 00:24 310980 -> ATT_US.bundle
lrwxr-xr-x  1 root wheel   13 Oct 20 00:24 311180 -> ATT_US.bundle
drwxr-xr-x 36 root wheel 1598 Feb 23 14:10 ATT_US.bundle

remove all the symlinks and redirect those with new symlinks to Unknown.bundle

then I took the simcard out and put back in, rebooted the phone - and now it does let me do the APN settings. I set them like this: http://www.unlockit.co.nz/mobilesettings/settings.php?id=179

which did not work, I then added "http://mmsc.cingular.com" as the MMS MMSC as well, and whola it worked, I can now do MMS. Not sure if the final step is a valid fix but it worked for me, perhaps there where other things that caused to not work, but then started at that moment, I dont know, but it works now - and I know the settings are correct.

one annoying side effect is the facetime activation messages become visible (from a +44 UK number)



Verizon ADSL and Westell autodirect

Verizon always want you to run their stupid software and crap when setting up a new line - I always refuse to do that, if it is dynamic and I dont have a username and password I call them to get that, if they ask I use OpenBSD 4.0 or in some cases CP/M-80 - when you have your u/p that is all you need - in the case of static  ip you dont need crap.

But, the really annoying part is that these stupid westell boxes have been programmed to redirect to a verizon page by default, it is really annoying - so, here is how that is disabled in all the westell boxes I have been on so far

http://192.168,1.1/verizon/redirect.htm

change the ip to whatever your modem/router is of course

then click the f'n button and you are on your way :)


Bill Gates (Microsoft) Junk for Windows 7 64 Bit and SSL-VPN

For whatever reason there is two things that is really crappy planned by Bill Gates with 64bit wintendo - XP was the worst (64), vista I dont know, I stayed away - windows 7 is pretty good except printers and java, and related is SSL-VPN stuff, I only have experience with Palo Alto Networks and a cheap Netgear Device.

Download and Install both 32 bit and 64Bit Java Runtime - links on this page

You may need this c++ redist package for VS2008 and maybe this vs2005 one also

firefox is tricky to get to work with this unless Java has all the right settings - I only managed once but I couldnt really replicate it or get a clean procedure out of it. Start IE 64bit in admin mode, its your best bet. (Right click run as admin)

No-one has made one that will work with Lynx, w3m-img, nor Links yet..  hmf.


Windows guests P2V for  Linux/KVM (virt/qemu) - using XenConvert  (VERY old by now - probably not relevant).

This is just theoretical information - if you really do this there is a chance you are violating licenses from Citrix, so don't do that - just read this for enjoyment and fun, not practical use :)  (shutdown of win sys and  clonezilla is probably the completely open solution).  Please note - I dont recommend P2V'ing any Windows Domain controllers, that typically dont work to well, Demote it and you are much better off.

So, hypothetically speaking, to convert a windows guest OS to run on a GNU w/Linux host:

  • Download Citrix XenConvert ver 2.3.1 or newer - make sure to choose 32 or 64 bit to fit the physical win sys.
  • Install XenConvert on the physical windows machine, it requires a reboot.
  • Mount a network drive or something to put the converted drives to
  • Run XenConvert; 
  • use OVF format (that gives you VHD images of volumes)
  • make sure to choose all relevant volumes you want, you can resize them, very useful feature
  • let XenConvert finish its magic
  • The rest of this is on the GNU w/Linux KVM host
  • I wouldnt really use the machine definition, but useful to look at it to see if there is any special needs, convert the definition like this:
    virt-convert -i ovf /dir/where/ovffiles/are/ /dir/where/youwant/outputxml/
  • you may get xml errors in the above, sometimes it helps to just remove the encoding=".." parameter from the first line of the ovf file and try again.
  • to convert your VHD volumes do this:
    qemu-img convert /path/to/volumefile.vhd /path/to/new/kvmvolume/yourvolumename
    (Repeat if you have multiple vhd's)
  • Now fire up your machine - I like to use virt-install - something like
    virt-install -n MyWinSys -r 4096 --disk /path/to/disk1 --disk /path/to/disk2 --network bridge=br0 --vnc --vnclient=0.0.0.0 --noautoconsole --os-type windows --os-variant win2k8 --import

And that should be it...  Good luck :)

A couple of links with useful information regarding network bridge/trunk and conversion:

http://www.tolaris.com/2010/02/20/vlans-bridges-and-virtual-machines/
http://blogs.nopcode.org/brainstorm/2010/03/05/vmware-vapp-from-vsphere-to-kvm/


D-Link AirXpert DWL-AG650 - WAY old by now - circa 2004?

This one I posted mostly for others, since I had a bit off issues getting this card to work with WEP and stuff when I set it up on this Kubuntu laptop.

Problem as that I entered WEP key and all settings right as far as I could see, hours ow iwconfig'ing, but no go.. After some heavy searching  finally found this one knowledgable guy that had posted something about using iwpriv authmode 2 - that did it.

Here is the kernel log from inserting the card now, posting this mostly so that search engines will pick it up and maybe you found it because of that :)

[17179725.196000] pccard: CardBus card inserted into slot 0
[17179725.280000] ath_hal: module license 'Proprietary' taints kernel.


[17179725.280000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
[17179725.328000] wlan: 0.8.6.0 (EXPERIMENTAL)
[17179725.332000] ath_rate_sample: 1.2
[17179725.348000] ath_pci: 0.9.6.0 (EXPERIMENTAL)
[17179725.352000] PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
[17179725.352000] ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
[17179725.652000] Build date: Jul 10 2006
[17179725.652000] Debugging version (IEEE80211)
[17179725.652000] ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[17179725.652000] ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[17179725.652000] ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[17179725.652000] ath0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[17179725.656000] ath0: H/W encryption support: WEP AES AES_CCM TKIP
[17179725.656000] ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
[17179725.656000] ath0: Use hw queue 1 for WME_AC_BE traffic
[17179725.656000] ath0: Use hw queue 0 for WME_AC_BK traffic
[17179725.656000] ath0: Use hw queue 2 for WME_AC_VI traffic
[17179725.656000] ath0: Use hw queue 3 for WME_AC_VO traffic
[17179725.656000] ath0: Use hw queue 8 for CAB traffic
[17179725.656000] ath0: Use hw queue 9 for beacons
[17179725.656000] Debugging version (ATH)
[17179725.656000] ath0: Atheros 5212: mem=0xd2000000, irq=5
 

With any debian distributed solution here is what I think should take care of it, at least on ubuntu/kubuntu, edit and add this to your /etc/network/interfaces: 

auto ath0

iface ath0 inet dhcp

wireless-essid YOURESSID

wireless-key1 YOURKEYINHEXFORMATHERE

pre-up /sbin/iwpriv ath0 authmode 2
 That should take care of it and it should shortly after you see dhcp discovery in syslog it should go from alternate flashing of the leds to simultaneuous.

Good Luck :)



XEN on Debian Etch Running WIndows - Way old info now - disregard

(Outdated - Debian/Unbuntu has mainstream stuff for this now - i recommend KVM anyway, using the virt tools)

This section I created since I had quite a hard time finding stuff myself, and its not always that accurate, here is a couple of places to start, then come back here, this isnt a step by step, its just the clues that I was messing with for some time.

http://www.debian-administration.org/articles/533

http://mediakey.dk/~cc/category/xen/

Make sure you did the stuff to enable bridge and restarted xend, and conbfigure the bridge stuff as well to the right nic.

Here's a list of xen stuff you may need, probably dont need it all and you may need other pkg's but this is what I know about from the top of my head filtering installed stuff:

thomas-x$ echo -n 'apt-get install '; dpkg -l | grep ii | egrep 'xen|ioemu|bridge' |  tr '[:blank:]' '\t' | cut -f 3 | tr '\n' ' '; echo
apt-get install bridge-utils libc6-xen linux-headers-2.6-xen-vserver-686 linux-headers-2.6.18-5-xen-vserver linux-headers-2.6.18-5-xen-vserver-686 linux-image-2.6-xen-vserver-686  linux-image-2.6.18-5-xen-vserver-686  linux-modules-2.6.18-5-xen-686 linux-modules-2.6.18-5-xen-vserver-686 xen-docs-3.0 xen-hypervisor-3.0.3-1-i386-pae xen-ioemu-3.0.3-1  xen-tools xen-utils-3.0.3-1 xen-utils-common xenman


set up some directory you want to use for your crap, for simplicity I used image/loop files, when you have it all working, change to LVM instead for your images for better performance.

/var/export/xen/images

/var/export/xen/iso

create a directory with the machine (domain) name

mkdir /var/export/xen/images/w2k3std32

create an empty image file

dd if=/dev/zero of=/var/export/xen/images/w2k3std32/disk.img bs=1M count=16384

(change the count to reflect how many megs you want)

Then I created  /etc/xen/w2k3std32.cfg  and made it like this:


 

kernel = '/usr/lib/xen-default/boot/hvmloader'
builder = 'hvm'
memory = '2048'
device_model='/usr/lib/xen-default/bin/qemu-dm'

disk = [ 'file:/var/export/xen/image/w2k3std32/disk.img,ioemu:hda,w', 'file:/var/export/xen/iso/w2k3r2_std_32b_d1.iso,ioemu:hdc:cdrom,r' ]
 
# Use this one instead after install is done 
# disk = [ 'file:/var/export/xen/image/w2k3std32/disk.img,ioemu:hda,w' ]

name = 'w2k3std32'
vif = ['type=ioemu, bridge=xenbr3']
boot='dc'
vnc=1
vncviewer=1
sdl=0
shadow_memory = 8
vcpus=2
usbdevice='tablet'


The parts other places dont say much about is that you need to set it to tablet for windows, debian etch does NOT use /usr/lib/xen/ but rather /usr/lib/xen-default/ for the path to the q stuff..
 
 Now start your domain (vm) with
xm create w2k3std32.cfg
if you get some multiple python errrors, check your path,
if you get bridge errors, check your network/bridge setup.
If it starts, wait a few seconds and do
xm list
does it show   r--------   or just  ---------

if it does not show the r----- then its likely your iso image path is wrong or something?
if it shows r------- then connect to it with 

xvncviewer localhost:0

and you should see the machine, you may need to change to :1 and :2 etc after some reboots of the vm or if you have multiple machines running.. after screen rez changes you may need to restart xvncviewer. Good Luck! :)