Friday, January 06, 2006

I continued moving files back to my laptop from the backup I made of the disk before I installed ubuntu.

I tried to get kismet working again. Last time, I had to use my own version, because the debian version was too old to support the intel ipw2200.

The version included with ubuntu is newer than the one I installed myself, so I went about configuring the ubuntu version.

I tried to run it, but got:
Allowing connections from 127.0.0.1/255.255.255.255
Failed to set up UI server: TcpServer bind() failed: Cannot assign requested address

Strange.

When I looked, I realised that I didn't have an interface with the loopback ip on it, ie the if lo only had an ipv6 ip.

I configured it to 127.0.0.1, and then kismet would run. I could only see my lan though, strange, since I always used to see at least 2 other wlans in the street.

I wondered if the lack of a loopback address had anything to do with samba screwing up. I tried querying samba again, and this time got a password prompt.

I had to set a password, and then it appeared that I had proper shares working.

Thursday, January 05, 2006

The WET11 bridge I bought off a guy, who sent it next day delivery, 4 months ago, turned up today.

I plugged it into my laptop, and the ethernet link came up. I did a bit of googling, and found the default ip as 192.168.1.225, and the default username/password is admin/admin.

I configured the wired interface on my laptop to 192.168.1.220, and mucked around with the routing table, since my wireless interface is on the same subnet.

I attempted to connect to it, got a login prompt, entered the username and password. It seemed to accept it, but then I was presented with a blank page.

I tried accessing it with lynx, and after logging in, I get a 404, hmm, that seems a bit strange.

I did a bit of googling, and I found a good page here, with a link to the manual, and a firmware update.

I grabbed the firmware update, great, a windows .exe, that's of great use to me, not. I tried to run it in wine, but it did nothing.

I booted up a windows machine, and attempted to copy the file off my laptop, that's when I realised I didn't have samba on my laptop. Argh.

I installed it, and restored the config file from before I installed ubuntu. I restarted it, and attempted to connect, but it wouldn't work.

I tried to query it locally, and could get nothing but "protocol negotiation failed" errors.

I went to check in the network config of ubuntu, in case it was overriding samba somehow. The network admin panel wouldn't appear.

I ran it manually, and noticed the error "(network-admin:8696): libglade-WARNING **: Could not load support for `gnome': libgnome.so: cannot open shared object file: No such file or directory".

I did a locate, and found I did have that file, in /usr/lib/libglade/2.0. I copied it into /usr/lib, and ran it again.

This time I got "(network-admin:8778): libglade-WARNING **: Could not load support for `bonobo': libbonobo.so: cannot open shared object file: No such file or directory". That file was in there too, so I copied it across.

It didn't complain after that, but there was nothing in that application related to samba anyway.

When I tried to use the "run application" tool, I noticed the text entry box was back, it disappeared a few days ago, making it a bit useless.

I seem to be having some sort of an issue with libglade still though, because file-roller doesn't allow the ability to choose where to expand files, and crashes when you try.

In the console I saw:

(file-roller:8838): libglade-WARNING **: unknown widget class 'GtkFileChooserButton'

(file-roller:8838): GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkFileChooser'

(file-roller:8838): Gtk-CRITICAL **: gtk_file_chooser_set_current_folder: assertion `GTK_IS_FILE_CHOOSER (chooser)' failed

(file-roller:8838): GLib-GObject-WARNING **: invalid cast from `GtkLabel' to `GtkFileChooser'

(file-roller:8838): Gtk-CRITICAL **: gtk_file_chooser_get_current_folder: assertion `GTK_IS_FILE_CHOOSER (chooser)' failed

great.

I dunno what to do to fix that.

So now I'm stuck with a non working samba for some reason, and a bridge with no web pages. I think I might go back to debian, where things like samba, and libraries, worked.

Tuesday, January 03, 2006

This post is just a few little rants.

I tried to connect to my laptop when I was away a couple of days ago, and discovered that I didn't have an ssh server running on it, after rebuilding it. How annoying.

I got home the other day, and when I opened the lid of my laptop, the screen wouldn't come back on. I tried opening and closing it a few times, but it made no difference.

It was still running, because I've got blinkenlights on it, and they were still flashing away. Oh well. Maybe the heat made it stuff up, because it was about 45C outside, probably hotter inside.

I managed to get aMule running, I just used the ubuntu packages, instead of the newer version. There was also a package of wxGTK, almost the latest version, if not the latest. I might try recompiling aMule against that.

I tried, and it made no difference, still had the same errors. useless.

Monday, January 02, 2006

Happy New Year.

I didn't have amule on my laptop after installing ubuntu. I went to the website, here.

I noticed there was a new version of amule, so I decided to build it.

I downloaded the latest source from here.

I initially looked at the instructions for building it on a debian or ubuntu machine, here, but then ended up using the generic instructions, here, since I didn't trust the versions of packages to be new enough.

It requires "wxGTK". I downloaded the latest one from where I got the aMule source, but the tarball was weird, it had a usr and install directories in it, like it was already compiled, but was supposed to be a source package.

I downloaded the tarball linked to in the instructions, it unpacked into a more promising looking directory structure. I followed the install instructions included in the archive, and configured, compiled, and installed wxGTK.

The install instructions were fairly confusing, having to make a directory to build the files in, and then it seemed to redundantly repeat the instructions.

I went about configuring aMule, and compiling. It compiled for ages, and then failed, with the following errors:
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxWindowListNode::~wxWindowListNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `pango_x_get_context'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxwxMenuListNode::~wxwxMenuListNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxwxListStringNode::~wxwxListStringNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxRadioBoxBase::~wxRadioBoxBase()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxNotebookBase::~wxNotebookBase()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxWindowListNode::~wxWindowListNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxRadioBoxBase::~wxRadioBoxBase()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxwxMenuListNode::~wxwxMenuListNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxNotebookBase::~wxNotebookBase()'
/usr/local/lib/libwx_base_net-2.6.so: undefined reference to `vtable for wxFileProto'
/usr/local/lib/libwx_gtk2_core-2.6.so: undefined reference to `wxwxListStringNode::~wxwxListStringNode()'
collect2: ld returned 1 exit status
make[3]: *** [amule] Error 1
make[3]: Leaving directory `/usr/src/aMule-2.1.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/aMule-2.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/aMule-2.1.0'
make: *** [all] Error 2

I'm not sure what the story is there.

I hadn't configured wxGTK according to the instructions for building aMule, so I went back, and reconfigured it according to the instructions, which didn't include the buildgtk directory from the instructions with wxGTK, and then I recompiled it, taking ages, and reinstalled it.

I went back and reconfigured aMule, and then ran a compile, which continued from where it had errored before, but it errored again immediately.

I did a make clean, reconfigured it again, and then kicked off the compilation again.

Tons of warnings were displayed, as did the first time I attempted to compile it.

It compiled for ages, and then errored out again, with exactly the same error as before.

I'm not sure what the problem is. I compiled wxGTK against GTK2, since I spent ages installing gtk+2 when I was trying to compile KDE, so I'm pretty sure I have GTK2 on my laptop.

I went back, and tried compiling wxGTK, linked against GTK1, but that just complained that I didn't have the headers required.

It looks like at some point I'll have to connect the backup hard drive to my laptop, and get the old version, since I can't seem to compile it on ubuntu.

I'm beginning to get a bit fed up with trying to build stuff on ubuntu. I might end up going back to debian testing.